rpms/gnome-panel/devel gnome-panel.spec,1.56,1.57

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 15:18:58 UTC 2005


Update of /cvs/dist/rpms/gnome-panel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23002

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



Index: gnome-panel.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- gnome-panel.spec	14 Mar 2005 16:17:52 -0000	1.56
+++ gnome-panel.spec	25 Mar 2005 15:18:56 -0000	1.57
@@ -1,7 +1,7 @@
 %define gettext_package gnome-panel-2.0
 
 %define glib2_version 2.2.0
-%define gtk2_version 2.2.0
+%define gtk2_version 2.6.0
 %define libglade2_version 2.0.0-3
 %define libgnomeui_version 2.3.0
 %define gnome_desktop_version 2.9.91
@@ -23,7 +23,7 @@
 Summary: GNOME panel
 Name: gnome-panel
 Version: 2.10.0
-Release: 1
+Release: 2
 URL: http://www.gnome.org
 Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gnome-panel/%{name}-%{version}.tar.bz2
 Source1: redhat-panel-default-setup.entries
@@ -45,6 +45,7 @@
 Prereq: /bin/awk, /bin/cat, /bin/ln, /bin/rm
 Prereq: GConf2 >= 2.6.0-2
 Prereq: scrollkeeper
+Prereq: gtk2 >= %{gtk2_version}
 
 BuildRequires: intltool
 BuildRequires: libpng-devel
@@ -145,6 +146,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
 #
 # The applet needs apmd which is only build on ix86
 # Need to figure out what to do here with ACPI when APM is off
@@ -191,7 +196,11 @@
 
 %postun
 /sbin/ldconfig
-  
+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 %{gettext_package}.lang
 %defattr(-,root,root)
 
@@ -220,6 +229,9 @@
 %{_datadir}/gtk-doc
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 2.10.0-2
+- Update the GTK+ theme icon cache on (un)install
+
 * Mon Mar 14 2005 Matthias Clasen <mclasen at redhat.com> 2.10.0-1
 - Update to 2.10.0
 - Bump BuildRequires for libwnck




More information about the fedora-cvs-commits mailing list