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