[systemd-ui] Add appdata

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Fri Jan 24 20:47:35 UTC 2014


commit f75a3b2272a322c50ff869f12bcb08797830c73e
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Fri Jan 24 14:11:09 2014 -0500

    Add appdata

 0001-Add-appdata-file.patch |   61 +++++++++++++++++++++++++++++++++++++++++++
 systemd-ui.spec             |    8 +++++-
 2 files changed, 68 insertions(+), 1 deletions(-)
---
diff --git a/0001-Add-appdata-file.patch b/0001-Add-appdata-file.patch
new file mode 100644
index 0000000..0ad6222
--- /dev/null
+++ b/0001-Add-appdata-file.patch
@@ -0,0 +1,61 @@
+From 5f6f27f4a8cb3151cf668a9c4bfb2c469cc5df56 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek at in.waw.pl>
+Date: Fri, 24 Jan 2014 13:57:10 -0500
+Subject: [PATCH] Add appdata file
+
+---
+ Makefile.am               |  4 ++++
+ src/systemadm.appdata.xml | 26 ++++++++++++++++++++++++++
+ 2 files changed, 30 insertions(+)
+ create mode 100644 src/systemadm.appdata.xml
+
+diff --git a/Makefile.am b/Makefile.am
+index ee82e12..a93ec40 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -60,6 +60,10 @@ desktopdir = $(datadir)/applications
+ dist_desktop_DATA = \
+ 	src/systemadm.desktop
+ 
++appdatadir = $(datadir)/appdata
++dist_appdata_DATA = \
++	src/systemadm.appdata.xml
++
+ CLEANFILES += \
+ 	${systemadm_SOURCES:.vala=.c}
+ 
+diff --git a/src/systemadm.appdata.xml b/src/systemadm.appdata.xml
+new file mode 100644
+index 0000000..a72fd25
+--- /dev/null
++++ b/src/systemadm.appdata.xml
+@@ -0,0 +1,26 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!-- Copyright 2014 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> -->
++<application>
++  <id type="desktop">calibre-gui.desktop</id>
++  <licence>CC0</licence>
++  <description>
++    <p>
++      systemadm is the graphical browser for systemd units. It
++      can show the list of units, possibly filtered by type.
++      For individual units, name, description and dependencies
++      with other units will be shown.
++    </p>
++
++    <p>
++      This tool has been largely obsoleted by the commandline
++      tools like systemctl and systemd-analyze. Bugs are likely
++      to be present.
++    </p>
++  </description>
++  <screenshots>
++    <screenshot type="default" width="1200" height="675">http://in.waw.pl/~zbyszek/systemd/systemadm-main-window.png</screenshot>
++    <screenshot width="1200" height="675">http://in.waw.pl/~zbyszek/systemd/systemadm-sockets-target.png</screenshot>
++  </screenshots>
++  <url type="homepage">http://www.freedesktop.org/wiki/Software/systemd/</url>
++  <updatecontact>zbyszek at in.waw.pl</updatecontact>
++</application>
+-- 
+1.8.5.3
+
diff --git a/systemd-ui.spec b/systemd-ui.spec
index c2e50ca..e9dccb0 100644
--- a/systemd-ui.spec
+++ b/systemd-ui.spec
@@ -1,11 +1,12 @@
 Name:           systemd-ui
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        3
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 Group:          Applications/System
 Summary:        Graphical front-end for systemd
 Source0:        http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
+Patch0:         0001-Add-appdata-file.patch
 BuildRequires:  vala
 BuildRequires:  pkgconfig
 BuildRequires:  gtk3-devel
@@ -28,6 +29,7 @@ management. YMMV.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -44,9 +46,13 @@ desktop-file-install --delete-original  \
 %{_bindir}/systemadm
 %{_bindir}/systemd-gnome-ask-password-agent
 %{_datadir}/applications/systemadm.desktop
+%{_datadir}/appdata/
 %{_mandir}/man1/systemadm.*
 
 %changelog
+* Fri Jan 24 2014 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> 3-2
+- Add appdata
+
 * Thu Dec 19 2013 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> 3-1
 - version 3
 


More information about the scm-commits mailing list