rpms/vnc/devel vnc.spec,1.62,1.63

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 16:59:46 UTC 2005


Update of /cvs/dist/rpms/vnc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13434

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



Index: vnc.spec
===================================================================
RCS file: /cvs/dist/rpms/vnc/devel/vnc.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- vnc.spec	24 Mar 2005 11:22:29 -0000	1.62
+++ vnc.spec	25 Mar 2005 16:59:44 -0000	1.63
@@ -5,7 +5,7 @@
 Summary:   A remote display system.
 Name:      vnc
 Version:   4.1.1
-Release: 4
+Release: 5
 URL:       http://www.realvnc.com
 Source0:   http://www.realvnc.com/dist/vnc-%{vnc_version}-unixsrc.tar.gz
 Source1:   http://www.realvnc.com/dist/vnc-%{java_vnc_version}-javasrc.tar.gz
@@ -38,6 +38,7 @@
 BuildRequires: gcc-java
 BuildRequires: autoconf, flex, bison, patchutils
 Prereq:    /sbin/chkconfig /sbin/service
+Prereq:   gtk2 >= 2.6
 Requires: /sbin/runuser
 
 %description
@@ -161,6 +162,18 @@
 %clean
 rm -rf %{buildroot}
 
+%post
+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
+
 %post server
 if [ "$1" = 1 ]; then
   /sbin/chkconfig --add vncserver
@@ -199,6 +212,9 @@
 /usr/X11R6
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 4.1.1-5
+- Update the GTK+ theme icon cache on (un)install
+
 * Thu Mar 24 2005 Tim Waugh <twaugh at redhat.com> 4.1.1-4
 - Upgraded base package to xorg-x11-6.8.2-13.
 




More information about the fedora-cvs-commits mailing list