packages: libopenraw/libopenraw.spec - updated -gnome deps (gtk+2 -> gdk-pi...

qboosh qboosh at pld-linux.org
Sun Oct 31 11:22:10 CET 2010


Author: qboosh                       Date: Sun Oct 31 10:22:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated -gnome deps (gtk+2 -> gdk-pixbuf2)
- gdk-pixbuf loader belongs to -gnome subpackage

---- Files affected:
packages/libopenraw:
   libopenraw.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/libopenraw/libopenraw.spec
diff -u packages/libopenraw/libopenraw.spec:1.17 packages/libopenraw/libopenraw.spec:1.18
--- packages/libopenraw/libopenraw.spec:1.17	Sun Oct 10 15:43:16 2010
+++ packages/libopenraw/libopenraw.spec	Sun Oct 31 11:22:05 2010
@@ -13,11 +13,10 @@
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	boost-devel >= 1.35.0
-BuildRequires:	gtk+2-devel >= 1:2.0.0
+BuildRequires:	gdk-pixbuf2-devel >= 2.0.0
 BuildRequires:	libjpeg-devel
 BuildRequires:	libxml2-devel >= 1:2.5.0
 BuildRequires:	pkgconfig
-Requires(post,postun):	gdk-pixbuf2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if "%{_lib}" != "lib"
@@ -73,7 +72,10 @@
 Summary:	Library for decoding RAW images - GTK+/GNOME support
 Summary(pl.UTF-8):	Biblioteka dekodująca obrazy w formacie RAW - obsługa GTK+/GNOME
 Group:		X11/Libraries
+Requires(post,postun):	/sbin/ldconfig
+Requires(post,postun):	gdk-pixbuf2 >= 2.0.0
 Requires:	%{name} = %{version}-%{release}
+Requires:	gdk-pixbuf2 >= 2.0.0
 
 %description gnome
 Library for decoding RAW images - GTK+/GNOME support.
@@ -87,7 +89,7 @@
 Group:		X11/Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	%{name}-gnome = %{version}-%{release}
-Requires:	gtk+2-devel >= 1:2.0.0
+Requires:	gdk-pixbuf2-devel >= 1:2.0.0
 
 %description gnome-devel
 Header file for libopenrawgnome library.
@@ -122,35 +124,35 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} V=1 install \
-	DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	V=1
 
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.{a,la}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%post gnome
 /sbin/ldconfig
 umask 022
 %{_bindir}/gdk-pixbuf-query-loaders%{pqext} --update-cache
 
-%postun
+%postun gnome
 /sbin/ldconfig
 umask 022
 if [ -x %{_bindir}/gdk-pixbuf-query-loaders%{pqext} ]; then
 	%{_bindir}/gdk-pixbuf-query-loaders%{pqext} --update-cache
 fi
 
-%post	gnome -p /sbin/ldconfig
-%postun	gnome -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_libdir}/libopenraw.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libopenraw.so.1
-%attr(755,root,root) %{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -168,6 +170,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libopenrawgnome.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libopenrawgnome.so.1
+%attr(755,root,root) %{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.so
 
 %files gnome-devel
 %defattr(644,root,root,755)
@@ -186,6 +189,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/10/31 10:22:05  qboosh
+- updated -gnome deps (gtk+2 -> gdk-pixbuf2)
+- gdk-pixbuf loader belongs to -gnome subpackage
+
 Revision 1.17  2010/10/10 13:43:16  megabajt
 - added -loaders-location.patch
 - release 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libopenraw/libopenraw.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list