[gnumeric] Meta: add appdata.



commit 5426a6be9e2dc7d534c4dc7a6aa85788a797b1b4
Author: Morten Welinder <terra gnome org>
Date:   Thu Sep 12 11:36:00 2013 -0400

    Meta: add appdata.

 .gitignore              |    1 +
 Makefile.am             |    8 +++++++-
 gnumeric.appdata.xml.in |   16 ++++++++++++++++
 3 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2e9fd7d..6d031da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,6 +26,7 @@ install-sh
 missing
 mkinstalldirs
 ylwrap
+gnumeric.appdata.xml
 gnumeric.keys
 gnumeric.spec
 gnumeric.desktop
diff --git a/Makefile.am b/Makefile.am
index c9f4e5f..f66a0b6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@ change_logs = ChangeLog \
        OChangeLog-2000-02-23 OChangeLog-2000-10-10  \
        OChangeLog-2001-06-26
 
-CLEANFILES = gnumeric.desktop gnumeric.keys
+CLEANFILES = gnumeric.desktop gnumeric.keys gnumeric.appdata.xml
 DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA)
 
 DISTCHECK_CONFIGURE_FLAGS = --without-perl --without-python \
@@ -18,6 +18,7 @@ DISTCHECK_CONFIGURE_FLAGS = --without-perl --without-python \
 EXTRA_DIST = \
        README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs)   \
        COPYING-gpl2 COPYING-gpl3 \
+       gnumeric.appdata.in     \
        gnumeric.desktop.in     \
        gnumeric.keys.in        \
        gnumeric.mime           \
@@ -38,6 +39,11 @@ libspreadsheet- GNUMERIC_API_VER@.pc: libspreadsheet.pc
 
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = gnumeric.appdata.xml
+gnumeric.appdata.xml: gnumeric.appdata.xml.in
+       cp $< $@
+
 Applicationsdir = $(datadir)/applications/
 Applications_in_files = gnumeric.desktop.in
 Applications_DATA = gnumeric.desktop
diff --git a/gnumeric.appdata.xml.in b/gnumeric.appdata.xml.in
new file mode 100644
index 0000000..6229719
--- /dev/null
+++ b/gnumeric.appdata.xml.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+<id type="desktop">gnumeric.desktop</id>
+<licence><!--of the appdata-->CC0</licence>
+<description>
+<p>Gnumeric is a spreadsheet application for interactive manipulation of data</p>
+<p>Gnumeric aims to provide high-accuracy computations, expressive graphs,
+and a wide selection of statistical analysis tools.  Gnumeric can share
+files with Microsoft Excel and programs supporting the ODS standard.</p>
+</description>
+<url type="homepage">https://projects.gnome.org/gnumeric/</url>
+<screenshots>
+<screenshot type="default">https://projects.gnome.org/gnumeric/screenshots/001.png</screenshot>
+</screenshots>
+<updatecontact>gnumeric-list gnome org</updatecontact>
+</application>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]