commit f1b9b9fd0b5a76bee548314f60da03a7cf9d761a
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Mar 1 07:19:42 2020 +0000
Add appdata file, copied from
https://github.com/sanjayankur31/rpmfusion-appdata
gtetrinet.appdata.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++++
gtetrinet.spec | 5 +++++
2 files changed, 52 insertions(+)
---
diff --git a/gtetrinet.appdata.xml b/gtetrinet.appdata.xml
new file mode 100644
index 0000000..01b1d8e
--- /dev/null
+++ b/gtetrinet.appdata.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> -->
+
+<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
+BugReportURL: rhbz-#
+SentUpstream: yyyy-mm-dd
+-->
+
+<application>
+ <id type="desktop">gtetrinet.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary>GNOME version of a tetris game playable on the net</summary>
+ <description>
+ <p>
+ GTetrinet is a client program for the popular Tetrinet game, a
+ multiplayer tetris game that is played over the internet. (If you don't
+ know what Tetrinet is, check out
tetrinet.org).
+ </p>
+ <p>
+ Here are links to a couple of Tetrinet servers for Unix/Linux:
+ </p>
+ <ul>
+ <li>Tetrinet for Linux - includes both a server and a console
client</li>
+ <li>TetrinetX - a highly configurable server with many features</li>
+ </ul>
+ <p>
+ For more information on the gameplay, refer to the tetrinet.txt file that
+ came with the original Tetrinet distribution.
+
+ Features:
+ </p>
+ <ul>
+ <li>Fully network compatible with Tetrinet v1.13 for
Win95/98/NT</li>
+ <li>Theme support with sound</li>
+ <li>Spectator support on Tetrinet-X servers with the qirc patch by
Drslum</li>
+ </ul>
+ </description>
+ <url
type="homepage">http://gtetrinet.sourceforge.net/</url>
+ <screenshots>
+ <!-- FIXME: Needs an official up to date screenshot -->
+ <screenshot
type="default">http://gtetrinet.sourceforge.net/screenshots/...
+ <screenshot
type="default">http://gtetrinet.sourceforge.net/screenshots/...
+ <screenshot
type="default">http://gtetrinet.sourceforge.net/screenshots/...
+ </screenshots>
+ <updatecontact>bocata(a)panete.net</updatecontact>
+</application>
+
diff --git a/gtetrinet.spec b/gtetrinet.spec
index 1f711b7..0035e81 100644
--- a/gtetrinet.spec
+++ b/gtetrinet.spec
@@ -8,6 +8,7 @@ URL:
http://gtetrinet.sourceforge.net/
Source0:
https://github.com/stump/gtetrinet/archive/GTETRINET_0_7_11/gtetrinet-GTE...
Source1: tetrinet.txt
Source2:
http://www.mavit.pwp.blueyonder.co.uk/mmr-sounds-1.0.tar.gz
+Source3: %{name}.appdata.xml
# Fork of user stump, but removed last 3 commits, they break translations in menus.
Patch2:
https://github.com/stump/gtetrinet/compare/GTETRINET_0_7_11...12cec675f43...
@@ -44,6 +45,7 @@ mkdir m4
%find_lang %{name}
%{__cp} -ap %{SOURCE1} .
%{__tar} -xzvf %{SOURCE2} -C %{buildroot}%{_datadir}/gtetrinet/themes/
+install -m 0644 -D %{SOURCE3} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%files -f %{name}.lang
@@ -56,11 +58,14 @@ mkdir m4
%{_datadir}/pixmaps/gtetrinet/
%{_datadir}/pixmaps/gtetrinet.png
%{_mandir}/man6/gtetrinet.6*
+%{_metainfodir}/%{name}.appdata.xml
%changelog
* Sun Mar 01 2020 Sérgio Basto <sergio(a)serjux.com> - 0.7.11-17
- Update gtetrinet.spec and his patches
+- Add appdata file, copied from
+
https://github.com/sanjayankur31/rpmfusion-appdata
* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.7.11-16
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild