rpms/gconf-editor/devel gconf-editor.spec,1.19,1.20

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 14:48:56 UTC 2005


Update of /cvs/dist/rpms/gconf-editor/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8369

Modified Files:
	gconf-editor.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: gconf-editor.spec
===================================================================
RCS file: /cvs/dist/rpms/gconf-editor/devel/gconf-editor.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- gconf-editor.spec	17 Mar 2005 22:30:27 -0000	1.19
+++ gconf-editor.spec	25 Mar 2005 14:48:54 -0000	1.20
@@ -8,7 +8,7 @@
 Summary: Editor/admin tool for GConf
 Name: gconf-editor
 Version: 2.10.0
-Release: 1
+Release: 2
 URL: http://www.gnome.org
 Source0: %{name}-%{version}.tar.bz2
 License: GPL
@@ -16,6 +16,7 @@
 BuildRoot: %{_tmppath}/%{name}-root
 
 Prereq: GConf2 >= %{gconf2_version}
+PreReq: gtk2 >= %{gtk2_version}
 
 BuildRequires: pango-devel >= %{pango_version}
 BuildRequires: gtk2-devel >= %{gtk2_version}
@@ -57,6 +58,17 @@
 
 %post
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
+
 
 SCHEMAS="gconf-editor.schemas"
 for S in $SCHEMAS; do
@@ -77,6 +89,9 @@
 %{_datadir}/omf/gconf-editor
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 2.10.0-2
+- Update the GTK+ theme icon cache on (un)install
+
 * Thu Mar 17 2005 Ray Strode <rstrode at redhat.com> - 2.10.0-1
 - Update to upstream version 2.10.0
 




More information about the fedora-cvs-commits mailing list