Blame SPECS/json-glib.spec

3f0c85
%define glib_ver 2.16
3f0c85
3f0c85
Name:		json-glib
3f0c85
Version:	0.16.0
3f0c85
Release:	1%{?dist}
3f0c85
Summary:	Library for JavaScript Object Notation format
3f0c85
3f0c85
Group:		System Environment/Libraries
3f0c85
License:	LGPLv2+
3f0c85
URL:		http://live.gnome.org/JsonGlib
3f0c85
#VCS:		git:git://git.gnome.org/json-glib
3f0c85
Source0:	http://download.gnome.org/sources/%{name}/0.16/%{name}-%{version}.tar.xz
3f0c85
3f0c85
BuildRequires:	glib2-devel >= %{glib_ver}
3f0c85
BuildRequires:	gobject-introspection-devel
3f0c85
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}
3f0c85
Group:		Development/Libraries
3f0c85
Requires:	%{name} = %{version}-%{release}
3f0c85
Requires:	glib2-devel >= %{glib_ver}
3f0c85
Requires:	pkgconfig
3f0c85
3f0c85
3f0c85
%description devel
3f0c85
The %{name}-devel package contains libraries and header files for
3f0c85
developing applications that use %{name}.
3f0c85
3f0c85
3f0c85
%prep
3f0c85
%setup -q -n %{name}-%{version}
3f0c85
3f0c85
3f0c85
%build
3f0c85
%configure --enable-static=no
3f0c85
make %{?_smp_mflags} V=1
3f0c85
3f0c85
3f0c85
%install
3f0c85
make install DESTDIR=$RPM_BUILD_ROOT
3f0c85
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
3f0c85
3f0c85
# Copy the files from the tarball to avoid the IDs generated by gtk-doc being
3f0c85
# different on different builds
3f0c85
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
3f0c85
cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
3f0c85
3f0c85
%find_lang json-glib-1.0
3f0c85
3f0c85
%post -p /sbin/ldconfig
3f0c85
3f0c85
3f0c85
%postun -p /sbin/ldconfig
3f0c85
3f0c85
3f0c85
%files -f json-glib-1.0.lang
3f0c85
%doc COPYING NEWS
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
3f0c85
3f0c85
3f0c85
%changelog
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