Distribute appdata xml (bz 1011120)

More info: http://people.freedesktop.org/~hughsient/appdata/
This commit is contained in:
Cole Robinson 2013-09-23 20:40:43 -04:00
parent a660088768
commit 2148eaa2ae
3 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">virt-manager.desktop</id>
<licence>CC0</licence>
<name>Virtual Machine Manager</name>
<summary>Graphically manage KVM, Xen, or LXC via libvirt</summary>
<description>
<p>
Virtual Machine Manager provides a graphical tool for administering virtual
machines for KVM, Xen, and LXC. Start, stop, add or remove virtual devices,
connect to a graphical or serial console, and see resource usage statistics
for existing VMs on local or remote machines. Uses libvirt as the backend
management API.
</p>
</description>
<screenshots>
<screenshot type="default">http://virt-manager.org/appdata/en_US/manager.png</screenshot>
<screenshot>http://virt-manager.org/appdata/en_US/details.png</screenshot>
<screenshot>http://virt-manager.org/appdata/en_US/console.png</screenshot>
</screenshots>
<url type="homepage">http://www.virt-manager.org/</url>
<updatecontact>virt-tools-list@redhat.com</updatecontact>
</application>

View File

@ -74,6 +74,7 @@ class my_build_i18n(build):
# Borrowed from python-distutils-extra
desktop_files = [
("share/applications", ["data/virt-manager.desktop.in"]),
("share/appdata", ["data/virt-manager.appdata.xml"]),
]
po_dir = "po"

View File

@ -62,7 +62,7 @@ BuildRequires: /usr/bin/pod2man
%description
Virtual Machine Manager provides a graphical tool for administering virtual
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
machines for KVM, Xen, and LXC. Start, stop, add or remove virtual devices,
connect to a graphical or serial console, and see resource usage statistics
for existing VMs on local or remote machines. Uses libvirt as the backend
management API.
@ -182,6 +182,7 @@ fi
%{_datadir}/%{name}/icons
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml