diff --git a/virtualbox.changes b/virtualbox.changes index 1b5fdba..46bf3c8 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 09 12:14:51 UTC 2014 - joerg.lorenzen@ki.tng.de + +- added subpackage virtualbox-guest-desktop-icons, contains icons + to provide os-specific icons for guest desktop files created on desktop. + ------------------------------------------------------------------- Fri Dec 13 19:43:37 UTC 2013 - coolo@suse.com diff --git a/virtualbox.spec b/virtualbox.spec index 551d0a6..849f93e 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -255,6 +255,16 @@ Obsoletes: %{name}-ose-devel < %version %description devel Development file for %{name} ########################################### +%package guest-desktop-icons +Summary: Icons for guest desktop files +Group: System/Emulators/PC +Requires: %{name} = %{version} +Recommends: %{name}-gui = %{version} +BuildArch: noarch + +%description guest-desktop-icons +This package contains icons for guest desktop files that were created on the desktop. +########################################### %prep %setup -q -n VirtualBox-%{version} %patch1 @@ -598,12 +608,25 @@ popd %{buildroot}%{_sbindir}/rcvboxweb-service # ###################################################### +echo "entering virtualbox-guest-desktop-icons install section" +###################################################### +%__install -d -m 755 %{buildroot}%{_datadir}/pixmaps/virtalbox + +pushd src/VBox/Frontends/VirtualBox/images +for icon in os_*.png; do + %__install -m 644 "$icon" %{buildroot}%{_datadir}/pixmaps/virtalbox/"$icon"; +done +popd +# +###################################################### # run fdupes ###################################################### #run fdupes because we lost link for virtualbox/components directory %fdupes %{buildroot}/%{_vbox_instdir} #also some translation files are duplicated %fdupes %{buildroot}/%{_datadir}/virtualbox/nls +#also some icon files are duplicated +%fdupes %{buildroot}/%{_datadir}/pixmaps/virtalbox # # @@ -846,4 +869,9 @@ exit 0 %{_sysconfdir}/init.d/vboxweb-service %{_sbindir}/rcvboxweb-service +%files guest-desktop-icons +%defattr(-,root, root) +%dir %{_datadir}/pixmaps/virtalbox +%{_datadir}/pixmaps/virtalbox/*.png + %changelog