public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.2: - Move icon from pixmaps to icons/highcolor/48x48/apps
@ 2026-10-17 16:18 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-17 16:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10.2
Commit : 94f05b84ccfa507c559af23c8c2ea97b366fc52e
Author : José Abílio Oliveira Matos <jamatos@fedoraproject.org>
Date   : 2006-09-24T19:36:11+00:00
Stats  : +14/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/94f05b84ccfa507c559af23c8c2ea97b366fc52e?branch=epel10.2

Log:
- Move icon from pixmaps to icons/highcolor/48x48/apps

---
diff --git a/grace.spec b/grace.spec
index d67900d..e3d2937 100644
--- a/grace.spec
+++ b/grace.spec
@@ -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 @@ mkfontdir %{buildroot}%{_datadir}/%{name}/fonts/type1
 ##
 # 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 @@ rm -rf %{buildroot}
 
 %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 @@ rm -rf %{buildroot}
 %exclude %{_datadir}/%{name}/include
 %exclude %{_datadir}/%{name}/lib
 %{_datadir}/applications/*
-%{_datadir}/pixmaps/*
+%{_datadir}/icons/hicolor/*/*/*
 %{_mandir}/man*/*
 
 
@@ -167,6 +175,9 @@ rm -rf %{buildroot}
 
 
 %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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:18 [rpms/grace] epel10.2: - Move icon from pixmaps to icons/highcolor/48x48/apps 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox