Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 9c90fbc038ca28f1c22e1c232e9b8a44 > files > 24

virtualbox-5.1.2-1.mga5.src.rpm

#
# Note! When updating this package, remember to push
# kmod-vboxadditions and kmod-virtualbox too
#
%define ver		5.1.2
%define rel		1
%define kname		vboxdrv
%define oname		VirtualBox
%define srcname		%{oname}-%{version}
%define distname	%{oname}-%{version}
%define dirname		vbox-ose
%define pkgver		%{ver}%{?svndate:-%{svndate}}

%define vboxlibdir	%{_libdir}/%{name}
%define vboxdatadir	%{_datadir}/%{name}
%define vboxpydir	%{py_puresitedir}/vboxapi

# (doktor5000) add conditional for build of the webservice, takes quite long to build locally
%define build_gsoap	1
# (doktor5000) add conditional for build of upstream vboxvideo driver using bundled libraries
%define build_upstream_vboxvideo 0

%define build_additions	1
%define build_doc	1
%define build_sdk	1

%ifarch %{ix86}
%define vbox_platform linux.x86
%endif
%ifarch x86_64
%define vbox_platform linux.amd64
%endif

# nuke vbox-specific dependencies, dont provide libGL.so.1
%global __provides_exclude ^VBox|\^libGL\\.so\\.1
%global __requires_exclude ^VBox

%define x11_server_majorver %(pkg-config --modversion xorg-server|awk -F. '{print $1$2}')

Summary:	A general-purpose full virtualizer for x86 hardware
Name:		virtualbox
Version:	%{ver}%{?svndate:.%{svndate}}
Release:	%mkrel %{rel}
Source0:	http://download.virtualbox.org/virtualbox/%ver/%{srcname}.tar.bz2
# (cg) NB, this module loading "init" script should just be replaced with 
# /usr/lib/modules-load.d/ snippets to load it statically (assuming it's even
# needed at all these days)
Source2:	virtualbox.init
Source3:	vboxadd.service
Source4:	virtualbox-tmpfiles.conf
Source10:	virtualbox.png
Source11:	virtualbox.16.png
Source12:	virtualbox.48.png
# (tmb: mga icons submitted upstream 2011-10-22)
Source20:       os_mageia.png
Source21:       os_mageia_64.png
Patch2:		VirtualBox-5.1.0-kernelrelease.patch
Patch3:		VirtualBox-5.1.0-futex.patch
Patch4:		VirtualBox-5.1.0-fix-vboxadd-req.patch
# don't check for:
# - mkisofs: we're not going to build the additions .iso file
# - makeself: we're not going to create the stanalone .run installers
Patch9:		VirtualBox-5.1.0-dont-check-for-mkisofs-or-makeself.patch
# add Mageia support (tmb: submitted upstream 2011-10-22)
Patch13:	VirtualBox-5.1.0-add-Mageia-support.patch
# (tmb) Default to Mageia
Patch14:	VirtualBox-5.1.0-default-to-Mageia.patch
# (tmb) default to no update checks as we provide rpms
Patch15:	VirtualBox-5.1.0-noupdate-check.patch
# (tmb) fix build with gsoap >= 2.8.13
Patch16:	VirtualBox-5.1.0-fix-build-with-gsoap-2.8.13-and-up.patch
# (tmb) fix build with kernel 4.7
Patch17:	VirtualBox-5.1.0-fix-cpu_has_pge.patch
# (tmb) revert to working Vbox.sh reading config file
Patch18:	VirtualBox-5.1.0-revert-VBox.sh.patch
# (tmb) fix vboxvideo oops with 4.7 series kernels
Patch19:	VirtualBox-5.1.0-implement-LRU-add-callbacks-v2.patch

# Fedora patches
# (doktor5000) not actually from Fedora but seems from RPMFusion (fedora doesn't provide virtualbox)
# http://cvs.rpmfusion.org/viewvc/rpms/VirtualBox/devel/?root=free

# add missing check for VBOX_USE_SYSTEM_XORG_HEADERS
%if ! %{build_upstream_vboxvideo}
Patch20:	VirtualBox-5.1.0-VBoxGuestLib.patch
# build against system libs
Patch21:	VirtualBox-5.1.0-no-bundles.patch
# use system libraries instead of bundled ones, use system mesa libraries and patch dri driver mesa tables
# fake_drv.c,h: use x11-server source
Patch22:	VirtualBox-5.1.0-mesa.patch
%endif

License:	GPLv2
Group:		Emulators
Url:		http://www.virtualbox.org/
ExclusiveArch:	%{ix86} x86_64
Requires(post):   systemd >= %{systemd_required_version}
Requires(post):   rpm-helper
Requires(preun):  rpm-helper
Requires(postun): rpm-helper
Requires:	kmod(vboxdrv.ko) = %{version}
Conflicts:	dkms-%{name} <= 1.5.0-5
Recommends:	%{name}-doc
BuildRequires:	gsoap
BuildRequires:	dev86
BuildRequires:	iasl
BuildRequires:	zlib-devel
BuildRequires:	libxcursor-devel
BuildRequires:	libxmu-devel
BuildRequires:	SDL-devel
BuildRequires:	pkgconfig(Qt5Core)
BuildRequires:	pkgconfig(Qt5Gui)
BuildRequires:	pkgconfig(Qt5Widgets)
BuildRequires:	pkgconfig(Qt5X11Extras)
BuildRequires:	pkgconfig(Qt5PrintSupport)
BuildRequires:	pkgconfig(Qt5OpenGL)
BuildRequires:	qttools5
BuildRequires:	libIDL-devel
BuildRequires:	libext2fs-devel
BuildRequires:	libxslt-proc
BuildRequires:	libxslt-devel 
BuildRequires:	pkgconfig(egl)
BuildRequires:	libxt-devel
BuildRequires:	libstdc++-static-devel
BuildRequires:  python-devel
BuildRequires:  libcap-devel
BuildRequires:  libxrandr-devel 
BuildRequires:  libxinerama-devel 
BuildRequires:  libxcomposite-devel
BuildRequires:	pulseaudio-devel
BuildRequires:	kernel-devel-latest
BuildRequires:  mesaglu-devel 
BuildRequires:  mesagl-devel 
BuildRequires:  libxmu-devel
BuildRequires:	openssl-devel
BuildRequires:	curl-devel
BuildRequires:	dkms-minimal
BuildRequires:	libpam-devel
BuildRequires:	gawk
BuildRequires:	x11-server-devel
BuildRequires:	javapackages-tools
BuildRequires:	java-devel
BuildRequires:	device-mapper-devel
BuildRequires:	boost-devel
BuildRequires:	libvpx-devel
%if %{build_doc}
# for building the user manual pdf file
BuildRequires:	texlive
BuildRequires:	texlive-fontsextra
BuildRequires:	docbook-dtds
%endif
BuildRequires:	libxslt-devel

%description
VirtualBox is a general-purpose full virtualizer for x86 hardware.

%package -n	dkms-%{name}
Summary:	VirtualBox kernel module
Group:		System/Kernel and hardware
Provides:	kmod(vboxdrv.ko) = %{version}
BuildArch:	noarch
Requires:	  dkms >= 2.0.19-34.1
Requires(post):	  dkms >= 2.0.19-34.1
Requires(preun):  dkms >= 2.0.19-34.1
Conflicts:	dkms-vboxadditions < 4.0.6

%description -n dkms-%{name}
Kernel support for VirtualBox.

%if %{build_additions}
%package 	guest-additions
Summary:	Additions for VirtualBox guest systems
Group:		Emulators
Requires:	kmod(vboxguest.ko)
Requires:	kmod(vboxsf.ko)
Requires:	kmod(vboxvideo.ko)
Requires:	x11-driver-video-vboxvideo
# guest-additions should require xrandr for auto-resizing of guest display to
# work without having to restart the X server in the guest VM
Requires:	xrandr
Requires(post):   rpm-helper
Requires(preun):  rpm-helper

%description    guest-additions
This package contains additions for VirtualBox guest systems.
It allows to share files with the host system and sync time with host.

%package -n	dkms-vboxadditions
Summary:	Kernel module for VirtualBox additions
Group:		System/Kernel and hardware
Provides:	kmod(vboxguest.ko) = %{version}
Provides:	kmod(vboxsf.ko) = %{version}
Provides:	kmod(vboxvideo.ko) = %{version}
BuildArch:	noarch
Requires:	  dkms >= 2.0.19-34.1
Requires(post):	  dkms >= 2.0.19-34.1
Requires(preun):  dkms >= 2.0.19-34.1
Obsoletes:	dkms-vboxadd < %{version}-%{release}
Provides:	dkms-vboxvfs = %{version}-%{release}
Obsoletes:	dkms-vboxvfs < %{version}-%{release}
Provides:	dkms-vboxsf = %{version}-%{release}
Obsoletes:	dkms-vboxsf < %{version}-%{release}
Provides:	dkms-vboxvideo = %{version}-%{release}
Obsoletes:	dkms-vboxvideo < %{version}-%{release}
Conflicts:	dkms-%{name} < 4.0.6

%description -n dkms-vboxadditions
Kernel module for VirtualBox additions (ideally only needs to be installed
on the guest OS not on the host OS).

%package -n	x11-driver-video-vboxvideo
Summary:	The X.org driver for video in VirtualBox guests
Group:		System/X11
Recommends:	virtualbox-guest-additions
Requires:	x11-server-common %(xserver-sdk-abi-requires videodrv)


%description -n x11-driver-video-vboxvideo
The X.org driver for video in VirtualBox guests.
%endif

%if %build_doc
%package doc
Summary:	The user manual PDF file for %{name}
Group:		Documentation
BuildArch:	noarch

%description doc
This package contains the user manual PDF file for %{name}.
%endif

%if %{build_sdk}
%package devel
Summary:        %{name} SDK
Group:          Development/Other
Requires:       %{name} = %{version}-%{release}
Requires:       python-%{name} = %{version}-%{release}

%description devel
This package contains the SDK for %{name}.


%package -n python-%{name}
Summary: %{name} SDK
Group:	  	  Development/Python
Requires:       %{name} = %{version}-%{release}

%description -n python-%{name}
Python XPCOM bindings to %{name}.
%endif

%prep
%setup -q -n %{distname}
%apply_patches

# add Mageia images
cp -a %{SOURCE20} %{SOURCE21} src/VBox/Frontends/VirtualBox/images/

# add our kernel headers in place
rm -rf fake-linux/

# (doktor5000) this is not safe, on kernel removal sometimes empty directories will be leftover, and build breaks here
#cp -a $(ls -1dtr /usr/src/kernel-* | tail -n 1) fake-linux

# check all kernel header directories descendingly by age, if the folder we want to copy is owned by rpm 
# FIXME: is an additional check necessary if headers are suitable for the running kernel ? We may want to build for a different kernel here ...
for src in $(ls -dt /usr/src/kernel-*); do rpm -qf $src 2>&1 >/dev/null && { cp -a $src fake-linux ; } || continue; done

# Remove some bundled sources before patching.
%if ! %{build_upstream_vboxvideo}
rm -rf src/VBox/Additions/x11/x11include
rm -rf src/VBox/Additions/x11/x11stubs
rm -rf src/libs/boost-1.37.0/
#rm -rf src/libs/liblzf-3.4/
rm -rf src/libs/libxml2-2.9.2/
rm -rf src/libs/libpng-1.2.54/
rm -rf src/libs/zlib-1.2.8/
%endif

cat << EOF > LocalConfig.kmk
VBOX_PATH_APP_PRIVATE_ARCH:=%{vboxlibdir}
VBOX_WITH_ORIGIN:=
VBOX_WITH_RUNPATH:=%{vboxlibdir}
VBOX_PATH_APP_PRIVATE:=%{vboxlibdir}
VBOX_WITH_TESTCASES =
VBOX_WITH_TESTSUITE:=
VBOX_JAVA_HOME := %{java_home}
VBOX_WITHOUT_ADDITIONS_ISO := 1
%if ! %{build_upstream_vboxvideo}
VBOX_USE_SYSTEM_XORG_HEADERS := 1
%endif
XSERVER_VERSION := %{x11_server_majorver}
VBOX_PATH_APP_DOCS :=%{_defaultdocdir}/virtualbox
EOF

%build
#make -C fake-linux prepare
export LIBPATH_LIB="%{_lib}"
./configure \
%if %build_gsoap
 --enable-webservice \
%endif
 --with-linux=$PWD/fake-linux \
%if ! %build_doc
  --disable-docs
%endif

%if !%{build_additions}
sed -rie 's/(VBOX_WITH_LINUX_ADDITIONS\s+:=\s+).*/\1/' AutoConfig.kmk
echo VBOX_WITHOUT_ADDITIONS=1 >> LocalConfig.kmk
%endif

. ./env.sh
# (tmb) parallell build is problematic, restrict to -j 4
kmk -j4 all

%install
# install vbox components
mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir} 

(cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \
(cd %{buildroot}%{vboxlibdir} && tar xf -)

# move noarch files to vboxdatadir
mv %{buildroot}%{vboxlibdir}/{VBox*.sh,*.desktop,*.png} %{buildroot}%{vboxdatadir}

# install service
mkdir -p %{buildroot}%{_initrddir}
install -m755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name}

# install wrappers
mkdir -p %{buildroot}%{_sysconfdir}/vbox
cat > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg << EOF
# VirtualBox installation directory
INSTALL_DIR="%{vboxlibdir}"
EOF
mkdir -p %{buildroot}%{_bindir}
ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/%{oname}
ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxManage
ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxSDL
ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxHeadless
ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/vboxwebsrv

# provide network control tools in bindir
ln -s %{vboxlibdir}/VBoxTunctl %{buildroot}%{_bindir}/VBoxTunctl
ln -s %{vboxlibdir}/VBoxNetAdpCtl %{buildroot}%{_bindir}/VBoxNetAdpCtl
ln -s %{vboxlibdir}/VBoxNetDHCP %{buildroot}%{_bindir}/VBoxNetDHCP

# add tmpfs dir in /run
install -m644 -D %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf

# install dkms sources
mkdir -p %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
cat > vboxbuild << EOF
#!/bin/sh
set -e
make -C %{kname} KERN_DIR=\$1
cp -f %{kname}/Module.symvers vboxnetflt
cp -f %{kname}/Module.symvers vboxnetadp
make -C vboxnetflt KERN_DIR=\$1
make -C vboxnetadp KERN_DIR=\$1
EOF
install -m 0755 vboxbuild %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
mv %{buildroot}%{vboxlibdir}/src/* %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
cat > %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/dkms.conf << EOF
MAKE[0]="./vboxbuild \$kernel_source_dir"
PACKAGE_NAME=%{name}
PACKAGE_VERSION=%{version}-%{release}
DEST_MODULE_LOCATION[0]=/kernel/3rdparty/vbox
BUILT_MODULE_LOCATION[0]=%{kname}/
BUILT_MODULE_NAME[0]=%{kname}
DEST_MODULE_LOCATION[1]=/kernel/3rdparty/vbox
BUILT_MODULE_LOCATION[1]=vboxnetflt/
BUILT_MODULE_NAME[1]=vboxnetflt
DEST_MODULE_LOCATION[2]=/kernel/3rdparty/vbox
BUILT_MODULE_LOCATION[2]=vboxnetadp/
BUILT_MODULE_NAME[2]=vboxnetadp
AUTOINSTALL=yes
EOF

# install udev rules
mkdir -p %{buildroot}%{_udevrulesdir}
cat > %{buildroot}%{_udevrulesdir}/%{name}.rules << EOF
KERNEL=="%{kname}", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="%{_datadir}/%{name}/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="%{_datadir}/%{name}/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="%{_datadir}/%{name}/VBoxCreateUSBNode.sh --remove \$major \$minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="%{_datadir}/%{name}/VBoxCreateUSBNode.sh --remove \$major \$minor"
EOF
cat > %{buildroot}%{_udevrulesdir}/vbox-additions.rules << EOF
KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660"
KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0666"
EOF

# install vboxweb
install -m755 src/VBox/Installer/linux/vboxweb-service.sh %{buildroot}%{_initrddir}/vboxweb-service

# install additions
%if %{build_additions}
# vboxadd-timesync should probably be renamed vboxadd now, but renaming initscripts
# cleanly is hacky business
install -D -m644 %{SOURCE3} %{buildroot}%{_unitdir}/vboxadd-timesync.service

install -d %{buildroot}%{_sysconfdir}/X11/xinit.d
install -m755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit.d

pushd out/%{vbox_platform}/release/bin/additions
  install -d %{buildroot}/sbin %{buildroot}%{_sbindir} %{buildroot}/%{_libdir}/dri
  install -m755 mount.vboxsf %{buildroot}%{_sbindir}/mount.vboxsf
  install -m755 VBoxService %{buildroot}%{_sbindir}

  install -m755 VBoxClient %{buildroot}%{_bindir}
  install -m755 VBoxControl %{buildroot}%{_bindir}

  install -m755 VBoxOGL*.so %{buildroot}%{_libdir}
  ln -s -f ../VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so

  install -d %{buildroot}%{_sysconfdir}/modprobe.preload.d
  cat > %{buildroot}%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions << EOF
vboxguest
vboxsf
EOF
  install -d %{buildroot}%{_libdir}/xorg/modules/{input,drivers}
  %if ! %{build_upstream_vboxvideo}
  install vboxvideo_drv_system.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
  %else
  # (doktor5000) upstream builds one driver module per X server version, use the version for current x server
  install vboxvideo_drv_%{x11_server_majorver}.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
  %endif

  mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}
  cat > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
PACKAGE_NAME=vboxadditions
PACKAGE_VERSION=%{version}-%{release}
MAKE[0]="'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest &&
cp \$dkms_tree/\$module/\$module_version/build/vboxguest/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxsf &&
'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf &&
cp \$dkms_tree/\$module/\$module_version/build/vboxsf/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxvideo &&
'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo"
EOF
  i=0
  for kmod in vboxguest vboxsf vboxvideo; do
    mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod
    cp -a src/$kmod/* %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod/
    cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
DEST_MODULE_LOCATION[$i]=/kernel/3rdparty/vbox
BUILT_MODULE_LOCATION[$i]=$kmod/
BUILT_MODULE_NAME[$i]=$kmod
EOF
    i=$((i+1))
  done
  cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
CLEAN="'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean && 
'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean && 
'make' -j\${parallel_jobs} -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo clean "
AUTOINSTALL=yes
EOF
popd
  sed 's/^\(.package.*-kernel-\)\(.*-latest\)\(.*\)\\$/\1\2\3Obsoletes: vboxsf-kernel-\2 vboxvideo-kernel-\2\\n\\/' /etc/dkms/template-dkms-mkrpm.spec > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/vboxadditions-dkms-mkrpm.spec
%endif

# desktop integration
#
# install icons
mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32,48x48,64x64,128x128}/{apps,mimetypes}
pushd out/%{vbox_platform}/release/bin/icons/
for i in 16 32 48 64 128; do
cp -a "$i"x"$i"/virtualbox.png %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/apps/
cp -a "$i"x"$i"/virtualbox-*.png %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/mimetypes/
done
popd

# install menu entries

mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/mageia-%{name}.desktop << EOF
[Desktop Entry]
Name=VirtualBox
Comment=Run several virtual systems on a single host computer
Comment[de]=Verschiedene virtuelle Systeme auf einem Hostrechner laufen lassen
Comment[it]=Esegue diversi sistemi virtuali su un singolo computer
Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza
Comment[sv]=Kör flera virtuella system på en enda värddator
Comment[ko]=단일 호스트 컴퓨터에 여러 개의 가상 시스템 실행
Comment[ru]=Управление несколькими виртуальными системами на одном главном компьютере
Comment[af]=Loop verskeie virtuele stelsels op 'n enkele gasheerrekenaar
Comment[sq]=Nis dis sisteme në një kompjuter të vetëm mbartës
Comment[ast]=Execute varios sistemes virtuales nun sólu equipu anfitrión
Comment[bn]=একটি একক হোস্ট কম্পিউটারে একাধিক ভার্চুয়াল সিস্টেম চালান
Comment[bg]=Изпълнение на няколко виртуални системи на един компютър
Comment[bs]=Pokrenite više virtuelnih sistema na jednom domaćinskom računaru
Comment[pt_BR]=Execute vários sistemas virtuais em um único computador hospedeiro
Comment[ca]=Executeu diversos sistemes virtuals en un únic ordinador hoste
Comment[ca@valencia]=Executeu diversos sistemes virtuals en un únic ordinador hoste
Comment[zh_HK]=於單一主機電腦執行多個虛擬機器
Comment[zh_CN]=在一个主机上运行多个虚拟系统
Comment[zh_TW]=於單一主機電腦執行多個虛擬機器
Comment[crh]=Tek bir bilgisayar üzerinde birden fazla sanal işletim sistemi çalıştırın
Comment[cs]=Spouštění různých virtuálních systémů na hostitelském počítači
Comment[da]=Kør flere virtuelle maskiner på en enkelt computer
Comment[fi]=Suorita useita virtuaalisia järjestelmiä yhdellä isäntäkoneella
Comment[et]=Käivita mitmeid virtuaalseid süsteeme ühel peaarvutil
Comment[nl]=Draai verschillende virtuele systemen op één enkele hostcomputer
Comment[gl]=Execute varios sistemas virtuais nun único computador
Comment[fr]=Exécuter plusieurs systèmes virtuels sur le même ordinateur hôte
Comment[el]=Χρήση πολλαπλών εικονικών συστημάτων από έναν υπολογιστή
Comment[hu]=Több virtuális rendszer futtatása egy számítógépen
Comment[ky]=Бир негизги компьютерде бир нече виртуалдык тутумдарды жүргүзүү
Comment[ja]=一つのホストコンピューター上で複数の仮想システムを走らせます
Comment[lt]=Leiskite kelias virtualias sistemas viename kompiuteryje
Comment[ms]=Jalankan beberapa sistem maya dalam satu komputer hos
Comment[oc]=Executar mantun sistèma virtuals sul meteis ordenador òste
Comment[nb]=Kjør opptil flere virtuelle systemer på én vertsmaskin
Comment[pt]=Corra diversos sistemas virtuais num único computador
Comment[ro]=Rulați mai multe sisteme virtuale pe calculatorul gazdă
Comment[sl]=Zagon več navideznih sistemov na enem gostiteljskem računalniku
Comment[es]=Ejecute varios sistemas virtuales en un sólo equipo anfitrión
Comment[vi]=Chạy nhiều hệ thống ảo trên một máy chủ đơn
Comment[uk]=Запуск декількох віртуальних систем на одному базовому комп'ютері
Comment[tr]=Tek bir bilgisayar üzerinde birden fazla sanal işletim sistemi çalıştırın
Exec=%{oname} %U
Icon=%{name}
Type=Application
Terminal=false
Categories=X-MandrivaLinux-MoreApplications-Emulators;Emulator;
MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;
EOF

# install mime types
install -D -m644 out/%{vbox_platform}/release/bin/virtualbox.xml %{buildroot}%{_datadir}/mime/packages/virtualbox.xml


# add missing makefile for kernel module
install -m644 src/VBox/HostDrivers/Support/linux/Makefile %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/

%if %{build_sdk}
mkdir -p %{buildroot}%{vboxpydir}

pushd out/%{vbox_platform}/release/bin/sdk/installer
VBOX_INSTALL_PATH=%{vboxlibdir} \
        python vboxapisetup.py install --prefix %{_prefix} --root %{buildroot}
popd
rm -rf %{buildroot}%{vboxlibdir}/sdk/installer
%else
rm -rf %{buildroot}%{vboxlibdir}/sdk
%endif

# remove unpackaged files
rm -rf %{buildroot}%{vboxlibdir}/{src,testcase}
rm  -f %{buildroot}%{vboxlibdir}/tst*
rm  -f %{buildroot}%{vboxlibdir}/vboxkeyboard.tar.gz
rm  -f %{buildroot}%{vboxlibdir}/SUP*
rm  -f %{buildroot}%{vboxlibdir}/xpidl

# install PAM module:
install -D -m755 out/%{vbox_platform}/release/bin/additions/pam_vbox.so %{buildroot}/%{_lib}/security/pam_vbox.so

# install the user manual
%if %build_doc
install -D -m644 out/%{vbox_platform}/release/bin/UserManual.pdf %{buildroot}/%{_defaultdocdir}/%{name}/UserManual.pdf
%endif

%post
%_tmpfilescreate %{name}
%_post_service %{name}

%_add_group_helper %{name} 1 vboxusers


# (Debian) Build usb device tree
for i in /sys/bus/usb/devices/*; do
	if test -r "$i/dev"; then
		dev="`cat "$i/dev" 2> /dev/null || true`"
		major="`expr "$dev" : '\(.*\):' 2> /dev/null || true`"
		minor="`expr "$dev" : '.*:\(.*\)' 2> /dev/null || true`"
		class="`cat $i/bDeviceClass 2> /dev/null || true`"
		/usr/share/virtualbox/VBoxCreateUSBNode.sh "$major" "$minor" "$class" vboxusers 2>/dev/null || true
	fi
done

%postun
if [ "$1" -ge "1" ]; then
  /sbin/service %{name} condrestart > /dev/null 2>&1 || :
fi

%_del_group_helper %{name} 1 vboxusers

%preun
%_preun_service %{name}

%post -n dkms-%{name}
set -x
/usr/sbin/dkms --rpm_safe_upgrade add -m %{name} -v %{version}-%{release} &&
/usr/sbin/dkms --rpm_safe_upgrade build -m %{name} -v %{version}-%{release} &&
/usr/sbin/dkms --rpm_safe_upgrade install -m %{name} -v %{version}-%{release} &&
/sbin/rmmod vboxnetflt &>/dev/null
/sbin/rmmod vboxnetadp &>/dev/null
/sbin/rmmod %{kname} &>/dev/null
/sbin/modprobe %{kname} &>/dev/null
/sbin/modprobe vboxnetflt &>/dev/null
/sbin/modprobe vboxnetadp &>/dev/null
:

%preun -n dkms-%{name}
if [ "$1" = "0" ]; then
	/sbin/rmmod vboxnetadp >/dev/null 2>&1
	/sbin/rmmod vboxnetflt >/dev/null 2>&1
	/sbin/rmmod %{kname} >/dev/null 2>&1
fi
set -x
/usr/sbin/dkms --rpm_safe_upgrade remove -m %{name} -v %{version}-%{release} --all || :

%if %{build_additions}
%post guest-additions
%_post_service vboxadd-timesync

%_add_group_helper %{name} 1 vboxsf

%preun guest-additions
%_preun_service vboxadd-timesync

%postun guest-additions
%_del_group_helper %{name} 1 vboxsf

%post -n dkms-vboxadditions
set -x
/usr/sbin/dkms --rpm_safe_upgrade add -m vboxadditions -v %{version}-%{release} &&
/usr/sbin/dkms --rpm_safe_upgrade build -m vboxadditions -v %{version}-%{release} &&
/usr/sbin/dkms --rpm_safe_upgrade install -m vboxadditions -v %{version}-%{release}
:

%preun -n dkms-vboxadditions
set -x
/usr/sbin/dkms --rpm_safe_upgrade remove -m vboxadditions -v %{version}-%{release} --all
:

%endif

%files
%config %{_sysconfdir}/vbox/vbox.cfg
%{_bindir}/%{oname}
%{_bindir}/VBoxManage
%{_bindir}/VBoxSDL
%{_bindir}/VBoxHeadless
%{_bindir}/VBoxTunctl
%{_bindir}/VBoxNetAdpCtl
%{_bindir}/VBoxNetDHCP
%{_bindir}/vboxwebsrv
%exclude %{vboxlibdir}/sdk
%dir %{vboxlibdir}
%{vboxlibdir}/*
%attr(4711,root,root) %{vboxlibdir}/VBoxHeadless
%attr(4711,root,root) %{vboxlibdir}/VBoxSDL
%attr(4711,root,root) %{vboxlibdir}/VirtualBox
%attr(4711,root,root) %{vboxlibdir}/VBoxNetAdpCtl
%attr(4711,root,root) %{vboxlibdir}/VBoxNetDHCP
%attr(644,root,root) %{vboxlibdir}/*.rc
%attr(644,root,root) %{vboxlibdir}/*.r0
%dir %{vboxdatadir}
%{vboxdatadir}/*
# initscripts integration
%{_initrddir}/%{name}
%{_initrddir}/vboxweb-service
%{_udevrulesdir}/%{name}.rules
%{_tmpfilesdir}/%{name}.conf
# desktop integration
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/applications/mageia-%{name}.desktop
%{_datadir}/mime/packages/virtualbox.xml

%files -n dkms-%{name}
%{_usr}/src/%{name}-%{version}-%{release}

%if %{build_additions}
%files guest-additions
/%{_lib}/security/pam_vbox.so
%{_sbindir}/mount.vboxsf
%{_unitdir}/vboxadd-timesync.service
%{_sbindir}/VBoxService
%{_bindir}/VBoxClient
%{_bindir}/VBoxControl
%{_udevrulesdir}/vbox-additions.rules
%{_sysconfdir}/X11/xinit.d/98vboxadd-xclient
%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions

%files -n x11-driver-video-vboxvideo
%{_libdir}/VBoxOGL*
%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
%{_libdir}/dri/vboxvideo_dri.so

%files -n dkms-vboxadditions
%{_usr}/src/vbox*-%{version}-%{release}
%endif

%if %build_doc
%files doc
%doc %{_defaultdocdir}/%{name}/UserManual.pdf
%endif

%if %{build_sdk}
%files devel
%dir %{vboxlibdir}/sdk
%{vboxlibdir}/sdk/*

%files -n python-%{name}
%{vboxpydir}
%{py_puresitedir}/vboxapi*.egg-info
%endif


%changelog
* Thu Jul 21 2016 tmb <tmb> 5.1.2-1.mga5
+ Revision: 1043014
- update to 5.1.2 (maintenance release)
- update to virtualbox 5.1.0
  * Gui now uses QT5
  * rebase all patches
  * build doc again
- update to 5.0.24
- restore old way of building mesa support for now
- update to 5.0.22
- hook into dkms parallel build support
- update to 5.0.20
- BR pkgconfig(egl)
- update to 5.0.18
- rebase P13, P18
- drop bogus subversion conflict
- update to 5.0.16
- update to 5.0.14
- update to 5.0.12
- update to 5.0.10
- 5.0.8 (CVE-2015-4813, CVE-2015-4896)
- update to 5.0.6
- update to 5.0.4
- use HDA audio by default
- update to 5.0.2
- update to 5.0.0

* Thu May 14 2015 tmb <tmb> 4.3.28-1.mga5
+ Revision: 822054
- update to 4.3.28 (CVE-2015-3456)

* Wed Mar 18 2015 tmb <tmb> 4.3.26-1.mga5
+ Revision: 818784
- suggest 20GB virtual disk by default
- be specific about Mageia 32bit selection
- 4.3.26 (regression fixes)

* Fri Mar 06 2015 tmb <tmb> 4.3.24-1.mga5
+ Revision: 817913
- 4.3.24
  * more kernel-3.19 fixes
  * fixes xorg detection
  * vboxvideo fixes
  * 4.3.22 regression fixes

* Wed Feb 25 2015 colin <colin> 4.3.22-2.mga5
+ Revision: 816968
- Replace vboxadd init script with systemd unit (mga#14401)

* Wed Feb 18 2015 tmb <tmb> 4.3.22-1.mga5
+ Revision: 815663
- update to 4.3.22 (bugfixes, full kernel 3.19 upport)

* Sun Jan 25 2015 tmb <tmb> 4.3.20-2.mga5
+ Revision: 812191
- fix build with kernel 3.19

  + alexl <alexl>
    - Update translations for desktop file

* Sat Nov 22 2014 tmb <tmb> 4.3.20-1.mga5
+ Revision: 798238
- update to 4.3.20 (bugfixes, kernel-3.18 support)

* Wed Oct 15 2014 tmb <tmb> 4.3.18-1.mga5
+ Revision: 756262
- 4.3.18 (maintenance release)

  + umeabot <umeabot>
    - Second Mageia 5 Mass Rebuild

  + tv <tv>
    - rebuild for missing pythoneggs deps

* Wed Sep 24 2014 tmb <tmb> 4.3.16-2.mga5
+ Revision: 723681
- adapt to new kmod provides

  + tv <tv>
    - use %%global for req/prov exclude
    - autoconvert to new prov/req excludes
    - s/uggests:/Recommends:/

* Fri Sep 12 2014 tmb <tmb> 4.3.16-1.mga5
+ Revision: 674841
- 4.3.16 (full x11-server 1.16 and kernel 3.17 support)

  + fwang <fwang>
    - revert to r674485 for freeze
    - 4.3.16

* Tue Sep 09 2014 tmb <tmb> 4.3.14-3.mga5
+ Revision: 674157
- fix VERR_NO_EXEC_MEMORY error (mga#14074)

* Wed Sep 03 2014 tmb <tmb> 4.3.14-2.mga5
+ Revision: 671169
- fix build with kernel-3.17

* Wed Jul 23 2014 tmb <tmb> 4.3.14-1.mga5
+ Revision: 656120
- update to 4.3.14
- drop obsolete patches

* Mon Jun 09 2014 tmb <tmb> 4.3.12-4.mga5
+ Revision: 635195
- rebuild with -j4

  + tv <tv>
    - rebuild for xorg-1.16

  + pterjan <pterjan>
    - Rebuild for new Python

* Sun May 18 2014 tmb <tmb> 4.3.12-1.mga5
+ Revision: 623678
- update to 4.3.12

* Tue May 13 2014 tmb <tmb> 4.3.10-3.mga5
+ Revision: 622602
- allow build with gcc 4.9 (P19)
- rebuild with gcc 4.9

* Fri Apr 18 2014 tmb <tmb> 4.3.10-2.mga5
+ Revision: 616893
- dont move nls dir as it breaks translations (#12578)

* Fri Apr 18 2014 tmb <tmb> 4.3.10-1.mga5
+ Revision: 616862
- update to 4.3.10

* Sun Mar 23 2014 tmb <tmb> 4.3.8-1.mga5
+ Revision: 607366
- fix vboxvideo build (P18, gentoo)

  + tv <tv>
    - revert BR change && use /usr/src/kernel-* instead of /usr/src/linux-*
    - BR kernel-source-latest instead of kernel-devel-latest

  + fwang <fwang>
    - 4.3.8

* Mon Feb 10 2014 tv <tv> 4.3.6-3.mga5
+ Revision: 589118
- build w/o x11-server-source

* Mon Feb 10 2014 tv <tv> 4.3.6-2.mga5
+ Revision: 589101
- sync mesa patch with FC
- do not include dead glx/glprocs.h

  + fwang <fwang>
    - rebuild for new x11-server

* Fri Dec 20 2013 tmb <tmb> 4.3.6-1.mga4
+ Revision: 559323
- autoload vboxsf too (mga#11529)
- update to 4.3.6

* Fri Dec 06 2013 tmb <tmb> 4.3.4-3.mga4
+ Revision: 555556
- rebuild for new mesa

* Wed Dec 04 2013 tmb <tmb> 4.3.4-2.mga4
+ Revision: 555150
- try build with mesa 10

* Sat Nov 30 2013 tmb <tmb> 4.3.4-1.mga4
+ Revision: 554330
- update tp 4.3.4 (maintenance release)

* Sat Nov 02 2013 tmb <tmb> 4.3.2-1.mga4
+ Revision: 549144
- update to 4.3.2 (maintenance release)

* Tue Oct 22 2013 umeabot <umeabot> 4.3.0-3.mga4
+ Revision: 545749
- Mageia 4 Mass Rebuild

* Wed Oct 16 2013 tmb <tmb> 4.3.0-2.mga4
+ Revision: 501700
- fix location of libs (mga #11480)

* Wed Oct 16 2013 tmb <tmb> 4.3.0-1.mga4
+ Revision: 501298
- update to 4.3.0
- rediff patches

* Tue Oct 15 2013 pterjan <pterjan> 4.2.18-4.mga4
+ Revision: 499981
- Rebuild to add different pythonegg provides for python 2 and 3

* Mon Oct 14 2013 tmb <tmb> 4.2.18-3.mga4
+ Revision: 496935
- fix vboxadditions build with kernel-3.12

* Thu Oct 10 2013 luigiwalser <luigiwalser> 4.2.18-2.mga4
+ Revision: 494398
- update java BRs

* Sat Sep 07 2013 fwang <fwang> 4.2.18-1.mga4
+ Revision: 475598
- new version 4.2.18

* Fri Aug 30 2013 tmb <tmb> 4.2.16-5.mga4
+ Revision: 473470
- fix dkms post scripts

* Sun Aug 11 2013 tmb <tmb> 4.2.16-4.mga4
+ Revision: 465459
- rebuild with new gcc

* Thu Aug 01 2013 tmb <tmb> 4.2.16-3.mga4
+ Revision: 462259
- force gcc 4.8.2 build

* Thu Aug 01 2013 tmb <tmb> 4.2.16-2.mga4
+ Revision: 462231
- test build with gcc-4.8.2

* Mon Jul 08 2013 tmb <tmb> 4.2.16-1.mga4
+ Revision: 451309
- fix build with gsoap >= 2.8.13 (P16)

  + tv <tv>
    - new release

* Wed Jun 26 2013 fwang <fwang> 4.2.14-1.mga4
+ Revision: 446716
- new version 4.2.14

* Mon Jun 03 2013 fwang <fwang> 4.2.12-5.mga4
+ Revision: 436078
- rebuild for new libpng

* Fri May 31 2013 tv <tv> 4.2.12-4.mga4
+ Revision: 433846
- submit to core/release

* Fri May 24 2013 tv <tv> 4.2.12-3.mga4
+ Revision: 426104
- rebuild with xserver-1.14

* Sun Apr 21 2013 tmb <tmb> 4.2.12-2.mga3
+ Revision: 410749
- default to Linux and Mageia for VMs (P14)
- fix installing of vboxvideo_drv after setting VBOX_USE_SYSTEM_XORG_HEADERS
- disable default update checks as we ship prepackaged rpms (P15)
- build against system libxml2, libpng15, zlib (fedora, P22)
- build against system x11-server-source and boost-devel and
  remove bundled source/libs before build (fedora, P21)
- add missing check for VBOX_USE_SYSTEM_XORG_HEADERS (fedora, P20)
- build with VBOX_USE_SYSTEM_XORG_HEADERS and drop P10 as obsolete

* Sat Apr 13 2013 tmb <tmb> 4.2.12-1.mga3
+ Revision: 409891
- 4.2.12 (should fix #9716)

* Sun Apr 07 2013 tmb <tmb> 4.2.10-3.mga3
+ Revision: 408759
- add vboxweb service (mga #7021)

* Sun Mar 24 2013 colin <colin> 4.2.10-2.mga3
+ Revision: 404859
- Add systemd requires and general post/pre fixes (mga#9302)

* Tue Mar 19 2013 zezinho <zezinho> 4.2.10-1.mga3
+ Revision: 404113
- new version

* Sat Mar 02 2013 tmb <tmb> 4.2.8-1.mga3
+ Revision: 401110
- update to 4.2.8
- drop P15 (obsolete)

* Wed Jan 16 2013 tmb <tmb> 4.2.6-4.mga3
+ Revision: 388924
- vboxguest: drop __devinitdata (P15)

* Tue Jan 15 2013 fwang <fwang> 4.2.6-3.mga3
+ Revision: 388298
- move to correct rules dir

* Sun Jan 06 2013 tmb <tmb> 4.2.6-2.mga3
+ Revision: 339921
- rebuild for new device-mapper

* Thu Dec 20 2012 tv <tv> 4.2.6-1.mga3
+ Revision: 333270
- BR device-mapper-devel
- new release

* Sun Nov 25 2012 colin <colin> 4.2.4-2.mga3
+ Revision: 321753
- Do not package tmpfiles conf in /etc
- Run systemd-tmpfiles --create on post install

  + fwang <fwang>
    - set dkms package as noarch

* Wed Oct 31 2012 tmb <tmb> 4.2.4-1.mga3
+ Revision: 311824
- rediff P10
- update to 4.2.4

  + fwang <fwang>
    - new version 4.2.2

* Fri Sep 14 2012 tmb <tmb> 4.2.0-1.mga3
+ Revision: 293743
- rewrite P13 to add Mageia support
- adapt to /run being tmpfs
- disable P1 (libdir fix, seems obsolete)
- disable P7 for now (disable update check, needs to be rewritten)
- disable P13, P14 for now (Mageia branding, needs to be rewritten)
- rediff and update P12 (build for system xorg only)
- drop P12 and P15 (merged)
- drop BR on hal-devel
- update to 4.2.0

  + fwang <fwang>
    - rebuild for new xserver

  + tv <tv>
    - rebuild for new xserver

* Sat Sep 08 2012 tmb <tmb> 4.1.22-1.mga3
+ Revision: 290441
- update to 4.1.22 maintenance release

  + tv <tv>
    - rebuild for new xserver

* Sun Jul 01 2012 tmb <tmb> 4.1.18-1.mga3
+ Revision: 266254
- update to 4.1.18

* Wed Jun 06 2012 tmb <tmb> 4.1.16-4.mga3
+ Revision: 256537
- rebuild for core/release

* Tue Jun 05 2012 tmb <tmb> 4.1.16-3.mga3
+ Revision: 255971
- fix build with x11-server 1.12 (P15, debian)

  + tv <tv>
    - rebuild for new X.org server

* Sun May 27 2012 tmb <tmb> 4.1.16-1.mga3
+ Revision: 247583
- update to 4.1.16
- update system-xorg patch

* Tue Apr 03 2012 tmb <tmb> 4.1.12-1.mga2
+ Revision: 228191
- update to 4.1.12 (bugfix release)

* Thu Mar 15 2012 tmb <tmb> 4.1.10-1.mga2
+ Revision: 223427
- fix groups
- fix filelists
- package sdk, add virtualbox-devel and python-virtualbox (mga #4396)
- drop merged P15-P18 (buildfixes for kernel-3.3)
- rediff P10 (system xorg) and P13 (mga support)
- update to 4.1.10

* Mon Mar 12 2012 tmb <tmb> 4.1.8-4.mga2
+ Revision: 223124
- fix Config.kmk, iprt/types.h, and Runtime/r0drv so it works with 3.3 series kernels
- fix vboxadditions build with 3.3 series kernels

* Sat Jan 14 2012 tmb <tmb> 4.1.8-3.mga2
+ Revision: 196091
- disable update notification again (patch from OpenSuSE)

  + luigiwalser <luigiwalser>
    - fix guest-additions description (from mdv)

* Sat Dec 24 2011 tmb <tmb> 4.1.8-2.mga2
+ Revision: 187229
- remove x11-driver-input-vboxmouse again for now
- restopre x11-driver-input-vboxmouse, as it's still useful
- re-enable doc build
- drop buildroot and defattr
- rediff patches to apply cleanly
- disable P7 (disable update check) as it needs to be rewritten
- update to 4.1.8

* Tue Dec 06 2011 tmb <tmb> 4.1.6-2.mga2
+ Revision: 177807
- rebuild for new x11-server-1.11.2 and gcc-4.6.2

* Sat Nov 05 2011 fwang <fwang> 4.1.6-1.mga2
+ Revision: 163136
- rediff patches
- new version 4.1.6

* Sat Oct 22 2011 tmb <tmb> 4.1.4-3.mga2
+ Revision: 157305
- add Mageia info to the install manuals too
- fix so the Mageia icons actually are used
- remove duplicated text from French installation manual
- use better mageia icons

* Fri Oct 21 2011 tmb <tmb> 4.1.4-2.mga2
+ Revision: 157155
- temporarily disable docs due to texlive problem
- add Mageia support in GUI and default to it

* Tue Oct 04 2011 fwang <fwang> 4.1.4-1.mga2
+ Revision: 151463
- vboxmouse driver is not used in recent xorg server
- vboxmouse rules does not exists
- new version 4.1.4

* Mon Sep 12 2011 fwang <fwang> 4.1.2-2.mga2
+ Revision: 142645
- rebuild for new libpng
- fix vbox-service.sh
- add short-desc
- new version 4.1.2
- rediff some patches

* Wed Jul 20 2011 fwang <fwang> 4.1.0-1.mga2
+ Revision: 126896
- new version 4.1.0

* Sat Jul 16 2011 fwang <fwang> 4.0.12-1.mga2
+ Revision: 124665
- new version 4.0.12

* Wed Jul 06 2011 ahmad <ahmad> 4.0.10-3.mga2
+ Revision: 119186
- guest-additions should require xrandr for auto-resizing of guest display to
  work without having to restart the X server in the guest VM

* Wed Jun 29 2011 ahmad <ahmad> 4.0.10-2.mga2
+ Revision: 115662
- Add a patch to only display warnings about broken USB support when it's
  actually used (i.e. the machine has USB device filters), from Debian
- Use %%apply_patches

* Tue Jun 28 2011 ahmad <ahmad> 4.0.10-1.mga2
+ Revision: 115507
- Update to 4.0.10
- Drop the OSE references, our and upstream's rpms don't have USB support
  without the extension pack (hint from Debian)
- Add BR docbook-dtds

* Mon Jun 27 2011 colin <colin> 4.0.8-2.mga2
+ Revision: 114444
- Build PulseAudio backend again (accidentally dropped in r1496 during spec cleaning)

* Thu Jun 09 2011 tmb <tmb> 4.0.8-1.mga2
+ Revision: 102422
- update to 4.0.8

* Sat May 28 2011 ahmad <ahmad> 4.0.6-4.mga1
+ Revision: 100624
- Install UserManual.pdf in /usr/share/doc/virtualbox/ so that the -doc package
  is truly noarch (mga#1456)

* Tue May 03 2011 ahmad <ahmad> 4.0.6-3.mga1
+ Revision: 94324
- Fix the build by correcting a typo in the spec
- Create a vboxsf group in virtualbox-guest-additions sub-package, this should
  make the auto-mount feature of shared folders work (Debian)
- Desktop integration improvements:
  o install icons in hicolor icon theme, this should add default icons and mime
    types for .ova, .ovf and vbox-extpack files. Also it sets VirtualBox as the
    default app to open them (Debian)
  o add Mimetype key to the .desktop file; nick the Comment and its translations
    key(s) from the upstream .desktop file

* Sat Apr 30 2011 tmb <tmb> 4.0.6-2.mga1
+ Revision: 93736
+ rebuild (emptylog)

* Mon Apr 25 2011 ahmad <ahmad> 4.0.6-1.mga1
+ Revision: 90286
- Update to 4.0.6
- Rediff the kernelrelease patch
- Make dkms-vboxadditions and dkms-%%{name} only conflict with each other in versions
  older than 4.0.6; they used to export the same symbols breaking each other
  but the upstream bug has been fixed.
  c.f. http://www.virtualbox.org/ticket/5686

* Thu Mar 17 2011 tv <tv> 4.0.4-6.mga1
+ Revision: 73401
- rebuild again for x11-server-1.10

* Thu Mar 17 2011 blino <blino> 4.0.4-5.mga1
+ Revision: 73284
- fix virtualbox udev rules not to break other udev rules for USB devices:
  RUN= overwrites previous RUN affectations, RUN+= should be used instead
  (this should be fixed in upstream src/VBox/Installer/linux/install.sh as well)

* Wed Mar 09 2011 ahmad <ahmad> 4.0.4-4.mga1
+ Revision: 66715
- bump rel to submit to core/testing (hopefully X server 1.10 will be in
  core/release soon)

* Wed Mar 09 2011 ahmad <ahmad> 4.0.4-3.mga1
+ Revision: 66714
- Remove the gsoap BR due to licensing issues. Due to this we'll have to disable
  webservice building (users who use this feature can use the upstream vbox
  packages...)

* Sun Mar 06 2011 ahmad <ahmad> 4.0.4-2.mga1
+ Revision: 65562
- add missing BR texlive-fontsextra, as it includes beramono.sty

  + tmb <tmb>
    - rebuild for x11-server 1.10

* Wed Feb 23 2011 ahmad <ahmad> 4.0.4-1.mga1
+ Revision: 57449
- update to 4.0.4
- update 18-system-xorg.patch from Debian

* Mon Feb 07 2011 ahmad <ahmad> 4.0.2-4.mga1
+ Revision: 48743
- improve dkms-vboxadditions description
- make the -doc sub-package noarch

* Wed Feb 02 2011 ahmad <ahmad> 4.0.2-2.mga1
+ Revision: 46397
- don't delete /dev/vboxusb

* Wed Jan 26 2011 ahmad <ahmad> 4.0.2-1.mga1
+ Revision: 39861
- add BR libxcomposite-devel
- improve the comment about 18-system-xorg.patch
- update to 4.0.2
- drop patch6, fixed upstream long ago
- add 18-system-xorg.patch from Debian, this makes the package build only the
  drivers for the system X server version; in accordance with this add
  "XSERVER_VERSION := %%{x11_server_majorver}" to LocalConfig.kmk
  (XSERVER_VERSION is added by the patch)
- try to make USB paththrough work:
   o modify udev virtualbox.rules file to make usb paththrough work, this syncs
     the udev rule with the upstream one
   o add/remove a vboxusers group in %%post/%%postun (Debian)
   o add a post scriplet to build the usb device tree (Debian)
   o add a postun scriptlet to remove the usb device tree

* Sat Jan 22 2011 ahmad <ahmad> 4.0.0-2.mga1
+ Revision: 33306
- really disable patch16
- drop patches 7 and 17 not needed anymore
- delete 60-vboxadd.perms, not needed any more
- clean spec
- disable virtualbox-default-to-mandriva patch for now
- imported package virtualbox


* Wed Jan 05 2011 Ahmad Samir <ahmadsamir@mandriva.org> 4.0.0-2mdv2011.0
+ Revision: 628883
- don't create %%{_datadir}/hal/fdi/policy/20thirdparty except when the .fdi file
  is installed
- sync udev rules with upstream; otherwise some of the vbox-additions services can't
  be started as user by 98vboxadd-xclient
- install 50-vboxmouse.conf too, it's need for X server >= 1.8

* Tue Dec 28 2010 Ahmad Samir <ahmadsamir@mandriva.org> 4.0.0-1mdv2011.0
+ Revision: 625699
- add BR libxslt-devel
- add patch to make configure not check for mkisofs or makeself; both not needed
  in our build
- add 'VBOX_WITHOUT_ADDITIONS_ISO := 1' to LocalConfig.kmk
- improve the way used to disable building the docs in the spec
- BR tetex-latex >= 3.0-53 for releases >= 201100, now that tetex-latex has beramono
  (thanks to ghibo)
- apply the beramono-courier patch for older distros only
- add patch to make pdflatex use courier instead of beramono; this way the PDF
  can be built with tetex-latex from main (instead of having to move texlive-latex
  from contrib to main); when/if texlive moves to main we can drop it
- improve the build_doc condintional to workaround exclude macro that has been "fixed"
  to not work as it used to
- make building the usermanual pdf condintional, disabled for now
- add BR makeself
- update to 4.0.0 (and adapt to the tarball name change)
- rediff the no-update patch
- tighten qt4 requires
- add BR java-rpmbuild and add 'VBOX_JAVA_HOME := %%{java_home}' to LocalConfig.kmk
- add BR texlive-latex for building the user manual PDF
- split the PDF in a -doc subpackage and make the main package suggest it
- vboxmouse: install .fdi file for releases older than 2011.0 and the udev rule
  file for newer releases
- remove 'VBOX_WITH_WARNINGS_AS_ERRORS :=', it was only needed to workaround a
  compile error with gcc-4.5; it's been fixed upstream

* Thu Nov 11 2010 Thierry Vignaud <tv@mandriva.org> 3.2.10-6mdv2011.0
+ Revision: 595844
- require xorg server with proper ABI

* Thu Nov 04 2010 Ahmad Samir <ahmadsamir@mandriva.org> 3.2.10-5mdv2011.0
+ Revision: 593329
- install the udev rule file for vboxmouse to make mouse integration work

* Fri Oct 29 2010 Funda Wang <fwang@mandriva.org> 3.2.10-4mdv2011.0
+ Revision: 590217
- BR x11-server
- BR awk
- use rpm macro to define xorg-server's major ver

  + Michael Scherer <misc@mandriva.org>
    - rebuild for python 2.7

* Sun Oct 17 2010 Funda Wang <fwang@mandriva.org> 3.2.10-3mdv2011.0
+ Revision: 586186
- really build with x11-server 1.9

* Sun Oct 17 2010 Thierry Vignaud <tv@mandriva.org> 3.2.10-2mdv2011.0
+ Revision: 586165
- rebuild for xserver-1.9 (#61294)

* Wed Oct 13 2010 Funda Wang <fwang@mandriva.org> 3.2.10-1mdv2011.0
+ Revision: 585260
- New version 3.2.10

* Sat Oct 02 2010 Ahmad Samir <ahmadsamir@mandriva.org> 3.2.8-2mdv2011.0
+ Revision: 582619
- add two upstream patches to fix building modules with kernel-2.6.36
- fix building with gcc-4.5 by adding "VBOX_WITH_WARNINGS_AS_ERRORS :="
  c.f. http://www.virtualbox.org/ticket/6715

* Fri Aug 06 2010 Funda Wang <fwang@mandriva.org> 3.2.8-1mdv2011.0
+ Revision: 567189
- new version 3.2.8

* Wed Jul 28 2010 Ahmad Samir <ahmadsamir@mandriva.org> 3.2.6-4mdv2011.0
+ Revision: 562836
+ rebuild (emptylog)

* Tue Jul 27 2010 Ahmad Samir <ahmadsamir@mandriva.org> 3.2.6-3mdv2011.0
+ Revision: 562053
- use 'VBOX_WITH_TESTCASES =' to make it build on i586
- add missing BR, libpam-devel
- install vbox PAM module
- really rediff libpath patch
- make the two dkms packages conflict as both of them export the same symbol (Debian)
- update 16-no-update.patch, now it hides the update menu item and settings page
  instead of disabling them (Debian)

  + Jerome Martin <jmartin@mandriva.org>
    - Release 3.2.6

* Tue May 25 2010 Frederic Crozat <fcrozat@mandriva.com> 3.1.8-3mdv2010.1
+ Revision: 545880
- Remove wine3d guest additions, merged upstream

* Wed May 19 2010 Antoine Ginies <aginies@mandriva.com> 3.1.8-2mdv2010.1
+ Revision: 545369
- bump release, rebuild against latest kernel

* Fri May 14 2010 Frederic Crozat <fcrozat@mandriva.com> 3.1.8-1mdv2010.1
+ Revision: 544747
- Remove unneeded dependencies in guest additions, replaced by X extension now
- Fix buildrequires
- Release 3.1.8
- Remove patches 8 (no longer needed), 15 (merged upstream)
- no longer preload vboxvfs in guest, it was renamed in vboxsf and is preloaded by mount automatically now

* Wed Apr 28 2010 Anssi Hannula <anssi@mandriva.org> 3.1.6-5mdv2010.1
+ Revision: 540628
- default to Mandriva instead of WinXP when selecting guest system type
  (#56455)

* Tue Apr 27 2010 Christophe Fergeau <cfergeau@mandriva.com> 3.1.6-4mdv2010.1
+ Revision: 539600
- rebuild so that shared libraries are properly stripped again

* Wed Apr 21 2010 Anssi Hannula <anssi@mandriva.org> 3.1.6-3mdv2010.1
+ Revision: 537665
- adapt modprobe.preload.d file for renamed module (fix from cyrille in
  bug #58865)

* Tue Apr 06 2010 Funda Wang <fwang@mandriva.org> 3.1.6-2mdv2010.1
+ Revision: 531921
- rebuild for new openssl

* Fri Mar 26 2010 Frederic Crozat <fcrozat@mandriva.com> 3.1.6-1mdv2010.1
+ Revision: 527641
- Release 3.1.6

  + Thierry Vignaud <tv@mandriva.org>
    - fix "service virtualbox status" output when service is not running (#52894)

* Fri Feb 26 2010 Oden Eriksson <oeriksson@mandriva.com> 3.1.4-4mdv2010.1
+ Revision: 511648
- rebuilt against openssl-0.9.8m

  + Colin Guthrie <cguthrie@mandriva.org>
    - Remove pulseaudio rewrite patch. Applied upstream in r25678 + followups

* Sun Feb 21 2010 Luis Daniel Lucio Quiroz <dlucio@mandriva.org> 3.1.4-3mdv2010.1
+ Revision: 508886
- No suggests, this will instal kde4

* Sun Feb 21 2010 Luis Daniel Lucio Quiroz <dlucio@mandriva.org> 3.1.4-2mdv2010.1
+ Revision: 508848
- Suggests the KDE4 runner

* Sat Feb 13 2010 Funda Wang <fwang@mandriva.org> 3.1.4-1mdv2010.1
+ Revision: 505209
- new version 3.1.4

* Sun Feb 07 2010 Anssi Hannula <anssi@mandriva.org> 3.1.2-7mdv2010.1
+ Revision: 501512
- vboxadd-service renamed back to VBoxService as per upstream changes

* Sun Jan 24 2010 Anssi Hannula <anssi@mandriva.org> 3.1.2-6mdv2010.1
+ Revision: 495567
- fix build with kernel 2.6.33+ (from upstream, integrated by Shlomi Fish)
- provide vboxwebsrv (Debian), VBoxNetAdpCtl (Jani V?\195?\164limaa) and
  VBoxNetDHCP in bindir as well
- load module vboxnetadp in initscript

* Sat Jan 16 2010 Anssi Hannula <anssi@mandriva.org> 3.1.2-5mdv2010.1
+ Revision: 492485
- remove now unneeded copying of vboxvideo, handled upstream
- adapt udev rule and old console.perms (for backports) for rename of
  /dev/vboxadd to /dev/vboxguest
- rename dkms-vboxadd to dkms-vboxadditions in order to match the dkms
  PACKAGE_NAME
- update and rediff wined3d-guest-addition.patch and no-update.patch
  (from Debian), and apply them again
- rediff libpath.patch and remove duplicate 3.1-libpath.patch

* Wed Jan 13 2010 Christophe Fergeau <cfergeau@mandriva.com> 3.1.2-4mdv2010.1
+ Revision: 490637
- fix dkms build of vbox-additions (vboxadd is now named vboxguest)

* Mon Dec 21 2009 Colin Guthrie <cguthrie@mandriva.org> 3.1.2-3mdv2010.1
+ Revision: 480521
- Apply pulseaudio rewrite patch by Art Taylor for wider testing.

* Fri Dec 18 2009 Funda Wang <fwang@mandriva.org> 3.1.2-2mdv2010.1
+ Revision: 479955
- we are using xorg 1.7 for 2010.1

* Fri Dec 18 2009 Funda Wang <fwang@mandriva.org> 3.1.2-1mdv2010.1
+ Revision: 479870
- new version 3.1.2

  + Colin Guthrie <cguthrie@mandriva.org>
    - Fix install of mount.vboxsf
    - Fix src file addition for vboxadd -> vboxguest rename

  + Luis Daniel Lucio Quiroz <dlucio@mandriva.org>
    - new location of src/vboxvideo_drm
    - remove src/vboxvideo_drm from install
    - remove mountvboxsf from install
    - Disable P12 just for now
    - Disable P11 just for now
    - P13 to let replace P1
    - New 3.1.0

* Tue Nov 17 2009 Funda Wang <fwang@mandriva.org> 3.0.12-1mdv2010.1
+ Revision: 466909
- new version 3.0.12

* Mon Nov 16 2009 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 3.0.10-4mdv2010.1
+ Revision: 466652
- Rebuild for new xserver drivers

* Thu Nov 12 2009 Frederik Himpe <fhimpe@mandriva.org> 3.0.10-3mdv2010.1
+ Revision: 465505
- Rebuild for new QT

* Sun Nov 08 2009 Luis Daniel Lucio Quiroz <dlucio@mandriva.org> 3.0.10-2mdv2010.1
+ Revision: 463094
- BUMP release

* Sat Oct 31 2009 Luis Daniel Lucio Quiroz <dlucio@mandriva.org> 3.0.10-1mdv2010.1
+ Revision: 460359
- New release 3.0.10

* Tue Oct 06 2009 Frederic Crozat <fcrozat@mandriva.com> 3.0.8-1mdv2010.0
+ Revision: 454705
- Release 3.0.8

* Thu Sep 10 2009 Frederic Crozat <fcrozat@mandriva.com> 3.0.6-1mdv2010.0
+ Revision: 436821
- Release 3.0.6-OSE
- Remove patches 15, 16 (merged upstream)

* Sat Aug 08 2009 Funda Wang <fwang@mandriva.org> 3.0.4-1mdv2010.0
+ Revision: 411626
- new version 3.0.4

* Fri Aug 07 2009 Anssi Hannula <anssi@mandriva.org> 3.0.2-2mdv2010.0
+ Revision: 410995
- fix additions service name (prevented launch of service)

* Sat Aug 01 2009 Anssi Hannula <anssi@mandriva.org> 3.0.2-1mdv2010.0
+ Revision: 406306
- new version 3.0.2
- fix build with current pulseaudio (fix-pulseaudio.patch)
- buildrequires curl-devel and openssl-devel
- build vboxnetadp module and simplify vboxbuild dkms script
- add udev rule for managing vbox additions ACL, removing console.perms
  file on cooker
- fix post and preun script of dkms package to remove+reload modules on
  upgrade and remove on removal
- do not try to install dkms module if build fails
- rediff and rename fix-timesync-req.patch to fix-vboxadd-req.patch
- rediff kernelrelease.patch and libpath.patch

* Sat May 30 2009 Frederik Himpe <fhimpe@mandriva.org> 2.2.4-1mdv2010.0
+ Revision: 381446
- Completely remove Debian nat patch: code has changed too much and Debian
  has removed it too already since 2.2.2
- Update to new version 2.2.4
- Remove disabled opengl patch: integrated upstream
- Rediff NAT configuration patch from Debian

  + Funda Wang <fwang@mandriva.org>
    - New version 2.2.2

* Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1
+ Revision: 368679
- Fix mkrpm template

* Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1
+ Revision: 368502
- BuildRequires:dkms-minimal
- Obsolete -latest dkms binary packages

* Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1
+ Revision: 367571
- Patch15: kill vboxclient if leftover from previous X11 session
- Patch14 (Sun): fix OpenGL support for Linux Guest additions
- improve packaging to be more LSB compliant

* Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1
+ Revision: 365828
- Release 2.2.0
- enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation)
- move location of fdi file (fix mouse integration support when using HAL)
- merge all guest additions kernel module in one single DKMS (pterjan)
- Enable webservice
- Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later)
- Regenerate patches 8, 10
- Patch11: add Wine Direct3D guest additions option (Debian)
- Patch12: disable update notification (Debian)
- Patch13: make network settings more intuitive (Debian)
- Add missing dependencies in guest additions package
- No longer use gcc 4.2, build fine with latest gcc 4.3
- Replace source3 with upstream version
- Update source4 to change permissions on both guest additions devices
- Fix permissions on non .so files

* Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1
+ Revision: 353280
- vboxvfs needs vboxadd

* Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1
+ Revision: 348336
- Force rebuild of dkms modules

* Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1
+ Revision: 344966
- Copy Module.symvers for vboxnetflt dkms build, needed with
  CONFIG_MODVERSIONS enabled in latest cooker kernels.

* Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1
+ Revision: 344896
- Apply fix for VM load failure with kernels 2.6.29-rc5 or later
  (#48096, http://www.virtualbox.org/ticket/3403).
- Fix building with kernel-headers-2.6.29*

* Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1
+ Revision: 342236
- Update to new version 2.1.4
- Fix source URL

* Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1
+ Revision: 332593
- Use xorg 1.6 drivers when building cooker guest addition packages

* Thu Jan 22 2009 Funda Wang <fwang@mandriva.org> 2.1.2-1mdv2009.1
+ Revision: 332404
- specify CC4.2
- New version 2.1.2
- rediff libpath patch

* Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1
+ Revision: 324525
- Rebuild mouse and display drivers for xserver 1.6

* Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1
+ Revision: 318540
- rebuild for new python

* Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1
+ Revision: 316288
- Fix guest additions for cooker, we ship Xorg 1.5 now
- Ship fdi file for vboxmouse

* Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1
+ Revision: 316021
- oops, finish fixing up initscript

* Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1
+ Revision: 316019
- adjust initscript and dkms.conf for the fact that there's now two necessary
  kernel modules for the master: vboxdrv and vboxnetflt
- drop mdvconfig.patch: this stub does nothing useful, and breaks the build
  (see fcrozat's mail on Cooker)
- VBoxAddIF and VBoxDeleteIF are now obsolete and not provided

  + Frederic Crozat <fcrozat@mandriva.com>
    - Release 2.1.0
    - Regenerate patch1
    - update buildrequires

* Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1
+ Revision: 308552
- Rebuild mouse and display drivers for xserver 1.5

* Wed Nov 26 2008 Funda Wang <fwang@mandriva.org> 2.0.6-1mdv2009.1
+ Revision: 306865
- New version 2.0.6

* Mon Nov 03 2008 Funda Wang <fwang@mandriva.org> 2.0.4-1mdv2009.1
+ Revision: 299348
- New version 2.0.4

* Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0
+ Revision: 284854
- Patch8: disable version check at startup

* Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0
+ Revision: 284544
- Update to bugfix update 2.0.2

* Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0
+ Revision: 283015
- build guest additions on x86_64 too (#43593)

  + Frederic Crozat <fcrozat@mandriva.com>
    - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1

* Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0
+ Revision: 280850
- Fix BuildRequires
- Release 2.0.0
- Remove patches 3, 7 (merged upstream)

* Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0
+ Revision: 278071
- Added patch to allow VirtualBox kernel module to build with
  Linux 2.6.27

  + Pixel <pixel@mandriva.com>
    - increase release number
    - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet)

* Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0
+ Revision: 264273
- create /var/run/VirtualBox (#41963)
- use tunctl from the tunctl package while VBoxTunctl does not build

* Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0
+ Revision: 264016
- do not include VBoxTunctl for now (build is broken in upstream tarball)
- rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks)
- fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing)
- 1.6.4

* Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0
+ Revision: 252777
- Don't use gcc 3.3 for build on 2008.1 or earlier

* Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0
+ Revision: 232889
- set again linux sources path in configure
- use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet)
- use kernel-devel-latest instead of kernel-source-latest
- use a prepared copy of the linux tree (for linux/bounds.h)

  + Frederic Crozat <fcrozat@mandriva.com>
    - Release 1.6.2
    - Regenerate patch5
    - Fix duplicated line in specfile

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0
+ Revision: 208160
- Fix seamless mode in guest additions subpackage

* Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0
+ Revision: 207692
- rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF
  to match original names and documentation

* Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0
+ Revision: 207235
- Replace source1 with patch 6 (use up to date VBox.sh script)
- Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769)
- package VBoxHeadless (Mdv bug #40771)

* Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0
+ Revision: 205313
- try harder to disable additions on x86_64
- buildrequire libxslt-devel
- adapt to vboxadd-xclient being renamed as VBoxClient
- rediff futex patch
- rediff misc_register patch
- 1.6.0
- revert BUILT_MODULE_NAME addition, the bug is fixed in dkms

  + Anssi Hannula <anssi@mandriva.org>
    - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS
      error)

* Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1
+ Revision: 175619
- 1.5.6
- rediff KERNELRELEASE patch

* Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1
+ Revision: 175610
- try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728)

* Fri Feb 08 2008 Thierry Vignaud <tv@mandriva.org> 1.5.4-4mdv2008.1
+ Revision: 163970
- drop old menu

  + Frederic Crozat <fcrozat@mandriva.com>
    - Really disable pulseaudio support on 2008.0 or older

* Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1
+ Revision: 147602
- Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0
- Only build pulseaudio support for 2008.1

* Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1
+ Revision: 147006
- fix dkms build for kernels different from running kernel

* Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1
+ Revision: 142711
- buildrequire pulseaudio-devel
- rediff libpath patch
- remove 2.6.24 build fix, fixed upstream
- 1.5.4
- restore BuildRoot

  + Pascal Terjan <pterjan@mandriva.org>
    - Switch to Debian patch for 2.6.24
    - Re-create the 2.6.24 patch, some bits got lost

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request
    - kill explicit icon extension

  + Giuseppe Ghibò <ghibo@mandriva.com>
    - Use kernel-source-latest in BuildRequires as conditional.
    - Add conditional build flags for older release.
    - Let Patch5 conditional.

* Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1
+ Revision: 114076
- Improve 2.6.24 patch so that it should still build with older kernels

* Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1
+ Revision: 114047
- Fix other parts to build with 2.6.24
- Fix vboxdrv for 2.6.24

* Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1
+ Revision: 108363
- remove keyboards patch (was from upstream svn)
- rediff kernelrelease patch
- rediff libpath patch
- 1.5.2

* Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0
+ Revision: 95447
- really apply misc_register patch (so that vboxadd devices are automatically created)
- add release in dkms PACKAGE_VERSION to ease upgrades

* Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0
+ Revision: 93837
- require kmod(vboxdrv) instead of dkms package
- do not mark initscript as config file
- move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules)

* Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0
+ Revision: 93812
- add vboxadd-timesync service
- add pam_console perms file to assign vboxadd device to console user
- use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev

* Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0
+ Revision: 93770
- add vboxadd-xclient xinit.d script
- release new additions, but we still need to fix mknod for vboxadd
  (or use device_create() in kernel module), set console perms for
  vboxadd in console.perms.d, and add timesync initscript
- make guest additions package require X11 drivers
- make x11 driver packages suggest virtualbox-guest-additions
- add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf)
- add dkms-vboxadd and dkms-vboxvfs packages

* Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0
+ Revision: 93534
- build additions on ix86 only
- fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN)
- buildrequire libstdc++-static-devel
- buildrequire libxt-devel
- buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically
- buildrequire kernel-source
- package mouse guest addition in x11-driver-input-vboxmouse
- package video guest addition in x11-driver-video-vboxvideo
- build VirtualBox additions

* Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0
+ Revision: 78607
- drop libstdc++5 BuildRequires
- drop unapplied x86_64 NMI watchdog disabling patch (merged upstream)
- 1.5.0
- rediff mdvconfig patch

  + Thierry Vignaud <tv@mandriva.org>
    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

* Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0
+ Revision: 37085
- from Jos?\195?\169 Melo <mmodem00@gmail.com>:
  	o 1.4.0
  	o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17
  	o remove patch1 since is becomes obsolete with this new version,and continues installing and running stable no matter if is kernel-2.6.17 or greater
  	o add missing buildrequire hal-devel


* Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1
+ Revision: 144313
- add should-start: dkms to initscript (#29523)
- 1.3.8
  * hard reset network device on reboot
  * fix issues with IBM JVM 1.4.2 in Linux guests
  * add support for X.org 7.2.x in Linux guest additions

* Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1
+ Revision: 131492
- disable NMIs on Core 2 platforms too
- 1.3.6
  * fix some GUI issues
  * fix OpenBSD 4.0 support
  * fix CD/DVD-ROM detection in Windows Vista guests
  * fix networking issues with Windows NT 4.0 guests
  * fix some ALSA problems that could cause system reboots

* Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1
+ Revision: 119895
- 1.3.4

* Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1
+ Revision: 119017
- SVN updates (2007/02/09):
  * additional 64-bit fixes
  * asynchronous packets transmission in NIC code

* Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1
+ Revision: 116064
- various 64-bit fixes
- updates from SVN (2007/02/02):
  * initial 64-bit host support
  * fix IDE for Open Solaris 10
  * add VDI compacting to the GUI

* Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1
+ Revision: 114276
- initial mandriva linux package