rpms/bluez-gnome/devel bluez-gnome.spec,1.37,1.38

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Tue Feb 12 00:31:36 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/bluez-gnome/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18424

Modified Files:
	bluez-gnome.spec 
Log Message:
Fix for new icons installation



Index: bluez-gnome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-gnome/devel/bluez-gnome.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- bluez-gnome.spec	12 Feb 2008 00:17:01 -0000	1.37
+++ bluez-gnome.spec	12 Feb 2008 00:30:53 -0000	1.38
@@ -56,7 +56,7 @@
 %build
 aclocal
 automake
-%configure --disable-mime-update --disable-desktop-update
+%configure --disable-mime-update --disable-desktop-update --disable-icon-update
 make %{?_smp_mflags}
 
 %install
@@ -94,6 +94,9 @@
         %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas		\
 	>& /dev/null || :
 update-mime-database %{_datadir}/mime >/dev/null
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %pre
 if [ "$1" -gt 1 ]; then
@@ -114,6 +117,9 @@
 %postun
 update-desktop-database -q
 update-mime-database %{_datadir}/mime >/dev/null
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %files -f bluetooth-manager.lang
 %defattr(-,root,root,-)
@@ -126,6 +132,7 @@
 %{_datadir}/man/man1/bluetooth-properties.1.gz
 %{_datadir}/applications/bluetooth-properties.desktop
 %{_datadir}/mime/packages/bluetooth-manager.xml
+%{_datadir}/icons/hicolor/*/apps/*
 %{_mandir}/man1/bluetooth-sendto.1.gz
 %doc README COPYING AUTHORS ChangeLog
 




More information about the fedora-extras-commits mailing list