Accepting request 741624 from home:hellcp:branches:Virtualization

- Add appstream file (boo#1154128)

OBS-URL: https://build.opensuse.org/request/show/741624
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=513
This commit is contained in:
Larry Finger 2019-10-21 22:21:51 +00:00 committed by Git OBS Bridge
parent ae60808b37
commit ba36997994
3 changed files with 31 additions and 0 deletions

21
VirtualBox.appdata.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>virtualbox.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<name>VirtualBox</name>
<summary>Virtual Machine client</summary>
<description>
<p>
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use.
</p>
</description>
<url type="homepage">https://www.virtualbox.org/</url>
<url type="bugtracker">https://www.virtualbox.org/wiki/Bugtracker</url>
<url type="help">https://www.virtualbox.org/manual</url>
<screenshots>
<screenshot type="default">
<image>https://www.virtualbox.org/attachment/wiki/Screenshots/OpenSuse13.2_on_Windows_7.png</image>
</screenshot>
</screenshots>
</component>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 21 18:39:47 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>
- Add appstream file (boo#1154128)
-------------------------------------------------------------------
Tue Oct 15 20:27:49 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>

View File

@ -60,6 +60,7 @@ Url: http://www.virtualbox.org/
#%%(bash %%{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%%{version}.tar.bz2)
Source0: VirtualBox-%{version}-patched.tar.bz2
Source1: UserManual.pdf
Source2: VirtualBox.appdata.xml
Source3: %{name}-60-vboxguest.rules
Source4: %{name}-default.virtualbox
Source5: %{name}-kmp-files
@ -712,6 +713,9 @@ popd
install -m 644 out/linux.*/release/bin/virtualbox.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop 'System Emulator'
# install appstream file
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
# create a menu entry
install -m 644 out/linux.*/release/bin/VBox.png %{buildroot}%{_datadir}/pixmaps/virtualbox.png
# install config with session shutdown defs
@ -1024,6 +1028,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
%{_vbox_instdir}/VBoxSharedClipboard.so
%{_datadir}/pixmaps/virtualbox.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.appdata.xml
%{_udevrulesdir}/60-vboxdrv.rules
%files guest-x11