package: Add appdata metadata for Gnome Software

Adds metadata to be used with Gnome Software.
Includes name, summary, description and a few screenshots of remote-viewer.

Signed-off-by: Lukáš Venhoda <lvenhoda@redhat.com>
Acked-by: Daniel P. Berrange <berrange@redhat.com>
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Lukáš Venhoda 2016-06-27 17:20:54 +02:00 committed by Fabiano Fidêncio
parent 937693a73a
commit f212c5a358
4 changed files with 38 additions and 2 deletions

View File

@ -76,6 +76,11 @@ mimedir = $(datadir)/mime/packages
mime_DATA = virt-viewer-mime.xml
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
APPDATAFILES = remote-viewer.appdata.xml.in
appdata_DATA = $(APPDATAFILES:.xml.in=.xml)
@INTLTOOL_XML_RULE@
install-data-hook:
if ENABLE_UPDATE_MIMEDB
@if $(AM_V_P); then set -x; else echo " INSTALL update-mime-database"; fi; \
@ -88,8 +93,8 @@ if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime";
endif
CLEANFILES += $(mime_DATA) $(desktop_DATA)
EXTRA_DIST += $(MIMEFILES) $(DESKTOPFILES)
CLEANFILES += $(mime_DATA) $(desktop_DATA) $(appdata_DATA)
EXTRA_DIST += $(MIMEFILES) $(DESKTOPFILES) $(APPDATAFILES)
endif

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">remote-viewer.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<_name>Remote Viewer</_name>
<_summary>Remotely access virtual machines</_summary>
<description>
<_p>
Remote Viewer provides a graphical viewer for the guest OS
display. At this time it supports guest OS using the VNC
or SPICE protocols. Further protocols may be supported in
the future as user demand dictates. The viewer can connect
directly to both local and remotely hosted guest OS, optionally
using SSL/TLS encryption.
</_p>
</description>
<screenshots>
<screenshot type="default">https://virt-manager.org/appdata/en_US/virt-viewer/general.png</screenshot>
<screenshot>https://virt-manager.org/appdata/en_US/virt-viewer/connection.png</screenshot>
<screenshot>https://virt-manager.org/appdata/en_US/virt-viewer/usbredir.png</screenshot>
<screenshot>https://virt-manager.org/appdata/en_US/virt-viewer/shared_folder.png</screenshot>
</screenshots>
<provides>
<binary>remote-viewer</binary>
</provides>
<url type="homepage">https://virt-manager.org/</url>
<updatecontact>virt-tools-list_at_redhat.com</updatecontact>
</application>

View File

@ -1,3 +1,4 @@
data/remote-viewer.appdata.xml.in
data/remote-viewer.desktop.in
data/virt-viewer-mime.xml.in
src/remote-viewer-main.c

View File

@ -125,6 +125,7 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/devices/*
%{_datadir}/applications/remote-viewer.desktop
%{_datadir}/appdata/remote-viewer.appdata.xml
%{_datadir}/mime/packages/virt-viewer-mime.xml
%ghost %{_libexecdir}/spice-xpi-client
%{_libexecdir}/spice-xpi-client-remote-viewer