[Maelstrom] Add appdata file.

Bill Nottingham notting at fedoraproject.org
Sun Feb 9 17:23:16 UTC 2014


commit 1e973d4220c7093fa564250cc32e2dfe2b5b270e
Author: Bill Nottingham <notting at redhat.com>
Date:   Sun Feb 9 18:23:39 2014 +0100

    Add appdata file.

 Maelstrom.appdata.xml |   15 +++++++++++++++
 Maelstrom.spec        |   10 +++++++++-
 2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/Maelstrom.appdata.xml b/Maelstrom.appdata.xml
new file mode 100644
index 0000000..6c19a25
--- /dev/null
+++ b/Maelstrom.appdata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">Maelstrom.desktop</id>
+ <licence>CC-BY-SA</licence>
+ <description>
+ <p>You pilot your ship through the dreaded "Maelstrom" asteroid belt -- suddenly your best friend thrusts towards you and fires, directly at your cockpit. You raise your shields just in time, and the battle is joined.</p>
+ <p>The deadliest stretch of space known to mankind has just gotten deadlier. Everywhere massive asteroids jostle for a chance to crush your ship, and deadly shinobi fighter patrols pursue you across the asteroid belt. But the deadliest of them all is your sister ship, assigned to you on patrol. The pilot, trained by your own Navy, battle hardened by months in the Maelstrom, is equipped with a twin of your own ship and intimate knowledge of your tactics.</p>
+ <p>The lovely Stratocaster R&amp;R facility never sounded so good, but as you fire full thrusters to dodge the latest barrage you begin to think you'll never get home... </p>
+ </description>
+ <screenshots>
+  <screenshot width="864" type="default" height="486">http://notting.fedorapeople.org/Maelstrom-screenshots/m2.png</screenshot>
+  <screenshot width="864" height="486">http://notting.fedorapeople.org/Maelstrom-screenshots/m1.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://www.libsdl.org/projects/Maelstrom/</url>
+</application>
\ No newline at end of file
diff --git a/Maelstrom.spec b/Maelstrom.spec
index e3edf91..791a21f 100644
--- a/Maelstrom.spec
+++ b/Maelstrom.spec
@@ -1,7 +1,7 @@
 Name:			Maelstrom
 Summary:		A space combat game
 Version:		3.0.6
-Release:		25%{?dist}
+Release:		26%{?dist}
 # See Maelstrom-Content-License.txt for details on the updated content licensing
 License:		GPLv2+ and CC-BY
 Group:			Amusements/Games
@@ -9,6 +9,7 @@ Source0:		http://www.libsdl.org/projects/Maelstrom/src/Maelstrom-%{version}.tar.
 Source1:		maelstrom.png
 Source2:		Maelstrom.desktop
 Source3:		Maelstrom-Content-License.txt
+Source4:		Maelstrom.appdata.xml
 Patch0:			Maelstrom-3.0.6-setgid.patch
 Patch1:			Maelstrom-3.0.6-gcc34.patch
 Patch2:			Maelstrom-3.0.6-64bit.patch
@@ -60,6 +61,9 @@ install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
 mkdir -p -m 755 %{buildroot}%{_localstatedir}/lib/games
 mv %{buildroot}%{_datadir}/Maelstrom/*Scores %{buildroot}%{_localstatedir}/lib/games
 
+mkdir -p -m 755 %{buildroot}%{_datadir}/appdata
+install -m 644 %{SOURCE4} %{buildroot}%{_datadir}/appdata
+
 find %{buildroot} -name "Makefile*" -exec rm -f {} \;
 
 %clean
@@ -86,9 +90,13 @@ fi
 %{_datadir}/Maelstrom
 %{_datadir}/applications/*
 %{_datadir}/icons/hicolor/48x48/apps/*
+%{_datadir}/appdata/Maelstrom.appdata.xml
 %config(noreplace) %attr(0664,root,games) %{_localstatedir}/lib/games/Maelstrom-Scores
 
 %changelog
+* Sun Feb 09 2014 Bill Nottingham <notting at redhat.com> - 3.0.6-26
+- add appdata file
+
 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.6-25
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list