From 009f1b68f42d372f26994a7919e2964c06c5c270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 23 May 2006 04:28:00 +0000 Subject: [PATCH] - Bump poppler_version to 0.5.2. - Package icons and add %post and %postun script to update icon cache. --- evince.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/evince.spec b/evince.spec index 5de0571..a094b92 100644 --- a/evince.spec +++ b/evince.spec @@ -88,6 +88,12 @@ killall -HUP gconfd-2 2>/dev/null || : update-desktop-database &> /dev/null ||: scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : +touch --no-create %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; +fi + + %preun if [ "$1" -eq 0 ]; then @@ -105,6 +111,11 @@ fi update-desktop-database &> /dev/null ||: scrollkeeper-update -q || : +touch --no-create %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; +fi + %files -f %{name}.lang %defattr(-,root,root,-) @@ -116,11 +127,13 @@ scrollkeeper-update -q || : %{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/gnome/help/%{name}/ %{_datadir}/omf/%{name}/ +%{_datadir}/icons/hicolor/* %changelog * Mon May 22 2006 Kristian Høgsberg 0.5.3-1 - Bump poppler_version to 0.5.2. +- Package icons and add %post and %postun script to update icon cache. * Wed May 17 2006 Matthias Clasen - 0.5.3-1 - Update to 0.5.3