rpms/system-config-samba/devel system-config-samba.spec,1.22,1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 16:34:48 UTC 2005


Update of /cvs/dist/rpms/system-config-samba/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31164

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



Index: system-config-samba.spec
===================================================================
RCS file: /cvs/dist/rpms/system-config-samba/devel/system-config-samba.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- system-config-samba.spec	15 Mar 2005 09:05:24 -0000	1.22
+++ system-config-samba.spec	25 Mar 2005 16:34:46 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: Samba server configuration tool
 Name: system-config-samba
 Version: 1.2.28
-Release: 1
+Release: 2
 URL: http://www.redhat.com/
 License: GPL
 ExclusiveOS: Linux
@@ -19,6 +19,7 @@
 Requires: samba
 Requires: libuser
 Requires: htmlview
+Prereq: gtk2 >= 2.6
 
 %description
 system-config-samba is a graphical user interface for creating, 
@@ -44,11 +45,23 @@
 %clean
 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
+
 %preun
 if [ -d /usr/share/system-config-samba ] ; then
   rm -rf /usr/share/system-config-samba/*.pyc
 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
+
 %files -f %{name}.lang
 %defattr(-,root,root)
 #%doc COPYING
@@ -62,6 +75,9 @@
 %attr(0644,root,root) %config /etc/pam.d/system-config-samba
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 1.2.28-2
+- Update the GTK+ theme icon cache on (un)install
+
 * Tue Mar 15 2005 Nils Philippsen <nphilipp at redhat.com> - 1.2.28-1
 - fix dialog when share name is missing (#135119) again
 




More information about the fedora-cvs-commits mailing list