/[packages]/cauldron/virtualbox/current/SPECS/virtualbox.spec
ViewVC logotype

Contents of /cauldron/virtualbox/current/SPECS/virtualbox.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33306 - (show annotations) (download)
Sat Jan 22 22:26:19 2011 UTC (11 years ago) by ahmad
File size: 17120 byte(s)
SILENT: fix spec
1 %define ver 4.0.0
2 %define rel 2
3 %define version %{ver}%{?svndate:.%{svndate}}
4 %define release %mkrel %{rel}
5 %define kname vboxdrv
6 %define oname VirtualBox
7 %define srcname %{oname}-%{version}
8 %define distname %{oname}-%{version}_OSE
9 %define dirname vbox-ose
10 %define pkgver %{ver}%{?svndate:-%{svndate}}
11
12 %define vboxlibdir %{_libdir}/%{name}
13 %define vboxdatadir %{_datadir}/%{name}
14
15 %define build_additions 1
16 %define build_doc 1
17
18 %ifarch %{ix86}
19 %define vbox_platform linux.x86
20 %endif
21 %ifarch x86_64
22 %define vbox_platform linux.amd64
23 %endif
24
25 # nuke vbox-specific dependencies
26 %define _provides_exceptions ^VBox
27 %define _requires_exceptions ^VBox
28
29 %define x11_server_majorver %(pkg-config --modversion xorg-server|awk -F. '{print $1$2}')
30
31 Summary: A general-purpose full virtualizer for x86 hardware
32 Name: virtualbox
33 Version: %{version}
34 Release: %{release}
35 Source0: http://download.virtualbox.org/virtualbox/%ver/%{srcname}.tar.bz2
36 Source2: virtualbox.init
37 Source10: virtualbox.png
38 Source11: virtualbox.16.png
39 Source12: virtualbox.48.png
40 Patch1: VirtualBox-libpath.patch
41 Patch2: VirtualBox-1.5.6_OSE-kernelrelease.patch
42 Patch3: VirtualBox-1.6.0_OSE-futex.patch
43 Patch4: virtualbox-fix-vboxadd-req.patch
44 # (fc) 1.6.0-2mdv fix initscript name in VBox.sh script
45 Patch5: VirtualBox-1.6.0_OSE-initscriptname.patch
46 # (hk) fix build kernel-headers-2.6.29*
47 Patch6: VirtualBox-kernel-headers-2.6.29.patch
48 # (fc) 2.2.0-1mdv disable update notification (Debian)
49 Patch7: 16-no-update.patch
50 #Patch8: virtualbox-default-to-mandriva.patch
51
52 # don't check for:
53 # - mkisofs: we're not going to build the additions .iso file
54 # - makeself: we're not going to create the stanalone .run installers
55 Patch9: virtualbox-4.0.0-dont-check-for-mkisofs-or-makeself.patch
56
57 License: GPLv2
58 Group: Emulators
59 Url: http://www.virtualbox.org/
60 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
61 ExclusiveArch: %{ix86} x86_64
62 Requires(post): rpm-helper
63 Requires(preun): rpm-helper
64 Requires(postun): rpm-helper
65 Requires: kmod(vboxdrv) = %{version}
66 Conflicts: dkms-%{name} <= 1.5.0-%{mkrel 4}
67 Suggests: %{name}-doc
68 BuildRequires: dev86, iasl
69 BuildRequires: zlib-devel
70 BuildRequires: libxcursor-devel
71 BuildRequires: libxmu-devel
72 BuildRequires: SDL-devel, libqt4-devel >= 4.4.0
73 BuildRequires: qt4-linguist
74 BuildRequires: libIDL-devel, libext2fs-devel
75 BuildRequires: libxslt-proc, libxslt-devel
76 BuildRequires: hal-devel, libxt-devel, libstdc++-static-devel
77 BuildRequires: python-devel
78 BuildRequires: libcap-devel
79 BuildRequires: libxrandr-devel libxinerama-devel
80 BuildRequires: pulseaudio-devel
81 BuildRequires: kernel-devel-latest
82 BuildRequires: mesaglu-devel mesagl-devel libxmu-devel
83 BuildRequires: gsoap
84 BuildRequires: openssl-devel
85 BuildRequires: curl-devel
86 BuildRequires: dkms-minimal
87 BuildRequires: libpam-devel
88 BuildRequires: gawk
89 BuildRequires: x11-server-devel
90 BuildRequires: java-rpmbuild
91 %if %build_doc
92 # for building the user manual pdf file
93 BuildRequires: tetex-latex
94 %endif
95 BuildRequires: libxslt-devel
96
97 %description
98 VirtualBox Open Source Edition (OSE) is a general-purpose full
99 virtualizer for x86 hardware.
100
101 %package -n dkms-%{name}
102 Summary: VirtualBox OSE kernel module
103 Group: System/Kernel and hardware
104 Requires(post): dkms
105 Requires(preun): dkms
106 Conflicts: dkms-vboxadditions
107
108 %description -n dkms-%{name}
109 Kernel support for VirtualBox OSE.
110
111 %if %{build_additions}
112 %package guest-additions
113 Summary: Additions for VirtualBox OSE guest systems
114 Group: Emulators
115 Requires: kmod(vboxguest)
116 Requires: kmod(vboxsf)
117 Requires: kmod(vboxvideo)
118 Requires: x11-driver-input-vboxmouse
119 Requires: x11-driver-video-vboxvideo
120 Requires(post): rpm-helper
121 Requires(preun): rpm-helper
122
123 %description guest-additions
124 This packages contains additions for VirtualBox OSE guest systems.
125 It allows to share files with the host system, copy/paste between
126 guest and host, and sync time with host.
127
128 %package -n dkms-vboxadditions
129 Summary: Kernel module for VirtualBox OSE additions
130 Group: System/Kernel and hardware
131 Requires(post): dkms
132 Requires(preun): dkms
133 Obsoletes: dkms-vboxadd < %{version}-%{release}
134 Provides: dkms-vboxvfs = %{version}-%{release}
135 Obsoletes: dkms-vboxvfs < %{version}-%{release}
136 Provides: dkms-vboxsf = %{version}-%{release}
137 Obsoletes: dkms-vboxsf < %{version}-%{release}
138 Provides: dkms-vboxvideo = %{version}-%{release}
139 Obsoletes: dkms-vboxvideo < %{version}-%{release}
140 Conflicts: dkms-%{name}
141
142 %description -n dkms-vboxadditions
143 Kernel module for VirtualBox OSE additions.
144
145 %package -n x11-driver-input-vboxmouse
146 Summary: The X.org driver for mouse in VirtualBox guests
147 Group: System/X11
148 Suggests: virtualbox-guest-additions
149 Requires: x11-server-common %(xserver-sdk-abi-requires xinput)
150
151 %description -n x11-driver-input-vboxmouse
152 The X.org driver for mouse in VirtualBox guests
153
154 %package -n x11-driver-video-vboxvideo
155 Summary: The X.org driver for video in VirtualBox guests
156 Group: System/X11
157 Suggests: virtualbox-guest-additions
158 Requires: x11-server-common %(xserver-sdk-abi-requires videodrv)
159
160
161 %description -n x11-driver-video-vboxvideo
162 The X.org driver for video in VirtualBox guests
163 %endif
164
165 %if %build_doc
166 %package doc
167 Summary: The user manual PDF file for %{name}
168 Group: System/X11
169
170 %description doc
171 This package contains the user manual PDF file for %{name}.
172 %endif
173
174 %prep
175 %setup -q -n %{distname}
176 %patch1 -p1 -b .libpath-3.2.6
177 %patch2 -p1 -b .kernelrelease
178 %patch3 -p1 -b .futex
179 %patch4 -p1 -b .fix-timesync-req
180 %patch5 -p1 -b .initscriptname
181 %patch6 -p1 -b .kernel-headers-2.6.29
182 %patch7 -p1 -b .disable-update
183 #%patch8 -p1 -b .default-to-mandriva
184
185 %patch9 -p1 -b .mkisofs-makeself
186
187 rm -rf fake-linux/
188 cp -a $(ls -1dtr /usr/src/linux-* | tail -n 1) fake-linux
189
190 cat << EOF > LocalConfig.kmk
191 VBOX_PATH_APP_PRIVATE_ARCH:=%{vboxlibdir}
192 VBOX_WITH_ORIGIN:=
193 VBOX_WITH_RUNPATH:=%{vboxlibdir}
194 VBOX_PATH_APP_PRIVATE:=%{vboxdatadir}
195 VBOX_WITH_TESTCASES =
196 VBOX_WITH_TESTSUITE:=
197 VBOX_JAVA_HOME := %{java_home}
198 VBOX_WITHOUT_ADDITIONS_ISO := 1
199 EOF
200
201 %build
202 #make -C fake-linux prepare
203 export LIBPATH_LIB="%{_lib}"
204 ./configure --enable-webservice \
205 --with-linux=$PWD/fake-linux \
206 --disable-pulse \
207 %if ! %build_doc
208 --disable-docs
209 %endif
210
211 %if !%{build_additions}
212 sed -rie 's/(VBOX_WITH_LINUX_ADDITIONS\s+:=\s+).*/\1/' AutoConfig.kmk
213 echo VBOX_WITHOUT_ADDITIONS=1 >> LocalConfig.kmk
214 %endif
215
216 . ./env.sh
217 kmk %_smp_mflags all
218
219 %install
220 rm -rf %{buildroot}
221
222 # install vbox components
223 mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir}
224
225 (cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \
226 (cd %{buildroot}%{vboxlibdir} && tar xf -)
227
228 # move noarch files to vboxdatadir
229 mv %{buildroot}%{vboxlibdir}/{VBox*.sh,nls,*.desktop,*.png} %{buildroot}%{vboxdatadir}
230
231 # install service
232 mkdir -p %{buildroot}%{_initrddir}
233 install -m755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name}
234
235 # install wrappers
236 mkdir -p %{buildroot}%{_sysconfdir}/vbox
237 cat > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg << EOF
238 # VirtualBox installation directory
239 INSTALL_DIR="%{vboxlibdir}"
240 EOF
241 mkdir -p %{buildroot}%{_bindir}
242 ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/%{oname}
243 ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxManage
244 ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxSDL
245 ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxHeadless
246 ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/vboxwebsrv
247
248 # provide network control tools in bindir
249 ln -s %{vboxlibdir}/VBoxTunctl %{buildroot}%{_bindir}/VBoxTunctl
250 ln -s %{vboxlibdir}/VBoxNetAdpCtl %{buildroot}%{_bindir}/VBoxNetAdpCtl
251 ln -s %{vboxlibdir}/VBoxNetDHCP %{buildroot}%{_bindir}/VBoxNetDHCP
252
253 install -d %{buildroot}/var/run/%{oname}
254
255 # install dkms sources
256 mkdir -p %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
257 cat > vboxbuild << EOF
258 #!/bin/sh
259 set -e
260 make -C %{kname} KERN_DIR=\$1
261 cp -f %{kname}/Module.symvers vboxnetflt
262 cp -f %{kname}/Module.symvers vboxnetadp
263 make -C vboxnetflt KERN_DIR=\$1
264 make -C vboxnetadp KERN_DIR=\$1
265 EOF
266 install -m 0755 vboxbuild %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
267 mv %{buildroot}%{vboxlibdir}/src/* %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
268 cat > %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/dkms.conf << EOF
269 MAKE[0]="./vboxbuild \$kernel_source_dir"
270 PACKAGE_NAME=%{name}
271 PACKAGE_VERSION=%{version}-%{release}
272 DEST_MODULE_LOCATION[0]=/kernel/3rdparty/vbox
273 BUILT_MODULE_LOCATION[0]=%{kname}/
274 BUILT_MODULE_NAME[0]=%{kname}
275 DEST_MODULE_LOCATION[1]=/kernel/3rdparty/vbox
276 BUILT_MODULE_LOCATION[1]=vboxnetflt/
277 BUILT_MODULE_NAME[1]=vboxnetflt
278 DEST_MODULE_LOCATION[2]=/kernel/3rdparty/vbox
279 BUILT_MODULE_LOCATION[2]=vboxnetadp/
280 BUILT_MODULE_NAME[2]=vboxnetadp
281 AUTOINSTALL=yes
282 EOF
283
284 # install udev rules
285 mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d/
286 cat > %{buildroot}%{_sysconfdir}/udev/rules.d/%{name}.rules << EOF
287 KERNEL=="%{kname}", MODE="0600"
288 EOF
289 cat > %{buildroot}%{_sysconfdir}/udev/rules.d/vbox-additions.rules << EOF
290 KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660"
291 KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0666"
292 EOF
293
294 # install additions
295 %if %{build_additions}
296 # vboxadd-timesync should probably be renamed vboxadd now, but renaming initscripts
297 # cleanly is hacky business
298 install -m755 src/VBox/Additions/linux/installer/vboxadd-service.sh %{buildroot}%{_initrddir}/vboxadd-timesync
299
300 # install the udev rule and 50-vboxmouse.conf for newer releases with Xserver >= 1.9
301 install -m644 src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules %{buildroot}%{_sysconfdir}/udev/rules.d/
302 install -D -m644 src/VBox/Additions/x11/Installer/50-vboxmouse.conf %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/50-vboxmouse.conf
303
304 install -d %{buildroot}%{_sysconfdir}/X11/xinit.d
305 install -m755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit.d
306
307 pushd out/%{vbox_platform}/release/bin/additions
308 install -d %{buildroot}/sbin %{buildroot}%{_sbindir} %{buildroot}/%{_libdir}/dri
309 install -m755 mount.vboxsf %{buildroot}/sbin/mount.vboxsf
310 install -m755 VBoxService %{buildroot}%{_sbindir}
311
312 install -m755 VBoxClient %{buildroot}%{_bindir}
313 install -m755 VBoxControl %{buildroot}%{_bindir}
314
315 install -m755 VBoxOGL*.so %{buildroot}%{_libdir}
316 ln -s -f ../VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so
317
318 install -d %{buildroot}%{_sysconfdir}/modprobe.preload.d
319 cat > %{buildroot}%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions << EOF
320 vboxguest
321 EOF
322 install -d %{buildroot}%{_libdir}/xorg/modules/{input,drivers}
323 install vboxmouse_drv_%{x11_server_majorver}.so %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so
324 install vboxvideo_drv_%{x11_server_majorver}.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
325
326 mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}
327 cat > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
328 PACKAGE_NAME=vboxadditions
329 PACKAGE_VERSION=%{version}-%{release}
330 MAKE[0]="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest &&
331 cp \$dkms_tree/\$module/\$module_version/build/vboxguest/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxsf &&
332 make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf &&
333 cp \$dkms_tree/\$module/\$module_version/build/vboxsf/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxvideo &&
334 make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo"
335 EOF
336 i=0
337 for kmod in vboxguest vboxsf vboxvideo; do
338 mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod
339 cp -a src/$kmod/* %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod/
340 cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
341 DEST_MODULE_LOCATION[$i]=/kernel/3rdparty/vbox
342 BUILT_MODULE_LOCATION[$i]=$kmod/
343 BUILT_MODULE_NAME[$i]=$kmod
344 EOF
345 i=$((i+1))
346 done
347 cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
348 CLEAN="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean &&
349 make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean &&
350 make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo clean "
351 AUTOINSTALL=yes
352 EOF
353 popd
354 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
355 %endif
356
357 # install icons
358 mkdir -p %{buildroot}%{_iconsdir}
359 install -m644 %{SOURCE10} %{buildroot}%{_iconsdir}/%{name}.png
360 mkdir -p %{buildroot}%{_miconsdir}
361 install -m644 %{SOURCE11} %{buildroot}%{_miconsdir}/%{name}.png
362 mkdir -p %{buildroot}%{_liconsdir}
363 install -m644 %{SOURCE12} %{buildroot}%{_liconsdir}/%{name}.png
364
365 # install menu entries
366
367 mkdir -p %{buildroot}%{_datadir}/applications
368 cat > %{buildroot}%{_datadir}/applications/mageia-%{name}.desktop << EOF
369 [Desktop Entry]
370 Name=VirtualBox OSE
371 Comment=Full virtualizer for x86 hardware
372 Exec=%{_bindir}/%{oname}
373 Icon=%{name}
374 Type=Application
375 Terminal=false
376 Categories=X-MandrivaLinux-MoreApplications-Emulators;Emulator;
377 EOF
378
379 # add missing makefile for kernel module
380 install -m644 src/VBox/HostDrivers/Support/linux/Makefile %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
381
382 # remove unpackaged files
383 rm -rf %{buildroot}%{vboxlibdir}/{src,sdk,testcase}
384 rm -f %{buildroot}%{vboxlibdir}/tst*
385 rm -f %{buildroot}%{vboxlibdir}/vboxkeyboard.tar.gz
386 rm -f %{buildroot}%{vboxlibdir}/SUP*
387 rm -f %{buildroot}%{vboxlibdir}/xpidl
388
389 # install PAM module:
390 install -D -m755 out/%{vbox_platform}/release/bin/additions/pam_vbox.so %{buildroot}/%{_lib}/security/pam_vbox.so
391
392 %clean
393 rm -rf %{buildroot}
394
395 %post
396 %_post_service %{name}
397
398 %postun
399 if [ "$1" -ge "1" ]; then
400 /sbin/service %{name} condrestart > /dev/null 2>&1 || :
401 fi
402
403 %preun
404 %_preun_service %{name}
405
406 %post -n dkms-%{name}
407 set -x
408 /usr/sbin/dkms --rpm_safe_upgrade add -m %{name} -v %{version}-%{release}
409 /usr/sbin/dkms --rpm_safe_upgrade build -m %{name} -v %{version}-%{release} &&
410 /usr/sbin/dkms --rpm_safe_upgrade install -m %{name} -v %{version}-%{release}
411 /sbin/rmmod vboxnetflt &>/dev/null
412 /sbin/rmmod vboxnetadp &>/dev/null
413 /sbin/rmmod %{kname} &>/dev/null
414 /sbin/modprobe %{kname} &>/dev/null
415 /sbin/modprobe vboxnetflt &>/dev/null
416 /sbin/modprobe vboxnetadp &>/dev/null
417 :
418
419 %preun -n dkms-%{name}
420 if [ "$1" = "0" ]; then
421 /sbin/rmmod vboxnetadp >/dev/null 2>&1
422 /sbin/rmmod vboxnetflt >/dev/null 2>&1
423 /sbin/rmmod %{kname} >/dev/null 2>&1
424 fi
425 set -x
426 /usr/sbin/dkms --rpm_safe_upgrade remove -m %{name} -v %{version}-%{release} --all || :
427
428 %if %{build_additions}
429 %post guest-additions
430 %_post_service vboxadd-timesync
431
432 %preun guest-additions
433 %_preun_service vboxadd-timesync
434
435 %post -n dkms-vboxadditions
436 set -x
437 /usr/sbin/dkms --rpm_safe_upgrade add -m vboxadditions -v %{version}-%{release}
438 /usr/sbin/dkms --rpm_safe_upgrade build -m vboxadditions -v %{version}-%{release} &&
439 /usr/sbin/dkms --rpm_safe_upgrade install -m vboxadditions -v %{version}-%{release}
440 :
441
442 %preun -n dkms-vboxadditions
443 set -x
444 /usr/sbin/dkms --rpm_safe_upgrade remove -m vboxadditions -v %{version}-%{release} --all
445 :
446
447 %endif
448
449 %files
450 %defattr(-,root,root)
451 %config %{_sysconfdir}/vbox/vbox.cfg
452 %{_bindir}/%{oname}
453 %{_bindir}/VBoxManage
454 %{_bindir}/VBoxSDL
455 %{_bindir}/VBoxHeadless
456 %{_bindir}/VBoxTunctl
457 %{_bindir}/VBoxNetAdpCtl
458 %{_bindir}/VBoxNetDHCP
459 %{_bindir}/vboxwebsrv
460 %{vboxlibdir}
461 %attr(4711,root,root) %{vboxlibdir}/VBoxHeadless
462 %attr(4711,root,root) %{vboxlibdir}/VBoxSDL
463 %attr(4711,root,root) %{vboxlibdir}/VirtualBox
464 %attr(4711,root,root) %{vboxlibdir}/VBoxNetAdpCtl
465 %attr(4711,root,root) %{vboxlibdir}/VBoxNetDHCP
466 %attr(644,root,root) %{vboxlibdir}/*.gc
467 %attr(644,root,root) %{vboxlibdir}/*.r0
468 %if %build_doc
469 %exclude %{vboxlibdir}/UserManual.pdf
470 %endif
471 %{vboxdatadir}
472 # initscripts integration
473 %{_initrddir}/%{name}
474 %config %{_sysconfdir}/udev/rules.d/%{name}.rules
475 %dir /var/run/%{oname}
476 # desktop integration
477 %{_iconsdir}/*.png
478 %{_miconsdir}/*.png
479 %{_liconsdir}/*.png
480 %{_datadir}/applications/mageia-%{name}.desktop
481
482 %files -n dkms-%{name}
483 %defattr(-,root,root)
484 %{_usr}/src/%{name}-%{version}-%{release}
485
486 %if %{build_additions}
487 %files guest-additions
488 %defattr(-,root,root)
489 /%{_lib}/security/pam_vbox.so
490 /sbin/mount.vboxsf
491 %{_initrddir}/vboxadd-timesync
492 %{_sbindir}/VBoxService
493 %{_bindir}/VBoxClient
494 %{_bindir}/VBoxControl
495 %{_sysconfdir}/udev/rules.d/vbox-additions.rules
496 %{_sysconfdir}/X11/xinit.d/98vboxadd-xclient
497 %{_sysconfdir}/modprobe.preload.d/vbox-guest-additions
498
499 %files -n x11-driver-input-vboxmouse
500 %defattr(-,root,root)
501 %{_libdir}/xorg/modules/input/vboxmouse_drv.so
502 %{_sysconfdir}/udev/rules.d/70-xorg-vboxmouse.rules
503 %{_sysconfdir}/X11/xorg.conf.d/50-vboxmouse.conf
504
505 %files -n x11-driver-video-vboxvideo
506 %defattr(-,root,root)
507 %{_libdir}/VBoxOGL*
508 %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
509 %{_libdir}/dri/vboxvideo_dri.so
510
511 %files -n dkms-vboxadditions
512 %defattr(-,root,root)
513 %{_usr}/src/vbox*-%{version}-%{release}
514
515 %endif
516
517 %if %build_doc
518 %files doc
519 %defattr(-,root,root)
520 %{vboxlibdir}/UserManual.pdf
521 %endif

  ViewVC Help
Powered by ViewVC 1.1.28