From fcae093a37d34d6bc16c98d94ccf12d4ceae2782 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mar 25 2005 14:46:41 +0000 Subject: - Update the GTK+ theme icon cache on (un)install --- diff --git a/eclipse.spec b/eclipse.spec index 37b28cc..d16b3fe 100644 --- a/eclipse.spec +++ b/eclipse.spec @@ -22,7 +22,7 @@ ExclusiveArch: i386 x86_64 ppc Summary: %{pkg_summary} Name: eclipse Version: %{eclipse_majmin}.%{eclipse_micro}_fc -Release: 0.M5.13 +Release: 0.M5.14 License: CPL Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ @@ -132,6 +132,7 @@ Requires: /usr/bin/perl Requires: gcc-java >= 4.0.0-0.35 Requires: %{libname}-gtk2 = %{epoch}:%{version}-%{release} Requires: /usr/bin/mozilla +PreReq: gtk2 >= 2.6 Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging #Requires: ant-apache-bsf ant-commons-net ant-jsch lucene @@ -743,6 +744,10 @@ fi if [ -n "`find %{_libdir}/%{name}/mappings -name \*.db`" ]; then gcj-dbtool -m $dbLocation `find %{_libdir}/%{name}/mappings -name \*.db` $dbLocation fi +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi %post -n %{libname}-gtk2 dbLocation=`gcj-dbtool -p` @@ -778,6 +783,10 @@ dbLocation=`gcj-dbtool -p` if [ -n "`find %{_libdir}/%{name}/mappings -name \*.db`" ]; then gcj-dbtool -m $dbLocation `find %{_libdir}/%{name}/mappings -name \*.db` $dbLocation fi +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi %postun -n %{libname}-gtk2 dbLocation=`gcj-dbtool -p` @@ -1012,6 +1021,9 @@ fi %{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0 %changelog +* Fri Mar 25 2005 Christopher Aillon 3.1.0_fc-0.M5.14 +- Update the GTK+ theme icon cache on (un)install + * Fri Mar 18 2005 Andrew Overholt 3.1.0_fc-0.M5.13 - Re-add compilation of resources.jar. - Backport bootstrapping patch.