From 2293fe27b9f1b6f05b39ab1408a5a809ab0862b2 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 26 2015 16:31:32 +0000 Subject: Add an AppData file for the software center --- diff --git a/freedoom.spec b/freedoom.spec index 610f514..f26545d 100644 --- a/freedoom.spec +++ b/freedoom.spec @@ -3,7 +3,7 @@ Name: freedoom Version: 0.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Replacement game files for doom game engines Group: Amusements/Games @@ -40,6 +40,55 @@ desktop-file-install --dir %{buildroot}/%{_datadir}/applications %{SOURCE1} mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/ install -p -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/ +# 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 < + + + + freedoom.desktop + CC0-1.0 + First person shoot DOOM-based game + +

+ Free alternative for IWAD. + Freedoom brings to you a set of resources for the DOOM game engine. +

+

+ Freedoo, is a 3-in-1 game: +

+
    +
  • + Freedoom: 32 levels game in one charpter (Compatible with DOOM II mods) +
  • +
  • + Ultimate Freedoom: Alternative game with 36 levels distributed in 4 charpters (Compatible with original DOOM and Ultimate DOOM mods) +
  • +
  • + FreeDM: 32 levels designed for Deathmatch mode +
  • +
+
+ http://freedoom.github.io/ + + http://freedoom.github.io/img/screenshots/th_0.6.3_02.jpg + http://freedoom.github.io/img/screenshots/th_0.6.3_01.jpg + http://freedoom.github.io/img/screenshots/th_0.6.3_03.jpg + http://freedoom.github.io/img/screenshots/th_0.6.3_04.jpg + +
+EOF + %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -54,11 +103,15 @@ fi %files %{waddir}/%{name}.wad +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/48x48/apps/*.png %doc README COPYING CREDITS NEWS %changelog +* Thu Mar 26 2015 Richard Hughes - 0.7-7 +- Add an AppData file for the software center + * Sat Jun 07 2014 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild