rhughes pushed to edb (master). "Add an AppData file for the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 16:23:11 UTC 2015
>From b0f07863ac4ed15627e991babe53c23e18dedbc4 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 16:08:22 +0000
Subject: Add an AppData file for the software center
diff --git a/edb.spec b/edb.spec
index 9c1fc57..544b7b0 100644
--- a/edb.spec
+++ b/edb.spec
@@ -1,6 +1,6 @@
Name: edb
Version: 0.9.18
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: A debugger based on the ptrace API and Qt4
Group: Development/Debuggers
@@ -49,6 +49,45 @@ desktop-file-install --vendor="" \
--dir=%{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 Evan Teran <evan.teran at gmail.com> -->
+<!--
+BugReportURL: https://code.google.com/p/edb-debugger/issues/detail?id=130
+SentUpstream: 2014-09-18
+-->
+<application>
+ <id type="desktop">edb.desktop</id>
+ <metadata_license>CC0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <name>edb</name>
+ <summary>A reverse engineer's debugger</summary>
+ <description>
+ <p>
+ edb is a cross platform x86/x86-64 debugger.
+ It was inspired by OllyDbg, but aims to function on x86 and x86-64 as well
+ as multiple OS's.
+ </p>
+ <p>
+ Linux is the only officially supported platform at the moment, but FreeBSD,
+ OpenBSD, OSX and Windows ports are underway with varying degrees of functionality.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default" width="1121" height="839">http://codef00.com/img/debugger.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://codef00.com/projects</url>
+ <updatecontact>evan.teran_at_gmail.com</updatecontact>
+</application>
+EOF
%clean
rm -rf $RPM_BUILD_ROOT
@@ -59,11 +98,15 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGELOG COPYING README TODO VERSION README.plugins doc
%{_bindir}/%{name}
%{_libdir}/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man1/%{name}.1.gz
%changelog
+* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 0.9.18-12
+- Add an AppData file for the software center
+
* Mon Jan 26 2015 Petr Machata <pmachata at redhat.com> - 0.9.18-11
- Rebuild for boost 1.57.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/edb.git/commit/?h=master&id=b0f07863ac4ed15627e991babe53c23e18dedbc4
More information about the scm-commits
mailing list