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