[soundconverter] Merge and install AppData file.
Michael Schwendt
mschwendt at fedoraproject.org
Fri Sep 27 15:39:34 UTC 2013
commit b9b933408e34a0d2cc57c39ade81ff413cf60948
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Fri Sep 27 17:39:22 2013 +0200
Merge and install AppData file.
soundconverter.appdata.xml | 19 +++++++++++++++++++
soundconverter.spec | 14 ++++++++++++--
2 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/soundconverter.appdata.xml b/soundconverter.appdata.xml
new file mode 100644
index 0000000..091ba27
--- /dev/null
+++ b/soundconverter.appdata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+<id type="desktop">soundconverter.desktop</id>
+<licence>CC0</licence>
+<description>
+<p>
+SoundConverter is the leading audio file converter for the GNOME Desktop.
+</p>
+<p>
+SoundConverter is a simple to use, and very fast audio converter. It can convert multiples files at same the time to speed up the conversion. It can also extract the audio from videos.
+</p>
+</description>
+<url type="homepage">http://soundconverter.org/</url>
+<screenshots>
+<screenshot type="default">http://soundconverter.org/screenshot-soundconverter.png</screenshot>
+</screenshots>
+
+<updatecontact>gautier at soundconverter.org</updatecontact>
+</application>
diff --git a/soundconverter.spec b/soundconverter.spec
index 728de75..f0f8a99 100644
--- a/soundconverter.spec
+++ b/soundconverter.spec
@@ -2,13 +2,16 @@
Name: soundconverter
Version: 2.1.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Simple sound converter application for GNOME
Group: Applications/Multimedia
License: GPLv3
URL: http://soundconverter.org
Source0: http://launchpad.net/soundconverter/trunk/%{tar_ver}/+download/soundconverter-%{tar_ver}.tar.xz
+# validated: 2013-09-27
+Source1: soundconverter.appdata.xml
+
BuildArch: noarch
BuildRequires: python2-devel
@@ -68,7 +71,10 @@ desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-OutputGeneration \
--delete-original \
- ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop
+ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+
+# file available in post-2.1.1 upstream git
+install -D -m0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/appdata/%{name}.appdata.xml
%post
@@ -98,9 +104,13 @@ fi
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
+%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Fri Sep 27 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 2.1.1-4
+- Merge and install AppData file.
+
* Tue Aug 27 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 2.1.1-3
- Update scriptlet sections with current recipes.
- Drop the minimum errata version for gstreamer-plugins-good for F15/16/17.
More information about the scm-commits
mailing list