rhughes pushed to nemiver (master). "Add an AppData file for the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 16:52:48 UTC 2015
>From 614c68038946d6bd87e3dd015ef25a4a748f60f8 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 16:39:15 +0000
Subject: Add an AppData file for the software center
diff --git a/nemiver.spec b/nemiver.spec
index 919cd4b..801c615 100644
--- a/nemiver.spec
+++ b/nemiver.spec
@@ -1,6 +1,6 @@
Name: nemiver
Version: 0.9.5
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A GNOME C/C++ Debugger
Group: Development/Debuggers
@@ -81,6 +81,44 @@ desktop-file-install \
--delete-original \
%{buildroot}/%{_datadir}/applications/%{name}.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/%{name}.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=708754
+SentUpstream: 2014-09-22
+-->
+<application>
+ <id type="desktop">nemiver.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <description>
+ <p>
+ Nemiver is an on-going effort to write a standalone graphical debugger that
+ integrates well in the GNOME desktop environment.
+ It currently features a backend which uses the well known GNU Debugger gdb
+ to debug C / C++ programs.
+ </p>
+ <p>
+ We believe that Nemiver is mature and robust enough to just let you debug
+ your favorite C or C++ application in a pleasant way, as we use it daily
+ for our own debugging purposes.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">https://projects.gnome.org/nemiver/images/nemiver-main-page.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://projects.gnome.org/nemiver/</url>
+ <updatecontact>nemiver-list at gnome.org</updatecontact>
+</application>
+EOF
%clean
rm -rf %{buildroot}
@@ -116,6 +154,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datadir}/glib-2.0/schemas/org.nemiver.gschema.xml
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/icons/HighContrast/*/apps/%{name}.*
@@ -124,6 +163,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%{_mandir}/man?/%{name}.*
%changelog
+* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 0.9.5-7
+- Add an AppData file for the software center
+
* Mon Jan 26 2015 Petr Machata <pmachata at redhat.com> - 0.9.5-6
- Rebuild for boost 1.57.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nemiver.git/commit/?h=master&id=614c68038946d6bd87e3dd015ef25a4a748f60f8
More information about the scm-commits
mailing list