]>
Commit | Line | Data |
---|---|---|
48363591 | 1 | # |
744bc35e JR |
2 | # TODO |
3 | # - java bindings | |
74268e47 | 4 | # - Find how to compile with PLD CFLAGS/CXXFLAGS/LDFLAGS. |
74268e47 | 5 | # - Package SDK. |
09c79ddb | 6 | # - Package utils (and write initscripts ?) for Guest OS. |
ffb38bb6 | 7 | # - Check License of VBoxGuestAdditions_*.iso, it's probably not GPL v2. |
5f8b0a92 | 8 | # If so check if it is distributable. |
89973837 ER |
9 | # - resolve mess with subpackages? |
10 | # - addtions: iso (containing additions/*.iso) | |
11 | # - guest: to be installed to guests (deps on x11 drivers) | |
48363591 | 12 | # |
13 | # Conditional build: | |
8da42f47 | 14 | %bcond_without doc # don't build the documentation |
48363591 | 15 | %bcond_without dist_kernel # without distribution kernel |
d1c4ec5b | 16 | %bcond_without kernel # don't build kernel module |
d1c4ec5b | 17 | %bcond_without userspace # don't build userspace package |
cc9d49be | 18 | %bcond_with force_userspace # force userspace build (useful if alt_kernel is set) |
b29bcb41 | 19 | %bcond_with verbose |
05f1b1f5 | 20 | |
8833bce1 | 21 | %if %{without kernel} |
22 | %undefine with_dist_kernel | |
23 | %endif | |
bd3faca3 | 24 | %if "%{_alt_kernel}" != "%{nil}" |
25 | %undefine with_userspace | |
26 | %endif | |
cc9d49be AG |
27 | %if %{with force_userspace} |
28 | %define with_userspace 1 | |
29 | %endif | |
05f9288a ER |
30 | %if %{without userspace} |
31 | # nothing to be placed to debuginfo package | |
32 | %define _enable_debug_packages 0 | |
33 | %endif | |
bd3faca3 | 34 | |
04426603 | 35 | %define rel 1 |
33aeed61 | 36 | %define pname VirtualBox |
393ec35d ER |
37 | Summary: VirtualBox - x86 hardware virtualizer |
38 | Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 | |
33aeed61 | 39 | Name: %{pname}%{_alt_kernel} |
04426603 | 40 | Version: 4.2.2 |
fe3d1798 | 41 | Release: %{rel} |
48363591 | 42 | License: GPL v2 |
43 | Group: Applications/Emulators | |
33aeed61 | 44 | Source0: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}.tar.bz2 |
04426603 | 45 | # Source0-md5: 2b65dcd9649e56ac6338670b3fb4a14d |
744bc35e | 46 | Source1: http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso |
04426603 | 47 | # Source1-md5: 5336ec5a543549df7b5792b050376aa6 |
33aeed61 JR |
48 | Source3: %{pname}-vboxdrv.init |
49 | Source4: %{pname}-vboxguest.init | |
50 | Source5: %{pname}-vboxnetflt.init | |
51 | Source6: %{pname}-vboxsf.init | |
52 | Source7: %{pname}-vboxnetadp.init | |
53 | Source8: %{pname}-vboxpci.init | |
54 | Source9: %{pname}.sh | |
59d12745 KK |
55 | Source10: mount.vdi |
56 | Source11: udev.rules | |
33aeed61 JR |
57 | Source12: %{pname}-vboxdrv-modules-load.conf |
58 | Source13: %{pname}-vboxguest-modules-load.conf | |
59 | Source14: %{pname}-vboxnetflt-modules-load.conf | |
60 | Source15: %{pname}-vboxsf-modules-load.conf | |
61 | Source16: %{pname}-vboxnetadp-modules-load.conf | |
62 | Source17: %{pname}-vboxpci-modules-load.conf | |
63 | Patch0: %{pname}-configure-spaces.patch | |
64 | Patch1: %{pname}-export_modules.patch | |
65 | Patch2: %{pname}-VBoxSysInfo.patch | |
66 | Patch3: %{pname}-warning_workaround.patch | |
04e24f9c KK |
67 | Patch4: %{pname}-dri.patch |
68 | Patch5: %{pname}-disable_build_NetBiosBin.patch | |
69 | Patch6: xserver-1.12.patch | |
acf12a87 | 70 | # ubuntu patches |
59d12745 KK |
71 | Patch10: 16-no-update.patch |
72 | Patch11: 18-system-xorg.patch | |
acf12a87 | 73 | # /ubuntu patches |
48363591 | 74 | URL: http://www.virtualbox.org/ |
83ffcfa8 | 75 | %if %{with userspace} |
ce9843cd ER |
76 | %ifarch %{x8664} |
77 | BuildRequires: gcc-multilib | |
78 | BuildRequires: glibc-devel(i686) | |
79 | BuildRequires: libstdc++-multilib-devel | |
4fff279a | 80 | BuildRequires: libstdc++-multilib-static |
ce9843cd | 81 | %endif |
ce9843cd ER |
82 | %if "%{pld_release}" == "ac" |
83 | BuildRequires: XFree86-devel | |
84 | %else | |
1abc0217 | 85 | BuildRequires: xorg-lib-libXcomposite-devel |
ce9843cd ER |
86 | BuildRequires: xorg-lib-libXcursor-devel |
87 | BuildRequires: xorg-lib-libXmu-devel | |
e649d11e | 88 | BuildRequires: xorg-proto-glproto-devel |
acf12a87 | 89 | BuildRequires: xorg-xserver-server-devel |
ce9843cd | 90 | %endif |
00149140 | 91 | BuildRequires: OpenGL-GLU-devel |
523e7409 | 92 | BuildRequires: OpenGL-devel |
cef75615 | 93 | BuildRequires: QtGui-devel |
2d17bb72 | 94 | BuildRequires: QtNetwork-devel |
dd64a424 | 95 | BuildRequires: QtOpenGL-devel |
c574efad | 96 | BuildRequires: SDL-devel >= 1.2.7 |
9a1cb119 | 97 | BuildRequires: acpica |
ba702945 | 98 | BuildRequires: alsa-lib-devel >= 1.0.6 |
e5aaadde | 99 | BuildRequires: bash |
48363591 | 100 | BuildRequires: bcc |
101 | BuildRequires: bin86 | |
07ef7f06 | 102 | BuildRequires: curl-devel |
8da42f47 | 103 | %{?with_doc:BuildRequires: docbook-dtd44-xml} |
eba4b2aa | 104 | BuildRequires: gcc >= 5:3.2.3 |
48363591 | 105 | BuildRequires: libIDL-devel |
fa974331 | 106 | BuildRequires: libcap-static |
acf12a87 | 107 | BuildRequires: libdrm-devel |
ff01a704 | 108 | BuildRequires: libpng-devel >= 1.2.5 |
d22f0a53 | 109 | BuildRequires: libstdc++-devel >= 5:3.2.3 |
4fff279a | 110 | BuildRequires: libstdc++-static >= 5:3.2.3 |
48363591 | 111 | BuildRequires: libuuid-devel |
b75fd17a | 112 | BuildRequires: libvncserver-devel >= 0.9.9 |
ba702945 | 113 | BuildRequires: libxml2-devel >= 2.6.26 |
76ea5ecb | 114 | BuildRequires: libxslt-devel >= 1.1.17 |
ba702945 | 115 | BuildRequires: libxslt-progs >= 1.1.17 |
744bc35e | 116 | BuildRequires: makeself |
90de3b27 | 117 | BuildRequires: mkisofs |
3613936b | 118 | BuildRequires: pam-devel |
acf12a87 | 119 | BuildRequires: pixman-devel |
0bf43862 | 120 | BuildRequires: pkgconfig |
ba702945 | 121 | BuildRequires: pulseaudio-devel >= 0.9.0 |
523e7409 | 122 | BuildRequires: python-devel |
6055e733 | 123 | BuildRequires: python-modules |
250583d4 | 124 | BuildRequires: qt4-build >= 4.2.0 |
2700662b | 125 | BuildRequires: qt4-linguist |
6789dad4 | 126 | BuildRequires: rpmbuild(macros) >= 1.627 |
1e840a77 | 127 | BuildRequires: sed >= 4.0 |
8da42f47 | 128 | %if %{with doc} |
744bc35e JR |
129 | BuildRequires: texlive-fonts-bitstream |
130 | BuildRequires: texlive-fonts-other | |
131 | BuildRequires: texlive-fonts-type1-bitstream | |
132 | BuildRequires: texlive-format-pdflatex | |
acf12a87 | 133 | BuildRequires: texlive-latex-ucs |
660fb056 | 134 | BuildRequires: texlive-xetex |
8da42f47 | 135 | %endif |
0bf43862 | 136 | BuildRequires: which |
e5aaadde | 137 | BuildRequires: xalan-c-devel >= 1.10.0 |
e5aaadde | 138 | BuildRequires: xerces-c-devel >= 2.6.0 |
139 | BuildRequires: zlib-devel >= 1.2.1 | |
23d9d34e | 140 | %endif |
ce9843cd ER |
141 | %if %{with dist_kernel} |
142 | BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20 | |
83ffcfa8 | 143 | %endif |
0afa64ad | 144 | Requires(post,preun): /sbin/chkconfig |
5f1cec1f ER |
145 | Requires(postun): /usr/sbin/groupdel |
146 | Requires(pre): /usr/bin/getgid | |
147 | Requires(pre): /usr/sbin/groupadd | |
c061e8fb | 148 | Requires: QtCore >= 4.7.0 |
b75fd17a | 149 | Requires: libvncserver >= 0.9.9 |
fb661e50 | 150 | Suggests: gxmessage |
5f1cec1f | 151 | Provides: group(vbox) |
eba4b2aa | 152 | ExclusiveArch: %{ix86} %{x8664} |
48363591 | 153 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
154 | ||
eba4b2aa | 155 | %ifarch %{x8664} |
dd3487fc | 156 | %define vbox_platform linux.amd64 |
5088674d | 157 | %else |
dd3487fc | 158 | %define vbox_platform linux.x86 |
5088674d | 159 | %endif |
27a1aef6 | 160 | %define outdir out/%{vbox_platform}/release/bin |
fa974331 | 161 | %define _sbindir /sbin |
5088674d | 162 | |
dd65fabb PS |
163 | # workaround buggy 'file' results: |
164 | # | |
165 | # EfiThunk: \0 | |
166 | # qt_ro.qm: \0 "<\270d\030\312\357\234\225\315!\034\277`\241\275\335B" | |
167 | # VBoxEFI32.fd: \0 | |
168 | # VBoxEFI64.fd: \0 | |
169 | # | |
170 | # which lead to 'Stripping ... ELF shared libraries... (...)/nls/qt_ro.qm: File format not recognized' | |
171 | %define _noautostrip .*%{_libdir}/%{name}/.* | |
172 | ||
48363591 | 173 | %description |
393ec35d | 174 | Oracle VirtualBox is a general-purpose full virtualizer for x86 |
48363591 | 175 | hardware. Targeted at server, desktop and embedded use, it is now the |
176 | only professional-quality virtualization solution that is also Open | |
177 | Source Software. | |
178 | ||
393ec35d | 179 | Some of the features of VirtualBox are: |
48363591 | 180 | |
393ec35d | 181 | Modularity: VirtualBox has an extremely modular design with |
48363591 | 182 | well-defined internal programming interfaces and a client/server |
183 | design. This makes it easy to control it from several interfaces at | |
184 | once: for example, you can start a virtual machine in a typical | |
185 | virtual machine GUI and then control that machine from the command | |
393ec35d ER |
186 | line. VirtualBox also comes with a full Software Development Kit: even |
187 | though it is Open Source Software, you don't have to hack the source | |
188 | to write a new interface for VirtualBox. | |
48363591 | 189 | |
190 | Virtual machine descriptions in XML: the configuration settings of | |
191 | virtual machines are stored entirely in XML and are independent of the | |
192 | local machines. Virtual machine definitions can therefore easily be | |
193 | ported to other computers. | |
194 | ||
1067d08d ER |
195 | You should install this package in your Host OS. |
196 | ||
fd8fc899 | 197 | %description -l pl.UTF-8 |
393ec35d ER |
198 | Oracle VirtualBox jest emulatorem sprzętu x86. Kierowany do zastosowań |
199 | serwerowych, desktopowych oraz wbudowanych jest obecnie jedynym | |
200 | wysokiej jakości rozwiązaniem wirtualizacyjnym dostępnym również jako | |
201 | Otwarte Oprogramowanie. | |
48363591 | 202 | |
fd8fc899 | 203 | Przykładowe cechy VirtualBoksa: |
48363591 | 204 | |
393ec35d | 205 | Modularność: VirtualBox jest wysoce zmodularyzowanym produktem z |
fd8fc899 JR |
206 | dobrze zaprojektowanym wewnętrznym interfejsem programowym typu |
207 | klient/serwer. Dzięki temu można łatwo kontrolować go za pomocą | |
208 | różnych interfejsów. Można na przykład uruchomić maszynę wirtualną z | |
209 | poziomu interfejsu graficznego, a później kontrolować ją z linii | |
393ec35d ER |
210 | poleceń. VirtualBox dostarcza również pełny pakiet deweloperski, co |
211 | pozwala stworzyć dowolny inny interfejs zarządzania maszyną wirtualną. | |
48363591 | 212 | |
fd8fc899 JR |
213 | Opisy maszyn wirtualnych w XML-u: konfiguracje poszczególnych maszyn |
214 | wirtualnych są w całości przechowywane w XML-u i są niezależne od | |
215 | lokalnej maszyny. Dzięki temu można szybko i łatwo przenieść | |
216 | konfigurację maszyny wirtualnej na inny komputer. | |
48363591 | 217 | |
90de3b27 ER |
218 | %package doc |
219 | Summary: VirtualBox documentation | |
220 | Group: Documentation | |
221 | ||
222 | %description doc | |
223 | This package contains VirtualBox User Manual. | |
224 | ||
abb636b9 | 225 | %package udev |
393ec35d | 226 | Summary: udev rules for VirtualBox kernel modules |
da083e45 | 227 | Summary(pl.UTF-8): Reguły udev dla modułów jądra Linuksa dla VirtualBoksa |
abb636b9 | 228 | Group: Base/Kernel |
93bf3da1 | 229 | Requires: udev-core |
abb636b9 | 230 | |
231 | %description udev | |
393ec35d | 232 | udev rules for VirtualBox kernel modules. |
abb636b9 | 233 | |
b00b410d | 234 | You should install this package in your Host OS and in Guest OS. |
1067d08d | 235 | |
abb636b9 | 236 | %description udev -l pl.UTF-8 |
2df47f85 | 237 | Reguły udev dla modułów jądra Linuksa dla VirtualBoksa. |
abb636b9 | 238 | |
ffb38bb6 ER |
239 | %package additions |
240 | Summary: VirtualBox Guest Additions | |
241 | Group: Base | |
242 | Requires: %{name} = %{version}-%{release} | |
243 | ||
00a4a7ca | 244 | %description additions |
ffb38bb6 ER |
245 | VirtualBox Guest Additions. |
246 | ||
247 | This package contains ISO9660 image with drivers for Guest OS. | |
248 | ||
1067d08d ER |
249 | You should install this package in your Host OS. |
250 | ||
251 | %package guest | |
252 | Summary: VirtualBox Guest Additions | |
253 | Group: Base | |
1067d08d ER |
254 | Requires: xorg-driver-input-vboxmouse = %{version}-%{release} |
255 | Requires: xorg-driver-video-vboxvideo = %{version}-%{release} | |
90de3b27 ER |
256 | Suggests: kernel%{_alt_kernel}-misc-vboxsf = %{version}-%{rel}@%{_kernel_ver_str} |
257 | Suggests: kernel%{_alt_kernel}-misc-vboxvideo = %{version}-%{rel}@%{_kernel_ver_str} | |
1067d08d ER |
258 | |
259 | %description guest | |
260 | Tools that utilize kernel modules for supporting integration with the | |
261 | Host, including file sharing and tracking of mouse pointer movement | |
262 | and X.org X11 video and mouse driver. | |
263 | ||
264 | You should install this package in your Guest OS. | |
265 | ||
3613936b JR |
266 | %package -n pam-pam_vbox |
267 | Summary: PAM module to perform automated guest logons | |
268 | Group: Base | |
269 | ||
270 | %description -n pam-pam_vbox | |
3ee6b9d9 ER |
271 | PAM module (Pluggable Authentication Module) which can be used to |
272 | perform automated guest logons. | |
3613936b | 273 | |
fbea1005 | 274 | %package -n xorg-driver-input-vboxmouse |
393ec35d ER |
275 | Summary: X.org mouse driver for VirtualBox guest OS |
276 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
fbea1005 ER |
277 | Group: X11/Applications |
278 | Requires: xorg-xserver-server >= 1.0.99.901 | |
04426603 | 279 | Requires: xorg-xserver-server(xinput-abi) <= 18.0 |
fbea1005 ER |
280 | Requires: xorg-xserver-server(xinput-abi) >= 4.0 |
281 | ||
282 | %description -n xorg-driver-input-vboxmouse | |
393ec35d | 283 | X.org mouse driver for VirtualBox guest OS. |
fbea1005 ER |
284 | |
285 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
286 | Sterownik myszy dla systemu gościa w VirtualBoksie. | |
287 | ||
288 | %package -n xorg-driver-video-vboxvideo | |
393ec35d ER |
289 | Summary: X.org video driver for VirtualBox guest OS |
290 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
fbea1005 | 291 | Group: X11/Applications |
20b8335d | 292 | Requires: Mesa-dri-driver-swrast |
fbea1005 ER |
293 | Requires: xorg-xserver-libdri >= 1.7.4 |
294 | Requires: xorg-xserver-server >= 1.0.99.901 | |
04426603 | 295 | Requires: xorg-xserver-server(videodrv-abi) <= 13.0 |
fbea1005 ER |
296 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 |
297 | ||
298 | %description -n xorg-driver-video-vboxvideo | |
393ec35d | 299 | X.org video driver for VirtualBox guest OS. |
fbea1005 ER |
300 | |
301 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
393ec35d | 302 | Sterownik grafiki dla systemu gościa w VirtualBoksie. |
fbea1005 | 303 | |
ff1f2719 JR |
304 | %package kernel-init-host |
305 | Summary: SysV initscripts for host kernel modules | |
306 | Group: Base/Kernel | |
307 | ||
308 | %description kernel-init-host | |
309 | SysV initscripts for host kernel modules. | |
310 | ||
311 | %package kernel-init-guest | |
312 | Summary: SysV initscripts for guest kernel modules | |
313 | Group: Base/Kernel | |
314 | ||
315 | %description kernel-init-guest | |
316 | SysV initscripts for guest kernel modules. | |
317 | ||
18adabff ER |
318 | # KERNEL PACKAGES |
319 | # KEEP ALL REGULAR SUBPACKAGES BEFORE KERNEL PACKAGES. | |
dc0a2786 | 320 | %package -n kernel%{_alt_kernel}-misc-vboxguest |
393ec35d ER |
321 | Summary: VirtualBox Guest Additions for Linux Module |
322 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 323 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 324 | Group: Base/Kernel |
325 | Requires(post,postun): /sbin/depmod | |
de615b50 | 326 | Requires(post): systemd-units >= 38 |
74268e47 | 327 | Requires: dev >= 2.9.0-7 |
328 | %if %{with dist_kernel} | |
329 | %requires_releq_kernel | |
ca8701ad | 330 | Requires(postun): %releq_kernel |
74268e47 | 331 | %endif |
de615b50 | 332 | Requires: systemd-units >= 38 |
ff1f2719 | 333 | Suggests: %{name}-kernel-init-guest >= %{version}-%{rel} |
dc0a2786 AG |
334 | Provides: kernel(vboxguest) = %{version}-%{rel} |
335 | Obsoletes: kernel%{_alt_kernel}-misc-vboxadd | |
f7de19b3 | 336 | Conflicts: kernel%{_alt_kernel}-misc-vboxdrv |
74268e47 | 337 | |
dc0a2786 | 338 | %description -n kernel%{_alt_kernel}-misc-vboxguest |
393ec35d | 339 | VirtualBox Guest Additions for Linux Module. |
74268e47 | 340 | |
91e5103c ER |
341 | You should install this package in your Guest OS. |
342 | ||
dc0a2786 | 343 | %description -n kernel%{_alt_kernel}-misc-vboxguest -l pl.UTF-8 |
393ec35d ER |
344 | Moduł jądra Linuksa vboxguest dla VirtualBoksa - dodatki dla systemu |
345 | gościa. | |
74268e47 | 346 | |
48363591 | 347 | %package -n kernel%{_alt_kernel}-misc-vboxdrv |
393ec35d ER |
348 | Summary: VirtualBox Support Driver |
349 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 350 | Release: %{rel}@%{_kernel_ver_str} |
48363591 | 351 | Group: Base/Kernel |
352 | Requires(post,postun): /sbin/depmod | |
de615b50 | 353 | Requires(post): systemd-units >= 38 |
48363591 | 354 | Requires: dev >= 2.9.0-7 |
355 | %if %{with dist_kernel} | |
d6f0c54e | 356 | %requires_releq_kernel |
357 | Requires(postun): %releq_kernel | |
48363591 | 358 | %endif |
de615b50 | 359 | Requires: systemd-units >= 38 |
ff1f2719 | 360 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
fe3d1798 | 361 | Provides: kernel(vboxdrv) = %{version}-%{rel} |
48363591 | 362 | |
363 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
393ec35d | 364 | VirtualBox Support Driver. |
48363591 | 365 | |
91e5103c ER |
366 | You should install this package in your Host OS. |
367 | ||
fd8fc899 | 368 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 |
393ec35d ER |
369 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla systemu |
370 | głównego. | |
48363591 | 371 | |
d2a7514f | 372 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp |
393ec35d ER |
373 | Summary: VirtualBox Network Adapter Driver |
374 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
d2a7514f ŁK |
375 | Release: %{rel}@%{_kernel_ver_str} |
376 | Group: Base/Kernel | |
377 | Requires(post,postun): /sbin/depmod | |
de615b50 | 378 | Requires(post): systemd-units >= 38 |
d2a7514f ŁK |
379 | Requires: dev >= 2.9.0-7 |
380 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
381 | %if %{with dist_kernel} | |
382 | %requires_releq_kernel | |
383 | Requires(postun): %releq_kernel | |
384 | %endif | |
de615b50 | 385 | Requires: systemd-units >= 38 |
ff1f2719 | 386 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
d2a7514f ŁK |
387 | Provides: kernel(vboxnetflt) = %{version}-%{rel} |
388 | ||
389 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
393ec35d | 390 | VirtualBox Network Adapter Driver. |
d2a7514f | 391 | |
91e5103c ER |
392 | You should install this package in your Host OS. |
393 | ||
d2a7514f | 394 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp -l pl.UTF-8 |
393ec35d | 395 | Moduł jądra Linuksa dla VirtualBoksa - sterownik witrualnej karty |
9dda6415 | 396 | sieciowej. |
d2a7514f | 397 | |
1dda2f69 | 398 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
393ec35d ER |
399 | Summary: VirtualBox Network Filter Driver |
400 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
1dda2f69 | 401 | Release: %{rel}@%{_kernel_ver_str} |
402 | Group: Base/Kernel | |
403 | Requires(post,postun): /sbin/depmod | |
de615b50 | 404 | Requires(post): systemd-units >= 38 |
1dda2f69 | 405 | Requires: dev >= 2.9.0-7 |
406 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
407 | %if %{with dist_kernel} | |
408 | %requires_releq_kernel | |
409 | Requires(postun): %releq_kernel | |
410 | %endif | |
de615b50 | 411 | Requires: systemd-units >= 38 |
ff1f2719 | 412 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
1dda2f69 | 413 | Provides: kernel(vboxnetflt) = %{version}-%{rel} |
414 | ||
415 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
393ec35d | 416 | VirtualBox Network Filter Driver. |
1dda2f69 | 417 | |
91e5103c ER |
418 | You should install this package in your Host OS. |
419 | ||
1dda2f69 | 420 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 |
393ec35d ER |
421 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania sieci dla |
422 | systemu głównego. | |
1dda2f69 | 423 | |
59d12745 | 424 | %package -n kernel%{_alt_kernel}-misc-vboxpci |
393ec35d ER |
425 | Summary: VirtualBox PCI card passthrough Driver |
426 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
59d12745 KK |
427 | Release: %{rel}@%{_kernel_ver_str} |
428 | Group: Base/Kernel | |
429 | Requires(post,postun): /sbin/depmod | |
de615b50 | 430 | Requires(post): systemd-units >= 38 |
59d12745 KK |
431 | Requires: dev >= 2.9.0-7 |
432 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
433 | %if %{with dist_kernel} | |
434 | %requires_releq_kernel | |
435 | Requires(postun): %releq_kernel | |
436 | %endif | |
de615b50 | 437 | Requires: systemd-units >= 38 |
ff1f2719 | 438 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
59d12745 KK |
439 | Provides: kernel(vboxpci) = %{version}-%{rel} |
440 | ||
441 | %description -n kernel%{_alt_kernel}-misc-vboxpci | |
393ec35d ER |
442 | VirtualBox PCI card passthrough driver that works as host proxy |
443 | between guest and PCI hardware. | |
59d12745 KK |
444 | |
445 | You should install this package in your Host OS. | |
446 | ||
447 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
393ec35d ER |
448 | Moduł jądra Linuksa dla VirtualBoksa - sterownik, ktory działa jako |
449 | proxy między gościem i gospodarzem sprzętu PCI. | |
59d12745 | 450 | |
ecfe25a3 | 451 | %package -n kernel%{_alt_kernel}-misc-vboxsf |
393ec35d ER |
452 | Summary: Host file system access (Shared Folders) for VirtualBox |
453 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 454 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 455 | Group: Base/Kernel |
456 | Requires(post,postun): /sbin/depmod | |
de615b50 | 457 | Requires(post): systemd-units >= 38 |
74268e47 | 458 | Requires: dev >= 2.9.0-7 |
dc0a2786 | 459 | Requires: kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 460 | %if %{with dist_kernel} |
461 | %requires_releq_kernel | |
462 | Requires(postun): %releq_kernel | |
463 | %endif | |
de615b50 | 464 | Requires: systemd-units >= 38 |
ff1f2719 | 465 | Suggests: %{name}-kernel-init-guest >= %{version}-%{rel} |
ecfe25a3 PS |
466 | Provides: kernel(vboxsf) = %{version}-%{rel} |
467 | Obsoletes: kernel%{_alt_kernel}-misc-vboxvfs | |
74268e47 | 468 | |
ecfe25a3 | 469 | %description -n kernel%{_alt_kernel}-misc-vboxsf |
393ec35d | 470 | Host file system access (Shared Folders) for VirtualBox. |
74268e47 | 471 | |
91e5103c ER |
472 | You should install this package in your Guest OS. |
473 | ||
ecfe25a3 | 474 | %description -n kernel%{_alt_kernel}-misc-vboxsf -l pl.UTF-8 |
393ec35d | 475 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików systemu |
4f09a416 | 476 | głównego z poziomu systemu gościa. |
74268e47 | 477 | |
67a4f3c1 | 478 | %package -n kernel%{_alt_kernel}-misc-vboxvideo |
393ec35d ER |
479 | Summary: DRM support for VirtualBox |
480 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
67a4f3c1 | 481 | Release: %{rel}@%{_kernel_ver_str} |
482 | Group: Base/Kernel | |
483 | Requires(post,postun): /sbin/depmod | |
484 | Requires: dev >= 2.9.0-7 | |
485 | %if %{with dist_kernel} | |
486 | %requires_releq_kernel | |
d14fba96 | 487 | %requires_releq_kernel -n drm |
67a4f3c1 | 488 | Requires(postun): %releq_kernel |
489 | %endif | |
490 | Provides: kernel(vboxvideo) = %{version}-%{rel} | |
491 | ||
492 | %description -n kernel%{_alt_kernel}-misc-vboxvideo | |
393ec35d | 493 | DRM support for VirtualBox. |
67a4f3c1 | 494 | |
91e5103c ER |
495 | You should install this package in your Guest OS. |
496 | ||
67a4f3c1 | 497 | %description -n kernel%{_alt_kernel}-misc-vboxvideo -l pl.UTF-8 |
393ec35d | 498 | Moduł jądra Linuksa dla VirtualBoksa - sterownik obsługi DRM. |
67a4f3c1 | 499 | |
48363591 | 500 | %prep |
33aeed61 | 501 | %setup -q -n %{pname}-%{version} |
e709ce6b | 502 | %patch0 -p1 |
006342ee AM |
503 | %patch1 -p1 |
504 | %patch2 -p1 | |
8473a80d | 505 | %patch3 -p1 |
04e24f9c | 506 | %patch4 -p1 |
9a7b1cdc | 507 | %patch5 -p1 |
59d12745 | 508 | %patch6 -p1 |
fddcb741 | 509 | |
744bc35e JR |
510 | %{__sed} -i -e 's,@VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \ |
511 | -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in | |
0b6de2b7 | 512 | |
59d12745 | 513 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh |
fa19f650 | 514 | |
1794e74d ER |
515 | install -d PLD-MODULE-BUILD/{GuestDrivers,HostDrivers} |
516 | cd PLD-MODULE-BUILD | |
517 | ../src/VBox/Additions/linux/export_modules guest-modules.tar.gz | |
518 | tar -zxf guest-modules.tar.gz -C GuestDrivers | |
519 | ||
cadbdf55 | 520 | ../src/VBox/HostDrivers/linux/export_modules host-modules.tar.gz --without-hardening |
1794e74d ER |
521 | tar -zxf host-modules.tar.gz -C HostDrivers |
522 | cd - | |
59d12745 KK |
523 | %patch10 -p1 |
524 | %patch11 -p1 | |
525 | ||
5e565c4d KK |
526 | # fix build translations (missing qt_fa_IR.ts) |
527 | cp src/VBox/Frontends/VirtualBox/nls/{qt_en,qt_fa_IR}.ts | |
528 | ||
05f1b1f5 | 529 | |
fddcb741 | 530 | %build |
83ffcfa8 | 531 | %if %{with userspace} |
c6e3c003 | 532 | echo "VBOX_WITH_TESTCASES := " > LocalConfig.kmk |
106d8451 | 533 | ./configure \ |
ae1bbc88 | 534 | --with-gcc="%{__cc}" \ |
535 | --with-g++="%{__cxx}" \ | |
8da42f47 | 536 | %{!?with_doc:--disable-docs} \ |
744bc35e | 537 | --disable-java \ |
5a497466 | 538 | --disable-hardening \ |
01e414ba JR |
539 | --disable-kmods \ |
540 | --enable-vnc | |
48363591 | 541 | |
89973837 | 542 | XSERVER_VERSION=$(rpm -q --queryformat '%{VERSION}\n' xorg-xserver-server-devel | awk -F. ' { print $1 $2 } ' 2> /dev/null || echo ERROR) |
0864aefd | 543 | . ./env.sh && \ |
acf12a87 AM |
544 | kmk -j1 \ |
545 | %{?with_verbose:KBUILD_VERBOSE=3} \ | |
546 | USER=$(id -un) \ | |
89973837 ER |
547 | VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'_PLD \ |
548 | XSERVER_VERSION="$XSERVER_VERSION" | |
48363591 | 549 | %endif |
74268e47 | 550 | |
551 | %if %{with kernel} | |
cdeeee90 | 552 | export KERN_DIR=%{_kernelsrcdir} |
1794e74d ER |
553 | cd PLD-MODULE-BUILD/HostDrivers |
554 | %build_kernel_modules -m vboxdrv -C vboxdrv | |
555 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
556 | %build_kernel_modules -m vboxnetflt -C vboxnetflt | |
59d12745 | 557 | %build_kernel_modules -m vboxpci -C vboxpci |
1794e74d ER |
558 | |
559 | cd ../GuestDrivers | |
dc0a2786 | 560 | %build_kernel_modules -m vboxguest -C vboxguest |
ecfe25a3 PS |
561 | cp -a vboxguest/Module.symvers vboxsf |
562 | %build_kernel_modules -m vboxsf -C vboxsf -c | |
67a4f3c1 | 563 | %build_kernel_modules -m vboxvideo -C vboxvideo_drm |
1794e74d | 564 | cd ../.. |
744bc35e | 565 | %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/{mount.vboxsf.c,vbsfmount.c} -o mount.vboxsf |
d1c4ec5b | 566 | %endif |
48363591 | 567 | |
568 | %install | |
569 | rm -rf $RPM_BUILD_ROOT | |
570 | ||
d1c4ec5b | 571 | %if %{with userspace} |
33aeed61 | 572 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/%{pname}/ExtensionPacks} \ |
744bc35e | 573 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ |
dca6c443 | 574 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,dri,input} |
a70507fb | 575 | |
dca6c443 ER |
576 | # test if we can hardlink -- %{_builddir} and $RPM_BUILD_ROOT on same partition |
577 | if cp -al VBox.png $RPM_BUILD_ROOT/Vbox.png 2>/dev/null; then | |
578 | l=l | |
579 | rm -f $RPM_BUILD_ROOT/VBox.png | |
580 | fi | |
581 | ||
33aeed61 | 582 | cp -a$l %{outdir}/* $RPM_BUILD_ROOT%{_libdir}/%{pname} |
b75fd17a KK |
583 | |
584 | %if %{with doc} | |
26489c61 | 585 | ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual.pdf |
6ee3b66d | 586 | ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual_fr_FR.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual_fr_FR.pdf |
b75fd17a | 587 | %endif |
dca6c443 | 588 | |
744bc35e | 589 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
59d12745 | 590 | install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/mount.vdi |
33aeed61 | 591 | install -p VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/%{pname} |
5b399826 | 592 | for f in {VBox{BFE,Headless,Manage,SDL,SVC,Tunctl,XPCOMIPCD},VirtualBox}; do |
33aeed61 | 593 | ln -s %{_libdir}/%{pname}/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
05f1b1f5 | 594 | done |
595 | ||
33aeed61 JR |
596 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/VBox.png,%{_pixmapsdir}/virtualbox.png} |
597 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname},%{_desktopdir}}/virtualbox.desktop | |
48363591 | 598 | |
33aeed61 JR |
599 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/vboxmouse_drv.so,%{_libdir}/xorg/modules/input/vboxmouse_drv.so} |
600 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxvideo_drv.so,%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so} | |
601 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/VBoxOGL.so,%{_libdir}/xorg/modules/dri/vboxvideo_dri.so} | |
dca6c443 | 602 | # xorg other driver versions |
33aeed61 JR |
603 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxmouse_drv*.{o,so} |
604 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxvideo_drv*.{o,so} | |
916ab34d | 605 | |
27a1aef6 | 606 | # XXX: where else to install them that vboxvideo_dri.so finds them? patch with rpath? |
33aeed61 JR |
607 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLarrayspu.so |
608 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLcrutil.so | |
609 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLerrorspu.so | |
610 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLfeedbackspu.so | |
611 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpackspu.so | |
612 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpassthroughspu.so | |
d1c4ec5b | 613 | |
33233365 | 614 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d |
59d12745 | 615 | cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules |
dca6c443 | 616 | |
3613936b JR |
617 | install -d $RPM_BUILD_ROOT/%{_lib}/security |
618 | mv $RPM_BUILD_ROOT{%{_libdir}/VirtualBox/additions,/%{_lib}/security}/pam_vbox.so | |
619 | ||
dca6c443 | 620 | # cleanup unpackaged |
33aeed61 JR |
621 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/{src,sdk,testcase} |
622 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/src | |
623 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxkeyboard.tar.bz2 | |
624 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/tst* | |
05c5271f | 625 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/ExtensionPacks/VNC/ExtPack-license.* |
1067d08d ER |
626 | |
627 | # Guest Only Tools | |
90de3b27 | 628 | install -d $RPM_BUILD_ROOT/etc/{X11/xinit/xinitrc.d,xdg/autostart} |
33aeed61 JR |
629 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxService |
630 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxClient | |
631 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxControl | |
90de3b27 ER |
632 | install -p -D src/VBox/Additions/x11/Installer/98vboxadd-xclient \ |
633 | $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/98vboxadd-xclient.sh | |
634 | cp -p src/VBox/Additions/x11/Installer/vboxclient.desktop \ | |
635 | $RPM_BUILD_ROOT/etc/xdg/autostart/vboxclient.desktop | |
1067d08d | 636 | |
dca6c443 | 637 | # unknown - checkme |
1067d08d | 638 | %if 1 |
33aeed61 JR |
639 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPInstall |
640 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPLoggerCtl | |
641 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPUninstall | |
642 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/VBox.sh | |
643 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxshell.py | |
644 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/xpidl | |
1067d08d | 645 | %endif |
dca6c443 ER |
646 | |
647 | # packaged by kernel part | |
33aeed61 | 648 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/mount.vboxsf |
da083e45 | 649 | %endif |
33233365 | 650 | |
da083e45 | 651 | %if %{with kernel} |
6789dad4 | 652 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,modules-load.d},%{_sbindir},%{systemdunitdir}} |
70ce4861 | 653 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv |
dc0a2786 | 654 | install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxguest |
70ce4861 | 655 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt |
b06d932c | 656 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxsf |
c1cd3b9a | 657 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp |
59d12745 | 658 | install -p %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxpci |
1794e74d ER |
659 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxdrv/vboxdrv -d misc |
660 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetadp/vboxnetadp -d misc | |
661 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetflt/vboxnetflt -d misc | |
59d12745 | 662 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxpci/vboxpci -d misc |
1794e74d ER |
663 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxguest/vboxguest -d misc |
664 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxsf/vboxsf -d misc | |
665 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxvideo_drm/vboxvideo -d misc | |
fa974331 | 666 | |
50863744 ER |
667 | install -p mount.vboxsf $RPM_BUILD_ROOT%{_sbindir}/mount.vboxsf |
668 | ||
35ccdfcc JR |
669 | # Tell systemd to load modules |
670 | install -p %{SOURCE12} $RPM_BUILD_ROOT/etc/modules-load.d/vboxdrv.conf | |
671 | install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/modules-load.d/vboxguest.conf | |
672 | install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/modules-load.d/vboxnetflt.conf | |
673 | install -p %{SOURCE15} $RPM_BUILD_ROOT/etc/modules-load.d/vboxsf.conf | |
674 | install -p %{SOURCE16} $RPM_BUILD_ROOT/etc/modules-load.d/vboxnetadp.conf | |
675 | install -p %{SOURCE17} $RPM_BUILD_ROOT/etc/modules-load.d/vboxpci.conf | |
676 | ||
677 | # And mask module-loading services | |
678 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxdrv.service | |
679 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxguest.service | |
680 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxnetflt.service | |
681 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxsf.service | |
682 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxnetadp.service | |
683 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxpci.service | |
d1c4ec5b | 684 | %endif |
05f1b1f5 | 685 | |
48363591 | 686 | %clean |
687 | rm -rf $RPM_BUILD_ROOT | |
688 | ||
3b63d3e8 | 689 | %pre |
690 | %groupadd -g 221 -r -f vbox | |
691 | ||
14561782 | 692 | %post |
1403ac49 ER |
693 | %update_desktop_database |
694 | ||
d8ed80f4 | 695 | cat << 'EOF' |
3ee6b9d9 | 696 | You must install vboxdrv kernel module for this software to work: |
7841ddfd ER |
697 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} |
698 | ||
699 | Additionally you might want to install: | |
d2a7514f | 700 | kernel-misc-vboxnetadp-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 | 701 | kernel-misc-vboxnetflt-%{version}-%{rel}@%{_kernel_ver_str} |
59d12745 | 702 | kernel-misc-vboxpci-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 | 703 | |
fa974331 | 704 | On Guest Linux system you might want to install: |
dc0a2786 | 705 | kernel-misc-vboxguest-%{version}-%{rel}@%{_kernel_ver_str} |
ecfe25a3 | 706 | kernel-misc-vboxsf-%{version}-%{rel}@%{_kernel_ver_str} |
67a4f3c1 | 707 | kernel-misc-vboxvideo-%{version}-%{rel}@%{_kernel_ver_str} |
7841ddfd | 708 | |
d8ed80f4 | 709 | EOF |
710 | ||
3b63d3e8 | 711 | %postun |
712 | if [ "$1" = "0" ]; then | |
713 | %groupremove vbox | |
714 | fi | |
715 | ||
dc0a2786 | 716 | %post -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 717 | %depmod %{_kernel_ver} |
dc0a2786 | 718 | /sbin/chkconfig --add vboxguest |
393ec35d | 719 | %service vboxguest restart "VirtualBox Guest additions driver" |
6789dad4 | 720 | %systemd_reload |
74268e47 | 721 | |
dc0a2786 | 722 | %postun -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 723 | %depmod %{_kernel_ver} |
724 | ||
dc0a2786 | 725 | %preun -n kernel%{_alt_kernel}-misc-vboxguest |
270f67bc | 726 | if [ "$1" = "0" ]; then |
dc0a2786 AG |
727 | %service vboxguest stop |
728 | /sbin/chkconfig --del vboxguest | |
270f67bc | 729 | fi |
730 | ||
48363591 | 731 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
732 | %depmod %{_kernel_ver} | |
270f67bc | 733 | /sbin/chkconfig --add vboxdrv |
393ec35d | 734 | %service vboxdrv restart "VirtualBox Support Driver" |
6789dad4 | 735 | %systemd_reload |
48363591 | 736 | |
737 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
738 | %depmod %{_kernel_ver} | |
739 | ||
270f67bc | 740 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv |
741 | if [ "$1" = "0" ]; then | |
742 | %service vboxdrv stop | |
743 | /sbin/chkconfig --del vboxdrv | |
744 | fi | |
745 | ||
d2a7514f ŁK |
746 | %post -n kernel%{_alt_kernel}-misc-vboxnetadp |
747 | %depmod %{_kernel_ver} | |
c1cd3b9a | 748 | /sbin/chkconfig --add vboxnetadp |
393ec35d | 749 | %service vboxnetadp restart "VirtualBox Network HostOnly driver" |
6789dad4 | 750 | %systemd_reload |
d2a7514f ŁK |
751 | |
752 | %postun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
753 | %depmod %{_kernel_ver} | |
754 | ||
c1cd3b9a | 755 | %preun -n kernel%{_alt_kernel}-misc-vboxnetadp |
756 | if [ "$1" = "0" ]; then | |
757 | %service vboxnetadp stop | |
758 | /sbin/chkconfig --del vboxnetadp | |
759 | fi | |
760 | ||
1dda2f69 | 761 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
762 | %depmod %{_kernel_ver} | |
11848f5b | 763 | /sbin/chkconfig --add vboxnetflt |
393ec35d | 764 | %service vboxnetflt restart "VirtualBox Network Filter driver" |
6789dad4 | 765 | %systemd_reload |
1dda2f69 | 766 | |
767 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
768 | %depmod %{_kernel_ver} | |
769 | ||
11848f5b | 770 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt |
771 | if [ "$1" = "0" ]; then | |
772 | %service vboxnetflt stop | |
773 | /sbin/chkconfig --del vboxnetflt | |
774 | fi | |
775 | ||
59d12745 KK |
776 | %post -n kernel%{_alt_kernel}-misc-vboxpci |
777 | %depmod %{_kernel_ver} | |
778 | /sbin/chkconfig --add vboxpci | |
393ec35d | 779 | %service vboxnetflt restart "VirtualBox PCI passthrough driver" |
6789dad4 | 780 | %systemd_reload |
59d12745 KK |
781 | |
782 | %postun -n kernel%{_alt_kernel}-misc-vboxpci | |
783 | %depmod %{_kernel_ver} | |
784 | ||
785 | %preun -n kernel%{_alt_kernel}-misc-vboxpci | |
786 | if [ "$1" = "0" ]; then | |
787 | %service vboxpci stop | |
788 | /sbin/chkconfig --del vboxpci | |
789 | fi | |
790 | ||
ecfe25a3 | 791 | %post -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 792 | %depmod %{_kernel_ver} |
ecfe25a3 | 793 | /sbin/chkconfig --add vboxsf |
393ec35d | 794 | %service vboxsf restart "VirtualBox Host file system access (Shared Folders)" |
6789dad4 | 795 | %systemd_reload |
74268e47 | 796 | |
ecfe25a3 | 797 | %postun -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 798 | %depmod %{_kernel_ver} |
799 | ||
ecfe25a3 | 800 | %preun -n kernel%{_alt_kernel}-misc-vboxsf |
ca8701ad | 801 | if [ "$1" = "0" ]; then |
ecfe25a3 PS |
802 | %service vboxsf stop |
803 | /sbin/chkconfig --del vboxsf | |
ca8701ad | 804 | fi |
805 | ||
67a4f3c1 | 806 | %post -n kernel%{_alt_kernel}-misc-vboxvideo |
807 | %depmod %{_kernel_ver} | |
808 | ||
809 | %postun -n kernel%{_alt_kernel}-misc-vboxvideo | |
810 | %depmod %{_kernel_ver} | |
811 | ||
d1c4ec5b | 812 | %if %{with userspace} |
48363591 | 813 | %files |
814 | %defattr(644,root,root,755) | |
8833bce1 | 815 | %dir %{_libdir}/VirtualBox |
744bc35e | 816 | %dir %{_libdir}/VirtualBox/ExtensionPacks |
05c5271f KK |
817 | %dir %{_libdir}/VirtualBox/ExtensionPacks/VNC |
818 | %dir %{_libdir}/VirtualBox/ExtensionPacks/VNC/linux* | |
916ab34d | 819 | %dir %{_libdir}/VirtualBox/additions |
8833bce1 | 820 | %dir %{_libdir}/VirtualBox/components |
821 | %dir %{_libdir}/VirtualBox/nls | |
85b005e2 | 822 | %attr(755,root,root) %{_bindir}/VBoxBFE |
823 | %attr(755,root,root) %{_bindir}/VBoxHeadless | |
824 | %attr(755,root,root) %{_bindir}/VBoxManage | |
825 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
826 | %attr(755,root,root) %{_bindir}/VBoxSVC | |
827 | %attr(755,root,root) %{_bindir}/VBoxTunctl | |
828 | %attr(755,root,root) %{_bindir}/VBoxXPCOMIPCD | |
48363591 | 829 | %attr(755,root,root) %{_bindir}/VirtualBox |
3ee6b9d9 | 830 | %attr(755,root,root) %{_sbindir}/mount.vdi |
744bc35e JR |
831 | %attr(755,root,root) %{_libdir}/VirtualBox/DBGCPlugInDiggers.so |
832 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuth.so | |
833 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuthSimple.so | |
05c5271f | 834 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAutostart |
05f1b1f5 | 835 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBFE |
59d12745 | 836 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBalloonCtrl |
744bc35e JR |
837 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxCreateUSBNode.sh |
838 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so | |
85b005e2 | 839 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so |
744bc35e | 840 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so |
85b005e2 | 841 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so |
05c5271f | 842 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDragAndDropSvc.so |
744bc35e | 843 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxExtPackHelperApp |
3613936b | 844 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestControlSvc.so |
85b005e2 | 845 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so |
744bc35e | 846 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless |
6ee3b66d | 847 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHostChannel.so |
85b005e2 | 848 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so |
744bc35e | 849 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage |
8c76fad0 | 850 | %if %{with doc} |
6ee3b66d | 851 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManageHelp |
8c76fad0 | 852 | %endif |
5b399826 MM |
853 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
854 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP | |
85b005e2 | 855 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so |
856 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
857 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
6935b837 | 858 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython*.so |
85b005e2 | 859 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so |
f701b529 | 860 | %ifarch %{ix86} |
5b399826 MM |
861 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
862 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so | |
f701b529 | 863 | %endif |
85b005e2 | 864 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
744bc35e | 865 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL |
85b005e2 | 866 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
867 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
868 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
744bc35e JR |
869 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
870 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
871 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL | |
872 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl | |
85b005e2 | 873 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so |
05c5271f | 874 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMMPreload |
85b005e2 | 875 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so |
744bc35e JR |
876 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD |
877 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
fdd1c725 | 878 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox |
879 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
05c5271f | 880 | %attr(755,root,root) %{_libdir}/VirtualBox/ExtensionPacks/VNC/linux*/VBoxVNC*.so |
85b005e2 | 881 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
882 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
883 | %{_libdir}/VirtualBox/VMMGC.gc | |
884 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
885 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
886 | %{_libdir}/VirtualBox/VMMR0.r0 | |
c72947e7 | 887 | #%{_libdir}/VirtualBox/EfiThunk |
1067d08d ER |
888 | %{_libdir}/VirtualBox/VBoxEFI32.fd |
889 | %{_libdir}/VirtualBox/VBoxEFI64.fd | |
85b005e2 | 890 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt |
05c5271f | 891 | %{_libdir}/VirtualBox/ExtensionPacks/VNC/ExtPack.xml |
85b005e2 | 892 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt |
dca6c443 ER |
893 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxC.so |
894 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
895 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
c5e10a4d | 896 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
72d5ea57 | 897 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
3613936b | 898 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
89ce7412 | 899 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
dc0a2786 | 900 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
89ce7412 | 901 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
3613936b | 902 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
89ce7412 | 903 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
904 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
6ee3b66d | 905 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fa_IR.qm |
89ce7412 | 906 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm |
907 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
3613936b | 908 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
89ce7412 | 909 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
72d5ea57 | 910 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm |
89ce7412 | 911 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm |
912 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
c5e10a4d | 913 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
89ce7412 | 914 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
938d5b7f | 915 | %lang(lt) %{_libdir}/VirtualBox/nls/*_lt.qm |
72d5ea57 | 916 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
89ce7412 | 917 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
52b59a1b | 918 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm |
89ce7412 | 919 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm |
89ce7412 | 920 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm |
921 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
922 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
72d5ea57 | 923 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm |
89ce7412 | 924 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm |
72d5ea57 | 925 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm |
85b005e2 | 926 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
89ce7412 | 927 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
928 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
9ce724ed | 929 | %{_pixmapsdir}/virtualbox.png |
dca6c443 | 930 | %{_desktopdir}/*.desktop |
ddf75c51 | 931 | %{_libdir}/VirtualBox/icons |
744bc35e | 932 | %{_libdir}/VirtualBox/virtualbox.xml |
09c79ddb | 933 | |
ffb38bb6 | 934 | %files additions |
9dda6415 | 935 | %defattr(644,root,root,755) |
ffb38bb6 ER |
936 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
937 | ||
1067d08d ER |
938 | %files guest |
939 | %defattr(644,root,root,755) | |
785c600a ER |
940 | # NOTE: unfinished, should contain .desktop files for starting up mouse |
941 | # integration and other desktop services | |
89973837 | 942 | # NOTE: the filelist is incomplete too |
90de3b27 ER |
943 | %attr(755,root,root) %{_bindir}/VBoxClient |
944 | %attr(755,root,root) %{_bindir}/VBoxControl | |
945 | %attr(755,root,root) %{_bindir}/VBoxService | |
946 | /etc/X11/xinit/xinitrc.d/98vboxadd-xclient.sh | |
947 | /etc/xdg/autostart/vboxclient.desktop | |
1067d08d | 948 | |
744bc35e JR |
949 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/autorun.sh |
950 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd | |
951 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd-service | |
952 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd-x11 | |
b435b70c | 953 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxvideo_drv_111.so |
6ee3b66d | 954 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxvideo_drv_112.so |
744bc35e | 955 | |
3613936b JR |
956 | %files -n pam-pam_vbox |
957 | %defattr(644,root,root,755) | |
3ee6b9d9 | 958 | %attr(755,root,root) /%{_lib}/security/pam_vbox.so |
3613936b | 959 | |
90de3b27 ER |
960 | %if %{with doc} |
961 | %files doc | |
962 | %defattr(644,root,root,755) | |
f0a66b84 JR |
963 | # this is a symlink... |
964 | %doc %{_libdir}/%{pname}/UserManual.pdf | |
6ee3b66d | 965 | %lang(fr) %doc %{_libdir}/%{pname}/UserManual_fr_FR.pdf |
f0a66b84 | 966 | # ..to this file |
90de3b27 | 967 | %doc %{outdir}/UserManual.pdf |
d43f5558 | 968 | %lang(fr) %doc %{outdir}/UserManual_fr_FR.pdf |
90de3b27 ER |
969 | %endif |
970 | ||
abb636b9 | 971 | %files udev |
972 | %defattr(644,root,root,755) | |
973 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
974 | ||
09c79ddb | 975 | %files -n xorg-driver-input-vboxmouse |
976 | %defattr(644,root,root,755) | |
977 | %attr(755,root,root) %{_libdir}/xorg/modules/input/vboxmouse_drv.so | |
978 | ||
979 | %files -n xorg-driver-video-vboxvideo | |
980 | %defattr(644,root,root,755) | |
981 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so | |
27a1aef6 ER |
982 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vboxvideo_dri.so |
983 | # vboxvideo_dri.so deps | |
1067d08d | 984 | %attr(755,root,root) %{_libdir}/VBoxOGLarrayspu.so |
27a1aef6 ER |
985 | %attr(755,root,root) %{_libdir}/VBoxOGLcrutil.so |
986 | %attr(755,root,root) %{_libdir}/VBoxOGLerrorspu.so | |
987 | %attr(755,root,root) %{_libdir}/VBoxOGLfeedbackspu.so | |
988 | %attr(755,root,root) %{_libdir}/VBoxOGLpackspu.so | |
989 | %attr(755,root,root) %{_libdir}/VBoxOGLpassthroughspu.so | |
d1c4ec5b | 990 | %endif |
48363591 | 991 | |
d1c4ec5b | 992 | %if %{with kernel} |
ff1f2719 JR |
993 | %files kernel-init-host |
994 | %defattr(644,root,root,755) | |
995 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
996 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
997 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
998 | %attr(754,root,root) /etc/rc.d/init.d/vboxpci | |
999 | %{systemdunitdir}/vboxdrv.service | |
1000 | %{systemdunitdir}/vboxnetadp.service | |
1001 | %{systemdunitdir}/vboxnetflt.service | |
1002 | %{systemdunitdir}/vboxpci.service | |
1003 | ||
1004 | %files kernel-init-guest | |
74268e47 | 1005 | %defattr(644,root,root,755) |
dc0a2786 | 1006 | %attr(754,root,root) /etc/rc.d/init.d/vboxguest |
ff1f2719 | 1007 | %attr(754,root,root) /etc/rc.d/init.d/vboxsf |
35ccdfcc | 1008 | %{systemdunitdir}/vboxguest.service |
ff1f2719 JR |
1009 | %{systemdunitdir}/vboxsf.service |
1010 | ||
1011 | %files -n kernel%{_alt_kernel}-misc-vboxguest | |
1012 | %defattr(644,root,root,755) | |
1013 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxguest.conf | |
dc0a2786 | 1014 | /lib/modules/%{_kernel_ver}/misc/vboxguest.ko* |
74268e47 | 1015 | |
d1c4ec5b | 1016 | %files -n kernel%{_alt_kernel}-misc-vboxdrv |
48363591 | 1017 | %defattr(644,root,root,755) |
35ccdfcc | 1018 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxdrv.conf |
d1c4ec5b | 1019 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* |
74268e47 | 1020 | |
d2a7514f ŁK |
1021 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
1022 | %defattr(644,root,root,755) | |
35ccdfcc | 1023 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxnetadp.conf |
d2a7514f ŁK |
1024 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* |
1025 | ||
1dda2f69 | 1026 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
1027 | %defattr(644,root,root,755) | |
35ccdfcc | 1028 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxnetflt.conf |
1dda2f69 | 1029 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* |
1030 | ||
59d12745 KK |
1031 | %files -n kernel%{_alt_kernel}-misc-vboxpci |
1032 | %defattr(644,root,root,755) | |
35ccdfcc | 1033 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxpci.conf |
59d12745 KK |
1034 | /lib/modules/%{_kernel_ver}/misc/vboxpci.ko* |
1035 | ||
ecfe25a3 | 1036 | %files -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 1037 | %defattr(644,root,root,755) |
35ccdfcc | 1038 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxsf.conf |
50863744 | 1039 | %attr(755,root,root) %{_sbindir}/mount.vboxsf |
ecfe25a3 | 1040 | /lib/modules/%{_kernel_ver}/misc/vboxsf.ko* |
67a4f3c1 | 1041 | |
1042 | %files -n kernel%{_alt_kernel}-misc-vboxvideo | |
1043 | %defattr(644,root,root,755) | |
1044 | /lib/modules/%{_kernel_ver}/misc/vboxvideo.ko* | |
1045 | %endif |