Skip to content

Commit

Permalink
build: Install AppStream metainfo for cockpit-machines
Browse files Browse the repository at this point in the history
Closes #10145
  • Loading branch information
mvollmer authored and martinpitt committed Sep 24, 2018
1 parent 88dcbb7 commit 21f2373
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/Makefile.am
Expand Up @@ -24,7 +24,9 @@ dist/ovirt/install.sh: pkg/ovirt/install.sh
metainfodir = ${datarootdir}/metainfo
metainfo_DATA = pkg/sosreport/org.cockpit-project.cockpit-sosreport.metainfo.xml \
pkg/kdump/org.cockpit-project.cockpit-kdump.metainfo.xml \
pkg/selinux/org.cockpit-project.cockpit-selinux.metainfo.xml
pkg/selinux/org.cockpit-project.cockpit-selinux.metainfo.xml \
pkg/machines/org.cockpit-project.cockpit-machines.metainfo.xml \
$(NULL)

pixmapsdir = ${datarootdir}/pixmaps
pixmaps_DATA = pkg/sosreport/cockpit-sosreport.png
Expand Down
17 changes: 17 additions & 0 deletions pkg/machines/org.cockpit-project.cockpit-machines.metainfo.xml
@@ -0,0 +1,17 @@
<component type="addon">
<id>org.cockpit-project.cockpit-machines</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Machines</name>
<summary>
Manage your virtual machines
</summary>
<description>
<p>
This tool manages virtual machines. With it, you can create,
monitor, and control the virtual machines of the libvirt
subsystem.
</p>
</description>
<extends>cockpit.desktop</extends>
<launchable type="cockpit-manifest">machines</launchable>
</component>
1 change: 1 addition & 0 deletions tools/cockpit.spec
Expand Up @@ -691,6 +691,7 @@ The Cockpit components for managing virtual machines.
If "virt-install" is installed, you can also create new virtual machines.

%files -n cockpit-machines -f machines.list
%{_datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml

%package -n cockpit-machines-ovirt
BuildArch: noarch
Expand Down
1 change: 1 addition & 0 deletions tools/debian/cockpit-machines.install
@@ -1 +1,2 @@
usr/share/cockpit/machines/
usr/share/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml

0 comments on commit 21f2373

Please sign in to comment.