commit 3273dcdc97eeb41475b66311228a3587b698c024
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Mar 1 01:03:28 2020 +0000
Add appdata file, copied from
https://github.com/sanjayankur31/rpmfusion-appdata
amule.appdata.xml | 36 ++++++++++++++++++++++++++++++++++++
amule.spec | 9 ++++++++-
2 files changed, 44 insertions(+), 1 deletion(-)
---
diff --git a/amule.appdata.xml b/amule.appdata.xml
new file mode 100644
index 0000000..29c04f3
--- /dev/null
+++ b/amule.appdata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Ankur Sinha <ankursinha(a)fedoraproject.org> -->
+
+<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
+BugReportURL: rhbz-#
+SentUpstream: yyyy-mm-dd
+-->
+
+<application>
+ <id type="desktop">amule.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary>File sharing client compatible with eDonkey</summary>
+ <description>
+ <p>
+ aMule stands for all-platform Mule.
+ </p>
+ <p>
+ aMule is an eMule-like client for the eD2k and Kademlia networks,
+ supporting multiple platforms. Currently aMule (officially) supports a
+ wide variety of platforms and operating systems, being compatible with
+ more than 60 different hardware+OS configurations. aMule is entirely
+ free, its sourcecode released under the GPL just like eMule, and
+ includes no adware or spyware as is often found in proprietary P2P
+ applications. aMule is built upon the wxWidgets (formerly wxWindows)
+ toolkit, which enables it to support multiple platforms.
+ </p>
+ </description>
+ <url
type="homepage">http://www.amule.org/</url>
+ <screenshots>
+ <!-- FIXME: Needs an official up to date screenshot -->
+ <screenshot
type="default">http://upload.wikimedia.org/wikipedia/commons...
+ </screenshots>
+ <!-- FIXME: change this to an upstream email address for spec updates
+ <updatecontact>someone_who_cares(a)upstream_project.org</updatecontact>
+ -->
+</application>
diff --git a/amule.spec b/amule.spec
index d8fc84a..140cfd2 100644
--- a/amule.spec
+++ b/amule.spec
@@ -4,10 +4,11 @@
Name: amule
Version: 2.3.3
-Release: 0.2.%{gitdate}git%{shortcommit}%{?dist}
+Release: 0.3.%{gitdate}git%{shortcommit}%{?dist}
Summary: File sharing client compatible with eDonkey
License: GPLv2+
Source0:
https://github.com/amule-project/amule/archive/%{commit}/%{name}-%{shortc...
+Source2: %{name}.appdata.xml
URL:
http://amule.org
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -108,6 +109,7 @@ desktop-file-install --vendor "" \
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/INSTALL
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING
+install -P -m 0644 -D %{SOURCE2} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%files -f %{name}.lang
@@ -133,6 +135,7 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING
%{_mandir}/man1/amulegui.1.gz
%{_mandir}/*/man1/amulegui.1.gz
%exclude %{_datadir}/%{name}/webserver
+%{_metainfodir}/%{name}.appdata.xml
%files nogui
%{_bindir}/alcc
@@ -154,6 +157,10 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING
%changelog
+* Sun Mar 01 2020 Sérgio Basto <sergio(a)serjux.com> - 2.3.3-0.3.20200131gitc0c2823
+- Add appdata file, copied from
+
https://github.com/sanjayankur31/rpmfusion-appdata
+
* Sat Feb 29 2020 Sérgio Basto <sergio(a)serjux.com> - 2.3.3-0.2.20200131gitc0c2823
- Some changes based on Mageia spec
- Let's try wxGTK with GTK3 instead GTK2