rpms/grace/devel grace.spec,1.11,1.12

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Sun Sep 24 19:36:11 UTC 2006


Author: jamatos

Update of /cvs/extras/rpms/grace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26363

Modified Files:
	grace.spec 
Log Message:
* Sun Sep 24 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.20-4
- Move icon from pixmaps to icons/highcolor/48x48/apps



Index: grace.spec
===================================================================
RCS file: /cvs/extras/rpms/grace/devel/grace.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- grace.spec	24 Sep 2006 18:23:54 -0000	1.11
+++ grace.spec	24 Sep 2006 19:36:11 -0000	1.12
@@ -1,6 +1,6 @@
 Name:           grace
 Version:        5.1.20
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPL
@@ -121,7 +121,7 @@
 ##
 # Desktop stuff
 #
-install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
+install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
 install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
 desktop-file-install --vendor fedora --delete-original    \
     --dir %{buildroot}%{_datadir}/applications          \
@@ -136,10 +136,18 @@
 
 %post
 %{_sbindir}/chkfontpath -q -a %{_datadir}/%{name}/fonts/type1
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %postun
 %{_sbindir}/chkfontpath -q -r %{_datadir}/%{name}/fonts/type1
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %files
@@ -153,7 +161,7 @@
 %exclude %{_datadir}/%{name}/include
 %exclude %{_datadir}/%{name}/lib
 %{_datadir}/applications/*
-%{_datadir}/pixmaps/*
+%{_datadir}/icons/hicolor/*/*/*
 %{_mandir}/man*/*
 
 
@@ -167,6 +175,9 @@
 
 
 %changelog
+* Sun Sep 24 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.20-4
+- Move icon from pixmaps to icons/highcolor/48x48/apps
+
 * Sun Sep 24 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.20-3
 - Use external xbae.
 - Revert test for fedora macro so that it works by default for latest




More information about the fedora-extras-commits mailing list