Blame SPECS/json-glib.spec

5edd12
%define glib2_version 2.44.0
3f0c85
3f0c85
Name:		json-glib
5edd12
Version:	1.4.2
5edd12
Release:	2%{?dist}
3f0c85
Summary:	Library for JavaScript Object Notation format
3f0c85
3f0c85
License:	LGPLv2+
31ed0f
URL:		https://wiki.gnome.org/Projects/JsonGlib
5edd12
Source0:	http://download.gnome.org/sources/%{name}/1.4/%{name}-%{version}.tar.xz
3f0c85
31ed0f
BuildRequires:	docbook-style-xsl
5edd12
BuildRequires:	gettext
5edd12
BuildRequires:	glib2-devel >= %{glib2_version}
3f0c85
BuildRequires:	gobject-introspection-devel
5edd12
BuildRequires:	gtk-doc
5edd12
BuildRequires:	meson
31ed0f
BuildRequires:	/usr/bin/xsltproc
3f0c85
5edd12
Requires:	glib2%{?_isa} >= %{glib2_version}
3f0c85
3f0c85
%description
3f0c85
%{name} is a library providing serialization and deserialization support
3f0c85
for the JavaScript Object Notation (JSON) format.
3f0c85
3f0c85
3f0c85
%package devel
3f0c85
Summary:	Development files for %{name}
31ed0f
Requires:	%{name}%{_isa} = %{version}-%{release}
3f0c85
3f0c85
%description devel
3f0c85
The %{name}-devel package contains libraries and header files for
3f0c85
developing applications that use %{name}.
3f0c85
5edd12
fdda33
%package tests
fdda33
Summary: Tests for the json-glib package
fdda33
Requires: %{name}%{?_isa} = %{version}-%{release}
fdda33
fdda33
%description tests
fdda33
The json-glib-tests package contains tests that can be used to verify
fdda33
the functionality of the installed json-glib package.
3f0c85
5edd12
3f0c85
%prep
3f0c85
%setup -q -n %{name}-%{version}
3f0c85
3f0c85
3f0c85
%build
5edd12
%meson -Ddocs=true
5edd12
%meson_build
3f0c85
3f0c85
3f0c85
%install
5edd12
%meson_install
5edd12
5edd12
# Work around multilib content mismatches in header comments
5edd12
sed -i -e "s|`pwd`/%{_target_platform}/../||" $RPM_BUILD_ROOT%{_includedir}/json-glib-1.0/json-glib/json-enum-types.h
3f0c85
3f0c85
%find_lang json-glib-1.0
3f0c85
3f0c85
5edd12
%post -p /sbin/ldconfig
3f0c85
3f0c85
%postun -p /sbin/ldconfig
3f0c85
3f0c85
3f0c85
%files -f json-glib-1.0.lang
fdda33
%doc NEWS
fdda33
%license COPYING
3f0c85
%{_libdir}/lib%{name}*.so.*
3f0c85
%{_libdir}/girepository-1.0/Json-1.0.typelib
3f0c85
3f0c85
%files devel
3f0c85
%{_libdir}/lib%{name}*.so
3f0c85
%{_libdir}/pkgconfig/%{name}-1.0.pc
3f0c85
%{_includedir}/%{name}-1.0/
3f0c85
%{_datadir}/gtk-doc/
3f0c85
%{_datadir}/gir-1.0/Json-1.0.gir
31ed0f
%{_bindir}/json-glib-format
31ed0f
%{_bindir}/json-glib-validate
31ed0f
%{_mandir}/man1/json-glib-format.1*
31ed0f
%{_mandir}/man1/json-glib-validate.1*
3f0c85
fdda33
%files tests
5edd12
%{_libexecdir}/installed-tests/
5edd12
%{_datadir}/installed-tests/
5edd12
3f0c85
3f0c85
%changelog
5edd12
* Mon Sep 03 2018 Kalev Lember <klember@redhat.com> - 1.4.2-2
5edd12
- Fix multilib -devel installs
5edd12
- Resolves: #1624842
5edd12
5edd12
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 1.4.2-1
5edd12
- Update to 1.4.2
5edd12
- Resolves: #1569284
5edd12
fdda33
* Mon Mar 13 2017 Kalev Lember <klember@redhat.com> - 1.2.6-1
fdda33
- Update to 1.2.6
fdda33
- Resolves: #1386996
fdda33
fdda33
* Mon Aug 01 2016 Kalev Lember <klember@redhat.com> - 1.2.2-1
fdda33
- Update to 1.2.2
fdda33
- Resolves: #1386996
fdda33
31ed0f
* Fri May 30 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.2-1
31ed0f
- Update to 1.0.2
31ed0f
- Resolves: #1174501
31ed0f
806d3e
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.16.0-3
806d3e
- Mass rebuild 2014-01-24
806d3e
806d3e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.16.0-2
806d3e
- Mass rebuild 2013-12-27
806d3e
3f0c85
* Tue Apr 16 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
3f0c85
- Update to 0.16.0
3f0c85
- Don't depend on gtk-doc (#604377)
3f0c85
3f0c85
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.2-2
3f0c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3f0c85
3f0c85
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
3f0c85
- Update to 0.15.2
3f0c85
3f0c85
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-2
3f0c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3f0c85
3f0c85
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.2-1
3f0c85
- Update to 0.14.2
3f0c85
3f0c85
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1
3f0c85
- Update to 0.14.0
3f0c85
3f0c85
* Wed Sep  7 2011 Owen Taylor <otaylor@redhat.com> - 0.13.90-1
3f0c85
- Update to 0.13.90
3f0c85
3f0c85
* Thu Jun 16 2011 Alex Hudson <fedora@alexhudson.com> - 0.12.6-1
3f0c85
- Update to 0.12.6
3f0c85
- Remove gtk-doc dependency for bug 604377
3f0c85
3f0c85
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
3f0c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f0c85
3f0c85
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 0.12-1
3f0c85
- Update to 0.12.0
3f0c85
3f0c85
* Wed Sep 29 2010 jkeating - 0.11.3-0.2.git19b0b87
3f0c85
- Rebuilt for gcc bug 634757
3f0c85
3f0c85
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.11.3-0.1.git19b0b87
3f0c85
- git snapshot
3f0c85
3f0c85
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.10.4-4
3f0c85
- Rebuild with newer gobject-introspection
3f0c85
3f0c85
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
3f0c85
- Rebuild with new gobject-introspection
3f0c85
3f0c85
* Thu Jul  1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
3f0c85
- Rebuild for "Incompatible version 1.0 (supported: 1.1)"
3f0c85
  for introspection file
3f0c85
3f0c85
* Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
3f0c85
- Update to 0.10.4.
3f0c85
3f0c85
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
3f0c85
- Require the gobject-introspection-devel package, not the library
3f0c85
3f0c85
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
3f0c85
- Enable gobject-introspection support
3f0c85
3f0c85
* Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
3f0c85
- Update to 0.10.0.
3f0c85
3f0c85
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
3f0c85
- Update to 0.8.2.
3f0c85
3f0c85
* Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
3f0c85
- Update to 0.8.0.
3f0c85
- Update source url.
3f0c85
3f0c85
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
3f0c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3f0c85
3f0c85
* Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
3f0c85
- Disable tests for now.
3f0c85
3f0c85
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
3f0c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3f0c85
3f0c85
* Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
3f0c85
- Update to 0.6.2.
3f0c85
- Enable tests.
3f0c85
3f0c85
* Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
3f0c85
- Update 0.6.0.
3f0c85
- Disable tests for now.
3f0c85
- Add requires on gtk-doc.
3f0c85
3f0c85
* Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
3f0c85
- Initial Fedora spec.
3f0c85