diff --git a/blobwars.spec b/blobwars.spec index de593f4..83d1438 100644 --- a/blobwars.spec +++ b/blobwars.spec @@ -2,7 +2,7 @@ Name: blobwars Version: 1.19 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Mission and Objective based 2D Platform Game Group: Amusements/Games # Code and gfx is all GPLv2+. Music is all CC-BY-SA. SFX are a mix, see readme @@ -39,6 +39,44 @@ rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/vera.ttf ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ $RPM_BUILD_ROOT%{_datadir}/%{name}/data/vera.ttf +# Register as an application to be visible in the software center +# +# NOTE: It would be *awesome* if this file was maintained by the upstream +# project, translated and installed into the right place during `make install`. +# +# See http://www.freedesktop.org/software/appstream/docs/ for more details. +# +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < + + + + blobwars.desktop + CC0-1.0 + Mission and Objective based 2D Platform Game + +

+ Blob Wars: Metal Blob Solid is a 2D side scrolling platformer where you control + Bob, (a blob secret agent) through 25 missions to rescue other blobs and stop + the evil alien leader: Galdov. +

+
+ http://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html + + http://3.bp.blogspot.com/-VGOFb5wKQkE/T4RuJznkWkI/AAAAAAAAA10/u1pyXxBa1yw/s1600/03.jpg + http://3.bp.blogspot.com/-oBB_IbOXWEI/T4RuI6G3Y5I/AAAAAAAAA1s/_Tb2v1YrINk/s1600/02.jpg + http://3.bp.blogspot.com/-s0v-Lr5WBa0/T4RuH7DbgKI/AAAAAAAAA1k/58HXOP40NIk/s1600/01.jpg + + +
+EOF + %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -55,10 +93,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_pkgdocdir} %{_bindir}/%{name} %{_datadir}/%{name} +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog +* Thu Mar 26 2015 Richard Hughes - 1.19-10 +- Add an AppData file for the software center + * Fri Aug 15 2014 Fedora Release Engineering - 1.19-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild