rpms/compiz/devel compiz.spec,1.44,1.45

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 18 21:30:49 UTC 2006


Author: sandmann

Update of /cvs/dist/rpms/compiz/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17064

Modified Files:
	compiz.spec 
Log Message:
various packaging fixes, plus update to 0.6.137 of desktop-effects


Index: compiz.spec
===================================================================
RCS file: /cvs/dist/rpms/compiz/devel/compiz.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- compiz.spec	18 Sep 2006 20:48:57 -0000	1.44
+++ compiz.spec	18 Sep 2006 21:30:47 -0000	1.45
@@ -3,7 +3,7 @@
 %define		sha1 3173a142efe5e7af83ebb534a074d9d2a0c67a86
 %define		snapshot 20060817
 
-%define		dialogversion	0.6.107
+%define		dialogversion	0.6.137
 
 Name:           compiz
 Url:            http://www.freedesktop.org/Software/compiz
@@ -125,9 +125,14 @@
 find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
 
 %post
+update-desktop-database -q %{_datadir}/applications
 export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
 /usr/bin/gconftool-2 --makefile-install-rule \
 	%{_sysconfdir}/gconf/schemas/compiz.schemas > /dev/null
+touch %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+	/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %preun
 if [ "$1" -eq 0 ]; then
@@ -153,6 +158,12 @@
 %{_bindir}/desktop-effects
 %{_datadir}/compiz/desktop-effects.glade
 %{_datadir}/applications/desktop-effects.desktop
+%{_datadir}/icons/hicolor/16x16/apps/desktop-effects.png
+%{_datadir}/icons/hicolor/24x24/apps/desktop-effects.png
+%{_datadir}/icons/hicolor/32x32/apps/desktop-effects.png
+%{_datadir}/icons/hicolor/36x36/apps/desktop-effects.png
+%{_datadir}/icons/hicolor/48x48/apps/desktop-effects.png
+%{_datadir}/icons/hicolor/96x96/apps/desktop-effects.png
 
 %files devel
 %defattr(-, root, root)
@@ -161,6 +172,11 @@
 
 %changelog
 * Mon Sep 18 2006 Soren Sandmann <sandmann at redhat.com>
+- Run update-desktop-database and gtk-update-icon-cache in post. Add icons
+  to list of packaged files. Also bump to 0.6.137 of dialog (which makes
+  directories before attempting to install to them).
+
+* Mon Sep 18 2006 Soren Sandmann <sandmann at redhat.com>
 - Upgrade to 0.6.107 of the desktop-effects dialog box. Only change is
   that the new version has icons.
 




More information about the fedora-cvs-commits mailing list