SPECS: xfce4-appfinder.spec - added %update_icon_cache macro

megabajt megabajt at pld-linux.org
Sun Sep 17 10:57:42 CEST 2006


Author: megabajt                     Date: Sun Sep 17 08:57:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added %update_icon_cache macro

---- Files affected:
SPECS:
   xfce4-appfinder.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/xfce4-appfinder.spec
diff -u SPECS/xfce4-appfinder.spec:1.19 SPECS/xfce4-appfinder.spec:1.20
--- SPECS/xfce4-appfinder.spec:1.19	Sun Sep 10 17:12:38 2006
+++ SPECS/xfce4-appfinder.spec	Sun Sep 17 10:57:37 2006
@@ -17,7 +17,9 @@
 BuildRequires:	libtool
 BuildRequires:	libxfcegui4-devel >= %{version}
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xfce4-dev-tools >= %{version}
+Requires(post,postun):	hicolor-icon-theme
 Requires:	libxfcegui4 >= %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -54,6 +56,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 README TODO
@@ -69,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/09/17 08:57:37  megabajt
+- added %update_icon_cache macro
+
 Revision 1.19  2006/09/10 15:12:38  charles
 - updated to 4.3.99.1
 - rm outdated -desktop.patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfce4-appfinder.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list