This commit is contained in:
Matthias Clasen 2011-09-19 20:04:57 -04:00
parent 03bf0d4502
commit 5f4a22e37d

View File

@ -1,7 +1,7 @@
%define glib_ver 2.16 %define glib_ver 2.16
Name: json-glib Name: json-glib
Version: 0.13.90 Version: 0.14.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Library for JavaScript Object Notation format Summary: Library for JavaScript Object Notation format
@ -9,8 +9,7 @@ Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://live.gnome.org/JsonGlib URL: http://live.gnome.org/JsonGlib
#VCS: git:git://git.gnome.org/json-glib #VCS: git:git://git.gnome.org/json-glib
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.12/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/%{name}/0.14/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel >= %{glib_ver} BuildRequires: glib2-devel >= %{glib_ver}
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
@ -45,7 +44,6 @@ make %{?_smp_mflags} V=1
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@ -55,14 +53,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
%check
# make check
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -70,13 +60,11 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc COPYING README NEWS %doc COPYING README NEWS
%{_libdir}/lib%{name}*.so.* %{_libdir}/lib%{name}*.so.*
%{_libdir}/girepository-1.0/Json-1.0.typelib %{_libdir}/girepository-1.0/Json-1.0.typelib
%files devel %files devel
%defattr(-,root,root,-)
%{_libdir}/lib%{name}*.so %{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/%{name}-1.0.pc %{_libdir}/pkgconfig/%{name}-1.0.pc
%{_includedir}/%{name}-1.0/ %{_includedir}/%{name}-1.0/
@ -85,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1
- Update to 0.14.0
* Wed Sep 7 2011 Owen Taylor <otaylor@redhat.com> - 0.13.90-1 * Wed Sep 7 2011 Owen Taylor <otaylor@redhat.com> - 0.13.90-1
- Update to 0.13.90 - Update to 0.13.90