X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=VirtualBox.spec;h=43fa64abf5f34cdb7c79b565f190ffa839ef6bd3;hb=549cc2daf47611d1cfab92849a2656c86831f216;hp=f7bb4d727163794c087e3c21c56ea21ffbeb7e58;hpb=c7c1bc46a6d064147829048eed94bcd8b7bf6dbb;p=packages%2FVirtualBox.git diff --git a/VirtualBox.spec b/VirtualBox.spec index f7bb4d7..43fa64a 100644 --- a/VirtualBox.spec +++ b/VirtualBox.spec @@ -11,40 +11,24 @@ # - fix desc for dkms packages (proper wording needed), kernel modules desc is mess as well # # Conditional build: +%bcond_with all_langs # build with all manual translations %bcond_without doc # don't build the documentation %bcond_without debuginfo # disable debuginfo creation (to save space when compiling) -%bcond_without dist_kernel # without distribution kernel %bcond_without kernel # don't build kernel module %bcond_without userspace # don't build userspace package %bcond_with webservice # webservice (SOAP) support %bcond_without lightdm # lightdm greeter %bcond_without dkms # build dkms package %bcond_without verbose +%bcond_without gui # disable Qt4 GUI frontend build -%if %{without kernel} -%undefine with_dist_kernel -%else -%define _duplicate_files_terminate_build 0 -%endif - -# The goal here is to have main, userspace, package built once with -# simple release number, and only rebuild kernel packages with kernel -# version as part of release number, without the need to bump release -# with every kernel change. %if 0%{?_pld_builder:1} && %{with kernel} && %{with userspace} %{error:kernel and userspace cannot be built at the same time on PLD builders} exit 1 %endif -%if "%{_alt_kernel}" != "%{nil}" -%if 0%{?build_kernels:1} -%{error:alt_kernel and build_kernels are mutually exclusive} -exit 1 -%endif -%undefine with_userspace -%global _build_kernels %{alt_kernel} -%else -%global _build_kernels %{?build_kernels:,%{?build_kernels}} +%if %{with kernel} +%define _duplicate_files_terminate_build 0 %endif %if %{without userspace} @@ -56,24 +40,21 @@ exit 1 %define _enable_debug_packages 0 %endif -%define kbrs %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo "BuildRequires:kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2" ; done) -%define kpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%kernel_pkg ; done) -%define bkpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%build_kernel_pkg ; done) -%define ikpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%install_kernel_pkg ; done) +%define qtver 4.8.0 -%define rel 3 +%define rel 1 %define pname VirtualBox Summary: VirtualBox - x86 hardware virtualizer Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel} -Version: 4.3.12 +Version: 5.0.4 Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}} License: GPL v2 Group: Applications/Emulators Source0: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}.tar.bz2 -# Source0-md5: b31908e98f6c271c59b97ce8154e31da +# Source0-md5: 499abc66de7bb74a9117bda75e43ec4d Source1: http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso -# Source1-md5: 0c4338e92c51a10cc25a01cd3052777c +# Source1-md5: 6bec1f5d0bf22841cad08b7973e95588 Source2: vboxservice.init Source3: vboxservice.service Source5: mount.vdi @@ -82,7 +63,7 @@ Source7: %{pname}-virtualbox-host-modules-load.conf Source8: %{pname}-virtualbox-guest-modules-load.conf Source9: vboxautostart.init Source10: autostart.cfg -Patch0: %{pname}-configure-spaces.patch +Patch0: %{pname}-version-error.patch Patch1: %{pname}-VBoxSysInfo.patch Patch2: %{pname}-warning_workaround.patch Patch3: %{pname}-dri.patch @@ -94,36 +75,47 @@ Patch8: lightdm-greeter-g++-link.patch Patch9: pld-guest.patch Patch10: 16-no-update.patch Patch11: 18-system-xorg.patch +Patch12: %{pname}-all-translations.patch +Patch13: x32.patch +Patch14: %{pname}-no-scrextend.patch +Patch15: %{pname}-vnc.patch URL: http://www.virtualbox.org/ %if %{with userspace} %ifarch %{x8664} -BuildRequires: gcc-multilib +BuildRequires: gcc-multilib-32 BuildRequires: glibc-devel(i686) -BuildRequires: libstdc++-multilib-devel -BuildRequires: libstdc++-multilib-static +BuildRequires: libstdc++-multilib-32-devel +BuildRequires: libstdc++-multilib-32-static %endif %if "%{pld_release}" == "ac" BuildRequires: XFree86-devel %else +BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXcomposite-devel BuildRequires: xorg-lib-libXcursor-devel +BuildRequires: xorg-lib-libXdamage-devel +BuildRequires: xorg-lib-libXext-devel +BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXmu-devel +BuildRequires: xorg-lib-libXrandr-devel BuildRequires: xorg-proto-glproto-devel BuildRequires: xorg-xserver-server-devel %endif BuildRequires: OpenGL-GLU-devel BuildRequires: OpenGL-devel -BuildRequires: QtGui-devel -BuildRequires: QtNetwork-devel -BuildRequires: QtOpenGL-devel +BuildRequires: QtCore-devel >= %{qtver} +BuildRequires: QtGui-devel >= %{qtver} +BuildRequires: QtNetwork-devel >= %{qtver} +BuildRequires: QtOpenGL-devel >= %{qtver} +BuildRequires: QtXml-devel >= %{qtver} BuildRequires: SDL-devel >= 1.2.7 BuildRequires: acpica BuildRequires: alsa-lib-devel >= 1.0.6 BuildRequires: bash BuildRequires: bcc BuildRequires: bin86 -BuildRequires: curl-devel -BuildRequires: device-mapper-devel +BuildRequires: curl-devel >= 7.19.1 +BuildRequires: device-mapper-devel >= 1.02 %{?with_doc:BuildRequires: docbook-dtd44-xml} BuildRequires: fakeroot %{?with_lightdm:BuildRequires: fltk-devel} @@ -139,22 +131,23 @@ BuildRequires: libstdc++-devel >= 5:3.2.3 BuildRequires: libstdc++-static >= 5:3.2.3 BuildRequires: libuuid-devel BuildRequires: libvncserver-devel >= 0.9.9 -BuildRequires: libvpx-devel +BuildRequires: libvpx-devel >= 0.9.5 BuildRequires: libxml2-devel >= 2.6.26 BuildRequires: libxslt-devel >= 1.1.17 BuildRequires: libxslt-progs >= 1.1.17 -%{?with_lightdm:BuildRequires: lightdm-libs-qt-devel} +%{?with_lightdm:BuildRequires: lightdm-libs-qt4-devel} BuildRequires: makeself BuildRequires: mkisofs +BuildRequires: openssl-devel >= 0.9.8 BuildRequires: pam-devel BuildRequires: pixman-devel BuildRequires: pkgconfig BuildRequires: pulseaudio-devel >= 0.9.0 -BuildRequires: python-devel +BuildRequires: python-devel >= 2.3 BuildRequires: python-modules -BuildRequires: qt4-build >= 4.2.0 +BuildRequires: qt4-build BuildRequires: qt4-linguist -BuildRequires: rpmbuild(macros) >= 1.678 +BuildRequires: rpmbuild(macros) >= 1.701 BuildRequires: sed >= 4.0 %if %{with doc} BuildRequires: texlive-fonts-bitstream @@ -167,10 +160,10 @@ BuildRequires: texlive-xetex BuildRequires: which BuildRequires: xalan-c-devel >= 1.10.0 BuildRequires: xerces-c-devel >= 2.6.0 -BuildRequires: yasm +BuildRequires: yasm >= 0.5.1 BuildRequires: zlib-devel >= 1.2.1 %endif -%{?with_dist_kernel:%{expand:%kbrs}} +%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}} Requires(post,preun): /sbin/chkconfig Requires(postun): /usr/sbin/groupdel Requires(pre): /usr/bin/getgid @@ -179,7 +172,7 @@ Requires: libvncserver >= 0.9.9 Requires: udev-core Provides: group(vbox) Obsoletes: VirtualBox-udev < 4.2.10-5 -ExclusiveArch: %{ix86} %{x8664} +ExclusiveArch: %{ix86} %{x8664} x32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %ifarch %{x8664} @@ -240,7 +233,7 @@ konfigurację maszyny wirtualnej na inny komputer. Summary: Qt GUI part for VirtualBox Group: X11/Applications Requires: %{name} = %{version}-%{release} -Requires: QtCore >= 4.7.0 +Requires: QtCore >= %{qtver} Requires: desktop-file-utils Requires: desktop-file-utils Requires: fontconfig @@ -353,8 +346,7 @@ Group: X11/Applications Requires: Mesa-dri-driver-swrast Requires: xorg-xserver-libdri >= 1.7.4 Requires: xorg-xserver-server >= 1.0.99.901 -Requires: xorg-xserver-server(videodrv-abi) <= 15.0 -Requires: xorg-xserver-server(videodrv-abi) >= 2.0 +%{?requires_xorg_xserver_videodrv} Provides: OpenGL = 2.1 Provides: OpenGL-GLX = 1.3 Provides: xorg-driver-video @@ -422,11 +414,9 @@ Requires(post,postun): /sbin/depmod\ Requires(post): systemd-units >= 38\ Requires: dev >= 2.9.0-7\ Requires: systemd-units >= 38\ -%if %{with dist_kernel}\ %requires_releq_kernel\ Requires: %{releq_kernel -n drm}\ Requires(postun): %releq_kernel\ -%endif\ Provides: kernel(vboxguest) = %{version}-%{rel}\ Provides: kernel(vboxsf) = %{version}-%{rel}\ Provides: kernel(vboxvideo) = %{version}-%{rel}\ @@ -451,10 +441,8 @@ Group: Base/Kernel\ Requires(post,postun): /sbin/depmod\ Requires(post): systemd-units >= 38\ Requires: dev >= 2.9.0-7\ -%if %{with dist_kernel}\ %requires_releq_kernel\ Requires(postun): %releq_kernel\ -%endif\ Requires: systemd-units >= 38\ Provides: kernel(vboxdrv) = %{version}-%{rel}\ Provides: kernel(vboxnetadp) = %{version}-%{rel}\ @@ -515,16 +503,10 @@ cp -a vboxguest/Module.symvers vboxsf\ %build_kernel_modules -m vboxsf -C vboxsf -c\ %build_kernel_modules -m vboxvideo -C vboxvideo\ cd ../..\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/HostDrivers/vboxdrv/vboxdrv -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/HostDrivers/vboxnetadp/vboxnetadp -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/HostDrivers/vboxnetflt/vboxnetflt -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/HostDrivers/vboxpci/vboxpci -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/GuestDrivers/vboxguest/vboxguest -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/GuestDrivers/vboxsf/vboxsf -d misc\ -%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/GuestDrivers/vboxvideo/vboxvideo -d misc\ +%install_kernel_modules -D PLD-MODULE-BUILD/installed -m PLD-MODULE-BUILD/HostDrivers/vboxdrv/vboxdrv,PLD-MODULE-BUILD/HostDrivers/vboxnetadp/vboxnetadp,PLD-MODULE-BUILD/HostDrivers/vboxnetflt/vboxnetflt,PLD-MODULE-BUILD/HostDrivers/vboxpci/vboxpci,PLD-MODULE-BUILD/GuestDrivers/vboxguest/vboxguest,PLD-MODULE-BUILD/GuestDrivers/vboxsf/vboxsf,PLD-MODULE-BUILD/GuestDrivers/vboxvideo/vboxvideo -d misc\ %{nil} -%{?with_kernel:%{expand:%kpkg}} +%{?with_kernel:%{expand:%create_kernel_packages}} %prep %setup -q -n %{pname}-%{version} @@ -540,6 +522,12 @@ cd ../..\ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%if %{with all_langs} +%patch12 -p0 +%endif +%patch13 -p1 +%patch14 -p1 +%patch15 -p0 %{__sed} -i -e 's,@VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \ -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in @@ -568,6 +556,11 @@ cd - cp -p src/VBox/Frontends/VirtualBox/images/os_{linux26,pld}.png cp -p src/VBox/Frontends/VirtualBox/images/os_{linux26,pld}_64.png +# don't force whole userspace to be built with -fPIC +# see https://www.virtualbox.org/pipermail/vbox-dev/2015-February/012863.html +%define filterout_c -fPIC +%define filterout_cxx -fPIC + cat <<'EOF'>> LocalConfig.kmk %{?with_verbose:KBUILD_VERBOSE=3} USERNAME=%(id -un) @@ -589,12 +582,16 @@ VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) VBOX_WITH_ORIGIN := VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) #VBOX_PATH_APP_DOCS := %{_docdir}/%{pname}-doc-%{version} +VBOX_PATH_DOCBOOK_DTD := %{_datadir}/sgml/docbook/xml-dtd-4.4 # don't build testcases to save time, they are not needed for the package VBOX_WITH_TESTCASES := VBOX_WITH_TESTSUITE := EOF +%undefine filterout_c +%undefine filterout_cxx + %build %if %{with userspace} ./configure \ @@ -605,6 +602,7 @@ EOF --disable-hardening \ --disable-kmods \ --enable-vnc \ + %{!?with_gui:--disable-qt} \ %{__enable webservice} \ %{nil} @@ -613,7 +611,7 @@ kmk %{?_smp_mflags} %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/{mount.vboxsf.c,vbsfmount.c} -o mount.vboxsf %endif -%{?with_kernel:%{expand:%bkpkg}} +%{?with_kernel:%{expand:%build_kernel_packages}} %install rm -rf $RPM_BUILD_ROOT @@ -633,7 +631,13 @@ if cp -al COPYING $RPM_BUILD_ROOT/COPYING; then fi cp -a$l %{outdir}/* $RPM_BUILD_ROOT%{_libdir}/%{pname} -cp -a$l %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/VBoxGuestAdditions.iso +cp -p$l %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/VBoxGuestAdditions.iso || +cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/VBoxGuestAdditions.iso + +%if %{without gui} +%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/icons +%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{pname}/virtualbox.xml +%endif # vboxvideo %{__mv} $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/VBoxOGL.so,%{_libdir}/xorg/modules/dri/vboxvideo_dri.so} @@ -711,10 +715,11 @@ fakeroot sh -x $RPM_BUILD_ROOT%{_libdir}/%{pname}/scripts/install.sh \ --ose \ --prefix %{_prefix} \ %{!?with_webservice:--no-web-service} \ + %{!?with_gui:--no-qt} \ --root $RPM_BUILD_ROOT %{__mv} $RPM_BUILD_ROOT{%{_datadir}/%{pname},/lib/udev}/VBoxCreateUSBNode.sh -cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules +cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/udev/rules.d/60-vboxdrv.rules %if %{with dkms} mv $RPM_BUILD_ROOT%{_datadir}/%{pname}/src $RPM_BUILD_ROOT%{_usrsrc}/vboxhost-%{version}-%{rel} @@ -727,7 +732,6 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{pname}/src $RPM_BUILD_ROOT%{_usrsrc}/vboxhost-%{ %{__rm} -r $RPM_BUILD_ROOT%{_bindir}/vboxheadless %{__rm} -r $RPM_BUILD_ROOT%{_bindir}/vboxmanage %{__rm} -r $RPM_BUILD_ROOT%{_bindir}/vboxsdl -%{__rm} -r $RPM_BUILD_ROOT%{_bindir}/virtualbox # cleanup unpackaged %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/{sdk,testcase} @@ -738,16 +742,23 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{pname}/src $RPM_BUILD_ROOT%{_usrsrc}/vboxhost-%{ %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{pname}/ExtensionPacks/VNC/ExtPack-license.* %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/vboxapi* +%if %{with gui} +# cleanup lowercased variants, not used in any script (less cruft) +%{__rm} -r $RPM_BUILD_ROOT%{_bindir}/virtualbox # weird icon size %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/hicolor/40x40 +%endif + # duplicate, we already have virtualbox.png (128x128), this is 32x32 %{__rm} -r $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png %if %{with doc} ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual.pdf +%if %{with all_langs} ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual_fr_FR.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual_fr_FR.pdf %endif %endif +%endif %if %{with kernel} install -d $RPM_BUILD_ROOT{/etc/modules-load.d,/sbin} @@ -840,23 +851,19 @@ fi %addusertogroup xdm vbox %post -n dkms-vboxguest -set -x dkms add -m vboxguest -v %{version}-%{rel} --rpm_safe_upgrade && \ dkms build -m vboxguest -v %{version}-%{rel} --rpm_safe_upgrade && \ dkms install -m vboxguest -v %{version}-%{rel} --rpm_safe_upgrade || : %preun -n dkms-vboxguest -set -x dkms remove -m vboxguest -v %{version}-%{rel} --rpm_safe_upgrade --all || : %post -n dkms-vboxhost -set -x dkms add -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade && \ dkms build -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade && \ dkms install -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade || : %preun -n dkms-vboxhost -set -x dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %if %{with userspace} @@ -870,13 +877,15 @@ dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %attr(755,root,root) %{_bindir}/VBox %attr(755,root,root) %{_bindir}/VBoxAutostart %attr(755,root,root) %{_bindir}/VBoxBalloonCtrl +%attr(755,root,root) %{_bindir}/VBoxDTrace %attr(755,root,root) %{_bindir}/VBoxHeadless %attr(755,root,root) %{_bindir}/VBoxManage %attr(755,root,root) %{_bindir}/VBoxSDL %attr(755,root,root) %{_bindir}/VBoxTunctl +%attr(755,root,root) %{_bindir}/vbox-img %dir %{_libdir}/%{pname} # libraries -%attr(755,root,root) %{_libdir}/%{pname}/DBGCPlugInDiggers.so +%attr(755,root,root) %{_libdir}/%{pname}/DbgPlugInDiggers.so %attr(755,root,root) %{_libdir}/%{pname}/VBoxAuth.so %attr(755,root,root) %{_libdir}/%{pname}/VBoxAuthSimple.so %attr(755,root,root) %{_libdir}/%{pname}/VBoxDD.so @@ -922,25 +931,43 @@ dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %if %{with doc} %attr(755,root,root) %{_libdir}/%{pname}/VBoxManageHelp %endif +%dir %{_libdir}/%{pname}/tools +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTDbgSymCache +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTGzip +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTLdrFlt +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTManifest +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTRm +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTShutdown +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTSignTool +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTTar +%attr(755,root,root) %{_libdir}/%{pname}/tools/RTUnzip +%attr(755,root,root) %{_libdir}/%{pname}/tools/scm %dir %{_libdir}/%{pname}/ExtensionPacks %{_libdir}/%{pname}/ExtensionPacks/VNC/ExtPack.xml %dir %{_libdir}/%{pname}/ExtensionPacks/VNC %dir %{_libdir}/%{pname}/ExtensionPacks/VNC/linux* %attr(755,root,root) %{_libdir}/%{pname}/ExtensionPacks/VNC/linux*/VBoxVNC*.so - -%{_libdir}/%{pname}/VBoxDD2GC.debug -%{_libdir}/%{pname}/VBoxDD2GC.gc +%dir %{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack +%{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/ExtPack.xml +%dir %{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux* +%attr(755,root,root) %{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux*/VBoxDTrace*.so +%{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux*/VBoxDTraceR0.debug +%{_libdir}/%{pname}/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux*/VBoxDTraceR0.r0 + +%{_libdir}/%{pname}/VBoxCpuReport %{_libdir}/%{pname}/VBoxDD2R0.debug %{_libdir}/%{pname}/VBoxDD2R0.r0 -%{_libdir}/%{pname}/VBoxDDGC.debug -%{_libdir}/%{pname}/VBoxDDGC.gc +%{_libdir}/%{pname}/VBoxDD2RC.debug +%{_libdir}/%{pname}/VBoxDD2RC.rc +%{_libdir}/%{pname}/VBoxDDRC.debug +%{_libdir}/%{pname}/VBoxDDRC.rc %{_libdir}/%{pname}/VBoxDDR0.debug %{_libdir}/%{pname}/VBoxDDR0.r0 %{_libdir}/%{pname}/VBoxEFI32.fd %{_libdir}/%{pname}/VBoxEFI64.fd -%{_libdir}/%{pname}/VMMGC.debug -%{_libdir}/%{pname}/VMMGC.gc +%{_libdir}/%{pname}/VMMRC.debug +%{_libdir}/%{pname}/VMMRC.rc %{_libdir}/%{pname}/VMMR0.debug %{_libdir}/%{pname}/VMMR0.r0 @@ -954,9 +981,10 @@ dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %dir %{_datadir}/%{pname} %attr(755,root,root) %{_datadir}/%{pname}/VBoxSysInfo.sh -%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules +%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/*.rules %attr(755,root,root) /lib/udev/VBoxCreateUSBNode.sh +%if %{with gui} %files gui %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/VirtualBox @@ -1003,6 +1031,7 @@ dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %{_iconsdir}/hicolor/*/apps/virtualbox.svg %{_iconsdir}/hicolor/*/mimetypes/virtualbox-*.png %{_datadir}/mime/packages/virtualbox.xml +%endif %files additions %defattr(644,root,root,755) @@ -1046,11 +1075,15 @@ dkms remove -m vboxhost -v %{version}-%{rel} --rpm_safe_upgrade --all || : %defattr(644,root,root,755) # this is a symlink... %doc %{_libdir}/%{pname}/UserManual.pdf +%if %{with all_langs} %lang(fr) %doc %{_libdir}/%{pname}/UserManual_fr_FR.pdf +%endif # ..to this file %doc %{outdir}/UserManual.pdf +%if %{with all_langs} %lang(fr) %doc %{outdir}/UserManual_fr_FR.pdf %endif +%endif %files -n xorg-driver-video-vboxvideo %defattr(644,root,root,755)