forked from pool/virtualbox
Accepting request 213656 from Virtualization
- added subpackage virtualbox-guest-desktop-icons, contains icons to provide os-specific icons for guest desktop files created on desktop. (forwarded request 213326 from enzokiel) OBS-URL: https://build.opensuse.org/request/show/213656 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=79
This commit is contained in:
commit
a5ea1918b9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user