rhughes pushed to ekiga (master). "Add an AppData file for the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 16:42:17 UTC 2015
>From 2e40ffd81beb0f128552380c5f7ab53e66fc1347 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 16:32:52 +0000
Subject: Add an AppData file for the software center
diff --git a/ekiga.spec b/ekiga.spec
index bda7f1a..957e554 100644
--- a/ekiga.spec
+++ b/ekiga.spec
@@ -1,7 +1,7 @@
Summary: A Gnome based SIP/H323 teleconferencing application
Name: ekiga
Version: 4.0.1
-Release: 17%{?dist}
+Release: 18%{?dist}
License: GPLv2+
Group: Applications/Communications
URL: http://www.ekiga.org/
@@ -88,6 +88,46 @@ desktop-file-install --vendor gnome \
--delete-original \
%{buildroot}%{_datadir}/applications/ekiga.desktop
+# Register as an application to be visible in the software center
+#
+# NOTE: It would be *awesome* if this file was maintained by the upstream
+# project, translated and installed into the right place during `make install`.
+#
+# See http://www.freedesktop.org/software/appstream/docs/ for more details.
+#
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gnome-ekiga.appdata.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard at hughsie.com> -->
+<!--
+BugReportURL: https://bugzilla.gnome.org/show_bug.cgi?id=736831
+SentUpstream: 2014-09-17
+-->
+<application>
+ <id type="desktop">gnome-ekiga.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <description>
+ <p>
+ Ekiga is a softphone, video conferencing and instant messenger application
+ over the Internet.
+ It supports HD sound quality and video up to DVD size and quality.
+ </p>
+ <p>
+ It is interoperable with many other standard compliant softwares,
+ hardwares and service providers as it supports both the major telephony
+ standards (SIP and H.323).
+ </p>
+ </description>
+ <url type="homepage">http://www.ekiga.org/</url>
+ <screenshots>
+ <screenshot type="default">http://www.ekiga.org/sites/all/themes/ekiga_net/images/ekiga_s3.png</screenshot>
+ <screenshot>http://www.ekiga.org/sites/all/themes/ekiga_net/images/Roster3.png</screenshot>
+ </screenshots>
+ <updatecontact>ekiga-list at gnome.org</updatecontact>
+ <project_group>GNOME</project_group>
+</application>
+EOF
+
%find_lang ekiga --with-gnome
#Remove libtool archives.
@@ -134,6 +174,7 @@ scrollkeeper-update -q || :
%{_bindir}/ekiga-helper
%{_bindir}/ekiga-config-tool
%{_libdir}/ekiga
+%{_datadir}/appdata/*.appdata.xml
%{_datadir}/applications/gnome-ekiga.desktop
%{_datadir}/pixmaps/ekiga
%{_datadir}/man/*/*
@@ -143,6 +184,9 @@ scrollkeeper-update -q || :
%{_sysconfdir}/gconf/schemas/ekiga.schemas
%changelog
+* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 4.0.1-18
+- Add an AppData file for the software center
+
* Tue Feb 17 2015 Milan Crha <mcrha at redhat.com> - 4.0.1-17
- Rebuild against newer evolution-data-server
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ekiga.git/commit/?h=master&id=2e40ffd81beb0f128552380c5f7ab53e66fc1347
More information about the scm-commits
mailing list