[hedgewars] Add a 512x512 icon
Bruno Wolff III
bruno at fedoraproject.org
Sat May 12 15:59:35 UTC 2012
commit d62308d05cb1543a732556eb8ad4e1f5e3fcd1ef
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sat May 12 10:58:00 2012 -0500
Add a 512x512 icon
Upstream includes a 512x512 and a 32x32 icon. So we should be using
those instead on the 32x32 icon that was in the src rpm.
hedgewars.png | Bin 1304 -> 0 bytes
hedgewars.spec | 14 ++++++++++----
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/hedgewars.spec b/hedgewars.spec
index 4af9ea7..d44f53e 100644
--- a/hedgewars.spec
+++ b/hedgewars.spec
@@ -1,13 +1,12 @@
Name: hedgewars
Version: 0.9.17
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: 2D tankbattle game with the tanks replaced by hedgehogs
Group: Amusements/Games
License: GPL+
URL: http://www.hedgewars.org/
Source0: http://hedgewars.org/download/hedgewars-src-%{version}.tar.bz2
Source1: %{name}.desktop
-Source2: %{name}.png
Patch0: hedgewars-compiler-opts.patch
# Text.Show.ByteString currently isn't available in Fedora and for the
# the time being we need to use a patch to have hedgewars-server not
@@ -78,8 +77,11 @@ desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
-install -p -m 644 %{SOURCE2} \
- $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+install -p -m 644 misc/hedgewars_icon.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/512x512/apps
+install -p -m 644 misc/hedgewars.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
%clean
@@ -107,6 +109,7 @@ fi
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
%files -n hedgewars-server
%defattr(-,root,root,-)
@@ -114,6 +117,9 @@ fi
%changelog
+* Sat May 12 2012 Bruno Wolff III <bruno at wolff.to> - 0.9.17-5
+- Add a 512x512 icon
+
* Sat Mar 24 2012 Jens Petersen <petersen at redhat.com> - 0.9.17-4
- rebuild against new ghc
More information about the scm-commits
mailing list