From 9ac8e059357410f2d8687d49962affeacae9f8d1 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 25 Jul 2008 08:49:39 +0000 Subject: [PATCH] - Fix build, call gtk-update-icon-cache as required --- gnome-settings-daemon.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index f734e9b..c898341 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.23.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -87,6 +87,10 @@ gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \ %{_sysconfdir}/gconf/schemas/gnome-settings-daemon.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 %pre if [ "$1" -gt 1 ]; then @@ -120,6 +124,12 @@ if [ "$1" -eq 0 ]; then >& /dev/null || : fi +%postun +touch %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor +fi + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS @@ -129,6 +139,7 @@ fi %{_datadir}/gnome-settings-daemon/ %{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service %{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop +%{_datadir}/icons/hicolor/*/apps/gsd-xrandr.* %files devel %defattr(-,root,root,-) @@ -136,6 +147,9 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Fri Jul 25 2008 - Bastien Nocera - 2.23.5-2 +- Fix build, call gtk-update-icon-cache as required + * Thu Jul 24 2008 Soren Sandmann - 2.23.5-1 - Update to 2.23.5