[polybori] Add AppData file.

Jerry James jjames at fedoraproject.org
Fri Feb 28 19:20:25 UTC 2014


commit 842c4890a3293e2222f8f90efbdc81bdc4d80354
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Fri Feb 28 12:21:14 2014 -0700

    Add AppData file.

 PolyGUI.appdata.xml |   27 +++++++++++++++++++++++++++
 polybori.spec       |   11 ++++++++++-
 2 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/PolyGUI.appdata.xml b/PolyGUI.appdata.xml
new file mode 100644
index 0000000..db2200a
--- /dev/null
+++ b/PolyGUI.appdata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">PolyGUI.desktop</id>
+ <licence>CC0</licence>
+ <description>
+  <p>
+   PolyBoRi is a special purpose computer algebra system for computations in
+   Boolean Rings.
+  </p>
+  <p>
+   The core of PolyBoRi is a C++ library, which provides high-level data types
+   for Boolean polynomials and related structures.  As a unique approach,
+   binary decision diagrams are used as internal storage type for polynomial
+   structures.  On top of this, we provide a Python interface for parsing of
+   complex polynomial systems, as well as for sophisticated and extendable
+   strategies for Gröbner base computation.
+  </p>
+ </description>
+ <screenshots>
+  <screenshot type="default">http://polybori.sourceforge.net/doc/tutorial/PolyGui.png</screenshot>
+  <screenshot>http://polybori.sourceforge.net/doc/tutorial/PolyGui-Options.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://polybori.sourceforge.net/</url>
+ <!-- FIXME: change this to an upstream email address for spec updates
+         <updatecontact>someone_who_cares at upstream_project.org</updatecontact>
+  -->
+</application>
diff --git a/polybori.spec b/polybori.spec
index 5ee388b..6733287 100644
--- a/polybori.spec
+++ b/polybori.spec
@@ -3,7 +3,7 @@
 
 Name:           polybori
 Version:        0.8.3
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Framework for Boolean Rings
 Group:          Development/Libraries
 License:        GPLv2+
@@ -11,6 +11,7 @@ URL:            http://polybori.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # These logos were created with gimp from the official polybori logo
 Source1:        %{name}-logos.tar.xz
+Source2:        PolyGUI.appdata.xml
 # This patch is specific to Fedora, although upstream helped create it.  Use
 # system CUDD libraries instead of building the included CUDD sources.
 Patch0:         %{name}-system-cudd.patch
@@ -157,6 +158,10 @@ sed -ri 's/Math/&;/;/(Path|MimeType)=/d' \
    %{buildroot}%{_datadir}/applications/PolyGUI.desktop
 desktop-file-validate %{buildroot}%{_datadir}/applications/PolyGUI.desktop
 
+# AppData file
+mkdir -p %{buildroot}%{_datadir}/appdata
+install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata
+
 # Replace the single XPM icon with multiple sizes of PNG icons
 rm -fr %{buildroot}%{_datadir}/pixmaps
 mkdir -p %{buildroot}%{icondir}
@@ -228,12 +233,16 @@ gtk-update-icon-cache %{icondir} >&/dev/null ||:
 
 %files gui
 %{_bindir}/PolyGUI*
+%{_datadir}/appdata/PolyGUI.appdata.xml
 %{_datadir}/applications/PolyGUI.desktop
 %{_datadir}/%{name}/gui/
 %{icondir}/*/apps/PolyGUI.png
 %{_mandir}/man1/PolyGUI*
 
 %changelog
+* Fri Feb 28 2014 Jerry James <loganjerry at gmail.com> - 0.8.3-7
+- Add AppData file
+
 * Fri Aug  2 2013 Jerry James <loganjerry at gmail.com> - 0.8.3-6
 - Fix conflicting doc files between main package and -docs subpackage.
 


More information about the scm-commits mailing list