[gmpc] add explicit avahi build deps
Adrian Reber
adrian at fedoraproject.org
Sun Dec 1 10:45:22 UTC 2013
commit a763b746bce85e4f9437c10fe6c05c35e8fdca9d
Author: Adrian Reber <adrian at lisas.de>
Date: Sun Dec 1 11:45:15 2013 +0100
add explicit avahi build deps
gmpc.appdata.xml | 26 ++++++++++++++++++++++++++
gmpc.spec | 7 ++++++-
2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/gmpc.appdata.xml b/gmpc.appdata.xml
new file mode 100644
index 0000000..d29132f
--- /dev/null
+++ b/gmpc.appdata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">gmpc.desktop</id>
+ <licence>CC0</licence>
+ <description>
+ <p>
+ Gmpc is a GNOME client for the Music Player Daemon.
+ Features include:
+ </p>
+ <ul>
+ <li>Support for loading/saving playlists</li>
+ <li>File Browser</li>
+ <li>Browser based on ID3 information (on artist and albums)</li>
+ <li>Search</li>
+ <li>Current playlist viewer with search</li>
+ <li>ID3 information</li>
+ <li>Lots more</li>
+ </ul>
+ </description>
+ <url type="homepage">http://gmpclient.org/</url>
+ <screenshots>
+ <screenshot type="default">http://static4.wikia.nocookie.net/__cb20090912110043/gmpc/images/thumb/5/52/Screenshot_026.png/1024px-Screenshot_026.png</screenshot>
+ <screenshot>http://static3.wikia.nocookie.net/__cb20121017155205/gmpc/images/1/1f/Now-playing-backdrop.png</screenshot>
+ </screenshots>
+ <updatecontact>qball _ at _ sarine dot nl</updatecontact>
+</application>
diff --git a/gmpc.spec b/gmpc.spec
index 843852d..3b15e3f 100644
--- a/gmpc.spec
+++ b/gmpc.spec
@@ -1,7 +1,7 @@
Name: gmpc
Summary: GNOME frontend for the MPD
Version: 11.8.16
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: Applications/Multimedia
@@ -21,6 +21,8 @@ Source10: http://download.sarine.nl/Programs/gmpc/11.8/gmpc-mmkeys-11.8.16
Source11: http://download.sarine.nl/Programs/gmpc/11.8/gmpc-tagedit-11.8.16.tar.gz
Source12: http://download.sarine.nl/Programs/gmpc/11.8/gmpc-wikipedia-11.8.16.tar.gz
+Source13: gmpc.appdata.xml
+
Patch0: gmpc-dso.patch
BuildRequires: scrollkeeper, gtk2-devel, libglade2-devel
@@ -132,6 +134,8 @@ desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/gmpc.desktop
+install -D -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
+
%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -153,6 +157,7 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_datadir}/gmpc-albumview/icons/*/*/*/*
%{_mandir}/man1/*
%{_datadir}/gnome/help/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
%files devel
%defattr(0644,root,root,755)
More information about the scm-commits
mailing list