[abe] Add an AppData file.
Jerry James
jjames at fedoraproject.org
Fri Nov 8 23:48:19 UTC 2013
commit a3eec486c1a56417ecd531473c9ad791bc221f96
Author: Jerry James <loganjerry at gmail.com>
Date: Fri Nov 8 16:48:28 2013 -0700
Add an AppData file.
abe.appdata.xml | 25 +++++++++++++++++++++++++
abe.spec | 11 +++++++++--
2 files changed, 34 insertions(+), 2 deletions(-)
---
diff --git a/abe.appdata.xml b/abe.appdata.xml
new file mode 100644
index 0000000..92c7da7
--- /dev/null
+++ b/abe.appdata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">abe.desktop</id>
+ <licence>CC0</licence>
+ <summary>Abe's Amazing Adventure</summary>
+ <description>
+ <p>
+ Abe's Amazing Adventure is a scrolling, platform-jumping, key-collecting,
+ ancient pyramid exploring game, vaguely in the style of similar games for
+ the Commodore+4.
+ </p>
+ <p>
+ The game is intended to show young people (I'm writing it for my son's
+ birthday) all the cool games they missed.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">http://abe.sourceforge.net/screen0-4-1.png</screenshot>
+ <screenshot>http://abe.sourceforge.net/screen2-4-2.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://abe.sourceforge.net/</url>
+ <!-- FIXME: change this to an upstream email address for spec updates
+ <updatecontact>someone_who_cares at upstream_project.org</updatecontact>
+ -->
+</application>
diff --git a/abe.spec b/abe.spec
index 07b207a..9e7ef75 100644
--- a/abe.spec
+++ b/abe.spec
@@ -1,6 +1,6 @@
Name: abe
Version: 1.1
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Scrolling, platform-jumping, ancient pyramid exploring game
Group: Amusements/Games
@@ -8,6 +8,7 @@ License: GPL+
URL: http://abe.sourceforge.net/
Source0: http://downloads.sourceforge.net/abe/%{name}-%{version}.tar.gz
Source1: %{name}.png
+Source2: %{name}.appdata.xml
# Enable changing the video settings. Sent upstream 2 Apr 2006:
# https://sourceforge.net/tracker/?func=detail&aid=1463202&group_id=70141&atid=526743
Patch0: %{name}-1.1-settings.patch
@@ -50,10 +51,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
# make install does not copy the game data files.
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata/
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
cp -p -r images maps sounds $RPM_BUILD_ROOT/%{_datadir}/%{name}
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
+install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/appdata/
cat << EOF > %{name}.desktop
[Desktop Entry]
@@ -80,10 +83,14 @@ fi
%doc COPYING README
%{_bindir}/*
%{_datadir}/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Fri Nov 8 2013 Jerry James <loganjerry at gmail.com> - 1.1-20
+- Add an AppData file
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -160,7 +167,7 @@ fi
- fix build on gcc4
- patch to fix issues in #149362
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Wed Aug 13 2003 Panu Matilainen <pmatilai at welho.com> 0:1.0-0.fdr.3
More information about the scm-commits
mailing list