63a6e70
%define glib_ver 2.16
55734d5
0f705fe
Name:		json-glib
Richard Hughes 165229d
Version:	0.15.2
bbadbba
Release:	2%{?dist}
0f705fe
Summary:	Library for JavaScript Object Notation format
0f705fe
0f705fe
Group:		System Environment/Libraries
0f705fe
License:	LGPLv2+
0f705fe
URL:		http://live.gnome.org/JsonGlib
a9c130a
#VCS:		git:git://git.gnome.org/json-glib
5f4a22e
Source0:	http://download.gnome.org/sources/%{name}/0.14/%{name}-%{version}.tar.xz
0f705fe
55734d5
BuildRequires:	glib2-devel >= %{glib_ver}
87668a3
BuildRequires:	gobject-introspection-devel
0f705fe
0f705fe
0f705fe
%description
0f705fe
%{name} is a library providing serialization and deserialization support
0f705fe
for the JavaScript Object Notation (JSON) format.
0f705fe
0f705fe
0f705fe
%package devel
0f705fe
Summary:	Development files for %{name}
0f705fe
Group:		Development/Libraries
0f705fe
Requires:	%{name} = %{version}-%{release}
55734d5
Requires:	glib2-devel >= %{glib_ver}
Alex Hudson 60e7f16
Requires:	gtk-doc
0f705fe
Requires:	pkgconfig
0f705fe
0f705fe
0f705fe
%description devel
0f705fe
The %{name}-devel package contains libraries and header files for
0f705fe
developing applications that use %{name}.
0f705fe
0f705fe
0f705fe
%prep
5ac88ef
%setup -q -n %{name}-%{version}
0f705fe
0f705fe
0f705fe
%build
0f705fe
%configure --enable-static=no
2f08696
make %{?_smp_mflags} V=1
0f705fe
0f705fe
0f705fe
%install
0f705fe
make install DESTDIR=$RPM_BUILD_ROOT
0f705fe
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
0f705fe
0f705fe
# Copy the files from the tarball to avoid the IDs generated by gtk-doc being
0f705fe
# different on different builds
0f705fe
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
0f705fe
cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
0f705fe
e153398
%find_lang json-glib-1.0
0f705fe
0f705fe
%post -p /sbin/ldconfig
0f705fe
0f705fe
0f705fe
%postun -p /sbin/ldconfig
0f705fe
0f705fe
e153398
%files -f json-glib-1.0.lang
Richard Hughes 606224f
%doc COPYING NEWS
0f705fe
%{_libdir}/lib%{name}*.so.*
2f08696
%{_libdir}/girepository-1.0/Json-1.0.typelib
0f705fe
0f705fe
%files devel
0f705fe
%{_libdir}/lib%{name}*.so
0f705fe
%{_libdir}/pkgconfig/%{name}-1.0.pc
0f705fe
%{_includedir}/%{name}-1.0/
0f705fe
%{_datadir}/gtk-doc/html/%{name}/
2f08696
%{_datadir}/gir-1.0/Json-1.0.gir
0f705fe
0f705fe
0f705fe
%changelog
bbadbba
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.2-2
bbadbba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bbadbba
Richard Hughes 165229d
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
Richard Hughes 165229d
- Update to 0.15.2
Richard Hughes 165229d
699bd2a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-2
699bd2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
699bd2a
560a891
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.2-1
560a891
- Update to 0.14.2
560a891
5f4a22e
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1
5f4a22e
- Update to 0.14.0
5f4a22e
Owen W. Taylor 03bf0d4
* Wed Sep  7 2011 Owen Taylor <otaylor@redhat.com> - 0.13.90-1
Owen W. Taylor 03bf0d4
- Update to 0.13.90
Owen W. Taylor 03bf0d4
Alex Hudson b32762a
* Thu Jun 16 2011 Alex Hudson <fedora@alexhudson.com> - 0.12.6-1
Alex Hudson b32762a
- Update to 0.12.6
Alex Hudson b32762a
- Remove gtk-doc dependency for bug 604377
Alex Hudson b32762a
3f45c5d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
3f45c5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f45c5d
Owen W. Taylor 8ccdea4
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 0.12-1
Owen W. Taylor 8ccdea4
- Update to 0.12.0
Owen W. Taylor 8ccdea4
Jesse Keating 22f3a99
* Wed Sep 29 2010 jkeating - 0.11.3-0.2.git19b0b87
Jesse Keating 22f3a99
- Rebuilt for gcc bug 634757
Jesse Keating 22f3a99
5ac88ef
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.11.3-0.1.git19b0b87
5ac88ef
- git snapshot
5ac88ef
9cd64a3
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.10.4-4
9cd64a3
- Rebuild with newer gobject-introspection
9cd64a3
8f27c1e
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
8f27c1e
- Rebuild with new gobject-introspection
8f27c1e
aedd156
* Thu Jul  1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
aedd156
- Rebuild for "Incompatible version 1.0 (supported: 1.1)"
aedd156
  for introspection file
aedd156
7ddb524
* Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
7ddb524
- Update to 0.10.4.
7ddb524
87668a3
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
87668a3
- Require the gobject-introspection-devel package, not the library
87668a3
2f08696
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
2f08696
- Enable gobject-introspection support
2f08696
63a6e70
* Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
63a6e70
- Update to 0.10.0.
63a6e70
a8c27cd
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
a8c27cd
- Update to 0.8.2.
a8c27cd
3282ebd
* Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
3282ebd
- Update to 0.8.0.
3282ebd
- Update source url.
3282ebd
a2a933a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
a2a933a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a2a933a
f7c0000
* Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
f7c0000
- Disable tests for now.
f7c0000
08d0dfa
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
08d0dfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
08d0dfa
55734d5
* Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
55734d5
- Update to 0.6.2.
55734d5
- Enable tests.
55734d5
0f705fe
* Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
0f705fe
- Update 0.6.0.
0f705fe
- Disable tests for now.
0f705fe
- Add requires on gtk-doc.
0f705fe
0f705fe
* Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
0f705fe
- Initial Fedora spec.
0f705fe