diff --git a/gnome-applets.spec b/gnome-applets.spec index 4d39fde..2453467 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -3,7 +3,7 @@ %define glib2_version 2.2.0 %define pango_version 1.2.0 -%define gtk2_version 2.2.0 +%define gtk2_version 2.6.0 %define libgnomeui_version 2.3.0 %define gnome_panel_version 2.5.91 %define libgtop2_version 2.5.0 @@ -18,7 +18,7 @@ Summary: Small applications for the GNOME panel. Name: gnome-applets Version: 2.10.0 -Release: 1 +Release: 2 Epoch: 1 License: GPL Group: User Interface/Desktops @@ -28,7 +28,7 @@ URL: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: scrollkeeper >= 0.1.4 - +Prereq: gtk2 >= %{gtk2_version} BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} @@ -104,6 +104,10 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig scrollkeeper-update +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` %ifarch %{apmd_archs} @@ -116,6 +120,10 @@ done %{_libexecdir}/gnome-applets/mc-install-default-macros > /dev/null %postun -p /sbin/ldconfig +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi %files -f %{po_package}.lang %defattr(-, root, root) @@ -143,6 +151,9 @@ done %{_libdir}/pkgconfig/gswitchit.pc %changelog +* Fri Mar 25 2005 Christopher Aillon 2.10.0-2 +- Update the GTK+ theme icon cache on (un)install + * Wed Mar 16 2005 Matthias Clasen - 2.10.0-1 - Rebuild against new libwnck - Update to 2.10.0