[sonata/f20] - add appdata.xml - fix BZ#1034224
Luis Enrique Bazán De León
lbazan at fedoraproject.org
Fri Mar 7 16:44:02 UTC 2014
commit 4abede43e37d76fccfd03d339fb0e4b75d0c6506
Author: lbazan <lbazan at fedoraproject.org>
Date: Fri Mar 7 11:43:15 2014 -0500
- add appdata.xml
- fix BZ#1034224
sonata.appdata.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
sonata.spec | 17 +++++++++++++----
2 files changed, 55 insertions(+), 4 deletions(-)
---
diff --git a/sonata.appdata.xml b/sonata.appdata.xml
new file mode 100644
index 0000000..1570c93
--- /dev/null
+++ b/sonata.appdata.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">sonata.desktop</id>
+ <licence>CC0</licence>
+ <description>
+ <p>
+ Sonata is an elegant GTK+ music client for the Music Player Daemon (MPD). The latest version is 1.6.2.1.
+
+ Sonata is licensed by the GPL and is free software. It has been
+ forked from the unmaintained Pygmy project in order to fix bugs,
+ introduce new features, and proceed down a different path.
+ </p>
+ <p>
+ Features:
+ </p>
+ <ul>
+ <li>Expanded and collapsed views</li>
+ <li>Automatic remote and local album art</li>
+ <li>Library browsing by folders, or by genre/artist/album</li>
+ <li>User-configurable columns</li>
+ <li>Automatic fetching of lyrics</li>
+ <li>Playlist and stream support</li>
+ <li>Support for editing song tags</li>
+ <li>Drag and drop to copy files</li>
+ <li>Popup notification</li>
+ <li>Library and playlist searching, filter as you type</li>
+ <li>Audioscrobbler (last.fm) 1.2 support</li>
+ <li>Multiple MPD profiles</li>
+ <li>Keyboard friendly</li>
+ <li>Support for multimedia keys</li>
+ <li>Commandline control</li>
+ <li>Available in 24 languages</li>
+ </ul>
+ </description>
+ <url type="homepage">http://sonata.berlios.de/</url>
+ <screenshots>
+ <screenshot type="default">http://sonata.berlios.de/images/sonata1.png</screenshot>
+ <screenshot>http://sonata.berlios.de/images/sonata2.png</screenshot>
+ <screenshot>http://sonata.berlios.de/images/sonata3.png</screenshot>
+ </screenshots>
+ <updatecontact>Tuukka.Hastrup at iki.fi</updatecontact>
+</application>
diff --git a/sonata.spec b/sonata.spec
index 5cedf1d..954f5f8 100644
--- a/sonata.spec
+++ b/sonata.spec
@@ -2,22 +2,25 @@
Name: sonata
Version: 1.6.2.1
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: An elegant GTK+ client for the Music Player Daemon (MPD)
Group: Applications/Multimedia
License: GPLv3+
URL: http://sonata.berlios.de/
Source0: http://download.berlios.de/sonata/sonata-%{version}.tar.bz2
-Patch0: sonata-1.6.2-nocleaning.patch
-Patch1: sonata-1.6.2.1-mpd-0.18.patch
+Source1: %{name}.appdata.xml
+Patch0: %{name}-1.6.2-nocleaning.patch
+Patch1: %{name}-1.6.2.1-mpd-0.18.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: pygtk2-devel gtk2-devel
BuildRequires: python-devel
BuildRequires: gettext
+BuildRequires: appdata-tools
Requires: pygtk2 python-ZSI dbus-python gnome-python2-libegg
Requires: python-mpd
Requires: python-tag
+
%description
Sonata is a lightweight GTK+ music client for the Music Player Daemon (MPD).
It aims to be efficient (no toolbar, main menu, or statusbar), user-friendly,
@@ -65,20 +68,26 @@ desktop-file-install \
rm -rf $RPM_BUILD_ROOT%{_datadir}/sonata
chmod 755 ${RPM_BUILD_ROOT}%{python_sitearch}/%{name}/breadcrumbs.py
+mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/appdata
+cp -a %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/appdata
+
%clean
rm -rf $RPM_BUILD_ROOT
-
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc CHANGELOG COPYING README TODO TRANSLATORS
%{python_sitearch}/*
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/pixmaps/%{name}*
%{_mandir}/man1/%{name}.1.gz
%changelog
+* Fri Mar 07 2014 Luis Bazan <lbazan at fedoraproject.org> - 1.6.2.1-12
+- fix BZ#1034224
+
* Wed Mar 05 2014 Luis Bazan <lbazan at fedoraproject.org> - 1.6.2.1-11
- fix BZ#1071635
More information about the scm-commits
mailing list