rpms/gimp/devel gimp.spec,1.61,1.62

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 14:54:46 UTC 2005


Update of /cvs/dist/rpms/gimp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18551

Modified Files:
	gimp.spec 
Log Message:
* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com>
- Update the GTK+ theme icon cache on (un)install



Index: gimp.spec
===================================================================
RCS file: /cvs/dist/rpms/gimp/devel/gimp.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- gimp.spec	22 Mar 2005 13:01:56 -0000	1.61
+++ gimp.spec	25 Mar 2005 14:54:44 -0000	1.62
@@ -14,7 +14,7 @@
 %define minorver 200
 %define microver %(ver=%{version}; echo ${ver##*.*.})
 #define prever pre2
-Release: 	%{?prever:0.0.%{prever}.}5
+Release: 	%{?prever:0.0.%{prever}.}6
 Epoch:		2
 License: 	GPL, LGPL
 Group: 		Applications/Multimedia
@@ -45,7 +45,7 @@
 BuildRequires:  intltool
 PreReq:     desktop-file-utils >= 0.9
 Requires:	glib2 >= 2.4.8
-Requires: 	gtk2 >= 2.4.14
+Requires: 	gtk2 >= 2.6
 Requires:	pango >= 1.6.0
 Requires:	fontconfig >= 2.2.0
 Requires:	gimp-print >= 4.2.0
@@ -180,6 +180,10 @@
 if [ -x %{_sbindir}/xsane-install-gimp-plugin ]; then
     %{_sbindir}/xsane-install-gimp-plugin --install %{interfacever}
 fi
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
 
 %preun
 # Do this always, because interfacever could be different
@@ -192,6 +196,10 @@
 if [ "$1" = "0" ]; then
     /usr/bin/update-desktop-database %{_datadir}/applications
 fi
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
 
 %files -f gimp.files
 %defattr(-, root, root, 0755)
@@ -305,6 +313,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com>
+- Update the GTK+ theme icon cache on (un)install
+
 * Tue Mar 22 2005 Nils Philippsen <nphilipp at redhat.com>
 - install convenience symlinks for man pages
 




More information about the fedora-cvs-commits mailing list