added basic appstream appdata information
authorWolfgang Rosenauer <wr@rosenauer.org>
Sat, 11 Oct 2014 10:33:51 +0200
changeset 774 f61bd1cd52c2
parent 773 22545f50497c
child 775 3ab2530d5879
child 778 9483ff78d5a0
added basic appstream appdata information
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/firefox-appdata.xml
--- a/MozillaFirefox/MozillaFirefox.changes	Sat Oct 11 10:10:06 2014 +0200
+++ b/MozillaFirefox/MozillaFirefox.changes	Sat Oct 11 10:33:51 2014 +0200
@@ -6,6 +6,7 @@
 - requires NSS 3.17.1
 - removed obsolete patch:
   * mozilla-ppc.patch
+- added basic appdata information
 
 -------------------------------------------------------------------
 Sat Sep 20 13:33:51 UTC 2014 - wr@rosenauer.org
--- a/MozillaFirefox/MozillaFirefox.spec	Sat Oct 11 10:10:06 2014 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Sat Oct 11 10:33:51 2014 +0200
@@ -102,6 +102,7 @@
 Source12:       mozilla-get-app-id
 Source13:       add-plugins.sh.in
 Source14:       create-tar.sh
+Source15:       firefox-appdata.xml
 # Gecko/Toolkit
 Patch1:         toolkit-download-folder.patch
 Patch2:         mozilla-nongnome-proxies.patch
@@ -444,6 +445,9 @@
 # additional mime-types
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime/packages
 cp %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mime/packages/%{progname}.xml
+# appdata
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cp %{SOURCE15} $RPM_BUILD_ROOT%{_datadir}/appdata/%{desktop_file_name}.xml
 # install man-page
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
 cp %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man1/%{progname}.1
@@ -608,6 +612,7 @@
 %{_datadir}/applications/%{desktop_file_name}.desktop
 %{_datadir}/mime/packages/%{progname}.xml
 %{_datadir}/pixmaps/firefox*
+%{_datadir}/appdata/
 %dir %{_datadir}/mozilla
 %dir %{_datadir}/mozilla/extensions
 %dir %{_datadir}/mozilla/extensions/%{firefox_appid}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/firefox-appdata.xml	Sat Oct 11 10:33:51 2014 +0200
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
+
+<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
+BugReportURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1071061
+SentUpstream: 2014-09-22
+-->
+
+<application>
+  <id type="desktop">firefox.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <description>
+    <p>
+      Bringing together all kinds of awesomeness to make browsing better for you.
+      Get to your favorite sites quickly – even if you don’t remember the URLs.
+      Type your term into the location bar (aka the Awesome Bar) and the autocomplete
+      function will include possible matches from your browsing history, bookmarked
+      sites and open tabs.
+    </p>
+    <!-- FIXME: Needs another couple of paragraphs -->
+  </description>
+  <url type="homepage">http://www.mozilla.org/en-US/</url>
+  <screenshots>
+  <!-- FIXME: Needs an official up to date screenshot -->
+    <screenshot type="default">https://wiki.mozilla.org/images/e/e1/Bon_Echo_Beta_2_Screen_Shot_1.PNG</screenshot>
+  </screenshots>
+  <!-- FIXME: change this to an upstream email address for spec updates
+  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
+   -->
+</application>
+