rpms/x3270/devel x3270.spec,1.24,1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 17:07:34 UTC 2005


Update of /cvs/dist/rpms/x3270/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13583

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



Index: x3270.spec
===================================================================
RCS file: /cvs/dist/rpms/x3270/devel/x3270.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- x3270.spec	8 Mar 2005 16:17:26 -0000	1.24
+++ x3270.spec	25 Mar 2005 17:07:32 -0000	1.25
@@ -5,7 +5,7 @@
 Summary: An X Window System based IBM 3278/3279 terminal emulator.
 Name: x3270
 Version: 3.3.3.b2
-Release: 1
+Release: 2
 License: MIT
 Group: Applications/Internet
 URL: http://www.geocities.com/SiliconValley/Peaks/7814
@@ -31,6 +31,7 @@
 Group: Applications/Internet
 BuildRequires: xorg-x11-devel
 Requires: %{name} = %{version}
+Prereq: gtk2 >= 2.6
 
 %package text
 Summary: IBM 3278/3279 terminal emulator for text mode.
@@ -158,11 +159,19 @@
 
 %post x11
 cd %{_prefix}/X11R6/lib/X11/fonts/misc && %{_prefix}/X11R6/bin/mkfontdir
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
 
 %postun x11
 if [ "$1" = "0" ]; then
   cd %{_prefix}/X11R6/lib/X11/fonts/misc && %{_prefix}/X11R6/bin/mkfontdir
 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
 %defattr(-,root,root)
@@ -195,6 +204,9 @@
 %{_mandir}/man1/c3270*
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 3.3.3.b2-2
+- Update the GTK+ theme icon cache on (un)install
+
 * Tue Mar 08 2005 Karsten Hopp <karsten at redhat.de> 3.3.3.b2-1
 - update to b2, which fixes a segfault when login is done with 
   an entry in .ibm_hosts (via emulate_input)




More information about the fedora-cvs-commits mailing list