[trophy] Trophy is now supplying an icon

Bruno Wolff III bruno at fedoraproject.org
Sat Mar 3 18:35:02 UTC 2012


commit 8b5b71a97ae3b50c8831bfb9bdb83cc7cea6b46e
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Mar 3 12:11:46 2012 -0600

    Trophy is now supplying an icon
    
    Used the icon supplied by the trophy project rather than the
    one provided by Fedora.

 trophy.png  |  Bin 7896 -> 0 bytes
 trophy.spec |    7 ++++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/trophy.spec b/trophy.spec
index 889a97e..da96330 100644
--- a/trophy.spec
+++ b/trophy.spec
@@ -35,9 +35,10 @@ desktop-file-edit --set-key=Terminal --set-value=false \
   --set-key=StartupNotify --set-value=false \
   $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/72x72/apps
 install -p -m 644 %{SOURCE2} \
-  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps
+mv $RPM_BUILD_ROOT%{_datadir}/icons/trophy.png
+  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/72x72/apps
 
 
 %clean
@@ -64,7 +65,7 @@ fi
 %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/96x96/apps/%{name}.png
+%{_datadir}/icons/hicolor/72x72/apps/%{name}.png
 
 
 %changelog


More information about the scm-commits mailing list