[bzflag/f21] Use the upstream SVG icon rather than the obsolete small XPM icon
Richard Hughes
rhughes at fedoraproject.org
Wed Jul 16 08:54:02 UTC 2014
commit 8a5781e563eb410f9c8cd89ff71b09d2f3bee6a1
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Jul 11 20:29:25 2014 +0100
Use the upstream SVG icon rather than the obsolete small XPM icon
bzflag.desktop | 2 +-
bzflag.spec | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/bzflag.desktop b/bzflag.desktop
index 79f8b31..4606b7d 100644
--- a/bzflag.desktop
+++ b/bzflag.desktop
@@ -4,6 +4,6 @@ Name=BZFlag
GenericName=3D multi-player tank battle game
Comment=Drive around in your tank and shoot others
Exec=bzflag
-Icon=bzflag.xpm
+Icon=bzflag.svg
Terminal=false
Type=Application
diff --git a/bzflag.spec b/bzflag.spec
index 4996500..7b421dc 100644
--- a/bzflag.spec
+++ b/bzflag.spec
@@ -2,7 +2,7 @@
Summary: 3D multi-player tank battle game
Name: bzflag
Version: 2.4.2
-Release: 9%{?dist}
+Release: 10%{?dist}
License: LGPLv2
Group: Amusements/Games
URL: http://bzflag.org
@@ -68,6 +68,8 @@ make %{?_smp_mflags}
%make_install
install -D -m 644 package/rpm/bzflag-m.xpm \
%{buildroot}%{_datadir}/pixmaps/bzflag.xpm
+install -D -m 644 misc/art/bzicon-red.svg \
+ %{buildroot}%{_datadir}/pixmaps/bzflag.svg
mkdir -p %{buildroot}%{_datadir}/bzflag/maps
install -m 644 misc/maps/*.bzw %{buildroot}%{_datadir}/bzflag/maps
rm -f %{buildroot}%{_libdir}/bzflag/*.la
@@ -91,6 +93,7 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications bzflag.desktop
%{_datadir}/bzflag
%exclude %{_datadir}/bzflag/maps/*
%{_datadir}/pixmaps/bzflag.xpm
+%{_datadir}/pixmaps/bzflag.svg
%{_mandir}/man*/*
%files maps-sample
@@ -98,6 +101,10 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications bzflag.desktop
%{_datadir}/bzflag/maps/*
%changelog
+* Fri Jul 11 2014 Richard Hughes <richard at hughsie.com> - 2.4.2-10
+- Use the upstream SVG icon rather than the obsolete small XPM icon
+- This makes bzflag show up in the software center applications
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list