diff options
author | Christopher Aillon <caillon@fedoraproject.org> | 2005-03-25 15:18:56 +0000 |
---|---|---|
committer | Christopher Aillon <caillon@fedoraproject.org> | 2005-03-25 15:18:56 +0000 |
commit | 684c3b6a35cfdc9f676b70efc251a2ead77a6996 (patch) | |
tree | f271b1bf5d8ec2a8a18aa80b3b3fdfd94b10545b | |
parent | 7f1dc796ae718220c336f4b2a144c7a4216ba2e0 (diff) | |
download | gnome-panel-684c3b6a35cfdc9f676b70efc251a2ead77a6996.tar.gz gnome-panel-684c3b6a35cfdc9f676b70efc251a2ead77a6996.tar.xz gnome-panel-684c3b6a35cfdc9f676b70efc251a2ead77a6996.zip |
- Update the GTK+ theme icon cache on (un)installgnome-panel-2_10_0-2
-rw-r--r-- | gnome-panel.spec | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/gnome-panel.spec b/gnome-panel.spec index e7101d3..1ea65c2 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -1,7 +1,7 @@ %define gettext_package gnome-panel-2.0 %define glib2_version 2.2.0 -%define gtk2_version 2.2.0 +%define gtk2_version 2.6.0 %define libglade2_version 2.0.0-3 %define libgnomeui_version 2.3.0 %define gnome_desktop_version 2.9.91 @@ -23,7 +23,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.10.0 -Release: 1 +Release: 2 URL: http://www.gnome.org Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gnome-panel/%{name}-%{version}.tar.bz2 Source1: redhat-panel-default-setup.entries @@ -45,6 +45,7 @@ Requires: evolution-data-server >= %{evolution_data_server_version} Prereq: /bin/awk, /bin/cat, /bin/ln, /bin/rm Prereq: GConf2 >= 2.6.0-2 Prereq: scrollkeeper +Prereq: gtk2 >= %{gtk2_version} BuildRequires: intltool BuildRequires: libpng-devel @@ -145,6 +146,10 @@ sed -e 's|/schemas/apps/workspace_switcher_applet/prefs/|/schemas/apps/pager_app rm -rf $RPM_BUILD_ROOT %post +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi # # The applet needs apmd which is only build on ix86 # Need to figure out what to do here with ACPI when APM is off @@ -191,7 +196,11 @@ fi %postun /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 %{gettext_package}.lang %defattr(-,root,root) @@ -220,6 +229,9 @@ fi %{_datadir}/gtk-doc %changelog +* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 2.10.0-2 +- Update the GTK+ theme icon cache on (un)install + * Mon Mar 14 2005 Matthias Clasen <mclasen@redhat.com> 2.10.0-1 - Update to 2.10.0 - Bump BuildRequires for libwnck |