Accepting request 741906 from home:lwfinger:branches:Virtualization

- Tweak file setup for appstream.
- Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml
- Add appstream file (boo#1154128)

OBS-URL: https://build.opensuse.org/request/show/741906
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=515
This commit is contained in:
Larry Finger 2019-10-22 16:38:53 +00:00 committed by Git OBS Bridge
parent dc964dce20
commit d7d68c55b8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 22 06:44:20 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
- Tweak file setup for appstream.
-------------------------------------------------------------------
Tue Oct 22 00:39:41 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>

View File

@ -712,9 +712,11 @@ install -m 644 out/linux.*/release/bin/virtualbox.desktop %{buildroot}%{_datadir
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop 'System Emulator'
# install appstream file
mkdir -p %{buildroot}%{_datadir}/metainfo
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
# create a menu entry
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 out/linux.*/release/bin/VBox.png %{buildroot}%{_datadir}/pixmaps/virtualbox.png
# install config with session shutdown defs
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/default/virtualbox