]>
Commit | Line | Data |
---|---|---|
48363591 | 1 | # |
2 | # TODO: | |
74268e47 | 3 | # - Find how to compile with PLD CFLAGS/CXXFLAGS/LDFLAGS. |
74268e47 | 4 | # - Package SDK. |
09c79ddb | 5 | # - Package utils (and write initscripts ?) for Guest OS. |
ffb38bb6 | 6 | # - Check License of VBoxGuestAdditions_*.iso, it's probably not GPL v2. |
5f8b0a92 | 7 | # If so check if it is distributable. |
d2a7514f | 8 | # - Add chkconfig script for vboxnetadp. |
48363591 | 9 | # |
10 | # Conditional build: | |
11 | %bcond_without dist_kernel # without distribution kernel | |
d1c4ec5b | 12 | %bcond_without kernel # don't build kernel module |
d1c4ec5b | 13 | %bcond_without userspace # don't build userspace package |
cc9d49be | 14 | %bcond_with force_userspace # force userspace build (useful if alt_kernel is set) |
b29bcb41 | 15 | %bcond_with verbose |
05f1b1f5 | 16 | |
8833bce1 | 17 | %if %{without kernel} |
18 | %undefine with_dist_kernel | |
19 | %endif | |
bd3faca3 | 20 | %if "%{_alt_kernel}" != "%{nil}" |
21 | %undefine with_userspace | |
22 | %endif | |
cc9d49be AG |
23 | %if %{with force_userspace} |
24 | %define with_userspace 1 | |
25 | %endif | |
05f9288a ER |
26 | %if %{without userspace} |
27 | # nothing to be placed to debuginfo package | |
28 | %define _enable_debug_packages 0 | |
29 | %endif | |
bd3faca3 | 30 | |
b957c74f | 31 | %define rel 3 |
bd3faca3 | 32 | %define pname VirtualBox |
93ccc0e8 ER |
33 | Summary: VirtualBox OSE - x86 hardware virtualizer |
34 | Summary(pl.UTF-8): VirtualBox OSE - wirtualizator sprzętu x86 | |
bd3faca3 | 35 | Name: %{pname}%{_alt_kernel} |
115b8460 | 36 | Version: 3.1.2 |
fe3d1798 | 37 | Release: %{rel} |
48363591 | 38 | License: GPL v2 |
39 | Group: Applications/Emulators | |
0b0842e2 | 40 | Source0: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-OSE.tar.bz2 |
115b8460 | 41 | # Source0-md5: e7808f16114f5b1a65aa2df1aa33e1a7 |
0b0842e2 | 42 | Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf |
115b8460 | 43 | # Source1-md5: 052357bb684515035b3e561b35a1d6f2 |
0b0842e2 | 44 | Source2: http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso |
115b8460 | 45 | # Source2-md5: d1ac5c53fb889338849134e07a6bc16f |
67ad4c40 | 46 | Source3: %{pname}-vboxdrv.init |
dc0a2786 | 47 | Source4: %{pname}-vboxguest.init |
11848f5b | 48 | Source5: %{pname}-vboxnetflt.init |
49 | Source6: %{pname}-vboxvfs.init | |
11848f5b | 50 | Source8: %{pname}.sh |
4f09a416 | 51 | Source9: mount.vdi |
bd3faca3 | 52 | Patch0: %{pname}-configure.patch |
006342ee | 53 | Patch1: %{pname}-configure-spaces.patch |
67a4f3c1 | 54 | Patch2: %{pname}-export_modules.patch |
8473a80d | 55 | Patch3: %{pname}-VBoxSysInfo.patch |
48363591 | 56 | URL: http://www.virtualbox.org/ |
ce9843cd | 57 | BuildRequires: rpmbuild(macros) >= 1.379 |
83ffcfa8 | 58 | %if %{with userspace} |
ce9843cd ER |
59 | %ifarch %{x8664} |
60 | BuildRequires: gcc-multilib | |
61 | BuildRequires: glibc-devel(i686) | |
62 | BuildRequires: libstdc++-multilib-devel | |
4fff279a | 63 | BuildRequires: libstdc++-multilib-static |
ce9843cd | 64 | %endif |
ce9843cd ER |
65 | %if "%{pld_release}" == "ac" |
66 | BuildRequires: XFree86-devel | |
67 | %else | |
68 | BuildRequires: xorg-lib-libXcursor-devel | |
69 | BuildRequires: xorg-lib-libXmu-devel | |
70 | %endif | |
00149140 | 71 | BuildRequires: OpenGL-GLU-devel |
523e7409 | 72 | BuildRequires: OpenGL-devel |
cef75615 | 73 | BuildRequires: QtGui-devel |
2d17bb72 | 74 | BuildRequires: QtNetwork-devel |
dd64a424 | 75 | BuildRequires: QtOpenGL-devel |
c574efad | 76 | BuildRequires: SDL-devel >= 1.2.7 |
9a1cb119 | 77 | BuildRequires: acpica |
ba702945 | 78 | BuildRequires: alsa-lib-devel >= 1.0.6 |
e5aaadde | 79 | BuildRequires: bash |
48363591 | 80 | BuildRequires: bcc |
81 | BuildRequires: bin86 | |
07ef7f06 | 82 | BuildRequires: curl-devel |
eba4b2aa | 83 | BuildRequires: gcc >= 5:3.2.3 |
48363591 | 84 | BuildRequires: libIDL-devel |
fa974331 | 85 | BuildRequires: libcap-static |
ff01a704 | 86 | BuildRequires: libpng-devel >= 1.2.5 |
d22f0a53 | 87 | BuildRequires: libstdc++-devel >= 5:3.2.3 |
4fff279a | 88 | BuildRequires: libstdc++-static >= 5:3.2.3 |
48363591 | 89 | BuildRequires: libuuid-devel |
ba702945 | 90 | BuildRequires: libxml2-devel >= 2.6.26 |
76ea5ecb | 91 | BuildRequires: libxslt-devel >= 1.1.17 |
ba702945 | 92 | BuildRequires: libxslt-progs >= 1.1.17 |
0bf43862 | 93 | BuildRequires: pkgconfig |
ba702945 | 94 | BuildRequires: pulseaudio-devel >= 0.9.0 |
523e7409 | 95 | BuildRequires: python-devel |
6055e733 | 96 | BuildRequires: python-modules |
250583d4 | 97 | BuildRequires: qt4-build >= 4.2.0 |
2700662b | 98 | BuildRequires: qt4-linguist |
1e840a77 | 99 | BuildRequires: sed >= 4.0 |
0bf43862 | 100 | BuildRequires: which |
e5aaadde | 101 | BuildRequires: xalan-c-devel >= 1.10.0 |
e5aaadde | 102 | BuildRequires: xerces-c-devel >= 2.6.0 |
103 | BuildRequires: zlib-devel >= 1.2.1 | |
23d9d34e | 104 | %endif |
ce9843cd ER |
105 | %if %{with dist_kernel} |
106 | BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20 | |
83ffcfa8 | 107 | %endif |
0afa64ad | 108 | Requires(post,preun): /sbin/chkconfig |
5f1cec1f ER |
109 | Requires(postun): /usr/sbin/groupdel |
110 | Requires(pre): /usr/bin/getgid | |
111 | Requires(pre): /usr/sbin/groupadd | |
8aaa5dec | 112 | Requires: QtCore >= 4.6.1 |
fb661e50 | 113 | Suggests: gxmessage |
5f1cec1f | 114 | Provides: group(vbox) |
eba4b2aa | 115 | ExclusiveArch: %{ix86} %{x8664} |
48363591 | 116 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
117 | ||
eba4b2aa | 118 | %ifarch %{x8664} |
fe3d1798 | 119 | %define outdir amd64 |
5088674d | 120 | %else |
fe3d1798 | 121 | %define outdir x86 |
5088674d | 122 | %endif |
fa974331 | 123 | %define _sbindir /sbin |
5088674d | 124 | |
48363591 | 125 | %description |
93ccc0e8 | 126 | InnoTek VirtualBox OSE is a general-purpose full virtualizer for x86 |
48363591 | 127 | hardware. Targeted at server, desktop and embedded use, it is now the |
128 | only professional-quality virtualization solution that is also Open | |
129 | Source Software. | |
130 | ||
93ccc0e8 | 131 | Some of the features of VirtualBox OSE are: |
48363591 | 132 | |
93ccc0e8 | 133 | Modularity: VirtualBox OSE has an extremely modular design with |
48363591 | 134 | well-defined internal programming interfaces and a client/server |
135 | design. This makes it easy to control it from several interfaces at | |
136 | once: for example, you can start a virtual machine in a typical | |
137 | virtual machine GUI and then control that machine from the command | |
2df47f85 | 138 | line. VirtualBox OSE also comes with a full Software Development Kit: |
139 | even though it is Open Source Software, you don't have to hack the | |
140 | source to write a new interface for VirtualBox OSE. | |
48363591 | 141 | |
142 | Virtual machine descriptions in XML: the configuration settings of | |
143 | virtual machines are stored entirely in XML and are independent of the | |
144 | local machines. Virtual machine definitions can therefore easily be | |
145 | ported to other computers. | |
146 | ||
fd8fc899 | 147 | %description -l pl.UTF-8 |
93ccc0e8 | 148 | InnoTek VirtualBox OSE jest emulatorem sprzętu x86. Kierowany do |
fd8fc899 JR |
149 | zastosowań serwerowych, desktopowych oraz wbudowanych jest obecnie |
150 | jedynym wysokiej jakości rozwiązaniem wirtualizacyjnym dostępnym | |
151 | również jako Otwarte Oprogramowanie. | |
48363591 | 152 | |
fd8fc899 | 153 | Przykładowe cechy VirtualBoksa: |
48363591 | 154 | |
93ccc0e8 | 155 | Modularność: VirtualBox OSE jest wysoce zmodularyzowanym produktem z |
fd8fc899 JR |
156 | dobrze zaprojektowanym wewnętrznym interfejsem programowym typu |
157 | klient/serwer. Dzięki temu można łatwo kontrolować go za pomocą | |
158 | różnych interfejsów. Można na przykład uruchomić maszynę wirtualną z | |
159 | poziomu interfejsu graficznego, a później kontrolować ją z linii | |
2df47f85 | 160 | poleceń. VirtualBox OSE dostarcza również pełny pakiet deweloperski, |
161 | co pozwala stworzyć dowolny inny interfejs zarządzania maszyną | |
162 | wirtualną. | |
48363591 | 163 | |
fd8fc899 JR |
164 | Opisy maszyn wirtualnych w XML-u: konfiguracje poszczególnych maszyn |
165 | wirtualnych są w całości przechowywane w XML-u i są niezależne od | |
166 | lokalnej maszyny. Dzięki temu można szybko i łatwo przenieść | |
167 | konfigurację maszyny wirtualnej na inny komputer. | |
48363591 | 168 | |
abb636b9 | 169 | %package udev |
93ccc0e8 | 170 | Summary: udev rules for VirtualBox OSE kernel modules |
da083e45 | 171 | Summary(pl.UTF-8): Reguły udev dla modułów jądra Linuksa dla VirtualBoksa |
8512deca | 172 | Release: %{rel} |
abb636b9 | 173 | Group: Base/Kernel |
93bf3da1 | 174 | Requires: udev-core |
abb636b9 | 175 | |
176 | %description udev | |
2df47f85 | 177 | udev rules for VirtualBox OSE kernel modules. |
abb636b9 | 178 | |
179 | %description udev -l pl.UTF-8 | |
2df47f85 | 180 | Reguły udev dla modułów jądra Linuksa dla VirtualBoksa. |
abb636b9 | 181 | |
ffb38bb6 ER |
182 | %package additions |
183 | Summary: VirtualBox Guest Additions | |
184 | Group: Base | |
185 | Requires: %{name} = %{version}-%{release} | |
186 | ||
00a4a7ca | 187 | %description additions |
ffb38bb6 ER |
188 | VirtualBox Guest Additions. |
189 | ||
190 | This package contains ISO9660 image with drivers for Guest OS. | |
191 | ||
dc0a2786 | 192 | %package -n kernel%{_alt_kernel}-misc-vboxguest |
b0444796 | 193 | Summary: VirtualBox OSE Guest Additions for Linux Module |
ea074a55 | 194 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 195 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 196 | Group: Base/Kernel |
197 | Requires(post,postun): /sbin/depmod | |
198 | Requires: dev >= 2.9.0-7 | |
199 | %if %{with dist_kernel} | |
200 | %requires_releq_kernel | |
ca8701ad | 201 | Requires(postun): %releq_kernel |
74268e47 | 202 | %endif |
dc0a2786 AG |
203 | Provides: kernel(vboxguest) = %{version}-%{rel} |
204 | Obsoletes: kernel%{_alt_kernel}-misc-vboxadd | |
f7de19b3 | 205 | Conflicts: kernel%{_alt_kernel}-misc-vboxdrv |
74268e47 | 206 | |
dc0a2786 | 207 | %description -n kernel%{_alt_kernel}-misc-vboxguest |
b0444796 | 208 | VirtualBox OSE Guest Additions for Linux Module. |
74268e47 | 209 | |
dc0a2786 AG |
210 | %description -n kernel%{_alt_kernel}-misc-vboxguest -l pl.UTF-8 |
211 | Moduł jądra Linuksa vboxguest dla VirtualBoksa OSE - dodatki dla systemu | |
4f09a416 | 212 | gościa. |
74268e47 | 213 | |
48363591 | 214 | %package -n kernel%{_alt_kernel}-misc-vboxdrv |
b0444796 | 215 | Summary: VirtualBox OSE Support Driver |
ea074a55 | 216 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 217 | Release: %{rel}@%{_kernel_ver_str} |
48363591 | 218 | Group: Base/Kernel |
219 | Requires(post,postun): /sbin/depmod | |
220 | Requires: dev >= 2.9.0-7 | |
221 | %if %{with dist_kernel} | |
d6f0c54e | 222 | %requires_releq_kernel |
223 | Requires(postun): %releq_kernel | |
48363591 | 224 | %endif |
fe3d1798 | 225 | Provides: kernel(vboxdrv) = %{version}-%{rel} |
48363591 | 226 | |
227 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
b0444796 | 228 | VirtualBox OSE Support Driver. |
48363591 | 229 | |
fd8fc899 | 230 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 |
ea074a55 | 231 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik wsparcia dla |
232 | systemu głównego. | |
48363591 | 233 | |
d2a7514f ŁK |
234 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp |
235 | Summary: VirtualBox OSE Network Adapter Driver. | |
236 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE | |
237 | Release: %{rel}@%{_kernel_ver_str} | |
238 | Group: Base/Kernel | |
239 | Requires(post,postun): /sbin/depmod | |
240 | Requires: dev >= 2.9.0-7 | |
241 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
242 | %if %{with dist_kernel} | |
243 | %requires_releq_kernel | |
244 | Requires(postun): %releq_kernel | |
245 | %endif | |
246 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
247 | ||
248 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
249 | VirtualBox OSE Network Adapter Driver. | |
250 | ||
251 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp -l pl.UTF-8 | |
252 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik witrualnej | |
253 | karty sieciowej. | |
254 | ||
1dda2f69 | 255 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
d2a7514f | 256 | Summary: VirtualBox OSE Network Filter Driver. |
ea074a55 | 257 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
1dda2f69 | 258 | Release: %{rel}@%{_kernel_ver_str} |
259 | Group: Base/Kernel | |
260 | Requires(post,postun): /sbin/depmod | |
261 | Requires: dev >= 2.9.0-7 | |
262 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
263 | %if %{with dist_kernel} | |
264 | %requires_releq_kernel | |
265 | Requires(postun): %releq_kernel | |
266 | %endif | |
267 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
268 | ||
269 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
ea074a55 | 270 | VirtualBox OSE Network Filter Driver. |
1dda2f69 | 271 | |
272 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
4f09a416 ER |
273 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik filtrowania sieci |
274 | dla systemu głównego. | |
1dda2f69 | 275 | |
74268e47 | 276 | %package -n kernel%{_alt_kernel}-misc-vboxvfs |
b0444796 | 277 | Summary: Host file system access VFS for VirtualBox OSE |
ea074a55 | 278 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 279 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 280 | Group: Base/Kernel |
281 | Requires(post,postun): /sbin/depmod | |
282 | Requires: dev >= 2.9.0-7 | |
dc0a2786 | 283 | Requires: kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 284 | %if %{with dist_kernel} |
285 | %requires_releq_kernel | |
286 | Requires(postun): %releq_kernel | |
287 | %endif | |
fe3d1798 | 288 | Provides: kernel(vboxvfs) = %{version}-%{rel} |
74268e47 | 289 | |
290 | %description -n kernel%{_alt_kernel}-misc-vboxvfs | |
b0444796 | 291 | Host file system access VFS for VirtualBox OSE. |
74268e47 | 292 | |
293 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
4f09a416 ER |
294 | Moduł jądra Linuksa dla VirtualBoksa OSE - dostęp do plików systemu |
295 | głównego z poziomu systemu gościa. | |
74268e47 | 296 | |
67a4f3c1 | 297 | %package -n kernel%{_alt_kernel}-misc-vboxvideo |
298 | Summary: DRM support for VirtualBox OSE | |
299 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE | |
300 | Release: %{rel}@%{_kernel_ver_str} | |
301 | Group: Base/Kernel | |
302 | Requires(post,postun): /sbin/depmod | |
303 | Requires: dev >= 2.9.0-7 | |
304 | %if %{with dist_kernel} | |
305 | %requires_releq_kernel | |
306 | Requires(postun): %releq_kernel | |
307 | %endif | |
308 | Provides: kernel(vboxvideo) = %{version}-%{rel} | |
309 | ||
310 | %description -n kernel%{_alt_kernel}-misc-vboxvideo | |
311 | DRM support for VirtualBox OSE. | |
312 | ||
313 | %description -n kernel%{_alt_kernel}-misc-vboxvideo -l pl.UTF-8 | |
314 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik obsługi DRM. | |
315 | ||
09c79ddb | 316 | %package -n xorg-driver-input-vboxmouse |
93ccc0e8 | 317 | Summary: X.org mouse driver for VirtualBox OSE guest OS |
ea074a55 | 318 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie OSE |
fe3d1798 | 319 | Release: %{rel} |
09c79ddb | 320 | Group: X11/Applications |
321 | Requires: xorg-xserver-server >= 1.0.99.901 | |
6369aec7 | 322 | Requires: xorg-xserver-server(xinput-abi) <= 7.0 |
fa974331 | 323 | Requires: xorg-xserver-server(xinput-abi) >= 4.0 |
09c79ddb | 324 | |
325 | %description -n xorg-driver-input-vboxmouse | |
93ccc0e8 | 326 | X.org mouse driver for VirtualBox OSE guest OS. |
09c79ddb | 327 | |
328 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
fe3d1798 | 329 | Sterownik myszy dla systemu gościa w VirtualBoksie. |
09c79ddb | 330 | |
331 | %package -n xorg-driver-video-vboxvideo | |
93ccc0e8 | 332 | Summary: X.org video driver for VirtualBox OSE guest OS |
ea074a55 | 333 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie OSE |
fe3d1798 | 334 | Release: %{rel} |
09c79ddb | 335 | Group: X11/Applications |
fa974331 | 336 | Requires: xorg-xserver-server >= 1.0.99.901 |
6369aec7 | 337 | Requires: xorg-xserver-server(videodrv-abi) <= 6.0 |
e8585a55 | 338 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 |
09c79ddb | 339 | |
340 | %description -n xorg-driver-video-vboxvideo | |
93ccc0e8 | 341 | X.org video driver for VirtualBox OSE guest OS. |
09c79ddb | 342 | |
343 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
ea074a55 | 344 | Sterownik grafiki dla systemu gościa w VirtualBoksie OSE. |
09c79ddb | 345 | |
48363591 | 346 | %prep |
506ebac4 | 347 | %setup -q -n %{pname}-%{version}_OSE |
e709ce6b | 348 | %patch0 -p1 |
006342ee AM |
349 | %patch1 -p1 |
350 | %patch2 -p1 | |
8473a80d | 351 | %patch3 -p1 |
fddcb741 | 352 | |
0b6de2b7 ER |
353 | %{__sed} -i -e 's,$VBOX_DOC_PATH,%{_docdir}/%{name}-%{version},' src/VBox/Installer/linux/virtualbox.desktop |
354 | %{__sed} -i -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/linux/virtualbox.desktop | |
355 | ||
33233365 | 356 | cat <<'EOF' > udev.conf |
357 | KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660" | |
dc0a2786 | 358 | KERNEL=="vboxguest", NAME="%k", GROUP="vbox", MODE="0660" |
33233365 | 359 | EOF |
23d9d34e | 360 | |
0b6de2b7 | 361 | cp -a %{SOURCE1} . |
11848f5b | 362 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE8} > VirtualBox-wrapper.sh |
fa19f650 | 363 | |
83ffcfa8 | 364 | rm -rf PLD-MODULE-BUILD && mkdir PLD-MODULE-BUILD && cd PLD-MODULE-BUILD |
365 | ../src/VBox/Additions/linux/export_modules modules.tar.gz | |
366 | tar -zxf modules.tar.gz && rm -f modules.tar.gz | |
f2dd3ab3 | 367 | ../src/VBox/HostDrivers/linux/export_modules modules.tar.gz --without-hardening && \ |
83ffcfa8 | 368 | tar -zxf modules.tar.gz && rm -f modules.tar.gz |
05f1b1f5 | 369 | |
fddcb741 | 370 | %build |
83ffcfa8 | 371 | %if %{with userspace} |
106d8451 | 372 | ./configure \ |
ae1bbc88 | 373 | --with-gcc="%{__cc}" \ |
374 | --with-g++="%{__cxx}" \ | |
5a497466 | 375 | --disable-hardening \ |
655754f2 | 376 | --disable-kmods |
48363591 | 377 | |
0864aefd | 378 | . ./env.sh && \ |
006342ee | 379 | kmk -j1 %{?with_verbose:KBUILD_VERBOSE=3} USER=$(id -un) |
48363591 | 380 | %endif |
74268e47 | 381 | |
382 | %if %{with kernel} | |
83ffcfa8 | 383 | cd PLD-MODULE-BUILD |
dc0a2786 | 384 | %build_kernel_modules -m vboxguest -C vboxguest |
74268e47 | 385 | %build_kernel_modules -m vboxdrv -C vboxdrv |
d2a7514f | 386 | %build_kernel_modules -m vboxnetadp -C vboxnetadp |
1dda2f69 | 387 | %build_kernel_modules -m vboxnetflt -C vboxnetflt |
dc0a2786 | 388 | cp -a vboxguest/Module.symvers vboxvfs |
83ffcfa8 | 389 | %build_kernel_modules -m vboxvfs -C vboxvfs -c |
67a4f3c1 | 390 | %build_kernel_modules -m vboxvideo -C vboxvideo_drm |
74268e47 | 391 | cd .. |
50863744 | 392 | %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c -o mount.vboxsf |
d1c4ec5b | 393 | %endif |
48363591 | 394 | |
395 | %install | |
396 | rm -rf $RPM_BUILD_ROOT | |
397 | ||
d1c4ec5b | 398 | %if %{with userspace} |
48363591 | 399 | install -d \ |
50863744 | 400 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_pixmapsdir},%{_desktopdir}} \ |
2dda8d86 | 401 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox \ |
a70507fb | 402 | |
50863744 | 403 | install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/mount.vdi |
70ce4861 | 404 | install -p VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
5b399826 | 405 | for f in {VBox{BFE,Headless,Manage,SDL,SVC,Tunctl,XPCOMIPCD},VirtualBox}; do |
70ce4861 | 406 | install -p out/linux.%{outdir}/release/bin/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f |
fdd1c725 | 407 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
05f1b1f5 | 408 | done |
409 | ||
70ce4861 | 410 | install -p out/linux.%{outdir}/release/bin/VBox{TestOGL,NetAdpCtl,NetDHCP} \ |
5b399826 | 411 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
70ce4861 | 412 | install -p out/linux.%{outdir}/release/bin/VBox*.so \ |
48363591 | 413 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
70ce4861 | 414 | install -p out/linux.%{outdir}/release/bin/{VBox{DD,DD2}{GC.gc,R0.r0},VMM{GC.gc,R0.r0}} \ |
48363591 | 415 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
70ce4861 | 416 | install -p out/linux.%{outdir}/release/bin/VBoxSysInfo.sh \ |
2a9de9cd | 417 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
48363591 | 418 | |
916ab34d | 419 | install -d $RPM_BUILD_ROOT%{_libdir}/VirtualBox/additions |
8833bce1 | 420 | install -d $RPM_BUILD_ROOT%{_libdir}/VirtualBox/nls |
916ab34d | 421 | |
70ce4861 | 422 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
fe3d1798 JB |
423 | cp -a out/linux.%{outdir}/release/bin/components $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
424 | cp -a out/linux.%{outdir}/release/bin/nls/* $RPM_BUILD_ROOT%{_libdir}/VirtualBox/nls | |
8833bce1 | 425 | |
c7f37a9d | 426 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input} |
1365dd46 | 427 | |
6369aec7 | 428 | install -p out/linux.%{outdir}/release/bin/additions/vboxmouse_drv_17.so \ |
09c79ddb | 429 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/vboxmouse_drv.so |
6369aec7 | 430 | install -p out/linux.%{outdir}/release/bin/additions/vboxvideo_drv_17.so \ |
09c79ddb | 431 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so |
432 | ||
70ce4861 | 433 | install -p out/linux.%{outdir}/release/bin/VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png |
0b6de2b7 | 434 | cp -a out/linux.%{outdir}/release/bin/virtualbox.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop |
d1c4ec5b | 435 | |
33233365 | 436 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d |
70ce4861 | 437 | cp -a udev.conf $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules |
da083e45 | 438 | %endif |
33233365 | 439 | |
da083e45 | 440 | %if %{with kernel} |
50863744 | 441 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,modprobe.d},%{_sbindir}} |
70ce4861 | 442 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv |
dc0a2786 | 443 | install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxguest |
70ce4861 ER |
444 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt |
445 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxvfs | |
83ffcfa8 | 446 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc |
dc0a2786 | 447 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxguest/vboxguest -d misc |
d2a7514f | 448 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetadp/vboxnetadp -d misc |
1dda2f69 | 449 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc |
83ffcfa8 | 450 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxvfs/vboxvfs -d misc |
67a4f3c1 | 451 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxvideo_drm/vboxvideo -d misc |
fa974331 | 452 | |
50863744 ER |
453 | install -p mount.vboxsf $RPM_BUILD_ROOT%{_sbindir}/mount.vboxsf |
454 | ||
70ce4861 | 455 | cat <<'EOF' > $RPM_BUILD_ROOT/etc/modprobe.d/vboxvfs.conf |
ffb38bb6 | 456 | # Filesystem name has got it's name from Shared Folders, while module is from VFS |
70ce4861 ER |
457 | alias vboxsf vboxvfs |
458 | EOF | |
d1c4ec5b | 459 | %endif |
05f1b1f5 | 460 | |
48363591 | 461 | %clean |
462 | rm -rf $RPM_BUILD_ROOT | |
463 | ||
3b63d3e8 | 464 | %pre |
465 | %groupadd -g 221 -r -f vbox | |
466 | ||
14561782 | 467 | %post |
d8ed80f4 | 468 | cat << 'EOF' |
7841ddfd ER |
469 | You must also install kernel module for this software to work: |
470 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
471 | ||
472 | Additionally you might want to install: | |
d2a7514f | 473 | kernel-misc-vboxnetadp-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 ER |
474 | kernel-misc-vboxnetflt-%{version}-%{rel}@%{_kernel_ver_str} |
475 | ||
fa974331 | 476 | On Guest Linux system you might want to install: |
dc0a2786 | 477 | kernel-misc-vboxguest-%{version}-%{rel}@%{_kernel_ver_str} |
7841ddfd | 478 | kernel-misc-vboxvfs-%{version}-%{rel}@%{_kernel_ver_str} |
67a4f3c1 | 479 | kernel-misc-vboxvideo-%{version}-%{rel}@%{_kernel_ver_str} |
7841ddfd ER |
480 | |
481 | NOTE: for different kernel brands append after word kernel the brand, like: | |
482 | kernel-desktop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
483 | kernel-laptop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
484 | kernel-vanilla-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
485 | ...etc. | |
d8ed80f4 | 486 | |
7d4acef5 | 487 | Depending on which kernel brand You use. |
d8ed80f4 | 488 | |
489 | EOF | |
490 | ||
3b63d3e8 | 491 | %postun |
492 | if [ "$1" = "0" ]; then | |
493 | %groupremove vbox | |
494 | fi | |
495 | ||
dc0a2786 | 496 | %post -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 497 | %depmod %{_kernel_ver} |
dc0a2786 AG |
498 | /sbin/chkconfig --add vboxguest |
499 | %service vboxguest restart "VirtualBox OSE Guest additions driver" | |
74268e47 | 500 | |
dc0a2786 | 501 | %postun -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 502 | %depmod %{_kernel_ver} |
503 | ||
dc0a2786 | 504 | %preun -n kernel%{_alt_kernel}-misc-vboxguest |
270f67bc | 505 | if [ "$1" = "0" ]; then |
dc0a2786 AG |
506 | %service vboxguest stop |
507 | /sbin/chkconfig --del vboxguest | |
270f67bc | 508 | fi |
509 | ||
48363591 | 510 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
511 | %depmod %{_kernel_ver} | |
270f67bc | 512 | /sbin/chkconfig --add vboxdrv |
ffb38bb6 | 513 | %service vboxdrv restart "VirtualBox OSE Support Driver" |
48363591 | 514 | |
515 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
516 | %depmod %{_kernel_ver} | |
517 | ||
270f67bc | 518 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv |
519 | if [ "$1" = "0" ]; then | |
520 | %service vboxdrv stop | |
521 | /sbin/chkconfig --del vboxdrv | |
522 | fi | |
523 | ||
d2a7514f ŁK |
524 | %post -n kernel%{_alt_kernel}-misc-vboxnetadp |
525 | %depmod %{_kernel_ver} | |
526 | ||
527 | %postun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
528 | %depmod %{_kernel_ver} | |
529 | ||
1dda2f69 | 530 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
531 | %depmod %{_kernel_ver} | |
11848f5b | 532 | /sbin/chkconfig --add vboxnetflt |
fd488e66 | 533 | %service vboxnetflt restart "VirtualBox OSE Network Filter driver" |
1dda2f69 | 534 | |
535 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
536 | %depmod %{_kernel_ver} | |
537 | ||
11848f5b | 538 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt |
539 | if [ "$1" = "0" ]; then | |
540 | %service vboxnetflt stop | |
541 | /sbin/chkconfig --del vboxnetflt | |
542 | fi | |
543 | ||
74268e47 | 544 | %post -n kernel%{_alt_kernel}-misc-vboxvfs |
545 | %depmod %{_kernel_ver} | |
ca8701ad | 546 | /sbin/chkconfig --add vboxvfs |
fa974331 | 547 | %service vboxvfs restart "VirtualBox OSE Host file system access VFS" |
74268e47 | 548 | |
549 | %postun -n kernel%{_alt_kernel}-misc-vboxvfs | |
550 | %depmod %{_kernel_ver} | |
551 | ||
ca8701ad | 552 | %preun -n kernel%{_alt_kernel}-misc-vboxvfs |
553 | if [ "$1" = "0" ]; then | |
554 | %service vboxvfs stop | |
555 | /sbin/chkconfig --del vboxvfs | |
556 | fi | |
557 | ||
67a4f3c1 | 558 | %post -n kernel%{_alt_kernel}-misc-vboxvideo |
559 | %depmod %{_kernel_ver} | |
560 | ||
561 | %postun -n kernel%{_alt_kernel}-misc-vboxvideo | |
562 | %depmod %{_kernel_ver} | |
563 | ||
d1c4ec5b | 564 | %if %{with userspace} |
48363591 | 565 | %files |
566 | %defattr(644,root,root,755) | |
7d1c0a63 | 567 | %doc UserManual.pdf |
8833bce1 | 568 | %dir %{_libdir}/VirtualBox |
916ab34d | 569 | %dir %{_libdir}/VirtualBox/additions |
8833bce1 | 570 | %dir %{_libdir}/VirtualBox/components |
571 | %dir %{_libdir}/VirtualBox/nls | |
85b005e2 | 572 | %attr(755,root,root) %{_bindir}/VBoxBFE |
573 | %attr(755,root,root) %{_bindir}/VBoxHeadless | |
574 | %attr(755,root,root) %{_bindir}/VBoxManage | |
575 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
576 | %attr(755,root,root) %{_bindir}/VBoxSVC | |
577 | %attr(755,root,root) %{_bindir}/VBoxTunctl | |
578 | %attr(755,root,root) %{_bindir}/VBoxXPCOMIPCD | |
48363591 | 579 | %attr(755,root,root) %{_bindir}/VirtualBox |
4f09a416 | 580 | %attr(755,root,root) /sbin/mount.vdi |
05f1b1f5 | 581 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
582 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBFE | |
8bb99fd5 | 583 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless |
05f1b1f5 | 584 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage |
585 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL | |
5b399826 | 586 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL |
8bb99fd5 | 587 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl |
05f1b1f5 | 588 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD |
85b005e2 | 589 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so |
590 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
591 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
592 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so | |
593 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
5b399826 MM |
594 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
595 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP | |
85b005e2 | 596 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so |
597 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
598 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
599 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython.so | |
600 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython2_6.so | |
601 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so | |
f701b529 | 602 | %ifarch %{ix86} |
5b399826 MM |
603 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
604 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so | |
f701b529 | 605 | %endif |
85b005e2 | 606 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
85b005e2 | 607 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
608 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
609 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
610 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
611 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
612 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so | |
fdd1c725 | 613 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox |
614 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
2a9de9cd | 615 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh |
85b005e2 | 616 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
617 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
618 | %{_libdir}/VirtualBox/VMMGC.gc | |
619 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
620 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
621 | %{_libdir}/VirtualBox/VMMR0.r0 | |
85b005e2 | 622 | %{_libdir}/VirtualBox/components/VBoxC.so |
623 | %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
624 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt | |
625 | %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
626 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt | |
89ce7412 | 627 | %lang(ar) %{_libdir}/VirtualBox/nls/*_ar.qm |
c5e10a4d | 628 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
72d5ea57 | 629 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
89ce7412 | 630 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
dc0a2786 | 631 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
89ce7412 | 632 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
11de52da | 633 | %lang(el) %{_libdir}/VirtualBox/nls/*_el.qm |
89ce7412 | 634 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
635 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
636 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
637 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
638 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm | |
72d5ea57 | 639 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm |
89ce7412 | 640 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm |
641 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
c5e10a4d | 642 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
89ce7412 | 643 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
72d5ea57 | 644 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
89ce7412 | 645 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
52b59a1b | 646 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm |
89ce7412 | 647 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm |
89ce7412 | 648 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm |
649 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
650 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
72d5ea57 | 651 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm |
89ce7412 | 652 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm |
72d5ea57 | 653 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm |
85b005e2 | 654 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
89ce7412 | 655 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
656 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
d89980c7 | 657 | %{_pixmapsdir}/VBox.png |
bd3faca3 | 658 | %{_desktopdir}/%{pname}.desktop |
09c79ddb | 659 | |
ffb38bb6 ER |
660 | %files additions |
661 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
662 | ||
abb636b9 | 663 | %files udev |
664 | %defattr(644,root,root,755) | |
665 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
666 | ||
09c79ddb | 667 | %files -n xorg-driver-input-vboxmouse |
668 | %defattr(644,root,root,755) | |
669 | %attr(755,root,root) %{_libdir}/xorg/modules/input/vboxmouse_drv.so | |
670 | ||
671 | %files -n xorg-driver-video-vboxvideo | |
672 | %defattr(644,root,root,755) | |
673 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so | |
d1c4ec5b | 674 | %endif |
48363591 | 675 | |
d1c4ec5b | 676 | %if %{with kernel} |
dc0a2786 | 677 | %files -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 678 | %defattr(644,root,root,755) |
dc0a2786 AG |
679 | %attr(754,root,root) /etc/rc.d/init.d/vboxguest |
680 | /lib/modules/%{_kernel_ver}/misc/vboxguest.ko* | |
74268e47 | 681 | |
d1c4ec5b | 682 | %files -n kernel%{_alt_kernel}-misc-vboxdrv |
48363591 | 683 | %defattr(644,root,root,755) |
67ad4c40 | 684 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv |
d1c4ec5b | 685 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* |
74268e47 | 686 | |
d2a7514f ŁK |
687 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
688 | %defattr(644,root,root,755) | |
689 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* | |
690 | ||
1dda2f69 | 691 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
692 | %defattr(644,root,root,755) | |
11848f5b | 693 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt |
1dda2f69 | 694 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* |
695 | ||
74268e47 | 696 | %files -n kernel%{_alt_kernel}-misc-vboxvfs |
697 | %defattr(644,root,root,755) | |
11848f5b | 698 | %attr(754,root,root) /etc/rc.d/init.d/vboxvfs |
50863744 | 699 | %attr(755,root,root) %{_sbindir}/mount.vboxsf |
70ce4861 | 700 | /etc/modprobe.d/vboxvfs.conf |
74268e47 | 701 | /lib/modules/%{_kernel_ver}/misc/vboxvfs.ko* |
67a4f3c1 | 702 | |
703 | %files -n kernel%{_alt_kernel}-misc-vboxvideo | |
704 | %defattr(644,root,root,755) | |
705 | /lib/modules/%{_kernel_ver}/misc/vboxvideo.ko* | |
706 | %endif |