From 8c3bb12874509b2eb22109e64b4df87d0b639a54 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 26 2015 16:05:13 +0000 Subject: Add an AppData file for the software center --- diff --git a/ballz.spec b/ballz.spec index 4a36476..b51bc4d 100644 --- a/ballz.spec +++ b/ballz.spec @@ -1,6 +1,6 @@ Name: ballz Version: 1.0.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Platform game with some puzzle elements Group: Amusements/Games License: BSD @@ -31,17 +31,57 @@ make %{?_smp_mflags} %make_install desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop +# 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 < + + + + ballz.desktop + CC0-1.0 + A platform game with puzzle elements + +

+ Ballz is a platformer with some puzzle elements. + You take control of a ball which is genetically modified by the British + secret service. +

+

+ Your mission is to rescue captured British soldiers from a prison in Iran. +

+
+ http://code.google.com/p/db-tins07/ + + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/ballz/a.png + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/ballz/b.png + +
+EOF %files %doc AUTHORS README BSD-license ChangeLog %{_bindir}/%{name} %{_datadir}/%{name} +%{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_mandir}/man6/* %changelog +* Thu Mar 26 2015 Richard Hughes - 1.0.2-13 +- Add an AppData file for the software center + * Fri Aug 15 2014 Fedora Release Engineering - 1.0.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild