public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.2: - Move icon from pixmaps to icons/highcolor/48x48/apps
Date: Sat, 17 Oct 2026 16:18:51 GMT	[thread overview]
Message-ID: <179225393146.1.1922737374346183033.rpms-grace-94f05b84ccfa@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-17 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179225393146.1.1922737374346183033.rpms-grace-94f05b84ccfa@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox