SPECS: beryl-settings.spec - used %update_icon_cache macro

megabajt megabajt at pld-linux.org
Fri Feb 16 15:15:05 CET 2007


Author: megabajt                     Date: Fri Feb 16 14:15:05 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- used %update_icon_cache macro

---- Files affected:
SPECS:
   beryl-settings.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/beryl-settings.spec
diff -u SPECS/beryl-settings.spec:1.26 SPECS/beryl-settings.spec:1.27
--- SPECS/beryl-settings.spec:1.26	Wed Feb 14 21:46:38 2007
+++ SPECS/beryl-settings.spec	Fri Feb 16 15:14:59 2007
@@ -19,6 +19,9 @@
 BuildRequires:	intltool >= 0.35.0
 BuildRequires:	pkgconfig
 BuildRequires:	python-pygtk-devel >= 2.0
+BuildRequires:	rpmbuild(macros) >= 1.311
+Requires(post,postun):	gtk+2
+Requires(post,postun):	hicolor-icon-theme
 Requires:	beryl-core >= 1:%{version}
 Requires:	beryl-plugins >= 1:%{version}
 Requires:	beryl-settings-bindings >= 1:%{version}
@@ -66,13 +69,19 @@
 %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 README
 %attr(755,root,root) %{_bindir}/beryl-settings
 %{_datadir}/bsm
 %{_iconsdir}/hicolor/scalable/apps/beryl-settings.svg
-%{_desktopdir}/*.desktop
+%{_desktopdir}/beryl-settings.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -80,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007/02/16 14:14:59  megabajt
+- used %update_icon_cache macro
+
 Revision 1.26  2007/02/14 20:46:38  rotom
 - up to 0.1.9999.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/beryl-settings.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list