SPECS: VMware-player.spec - update icon cache

patrys patrys at pld-linux.org
Mon Dec 17 12:34:31 CET 2007


Author: patrys                       Date: Mon Dec 17 11:34:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update icon cache

---- Files affected:
SPECS:
   VMware-player.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/VMware-player.spec
diff -u SPECS/VMware-player.spec:1.32 SPECS/VMware-player.spec:1.33
--- SPECS/VMware-player.spec:1.32	Mon Dec 17 01:56:28 2007
+++ SPECS/VMware-player.spec	Mon Dec 17 12:34:26 2007
@@ -20,7 +20,7 @@
 %define		buildid	59824
 %define		urel	115
 %define		ccver	%(rpm -q --qf '%{V}' gcc)
-%define		_rel	0.10
+%define		_rel	0.11
 #
 Summary:	VMware player
 Summary(pl.UTF-8):	VMware player - wirtualna platforma dla stacji roboczej
@@ -54,6 +54,7 @@
 Requires:	libgnomecanvasmm
 Requires:	libview >= 0.5.5-2
 Requires:	openssl >= 0.9.7
+Requires(post,postun):	desktop-file-utils
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -307,8 +308,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with internal_libs}
 %post
+%update_icon_cache hicolor
+%if %{with internal_libs}
 gdk-pixbuf-query-loaders %{_libdir}/vmware/libconf/lib/gtk-2.0/2.10.0/loaders/*.so \
 	> %{_libdir}/vmware/libconf/etc/gtk-2.0/gdk-pixbuf.loaders
 gtk-query-immodules-2.0 %{_libdir}/vmware/libconf/lib/gtk-2.0/2.10.0/immodules/*.so \
@@ -317,6 +319,9 @@
 	> %{_libdir}/vmware/libconf/etc/pango/pango.modules
 %endif
 
+%postun
+%update_icon_cache hicolor
+
 %post networking
 /sbin/chkconfig --add vmnet
 %service vmnet restart "VMware networking service"
@@ -443,6 +448,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2007-12-17 11:34:26  patrys
+- update icon cache
+
 Revision 1.32  2007-12-17 00:56:28  glen
 - fixing with internal_libs bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VMware-player.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list