# # Note! When updating this package, remember to push # kmod-vboxadditions and kmod-virtualbox too # %define ver 5.0.4 %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 %define build_additions 1 %define build_doc 0 %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 %global __provides_exclude ^VBox %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-4.3.0-kernelrelease.patch Patch3: VirtualBox-4.3.0-futex.patch Patch4: VirtualBox-4.3.0-fix-vboxadd-req.patch # (fc) 1.6.0-2mdv fix initscript name in VBox.sh script Patch5: VirtualBox-4.3.0-initscriptname.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.0.0-dont-check-for-mkisofs-or-makeself.patch # add Mageia support (tmb: submitted upstream 2011-10-22) Patch13: VirtualBox-5.0.0-add-Mageia-support.patch # (tmb) Default to Mageia Patch14: VirtualBox-5.0.4-default-to-Mageia.patch # (tmb) default to no update checks as we provide rpms Patch15: VirtualBox-4.3.0-noupdate-check.patch # (tmb) fix build with gsoap >= 2.8.13 Patch16: VirtualBox-4.3.16-fix-build-with-gsoap-2.8.13-and-up.patch # Fedora patches # add missing check for VBOX_USE_SYSTEM_XORG_HEADERS Patch20: VirtualBox-5.0.0-VBoxGuestLib.patch # fake_drv.c,h: use x11-server source Patch21: VirtualBox-5.0.0-mesa.patch # build against system libs Patch22: VirtualBox-4.3.0-no-bundles.patch 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-%{mkrel 5} Recommends: %{name}-doc BuildRequires: gsoap BuildRequires: dev86 BuildRequires: iasl BuildRequires: zlib-devel BuildRequires: libxcursor-devel BuildRequires: libxmu-devel BuildRequires: SDL-devel BuildRequires: libqt4-devel >= 4.4.0 BuildRequires: qt4-linguist BuildRequires: libIDL-devel BuildRequires: libext2fs-devel BuildRequires: libxslt-proc BuildRequires: libxslt-devel 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(post): dkms Requires(preun): dkms 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(post): dkms Requires(preun): dkms 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/ rm -rf fake-linux/ cp -a $(ls -1dtr /usr/src/kernel-* | tail -n 1) fake-linux # Remove bundle X11 sources and some lib sources, before patching. 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.6.31/ rm -rf src/libs/libpng-1.2.8/ rm -rf src/libs/zlib-1.2.6/ 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 VBOX_USE_SYSTEM_XORG_HEADERS := 1 XSERVER_VERSION := %{x11_server_majorver} VBOX_PATH_APP_DOCS :=%{_defaultdocdir}/virtualbox EOF %build #make -C fake-linux prepare export LIBPATH_LIB="%{_lib}" ./configure \ --enable-webservice \ --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} install vboxvideo_drv_system.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so 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 -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 -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 -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 -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean && make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean && make -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 Sep 17 2015 tmb <tmb> 5.0.4-1.mga5 + Revision: 880134 - 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