Blame SPECS/json-glib.spec

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