forked from pool/virtualbox
Accepting request 64191 from Virtualization
Accepted submit request 64191 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/64191 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=18
This commit is contained in:
commit
3b99cbc860
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 15:43:08 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- fix requires sysvinit(syslog)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 18 08:06:16 UTC 2011 - mseben@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package virtualbox
|
||||
# spec file for package virtualbox (Version 3.9.80)
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -32,7 +32,7 @@ BuildRequires: e2fsprogs-devel libcap-devel libcurl-devel python-devel update-d
|
||||
BuildRequires: hal-devel pulseaudio-devel xorg-x11 xorg-x11-devel xorg-x11-server xorg-x11-server-sdk
|
||||
BuildRequires: LibVNCServer-devel gcc43-c++ kbuild pam-devel udev
|
||||
%if %suse_version > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
BuildRequires: zlib-devel-static
|
||||
%endif
|
||||
%ifarch amd64 x86_64 ia32e em64t
|
||||
BuildRequires: hal-32bit
|
||||
@ -92,7 +92,7 @@ Patch99: vbox-permissions_warning.diff
|
||||
Patch100: vbox-no-build-dates.diff
|
||||
Patch101: vbox-default-os-type.diff
|
||||
#disable update in vbox gui
|
||||
Patch102: vbox-disable-updates.diff
|
||||
Patch102: vbox-disable-updates.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: pwdutils permissions
|
||||
Requires: %{name}-host-kmp = %version
|
||||
@ -100,6 +100,9 @@ Recommends: %{name}-gui = %version
|
||||
#rename from ose version:
|
||||
Provides: %{name}-ose = %version
|
||||
Obsoletes: %{name}-ose < %version
|
||||
%if 0%{suse_version} > 1130
|
||||
PreReq: sysvinit(syslog)
|
||||
%endif
|
||||
|
||||
%description
|
||||
VirtualBox is an extremely feature rich, high performance product
|
||||
@ -120,6 +123,7 @@ Provides: %{name}-ose:/usr/lib/virtualbox/VirtualBox.so
|
||||
Provides: %{name}-ose-qt = %version
|
||||
Obsoletes: %{name}-ose-qt < %version
|
||||
|
||||
|
||||
%description qt
|
||||
Qt GUI part for %{name}.
|
||||
#########################################
|
||||
@ -172,7 +176,6 @@ VirtualBox guest addition tools.
|
||||
###########################################
|
||||
%package -n python-%{name}
|
||||
|
||||
|
||||
Summary: Python bindings for %{name}
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
@ -439,6 +442,7 @@ popd
|
||||
#install wrapper script
|
||||
%__install -m 644 %{S:9} %{buildroot}%{_bindir}/VirtualBox
|
||||
|
||||
|
||||
# modify and install the vboxdrv init script
|
||||
# TODO: some of this stuff breaks the fillup macros below?
|
||||
%__sed -i "s|%NOLSB%|yes|g;s|%DEBIAN%||g;s|%PACKAGE%|virtualbox|g" src/VBox/Installer/linux/vboxdrv.sh.in
|
||||
@ -453,6 +457,8 @@ popd
|
||||
%__install -d -m 755 %{buildroot}%{_var}/adm/fillup-templates
|
||||
install -m 700 %{S:13} %{buildroot}%{_var}/adm/fillup-templates/sysconfig.vbox
|
||||
|
||||
|
||||
|
||||
######################################################
|
||||
echo "entrering python-virtualbox install section"
|
||||
######################################################
|
||||
@ -519,11 +525,12 @@ exit 0
|
||||
%insserv_cleanup
|
||||
%verifyscript
|
||||
%if %suse_version > 1110
|
||||
%verify_permissions -e %{_vbox_instdir}/VBoxBFE -e %{_vbox_instdir}/VBoxHeadless -e %{_vbox_instdir}/VBoxSDL -e %{_vbox_instdir}/VirtualBox -e %{_vbox_instdir}/VBoxNetAdpCtl
|
||||
%verify_permissions -e %{_vbox_instdir}/VBoxBFE -e %{_vbox_instdir}/VBoxHeadless -e %{_vbox_instdir}/VBoxSDL -e %{_vbox_instdir}/VirtualBox -e %{_vbox_instdir}/VBoxNetAdpCtl
|
||||
%else
|
||||
%verify_permissions -e %{_vbox_instdir}/VBoxBFE -e %{_vbox_instdir}/VBoxHeadless -e %{_vbox_instdir}/VBoxSDL -e %{_vbox_instdir}/VirtualBox
|
||||
%endif
|
||||
|
||||
|
||||
%clean
|
||||
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
|
||||
|
||||
@ -593,10 +600,9 @@ exit 0
|
||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxBFE
|
||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
|
||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSDL
|
||||
#%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
||||
%{_vbox_instdir}/VBoxNetDHCP
|
||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
||||
#%{_vbox_instdir}/VBoxNetDHCP
|
||||
#
|
||||
|
||||
%files qt
|
||||
%defattr(-, root, root)
|
||||
%{_vbox_instdir}/VBoxPermissionMessage
|
||||
|
Loading…
Reference in New Issue
Block a user