diff --git a/gimp.spec b/gimp.spec index cbf3a29..288f62e 100644 --- a/gimp.spec +++ b/gimp.spec @@ -14,7 +14,7 @@ Version: 2.2.4 %define minorver 200 %define microver %(ver=%{version}; echo ${ver##*.*.}) #define prever pre2 -Release: %{?prever:0.0.%{prever}.}5 +Release: %{?prever:0.0.%{prever}.}6 Epoch: 2 License: GPL, LGPL Group: Applications/Multimedia @@ -45,7 +45,7 @@ BuildRequires: libwmf-devel >= 0.2.8 BuildRequires: intltool PreReq: desktop-file-utils >= 0.9 Requires: glib2 >= 2.4.8 -Requires: gtk2 >= 2.4.14 +Requires: gtk2 >= 2.6 Requires: pango >= 1.6.0 Requires: fontconfig >= 2.2.0 Requires: gimp-print >= 4.2.0 @@ -180,6 +180,10 @@ ln -snf gimptool-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimptool.5 if [ -x %{_sbindir}/xsane-install-gimp-plugin ]; then %{_sbindir}/xsane-install-gimp-plugin --install %{interfacever} fi +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi %preun # Do this always, because interfacever could be different @@ -192,6 +196,10 @@ fi if [ "$1" = "0" ]; then /usr/bin/update-desktop-database %{_datadir}/applications fi +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 gimp.files %defattr(-, root, root, 0755) @@ -305,6 +313,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Fri Mar 25 2005 Christopher Aillon +- Update the GTK+ theme icon cache on (un)install + * Tue Mar 22 2005 Nils Philippsen - install convenience symlinks for man pages