SPECS: xfce-utils.spec - added %update_icon_cache macro

megabajt megabajt at pld-linux.org
Wed Sep 6 20:04:31 CEST 2006


Author: megabajt                     Date: Wed Sep  6 18:04:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added %update_icon_cache macro

---- Files affected:
SPECS:
   xfce-utils.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/xfce-utils.spec
diff -u SPECS/xfce-utils.spec:1.55 SPECS/xfce-utils.spec:1.56
--- SPECS/xfce-utils.spec:1.55	Wed Sep  6 14:43:54 2006
+++ SPECS/xfce-utils.spec	Wed Sep  6 20:04:25 2006
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+#
 # Conditional build:
 %bcond_with	gtkhtml		# build with gtkhtml support
 #
@@ -25,9 +26,12 @@
 BuildRequires:	libxfce4mcs-devel >= %{version}
 BuildRequires:	libxfcegui4-devel >= %{version}
 BuildRequires:	pkgconfig >= 1:0.9.0
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xfce-mcs-manager-devel >= %{version}
 BuildRequires:	xfce4-dev-tools
+Requires(post,postun):	gtk+2 >= 2:2.10.1
 Requires:	gxmessage
+Requires(post,postun):	hicolor-icon-theme
 Requires:	libxfce4mcs >= %{version}
 Requires:	libxfcegui4 >= %{version}
 Requires:	xfce-mcs-manager >= %{version}
@@ -79,6 +83,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS TODO
@@ -118,6 +128,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2006/09/06 18:04:25  megabajt
+- added %update_icon_cache macro
+
 Revision 1.55  2006/09/06 12:43:54  charles
 - updated to 4.3.99.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfce-utils.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list