rpms/eclipse/devel eclipse.spec,1.94,1.95

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 25 14:46:43 UTC 2005


Update of /cvs/dist/rpms/eclipse/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8305

Modified Files:
	eclipse.spec 
Log Message:
* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 3.1.0_fc-0.M5.14
- Update the GTK+ theme icon cache on (un)install



Index: eclipse.spec
===================================================================
RCS file: /cvs/dist/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- eclipse.spec	22 Mar 2005 23:17:45 -0000	1.94
+++ eclipse.spec	25 Mar 2005 14:46:41 -0000	1.95
@@ -22,7 +22,7 @@
 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:	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 @@
 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 @@
 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 @@
 %{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon at redhat.com> 3.1.0_fc-0.M5.14
+- Update the GTK+ theme icon cache on (un)install
+
 * Fri Mar 18 2005 Andrew Overholt <overholt at redhat.com> 3.1.0_fc-0.M5.13
 - Re-add compilation of resources.jar.
 - Backport bootstrapping patch.




More information about the fedora-cvs-commits mailing list