2014-03-25 11:51:18 +00:00
|
|
|
%define glib_ver 2.37.6
|
2008-05-31 16:34:21 +00:00
|
|
|
|
2008-05-31 00:02:27 +00:00
|
|
|
Name: json-glib
|
2014-05-30 15:50:36 +00:00
|
|
|
Version: 1.0.2
|
2013-09-21 19:18:29 +00:00
|
|
|
Release: 1%{?dist}
|
2008-05-31 00:02:27 +00:00
|
|
|
Summary: Library for JavaScript Object Notation format
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
2014-03-25 11:54:00 +00:00
|
|
|
URL: https://wiki.gnome.org/Projects/JsonGlib
|
2010-07-06 14:31:49 +00:00
|
|
|
#VCS: git:git://git.gnome.org/json-glib
|
2014-03-25 11:51:18 +00:00
|
|
|
Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
|
2008-05-31 00:02:27 +00:00
|
|
|
|
2014-03-25 11:58:48 +00:00
|
|
|
BuildRequires: docbook-style-xsl
|
2008-05-31 16:34:21 +00:00
|
|
|
BuildRequires: glib2-devel >= %{glib_ver}
|
2010-01-27 12:27:21 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2014-03-25 11:58:48 +00:00
|
|
|
BuildRequires: /usr/bin/xsltproc
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is a library providing serialization and deserialization support
|
|
|
|
for the JavaScript Object Notation (JSON) format.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-09-22 20:33:23 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-static=no
|
2010-01-27 12:18:33 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
# Copy the files from the tarball to avoid the IDs generated by gtk-doc being
|
|
|
|
# different on different builds
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
|
|
|
|
cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
|
|
|
|
|
2011-09-20 00:32:36 +00:00
|
|
|
%find_lang json-glib-1.0
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2011-09-20 00:32:36 +00:00
|
|
|
%files -f json-glib-1.0.lang
|
2012-07-18 08:12:07 +00:00
|
|
|
%doc COPYING NEWS
|
2008-05-31 00:02:27 +00:00
|
|
|
%{_libdir}/lib%{name}*.so.*
|
2010-01-27 12:18:33 +00:00
|
|
|
%{_libdir}/girepository-1.0/Json-1.0.typelib
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib%{name}*.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
|
%{_includedir}/%{name}-1.0/
|
2013-04-16 21:55:01 +00:00
|
|
|
%{_datadir}/gtk-doc/
|
2010-01-27 12:18:33 +00:00
|
|
|
%{_datadir}/gir-1.0/Json-1.0.gir
|
2014-02-04 13:45:45 +00:00
|
|
|
%{_bindir}/json-glib-format
|
|
|
|
%{_bindir}/json-glib-validate
|
2014-03-25 11:58:48 +00:00
|
|
|
%{_mandir}/man1/json-glib-format.1*
|
|
|
|
%{_mandir}/man1/json-glib-validate.1*
|
2008-05-31 00:02:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-05-30 15:50:36 +00:00
|
|
|
* Fri May 30 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.2-1
|
|
|
|
- Update to 1.0.2
|
2014-05-30 15:57:09 +00:00
|
|
|
- Avoid duplicating -devel deps that rpmbuild autogenerates
|
2014-05-30 15:50:36 +00:00
|
|
|
|
2014-03-25 11:51:18 +00:00
|
|
|
* Tue Mar 25 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.0-1
|
|
|
|
- Update to 1.0.0
|
2014-03-25 11:58:48 +00:00
|
|
|
- Build the man pages
|
2014-03-25 11:51:18 +00:00
|
|
|
|
2014-02-04 12:58:48 +00:00
|
|
|
* Tue Feb 04 2014 Richard Hughes <rhughes@redhat.com> - 0.99.2-1
|
|
|
|
- Update to 0.99.2
|
|
|
|
|
2013-09-21 19:18:29 +00:00
|
|
|
* Sat Sep 21 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.2-1
|
|
|
|
- Update to 0.16.2
|
|
|
|
|
2013-08-03 21:45:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-16 20:57:01 +00:00
|
|
|
* Tue Apr 16 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
|
|
|
|
- Update to 0.16.0
|
2013-04-16 21:55:01 +00:00
|
|
|
- Don't depend on gtk-doc (#604377)
|
2013-04-16 20:57:01 +00:00
|
|
|
|
2013-02-14 03:02:18 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-17 14:33:58 +00:00
|
|
|
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
|
|
|
|
- Update to 0.15.2
|
|
|
|
|
2012-01-13 06:34:50 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-02 18:38:28 +00:00
|
|
|
* Wed Nov 2 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.2-1
|
|
|
|
- Update to 0.14.2
|
|
|
|
|
2011-09-20 00:04:57 +00:00
|
|
|
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1
|
|
|
|
- Update to 0.14.0
|
|
|
|
|
2011-09-14 23:14:47 +00:00
|
|
|
* Wed Sep 7 2011 Owen Taylor <otaylor@redhat.com> - 0.13.90-1
|
|
|
|
- Update to 0.13.90
|
|
|
|
|
2011-06-16 12:44:50 +00:00
|
|
|
* Thu Jun 16 2011 Alex Hudson <fedora@alexhudson.com> - 0.12.6-1
|
|
|
|
- Update to 0.12.6
|
|
|
|
- Remove gtk-doc dependency for bug 604377
|
|
|
|
|
2011-02-09 14:59:28 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-29 23:53:02 +00:00
|
|
|
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 0.12-1
|
|
|
|
- Update to 0.12.0
|
|
|
|
|
2010-09-29 21:32:00 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 0.11.3-0.2.git19b0b87
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-22 20:33:23 +00:00
|
|
|
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.11.3-0.1.git19b0b87
|
|
|
|
- git snapshot
|
|
|
|
|
2010-09-21 23:48:30 +00:00
|
|
|
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.10.4-4
|
|
|
|
- Rebuild with newer gobject-introspection
|
|
|
|
|
2010-07-15 18:56:07 +00:00
|
|
|
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
|
|
|
|
- Rebuild with new gobject-introspection
|
|
|
|
|
2010-07-01 07:27:39 +00:00
|
|
|
* Thu Jul 1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
|
|
|
|
- Rebuild for "Incompatible version 1.0 (supported: 1.1)"
|
|
|
|
for introspection file
|
|
|
|
|
2010-03-19 17:26:39 +00:00
|
|
|
* Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
|
|
|
|
- Update to 0.10.4.
|
|
|
|
|
2010-01-27 12:27:21 +00:00
|
|
|
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
|
|
|
|
- Require the gobject-introspection-devel package, not the library
|
|
|
|
|
2010-01-27 12:18:33 +00:00
|
|
|
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
|
|
|
|
- Enable gobject-introspection support
|
|
|
|
|
2009-12-29 16:30:01 +00:00
|
|
|
* Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
|
|
|
|
- Update to 0.10.0.
|
|
|
|
|
2009-11-17 03:18:06 +00:00
|
|
|
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
|
|
|
|
- Update to 0.8.2.
|
|
|
|
|
2009-09-30 00:03:20 +00:00
|
|
|
* Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
|
|
|
|
- Update to 0.8.0.
|
|
|
|
- Update source url.
|
|
|
|
|
2009-07-25 04:11:40 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 00:08:42 +00:00
|
|
|
* Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
|
|
|
|
- Disable tests for now.
|
|
|
|
|
2009-02-25 09:49:44 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-31 16:34:21 +00:00
|
|
|
* Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
|
|
|
|
- Update to 0.6.2.
|
|
|
|
- Enable tests.
|
|
|
|
|
2008-05-31 00:02:27 +00:00
|
|
|
* Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
|
|
|
|
- Update 0.6.0.
|
|
|
|
- Disable tests for now.
|
|
|
|
- Add requires on gtk-doc.
|
|
|
|
|
|
|
|
* Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
|
|
|
|
- Initial Fedora spec.
|
|
|
|
|