]>
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 |
b980c81c ER |
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 | 318 | # KERNEL PACKAGES |
b980c81c | 319 | |
18adabff | 320 | # KEEP ALL REGULAR SUBPACKAGES BEFORE KERNEL PACKAGES. |
b980c81c | 321 | |
dc0a2786 | 322 | %package -n kernel%{_alt_kernel}-misc-vboxguest |
393ec35d ER |
323 | Summary: VirtualBox Guest Additions for Linux Module |
324 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 325 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 326 | Group: Base/Kernel |
327 | Requires(post,postun): /sbin/depmod | |
de615b50 | 328 | Requires(post): systemd-units >= 38 |
74268e47 | 329 | Requires: dev >= 2.9.0-7 |
330 | %if %{with dist_kernel} | |
331 | %requires_releq_kernel | |
ca8701ad | 332 | Requires(postun): %releq_kernel |
74268e47 | 333 | %endif |
de615b50 | 334 | Requires: systemd-units >= 38 |
ff1f2719 | 335 | Suggests: %{name}-kernel-init-guest >= %{version}-%{rel} |
dc0a2786 AG |
336 | Provides: kernel(vboxguest) = %{version}-%{rel} |
337 | Obsoletes: kernel%{_alt_kernel}-misc-vboxadd | |
f7de19b3 | 338 | Conflicts: kernel%{_alt_kernel}-misc-vboxdrv |
74268e47 | 339 | |
dc0a2786 | 340 | %description -n kernel%{_alt_kernel}-misc-vboxguest |
393ec35d | 341 | VirtualBox Guest Additions for Linux Module. |
74268e47 | 342 | |
91e5103c ER |
343 | You should install this package in your Guest OS. |
344 | ||
dc0a2786 | 345 | %description -n kernel%{_alt_kernel}-misc-vboxguest -l pl.UTF-8 |
393ec35d ER |
346 | Moduł jądra Linuksa vboxguest dla VirtualBoksa - dodatki dla systemu |
347 | gościa. | |
74268e47 | 348 | |
48363591 | 349 | %package -n kernel%{_alt_kernel}-misc-vboxdrv |
393ec35d ER |
350 | Summary: VirtualBox Support Driver |
351 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 352 | Release: %{rel}@%{_kernel_ver_str} |
48363591 | 353 | Group: Base/Kernel |
354 | Requires(post,postun): /sbin/depmod | |
de615b50 | 355 | Requires(post): systemd-units >= 38 |
48363591 | 356 | Requires: dev >= 2.9.0-7 |
357 | %if %{with dist_kernel} | |
d6f0c54e | 358 | %requires_releq_kernel |
359 | Requires(postun): %releq_kernel | |
48363591 | 360 | %endif |
de615b50 | 361 | Requires: systemd-units >= 38 |
ff1f2719 | 362 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
fe3d1798 | 363 | Provides: kernel(vboxdrv) = %{version}-%{rel} |
48363591 | 364 | |
365 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
393ec35d | 366 | VirtualBox Support Driver. |
48363591 | 367 | |
91e5103c ER |
368 | You should install this package in your Host OS. |
369 | ||
fd8fc899 | 370 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 |
393ec35d ER |
371 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla systemu |
372 | głównego. | |
48363591 | 373 | |
d2a7514f | 374 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp |
393ec35d ER |
375 | Summary: VirtualBox Network Adapter Driver |
376 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
d2a7514f ŁK |
377 | Release: %{rel}@%{_kernel_ver_str} |
378 | Group: Base/Kernel | |
379 | Requires(post,postun): /sbin/depmod | |
de615b50 | 380 | Requires(post): systemd-units >= 38 |
d2a7514f ŁK |
381 | Requires: dev >= 2.9.0-7 |
382 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
383 | %if %{with dist_kernel} | |
384 | %requires_releq_kernel | |
385 | Requires(postun): %releq_kernel | |
386 | %endif | |
de615b50 | 387 | Requires: systemd-units >= 38 |
ff1f2719 | 388 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
d2a7514f ŁK |
389 | Provides: kernel(vboxnetflt) = %{version}-%{rel} |
390 | ||
391 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
393ec35d | 392 | VirtualBox Network Adapter Driver. |
d2a7514f | 393 | |
91e5103c ER |
394 | You should install this package in your Host OS. |
395 | ||
d2a7514f | 396 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp -l pl.UTF-8 |
393ec35d | 397 | Moduł jądra Linuksa dla VirtualBoksa - sterownik witrualnej karty |
9dda6415 | 398 | sieciowej. |
d2a7514f | 399 | |
1dda2f69 | 400 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
393ec35d ER |
401 | Summary: VirtualBox Network Filter Driver |
402 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
1dda2f69 | 403 | Release: %{rel}@%{_kernel_ver_str} |
404 | Group: Base/Kernel | |
405 | Requires(post,postun): /sbin/depmod | |
de615b50 | 406 | Requires(post): systemd-units >= 38 |
1dda2f69 | 407 | Requires: dev >= 2.9.0-7 |
408 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
409 | %if %{with dist_kernel} | |
410 | %requires_releq_kernel | |
411 | Requires(postun): %releq_kernel | |
412 | %endif | |
de615b50 | 413 | Requires: systemd-units >= 38 |
ff1f2719 | 414 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
1dda2f69 | 415 | Provides: kernel(vboxnetflt) = %{version}-%{rel} |
416 | ||
417 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
393ec35d | 418 | VirtualBox Network Filter Driver. |
1dda2f69 | 419 | |
91e5103c ER |
420 | You should install this package in your Host OS. |
421 | ||
1dda2f69 | 422 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 |
393ec35d ER |
423 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania sieci dla |
424 | systemu głównego. | |
1dda2f69 | 425 | |
59d12745 | 426 | %package -n kernel%{_alt_kernel}-misc-vboxpci |
393ec35d ER |
427 | Summary: VirtualBox PCI card passthrough Driver |
428 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
59d12745 KK |
429 | Release: %{rel}@%{_kernel_ver_str} |
430 | Group: Base/Kernel | |
431 | Requires(post,postun): /sbin/depmod | |
de615b50 | 432 | Requires(post): systemd-units >= 38 |
59d12745 KK |
433 | Requires: dev >= 2.9.0-7 |
434 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
435 | %if %{with dist_kernel} | |
436 | %requires_releq_kernel | |
437 | Requires(postun): %releq_kernel | |
438 | %endif | |
de615b50 | 439 | Requires: systemd-units >= 38 |
ff1f2719 | 440 | Suggests: %{name}-kernel-init-host >= %{version}-%{rel} |
59d12745 KK |
441 | Provides: kernel(vboxpci) = %{version}-%{rel} |
442 | ||
443 | %description -n kernel%{_alt_kernel}-misc-vboxpci | |
393ec35d ER |
444 | VirtualBox PCI card passthrough driver that works as host proxy |
445 | between guest and PCI hardware. | |
59d12745 KK |
446 | |
447 | You should install this package in your Host OS. | |
448 | ||
449 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
393ec35d ER |
450 | Moduł jądra Linuksa dla VirtualBoksa - sterownik, ktory działa jako |
451 | proxy między gościem i gospodarzem sprzętu PCI. | |
59d12745 | 452 | |
ecfe25a3 | 453 | %package -n kernel%{_alt_kernel}-misc-vboxsf |
393ec35d ER |
454 | Summary: Host file system access (Shared Folders) for VirtualBox |
455 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
fe3d1798 | 456 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 457 | Group: Base/Kernel |
458 | Requires(post,postun): /sbin/depmod | |
de615b50 | 459 | Requires(post): systemd-units >= 38 |
74268e47 | 460 | Requires: dev >= 2.9.0-7 |
dc0a2786 | 461 | Requires: kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 462 | %if %{with dist_kernel} |
463 | %requires_releq_kernel | |
464 | Requires(postun): %releq_kernel | |
465 | %endif | |
de615b50 | 466 | Requires: systemd-units >= 38 |
ff1f2719 | 467 | Suggests: %{name}-kernel-init-guest >= %{version}-%{rel} |
ecfe25a3 PS |
468 | Provides: kernel(vboxsf) = %{version}-%{rel} |
469 | Obsoletes: kernel%{_alt_kernel}-misc-vboxvfs | |
74268e47 | 470 | |
ecfe25a3 | 471 | %description -n kernel%{_alt_kernel}-misc-vboxsf |
393ec35d | 472 | Host file system access (Shared Folders) for VirtualBox. |
74268e47 | 473 | |
91e5103c ER |
474 | You should install this package in your Guest OS. |
475 | ||
ecfe25a3 | 476 | %description -n kernel%{_alt_kernel}-misc-vboxsf -l pl.UTF-8 |
393ec35d | 477 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików systemu |
4f09a416 | 478 | głównego z poziomu systemu gościa. |
74268e47 | 479 | |
67a4f3c1 | 480 | %package -n kernel%{_alt_kernel}-misc-vboxvideo |
393ec35d ER |
481 | Summary: DRM support for VirtualBox |
482 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
67a4f3c1 | 483 | Release: %{rel}@%{_kernel_ver_str} |
484 | Group: Base/Kernel | |
485 | Requires(post,postun): /sbin/depmod | |
486 | Requires: dev >= 2.9.0-7 | |
487 | %if %{with dist_kernel} | |
488 | %requires_releq_kernel | |
d14fba96 | 489 | %requires_releq_kernel -n drm |
67a4f3c1 | 490 | Requires(postun): %releq_kernel |
491 | %endif | |
492 | Provides: kernel(vboxvideo) = %{version}-%{rel} | |
493 | ||
494 | %description -n kernel%{_alt_kernel}-misc-vboxvideo | |
393ec35d | 495 | DRM support for VirtualBox. |
67a4f3c1 | 496 | |
91e5103c ER |
497 | You should install this package in your Guest OS. |
498 | ||
67a4f3c1 | 499 | %description -n kernel%{_alt_kernel}-misc-vboxvideo -l pl.UTF-8 |
393ec35d | 500 | Moduł jądra Linuksa dla VirtualBoksa - sterownik obsługi DRM. |
67a4f3c1 | 501 | |
48363591 | 502 | %prep |
33aeed61 | 503 | %setup -q -n %{pname}-%{version} |
e709ce6b | 504 | %patch0 -p1 |
006342ee AM |
505 | %patch1 -p1 |
506 | %patch2 -p1 | |
8473a80d | 507 | %patch3 -p1 |
04e24f9c | 508 | %patch4 -p1 |
9a7b1cdc | 509 | %patch5 -p1 |
59d12745 | 510 | %patch6 -p1 |
fddcb741 | 511 | |
744bc35e JR |
512 | %{__sed} -i -e 's,@VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \ |
513 | -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in | |
0b6de2b7 | 514 | |
59d12745 | 515 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh |
fa19f650 | 516 | |
1794e74d ER |
517 | install -d PLD-MODULE-BUILD/{GuestDrivers,HostDrivers} |
518 | cd PLD-MODULE-BUILD | |
519 | ../src/VBox/Additions/linux/export_modules guest-modules.tar.gz | |
520 | tar -zxf guest-modules.tar.gz -C GuestDrivers | |
521 | ||
cadbdf55 | 522 | ../src/VBox/HostDrivers/linux/export_modules host-modules.tar.gz --without-hardening |
1794e74d ER |
523 | tar -zxf host-modules.tar.gz -C HostDrivers |
524 | cd - | |
59d12745 KK |
525 | %patch10 -p1 |
526 | %patch11 -p1 | |
527 | ||
5e565c4d | 528 | # fix build translations (missing qt_fa_IR.ts) |
b980c81c | 529 | cp -p src/VBox/Frontends/VirtualBox/nls/{qt_en,qt_fa_IR}.ts |
05f1b1f5 | 530 | |
fddcb741 | 531 | %build |
83ffcfa8 | 532 | %if %{with userspace} |
c6e3c003 | 533 | echo "VBOX_WITH_TESTCASES := " > LocalConfig.kmk |
106d8451 | 534 | ./configure \ |
ae1bbc88 | 535 | --with-gcc="%{__cc}" \ |
536 | --with-g++="%{__cxx}" \ | |
8da42f47 | 537 | %{!?with_doc:--disable-docs} \ |
744bc35e | 538 | --disable-java \ |
5a497466 | 539 | --disable-hardening \ |
01e414ba JR |
540 | --disable-kmods \ |
541 | --enable-vnc | |
48363591 | 542 | |
89973837 | 543 | XSERVER_VERSION=$(rpm -q --queryformat '%{VERSION}\n' xorg-xserver-server-devel | awk -F. ' { print $1 $2 } ' 2> /dev/null || echo ERROR) |
0864aefd | 544 | . ./env.sh && \ |
acf12a87 AM |
545 | kmk -j1 \ |
546 | %{?with_verbose:KBUILD_VERBOSE=3} \ | |
547 | USER=$(id -un) \ | |
89973837 ER |
548 | VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'_PLD \ |
549 | XSERVER_VERSION="$XSERVER_VERSION" | |
48363591 | 550 | %endif |
74268e47 | 551 | |
552 | %if %{with kernel} | |
cdeeee90 | 553 | export KERN_DIR=%{_kernelsrcdir} |
1794e74d ER |
554 | cd PLD-MODULE-BUILD/HostDrivers |
555 | %build_kernel_modules -m vboxdrv -C vboxdrv | |
556 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
557 | %build_kernel_modules -m vboxnetflt -C vboxnetflt | |
59d12745 | 558 | %build_kernel_modules -m vboxpci -C vboxpci |
1794e74d ER |
559 | |
560 | cd ../GuestDrivers | |
dc0a2786 | 561 | %build_kernel_modules -m vboxguest -C vboxguest |
ecfe25a3 PS |
562 | cp -a vboxguest/Module.symvers vboxsf |
563 | %build_kernel_modules -m vboxsf -C vboxsf -c | |
67a4f3c1 | 564 | %build_kernel_modules -m vboxvideo -C vboxvideo_drm |
1794e74d | 565 | cd ../.. |
744bc35e | 566 | %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/{mount.vboxsf.c,vbsfmount.c} -o mount.vboxsf |
d1c4ec5b | 567 | %endif |
48363591 | 568 | |
569 | %install | |
570 | rm -rf $RPM_BUILD_ROOT | |
571 | ||
d1c4ec5b | 572 | %if %{with userspace} |
33aeed61 | 573 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/%{pname}/ExtensionPacks} \ |
744bc35e | 574 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ |
dca6c443 | 575 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,dri,input} |
a70507fb | 576 | |
dca6c443 ER |
577 | # test if we can hardlink -- %{_builddir} and $RPM_BUILD_ROOT on same partition |
578 | if cp -al VBox.png $RPM_BUILD_ROOT/Vbox.png 2>/dev/null; then | |
579 | l=l | |
580 | rm -f $RPM_BUILD_ROOT/VBox.png | |
581 | fi | |
582 | ||
33aeed61 | 583 | cp -a$l %{outdir}/* $RPM_BUILD_ROOT%{_libdir}/%{pname} |
b75fd17a KK |
584 | |
585 | %if %{with doc} | |
26489c61 | 586 | ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual.pdf |
6ee3b66d | 587 | ln -sf %{_docdir}/%{pname}-doc-%{version}/UserManual_fr_FR.pdf $RPM_BUILD_ROOT%{_libdir}/%{pname}/UserManual_fr_FR.pdf |
b75fd17a | 588 | %endif |
dca6c443 | 589 | |
744bc35e | 590 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
59d12745 | 591 | install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/mount.vdi |
33aeed61 | 592 | install -p VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/%{pname} |
5b399826 | 593 | for f in {VBox{BFE,Headless,Manage,SDL,SVC,Tunctl,XPCOMIPCD},VirtualBox}; do |
33aeed61 | 594 | ln -s %{_libdir}/%{pname}/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
05f1b1f5 | 595 | done |
596 | ||
33aeed61 JR |
597 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/VBox.png,%{_pixmapsdir}/virtualbox.png} |
598 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname},%{_desktopdir}}/virtualbox.desktop | |
48363591 | 599 | |
33aeed61 JR |
600 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/vboxmouse_drv.so,%{_libdir}/xorg/modules/input/vboxmouse_drv.so} |
601 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxvideo_drv.so,%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so} | |
602 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/VBoxOGL.so,%{_libdir}/xorg/modules/dri/vboxvideo_dri.so} | |
dca6c443 | 603 | # xorg other driver versions |
33aeed61 JR |
604 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxmouse_drv*.{o,so} |
605 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxvideo_drv*.{o,so} | |
916ab34d | 606 | |
27a1aef6 | 607 | # XXX: where else to install them that vboxvideo_dri.so finds them? patch with rpath? |
33aeed61 JR |
608 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLarrayspu.so |
609 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLcrutil.so | |
610 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLerrorspu.so | |
611 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLfeedbackspu.so | |
612 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpackspu.so | |
613 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpassthroughspu.so | |
d1c4ec5b | 614 | |
33233365 | 615 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d |
59d12745 | 616 | cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules |
dca6c443 | 617 | |
3613936b JR |
618 | install -d $RPM_BUILD_ROOT/%{_lib}/security |
619 | mv $RPM_BUILD_ROOT{%{_libdir}/VirtualBox/additions,/%{_lib}/security}/pam_vbox.so | |
620 | ||
dca6c443 | 621 | # cleanup unpackaged |
33aeed61 JR |
622 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/{src,sdk,testcase} |
623 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/src | |
624 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxkeyboard.tar.bz2 | |
625 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/tst* | |
05c5271f | 626 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/ExtensionPacks/VNC/ExtPack-license.* |
1067d08d ER |
627 | |
628 | # Guest Only Tools | |
90de3b27 | 629 | install -d $RPM_BUILD_ROOT/etc/{X11/xinit/xinitrc.d,xdg/autostart} |
33aeed61 JR |
630 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxService |
631 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxClient | |
632 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxControl | |
90de3b27 ER |
633 | install -p -D src/VBox/Additions/x11/Installer/98vboxadd-xclient \ |
634 | $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/98vboxadd-xclient.sh | |
635 | cp -p src/VBox/Additions/x11/Installer/vboxclient.desktop \ | |
636 | $RPM_BUILD_ROOT/etc/xdg/autostart/vboxclient.desktop | |
1067d08d | 637 | |
dca6c443 | 638 | # unknown - checkme |
1067d08d | 639 | %if 1 |
33aeed61 JR |
640 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPInstall |
641 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPLoggerCtl | |
642 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPUninstall | |
643 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/VBox.sh | |
644 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxshell.py | |
645 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/xpidl | |
1067d08d | 646 | %endif |
dca6c443 ER |
647 | |
648 | # packaged by kernel part | |
33aeed61 | 649 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/mount.vboxsf |
da083e45 | 650 | %endif |
33233365 | 651 | |
da083e45 | 652 | %if %{with kernel} |
6789dad4 | 653 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,modules-load.d},%{_sbindir},%{systemdunitdir}} |
70ce4861 | 654 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv |
dc0a2786 | 655 | install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxguest |
70ce4861 | 656 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt |
b06d932c | 657 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxsf |
c1cd3b9a | 658 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp |
59d12745 | 659 | install -p %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxpci |
1794e74d ER |
660 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxdrv/vboxdrv -d misc |
661 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetadp/vboxnetadp -d misc | |
662 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetflt/vboxnetflt -d misc | |
59d12745 | 663 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxpci/vboxpci -d misc |
1794e74d ER |
664 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxguest/vboxguest -d misc |
665 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxsf/vboxsf -d misc | |
666 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxvideo_drm/vboxvideo -d misc | |
fa974331 | 667 | |
50863744 ER |
668 | install -p mount.vboxsf $RPM_BUILD_ROOT%{_sbindir}/mount.vboxsf |
669 | ||
35ccdfcc | 670 | # Tell systemd to load modules |
b980c81c ER |
671 | cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/modules-load.d/vboxdrv.conf |
672 | cp -p %{SOURCE13} $RPM_BUILD_ROOT/etc/modules-load.d/vboxguest.conf | |
673 | cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/modules-load.d/vboxnetflt.conf | |
674 | cp -p %{SOURCE15} $RPM_BUILD_ROOT/etc/modules-load.d/vboxsf.conf | |
675 | cp -p %{SOURCE16} $RPM_BUILD_ROOT/etc/modules-load.d/vboxnetadp.conf | |
676 | cp -p %{SOURCE17} $RPM_BUILD_ROOT/etc/modules-load.d/vboxpci.conf | |
35ccdfcc JR |
677 | |
678 | # And mask module-loading services | |
679 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxdrv.service | |
680 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxguest.service | |
681 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxnetflt.service | |
682 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxsf.service | |
683 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxnetadp.service | |
684 | ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/vboxpci.service | |
d1c4ec5b | 685 | %endif |
05f1b1f5 | 686 | |
48363591 | 687 | %clean |
688 | rm -rf $RPM_BUILD_ROOT | |
689 | ||
3b63d3e8 | 690 | %pre |
691 | %groupadd -g 221 -r -f vbox | |
692 | ||
14561782 | 693 | %post |
1403ac49 ER |
694 | %update_desktop_database |
695 | ||
d8ed80f4 | 696 | cat << 'EOF' |
3ee6b9d9 | 697 | You must install vboxdrv kernel module for this software to work: |
7841ddfd ER |
698 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} |
699 | ||
700 | Additionally you might want to install: | |
d2a7514f | 701 | kernel-misc-vboxnetadp-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 | 702 | kernel-misc-vboxnetflt-%{version}-%{rel}@%{_kernel_ver_str} |
59d12745 | 703 | kernel-misc-vboxpci-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 | 704 | |
fa974331 | 705 | On Guest Linux system you might want to install: |
dc0a2786 | 706 | kernel-misc-vboxguest-%{version}-%{rel}@%{_kernel_ver_str} |
ecfe25a3 | 707 | kernel-misc-vboxsf-%{version}-%{rel}@%{_kernel_ver_str} |
67a4f3c1 | 708 | kernel-misc-vboxvideo-%{version}-%{rel}@%{_kernel_ver_str} |
7841ddfd | 709 | |
d8ed80f4 | 710 | EOF |
711 | ||
3b63d3e8 | 712 | %postun |
713 | if [ "$1" = "0" ]; then | |
714 | %groupremove vbox | |
715 | fi | |
716 | ||
dc0a2786 | 717 | %post -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 718 | %depmod %{_kernel_ver} |
dc0a2786 | 719 | /sbin/chkconfig --add vboxguest |
393ec35d | 720 | %service vboxguest restart "VirtualBox Guest additions driver" |
6789dad4 | 721 | %systemd_reload |
74268e47 | 722 | |
dc0a2786 | 723 | %postun -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 724 | %depmod %{_kernel_ver} |
725 | ||
dc0a2786 | 726 | %preun -n kernel%{_alt_kernel}-misc-vboxguest |
270f67bc | 727 | if [ "$1" = "0" ]; then |
dc0a2786 AG |
728 | %service vboxguest stop |
729 | /sbin/chkconfig --del vboxguest | |
270f67bc | 730 | fi |
731 | ||
48363591 | 732 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
733 | %depmod %{_kernel_ver} | |
270f67bc | 734 | /sbin/chkconfig --add vboxdrv |
393ec35d | 735 | %service vboxdrv restart "VirtualBox Support Driver" |
6789dad4 | 736 | %systemd_reload |
48363591 | 737 | |
738 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
739 | %depmod %{_kernel_ver} | |
740 | ||
270f67bc | 741 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv |
742 | if [ "$1" = "0" ]; then | |
743 | %service vboxdrv stop | |
744 | /sbin/chkconfig --del vboxdrv | |
745 | fi | |
746 | ||
d2a7514f ŁK |
747 | %post -n kernel%{_alt_kernel}-misc-vboxnetadp |
748 | %depmod %{_kernel_ver} | |
c1cd3b9a | 749 | /sbin/chkconfig --add vboxnetadp |
393ec35d | 750 | %service vboxnetadp restart "VirtualBox Network HostOnly driver" |
6789dad4 | 751 | %systemd_reload |
d2a7514f ŁK |
752 | |
753 | %postun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
754 | %depmod %{_kernel_ver} | |
755 | ||
c1cd3b9a | 756 | %preun -n kernel%{_alt_kernel}-misc-vboxnetadp |
757 | if [ "$1" = "0" ]; then | |
758 | %service vboxnetadp stop | |
759 | /sbin/chkconfig --del vboxnetadp | |
760 | fi | |
761 | ||
1dda2f69 | 762 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
763 | %depmod %{_kernel_ver} | |
11848f5b | 764 | /sbin/chkconfig --add vboxnetflt |
393ec35d | 765 | %service vboxnetflt restart "VirtualBox Network Filter driver" |
6789dad4 | 766 | %systemd_reload |
1dda2f69 | 767 | |
768 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
769 | %depmod %{_kernel_ver} | |
770 | ||
11848f5b | 771 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt |
772 | if [ "$1" = "0" ]; then | |
773 | %service vboxnetflt stop | |
774 | /sbin/chkconfig --del vboxnetflt | |
775 | fi | |
776 | ||
59d12745 KK |
777 | %post -n kernel%{_alt_kernel}-misc-vboxpci |
778 | %depmod %{_kernel_ver} | |
779 | /sbin/chkconfig --add vboxpci | |
393ec35d | 780 | %service vboxnetflt restart "VirtualBox PCI passthrough driver" |
6789dad4 | 781 | %systemd_reload |
59d12745 KK |
782 | |
783 | %postun -n kernel%{_alt_kernel}-misc-vboxpci | |
784 | %depmod %{_kernel_ver} | |
785 | ||
786 | %preun -n kernel%{_alt_kernel}-misc-vboxpci | |
787 | if [ "$1" = "0" ]; then | |
788 | %service vboxpci stop | |
789 | /sbin/chkconfig --del vboxpci | |
790 | fi | |
791 | ||
ecfe25a3 | 792 | %post -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 793 | %depmod %{_kernel_ver} |
ecfe25a3 | 794 | /sbin/chkconfig --add vboxsf |
393ec35d | 795 | %service vboxsf restart "VirtualBox Host file system access (Shared Folders)" |
6789dad4 | 796 | %systemd_reload |
74268e47 | 797 | |
ecfe25a3 | 798 | %postun -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 799 | %depmod %{_kernel_ver} |
800 | ||
ecfe25a3 | 801 | %preun -n kernel%{_alt_kernel}-misc-vboxsf |
ca8701ad | 802 | if [ "$1" = "0" ]; then |
ecfe25a3 PS |
803 | %service vboxsf stop |
804 | /sbin/chkconfig --del vboxsf | |
ca8701ad | 805 | fi |
806 | ||
67a4f3c1 | 807 | %post -n kernel%{_alt_kernel}-misc-vboxvideo |
808 | %depmod %{_kernel_ver} | |
809 | ||
810 | %postun -n kernel%{_alt_kernel}-misc-vboxvideo | |
811 | %depmod %{_kernel_ver} | |
812 | ||
d1c4ec5b | 813 | %if %{with userspace} |
48363591 | 814 | %files |
815 | %defattr(644,root,root,755) | |
8833bce1 | 816 | %dir %{_libdir}/VirtualBox |
744bc35e | 817 | %dir %{_libdir}/VirtualBox/ExtensionPacks |
05c5271f KK |
818 | %dir %{_libdir}/VirtualBox/ExtensionPacks/VNC |
819 | %dir %{_libdir}/VirtualBox/ExtensionPacks/VNC/linux* | |
916ab34d | 820 | %dir %{_libdir}/VirtualBox/additions |
8833bce1 | 821 | %dir %{_libdir}/VirtualBox/components |
822 | %dir %{_libdir}/VirtualBox/nls | |
85b005e2 | 823 | %attr(755,root,root) %{_bindir}/VBoxBFE |
824 | %attr(755,root,root) %{_bindir}/VBoxHeadless | |
825 | %attr(755,root,root) %{_bindir}/VBoxManage | |
826 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
827 | %attr(755,root,root) %{_bindir}/VBoxSVC | |
828 | %attr(755,root,root) %{_bindir}/VBoxTunctl | |
829 | %attr(755,root,root) %{_bindir}/VBoxXPCOMIPCD | |
48363591 | 830 | %attr(755,root,root) %{_bindir}/VirtualBox |
3ee6b9d9 | 831 | %attr(755,root,root) %{_sbindir}/mount.vdi |
744bc35e JR |
832 | %attr(755,root,root) %{_libdir}/VirtualBox/DBGCPlugInDiggers.so |
833 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuth.so | |
834 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuthSimple.so | |
05c5271f | 835 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAutostart |
05f1b1f5 | 836 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBFE |
59d12745 | 837 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBalloonCtrl |
744bc35e JR |
838 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxCreateUSBNode.sh |
839 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so | |
85b005e2 | 840 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so |
744bc35e | 841 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so |
85b005e2 | 842 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so |
05c5271f | 843 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDragAndDropSvc.so |
744bc35e | 844 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxExtPackHelperApp |
3613936b | 845 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestControlSvc.so |
85b005e2 | 846 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so |
744bc35e | 847 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless |
6ee3b66d | 848 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHostChannel.so |
85b005e2 | 849 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so |
744bc35e | 850 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage |
8c76fad0 | 851 | %if %{with doc} |
6ee3b66d | 852 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManageHelp |
8c76fad0 | 853 | %endif |
5b399826 MM |
854 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
855 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP | |
85b005e2 | 856 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so |
857 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
858 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
6935b837 | 859 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython*.so |
85b005e2 | 860 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so |
f701b529 | 861 | %ifarch %{ix86} |
5b399826 MM |
862 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
863 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so | |
f701b529 | 864 | %endif |
85b005e2 | 865 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
744bc35e | 866 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL |
85b005e2 | 867 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
868 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
869 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
744bc35e JR |
870 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
871 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
872 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL | |
873 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl | |
85b005e2 | 874 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so |
05c5271f | 875 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMMPreload |
85b005e2 | 876 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so |
744bc35e JR |
877 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD |
878 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
fdd1c725 | 879 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox |
880 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
05c5271f | 881 | %attr(755,root,root) %{_libdir}/VirtualBox/ExtensionPacks/VNC/linux*/VBoxVNC*.so |
85b005e2 | 882 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
883 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
884 | %{_libdir}/VirtualBox/VMMGC.gc | |
885 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
886 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
887 | %{_libdir}/VirtualBox/VMMR0.r0 | |
c72947e7 | 888 | #%{_libdir}/VirtualBox/EfiThunk |
1067d08d ER |
889 | %{_libdir}/VirtualBox/VBoxEFI32.fd |
890 | %{_libdir}/VirtualBox/VBoxEFI64.fd | |
85b005e2 | 891 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt |
05c5271f | 892 | %{_libdir}/VirtualBox/ExtensionPacks/VNC/ExtPack.xml |
85b005e2 | 893 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt |
dca6c443 ER |
894 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxC.so |
895 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
896 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
c5e10a4d | 897 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
72d5ea57 | 898 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
3613936b | 899 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
89ce7412 | 900 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
dc0a2786 | 901 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
89ce7412 | 902 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
3613936b | 903 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
89ce7412 | 904 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
905 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
6ee3b66d | 906 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fa_IR.qm |
89ce7412 | 907 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm |
908 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
3613936b | 909 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
89ce7412 | 910 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
72d5ea57 | 911 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm |
89ce7412 | 912 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm |
913 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
c5e10a4d | 914 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
89ce7412 | 915 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
938d5b7f | 916 | %lang(lt) %{_libdir}/VirtualBox/nls/*_lt.qm |
72d5ea57 | 917 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
89ce7412 | 918 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
52b59a1b | 919 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm |
89ce7412 | 920 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm |
89ce7412 | 921 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm |
922 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
923 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
72d5ea57 | 924 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm |
89ce7412 | 925 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm |
72d5ea57 | 926 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm |
85b005e2 | 927 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
89ce7412 | 928 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
929 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
9ce724ed | 930 | %{_pixmapsdir}/virtualbox.png |
dca6c443 | 931 | %{_desktopdir}/*.desktop |
ddf75c51 | 932 | %{_libdir}/VirtualBox/icons |
744bc35e | 933 | %{_libdir}/VirtualBox/virtualbox.xml |
09c79ddb | 934 | |
ffb38bb6 | 935 | %files additions |
9dda6415 | 936 | %defattr(644,root,root,755) |
ffb38bb6 ER |
937 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
938 | ||
1067d08d ER |
939 | %files guest |
940 | %defattr(644,root,root,755) | |
785c600a ER |
941 | # NOTE: unfinished, should contain .desktop files for starting up mouse |
942 | # integration and other desktop services | |
89973837 | 943 | # NOTE: the filelist is incomplete too |
90de3b27 ER |
944 | %attr(755,root,root) %{_bindir}/VBoxClient |
945 | %attr(755,root,root) %{_bindir}/VBoxControl | |
946 | %attr(755,root,root) %{_bindir}/VBoxService | |
947 | /etc/X11/xinit/xinitrc.d/98vboxadd-xclient.sh | |
948 | /etc/xdg/autostart/vboxclient.desktop | |
1067d08d | 949 | |
744bc35e JR |
950 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/autorun.sh |
951 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd | |
952 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd-service | |
953 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxadd-x11 | |
b980c81c ER |
954 | # XXX these files belong to xorg-driver-video-vboxvideo |
955 | # but probably 18-system-xorg.patch patch is broken? | |
b435b70c | 956 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxvideo_drv_111.so |
6ee3b66d | 957 | %attr(755,root,root) %{_libdir}/VirtualBox/additions/vboxvideo_drv_112.so |
744bc35e | 958 | |
3613936b JR |
959 | %files -n pam-pam_vbox |
960 | %defattr(644,root,root,755) | |
3ee6b9d9 | 961 | %attr(755,root,root) /%{_lib}/security/pam_vbox.so |
3613936b | 962 | |
90de3b27 ER |
963 | %if %{with doc} |
964 | %files doc | |
965 | %defattr(644,root,root,755) | |
f0a66b84 JR |
966 | # this is a symlink... |
967 | %doc %{_libdir}/%{pname}/UserManual.pdf | |
6ee3b66d | 968 | %lang(fr) %doc %{_libdir}/%{pname}/UserManual_fr_FR.pdf |
f0a66b84 | 969 | # ..to this file |
90de3b27 | 970 | %doc %{outdir}/UserManual.pdf |
d43f5558 | 971 | %lang(fr) %doc %{outdir}/UserManual_fr_FR.pdf |
90de3b27 ER |
972 | %endif |
973 | ||
abb636b9 | 974 | %files udev |
975 | %defattr(644,root,root,755) | |
976 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
977 | ||
09c79ddb | 978 | %files -n xorg-driver-input-vboxmouse |
979 | %defattr(644,root,root,755) | |
980 | %attr(755,root,root) %{_libdir}/xorg/modules/input/vboxmouse_drv.so | |
981 | ||
982 | %files -n xorg-driver-video-vboxvideo | |
983 | %defattr(644,root,root,755) | |
984 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so | |
27a1aef6 ER |
985 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vboxvideo_dri.so |
986 | # vboxvideo_dri.so deps | |
1067d08d | 987 | %attr(755,root,root) %{_libdir}/VBoxOGLarrayspu.so |
27a1aef6 ER |
988 | %attr(755,root,root) %{_libdir}/VBoxOGLcrutil.so |
989 | %attr(755,root,root) %{_libdir}/VBoxOGLerrorspu.so | |
990 | %attr(755,root,root) %{_libdir}/VBoxOGLfeedbackspu.so | |
991 | %attr(755,root,root) %{_libdir}/VBoxOGLpackspu.so | |
992 | %attr(755,root,root) %{_libdir}/VBoxOGLpassthroughspu.so | |
d1c4ec5b | 993 | %endif |
48363591 | 994 | |
d1c4ec5b | 995 | %if %{with kernel} |
ff1f2719 JR |
996 | %files kernel-init-host |
997 | %defattr(644,root,root,755) | |
998 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
999 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
1000 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
1001 | %attr(754,root,root) /etc/rc.d/init.d/vboxpci | |
1002 | %{systemdunitdir}/vboxdrv.service | |
1003 | %{systemdunitdir}/vboxnetadp.service | |
1004 | %{systemdunitdir}/vboxnetflt.service | |
1005 | %{systemdunitdir}/vboxpci.service | |
1006 | ||
1007 | %files kernel-init-guest | |
74268e47 | 1008 | %defattr(644,root,root,755) |
dc0a2786 | 1009 | %attr(754,root,root) /etc/rc.d/init.d/vboxguest |
ff1f2719 | 1010 | %attr(754,root,root) /etc/rc.d/init.d/vboxsf |
35ccdfcc | 1011 | %{systemdunitdir}/vboxguest.service |
ff1f2719 JR |
1012 | %{systemdunitdir}/vboxsf.service |
1013 | ||
1014 | %files -n kernel%{_alt_kernel}-misc-vboxguest | |
1015 | %defattr(644,root,root,755) | |
1016 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxguest.conf | |
dc0a2786 | 1017 | /lib/modules/%{_kernel_ver}/misc/vboxguest.ko* |
74268e47 | 1018 | |
d1c4ec5b | 1019 | %files -n kernel%{_alt_kernel}-misc-vboxdrv |
48363591 | 1020 | %defattr(644,root,root,755) |
35ccdfcc | 1021 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxdrv.conf |
d1c4ec5b | 1022 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* |
74268e47 | 1023 | |
d2a7514f ŁK |
1024 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
1025 | %defattr(644,root,root,755) | |
35ccdfcc | 1026 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxnetadp.conf |
d2a7514f ŁK |
1027 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* |
1028 | ||
1dda2f69 | 1029 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
1030 | %defattr(644,root,root,755) | |
35ccdfcc | 1031 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxnetflt.conf |
1dda2f69 | 1032 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* |
1033 | ||
59d12745 KK |
1034 | %files -n kernel%{_alt_kernel}-misc-vboxpci |
1035 | %defattr(644,root,root,755) | |
35ccdfcc | 1036 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxpci.conf |
59d12745 KK |
1037 | /lib/modules/%{_kernel_ver}/misc/vboxpci.ko* |
1038 | ||
ecfe25a3 | 1039 | %files -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 1040 | %defattr(644,root,root,755) |
35ccdfcc | 1041 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/vboxsf.conf |
50863744 | 1042 | %attr(755,root,root) %{_sbindir}/mount.vboxsf |
ecfe25a3 | 1043 | /lib/modules/%{_kernel_ver}/misc/vboxsf.ko* |
67a4f3c1 | 1044 | |
1045 | %files -n kernel%{_alt_kernel}-misc-vboxvideo | |
1046 | %defattr(644,root,root,755) | |
1047 | /lib/modules/%{_kernel_ver}/misc/vboxvideo.ko* | |
1048 | %endif |