]>
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 | |
6de6074b | 30 | %define rel 7 |
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} |
264dcf8c | 36 | Version: 3.2.8 |
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 |
264dcf8c | 41 | # Source0-md5: 84de65bddb365ba61eddd3b112b303e5 |
0b0842e2 | 42 | Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf |
264dcf8c | 43 | # Source1-md5: 322feb471c55b81e95e0caecdc93efb0 |
0b0842e2 | 44 | Source2: http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso |
264dcf8c | 45 | # Source2-md5: 023cc07b07e0b3850c5e8c354ddc6075 |
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 |
abb636b9 | 179 | Group: Base/Kernel |
93bf3da1 | 180 | Requires: udev-core |
abb636b9 | 181 | |
182 | %description udev | |
2df47f85 | 183 | udev rules for VirtualBox OSE kernel modules. |
abb636b9 | 184 | |
b00b410d | 185 | You should install this package in your Host OS and in Guest OS. |
1067d08d | 186 | |
abb636b9 | 187 | %description udev -l pl.UTF-8 |
2df47f85 | 188 | Reguły udev dla modułów jądra Linuksa dla VirtualBoksa. |
abb636b9 | 189 | |
ffb38bb6 ER |
190 | %package additions |
191 | Summary: VirtualBox Guest Additions | |
192 | Group: Base | |
193 | Requires: %{name} = %{version}-%{release} | |
194 | ||
00a4a7ca | 195 | %description additions |
ffb38bb6 ER |
196 | VirtualBox Guest Additions. |
197 | ||
198 | This package contains ISO9660 image with drivers for Guest OS. | |
199 | ||
1067d08d ER |
200 | You should install this package in your Host OS. |
201 | ||
202 | %package guest | |
203 | Summary: VirtualBox Guest Additions | |
204 | Group: Base | |
b00b410d ER |
205 | Requires: kernel%{_alt_kernel}-misc-vboxsf = %{version}-%{rel}@%{_kernel_ver_str} |
206 | Requires: kernel%{_alt_kernel}-misc-vboxvideo = %{version}-%{rel}@%{_kernel_ver_str} | |
1067d08d ER |
207 | Requires: xorg-driver-input-vboxmouse = %{version}-%{release} |
208 | Requires: xorg-driver-video-vboxvideo = %{version}-%{release} | |
209 | ||
210 | %description guest | |
211 | Tools that utilize kernel modules for supporting integration with the | |
212 | Host, including file sharing and tracking of mouse pointer movement | |
213 | and X.org X11 video and mouse driver. | |
214 | ||
215 | You should install this package in your Guest OS. | |
216 | ||
3613936b JR |
217 | %package -n pam-pam_vbox |
218 | Summary: PAM module to perform automated guest logons | |
219 | Group: Base | |
220 | ||
221 | %description -n pam-pam_vbox | |
3ee6b9d9 ER |
222 | PAM module (Pluggable Authentication Module) which can be used to |
223 | perform automated guest logons. | |
3613936b | 224 | |
fbea1005 ER |
225 | %package -n xorg-driver-input-vboxmouse |
226 | Summary: X.org mouse driver for VirtualBox OSE guest OS | |
227 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie OSE | |
228 | Group: X11/Applications | |
229 | Requires: xorg-xserver-server >= 1.0.99.901 | |
230 | %if "%{pld_release}" == "ti" | |
231 | Requires: xorg-xserver-server(xinput-abi) <= 7.0 | |
232 | %else | |
233 | Requires: xorg-xserver-server(xinput-abi) <= 9.0 | |
234 | %endif | |
235 | Requires: xorg-xserver-server(xinput-abi) >= 4.0 | |
236 | ||
237 | %description -n xorg-driver-input-vboxmouse | |
238 | X.org mouse driver for VirtualBox OSE guest OS. | |
239 | ||
240 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
241 | Sterownik myszy dla systemu gościa w VirtualBoksie. | |
242 | ||
243 | %package -n xorg-driver-video-vboxvideo | |
244 | Summary: X.org video driver for VirtualBox OSE guest OS | |
245 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie OSE | |
246 | Group: X11/Applications | |
247 | Requires: xorg-xserver-libdri >= 1.7.4 | |
248 | Requires: xorg-xserver-server >= 1.0.99.901 | |
249 | %if "%{pld_release}" == "ti" | |
250 | Requires: xorg-xserver-server(videodrv-abi) <= 6.0 | |
251 | %else | |
252 | Requires: xorg-xserver-server(videodrv-abi) <= 7.0 | |
253 | %endif | |
254 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 | |
255 | ||
256 | %description -n xorg-driver-video-vboxvideo | |
257 | X.org video driver for VirtualBox OSE guest OS. | |
258 | ||
259 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
260 | Sterownik grafiki dla systemu gościa w VirtualBoksie OSE. | |
261 | ||
dc0a2786 | 262 | %package -n kernel%{_alt_kernel}-misc-vboxguest |
b0444796 | 263 | Summary: VirtualBox OSE Guest Additions for Linux Module |
ea074a55 | 264 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 265 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 266 | Group: Base/Kernel |
267 | Requires(post,postun): /sbin/depmod | |
268 | Requires: dev >= 2.9.0-7 | |
269 | %if %{with dist_kernel} | |
270 | %requires_releq_kernel | |
ca8701ad | 271 | Requires(postun): %releq_kernel |
74268e47 | 272 | %endif |
dc0a2786 AG |
273 | Provides: kernel(vboxguest) = %{version}-%{rel} |
274 | Obsoletes: kernel%{_alt_kernel}-misc-vboxadd | |
f7de19b3 | 275 | Conflicts: kernel%{_alt_kernel}-misc-vboxdrv |
74268e47 | 276 | |
dc0a2786 | 277 | %description -n kernel%{_alt_kernel}-misc-vboxguest |
b0444796 | 278 | VirtualBox OSE Guest Additions for Linux Module. |
74268e47 | 279 | |
91e5103c ER |
280 | You should install this package in your Guest OS. |
281 | ||
dc0a2786 | 282 | %description -n kernel%{_alt_kernel}-misc-vboxguest -l pl.UTF-8 |
9dda6415 ER |
283 | Moduł jądra Linuksa vboxguest dla VirtualBoksa OSE - dodatki dla |
284 | systemu gościa. | |
74268e47 | 285 | |
48363591 | 286 | %package -n kernel%{_alt_kernel}-misc-vboxdrv |
b0444796 | 287 | Summary: VirtualBox OSE Support Driver |
ea074a55 | 288 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 289 | Release: %{rel}@%{_kernel_ver_str} |
48363591 | 290 | Group: Base/Kernel |
291 | Requires(post,postun): /sbin/depmod | |
292 | Requires: dev >= 2.9.0-7 | |
293 | %if %{with dist_kernel} | |
d6f0c54e | 294 | %requires_releq_kernel |
295 | Requires(postun): %releq_kernel | |
48363591 | 296 | %endif |
fe3d1798 | 297 | Provides: kernel(vboxdrv) = %{version}-%{rel} |
48363591 | 298 | |
299 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
b0444796 | 300 | VirtualBox OSE Support Driver. |
48363591 | 301 | |
91e5103c ER |
302 | You should install this package in your Host OS. |
303 | ||
fd8fc899 | 304 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 |
ea074a55 | 305 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik wsparcia dla |
306 | systemu głównego. | |
48363591 | 307 | |
d2a7514f | 308 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp |
9dda6415 | 309 | Summary: VirtualBox OSE Network Adapter Driver |
d2a7514f ŁK |
310 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
311 | Release: %{rel}@%{_kernel_ver_str} | |
312 | Group: Base/Kernel | |
313 | Requires(post,postun): /sbin/depmod | |
314 | Requires: dev >= 2.9.0-7 | |
315 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
316 | %if %{with dist_kernel} | |
317 | %requires_releq_kernel | |
318 | Requires(postun): %releq_kernel | |
319 | %endif | |
320 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
321 | ||
322 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
323 | VirtualBox OSE Network Adapter Driver. | |
324 | ||
91e5103c ER |
325 | You should install this package in your Host OS. |
326 | ||
d2a7514f | 327 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp -l pl.UTF-8 |
9dda6415 ER |
328 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik witrualnej karty |
329 | sieciowej. | |
d2a7514f | 330 | |
1dda2f69 | 331 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
9dda6415 | 332 | Summary: VirtualBox OSE Network Filter Driver |
ea074a55 | 333 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
1dda2f69 | 334 | Release: %{rel}@%{_kernel_ver_str} |
335 | Group: Base/Kernel | |
336 | Requires(post,postun): /sbin/depmod | |
337 | Requires: dev >= 2.9.0-7 | |
338 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
339 | %if %{with dist_kernel} | |
340 | %requires_releq_kernel | |
341 | Requires(postun): %releq_kernel | |
342 | %endif | |
343 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
344 | ||
345 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
ea074a55 | 346 | VirtualBox OSE Network Filter Driver. |
1dda2f69 | 347 | |
91e5103c ER |
348 | You should install this package in your Host OS. |
349 | ||
1dda2f69 | 350 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 |
4f09a416 ER |
351 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik filtrowania sieci |
352 | dla systemu głównego. | |
1dda2f69 | 353 | |
ecfe25a3 PS |
354 | %package -n kernel%{_alt_kernel}-misc-vboxsf |
355 | Summary: Host file system access (Shared Folders) for VirtualBox OSE | |
ea074a55 | 356 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE |
fe3d1798 | 357 | Release: %{rel}@%{_kernel_ver_str} |
74268e47 | 358 | Group: Base/Kernel |
359 | Requires(post,postun): /sbin/depmod | |
360 | Requires: dev >= 2.9.0-7 | |
dc0a2786 | 361 | Requires: kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 362 | %if %{with dist_kernel} |
363 | %requires_releq_kernel | |
364 | Requires(postun): %releq_kernel | |
365 | %endif | |
ecfe25a3 PS |
366 | Provides: kernel(vboxsf) = %{version}-%{rel} |
367 | Obsoletes: kernel%{_alt_kernel}-misc-vboxvfs | |
74268e47 | 368 | |
ecfe25a3 PS |
369 | %description -n kernel%{_alt_kernel}-misc-vboxsf |
370 | Host file system access (Shared Folders) for VirtualBox OSE. | |
74268e47 | 371 | |
91e5103c ER |
372 | You should install this package in your Guest OS. |
373 | ||
ecfe25a3 | 374 | %description -n kernel%{_alt_kernel}-misc-vboxsf -l pl.UTF-8 |
4f09a416 ER |
375 | Moduł jądra Linuksa dla VirtualBoksa OSE - dostęp do plików systemu |
376 | głównego z poziomu systemu gościa. | |
74268e47 | 377 | |
67a4f3c1 | 378 | %package -n kernel%{_alt_kernel}-misc-vboxvideo |
379 | Summary: DRM support for VirtualBox OSE | |
380 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE | |
381 | Release: %{rel}@%{_kernel_ver_str} | |
382 | Group: Base/Kernel | |
383 | Requires(post,postun): /sbin/depmod | |
384 | Requires: dev >= 2.9.0-7 | |
385 | %if %{with dist_kernel} | |
386 | %requires_releq_kernel | |
d0471f70 | 387 | %if "%{rpm_build_macros}" >= "1.531" |
d14fba96 | 388 | %requires_releq_kernel -n drm |
d0471f70 | 389 | %endif |
67a4f3c1 | 390 | Requires(postun): %releq_kernel |
391 | %endif | |
392 | Provides: kernel(vboxvideo) = %{version}-%{rel} | |
393 | ||
394 | %description -n kernel%{_alt_kernel}-misc-vboxvideo | |
395 | DRM support for VirtualBox OSE. | |
396 | ||
91e5103c ER |
397 | You should install this package in your Guest OS. |
398 | ||
67a4f3c1 | 399 | %description -n kernel%{_alt_kernel}-misc-vboxvideo -l pl.UTF-8 |
400 | Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik obsługi DRM. | |
401 | ||
48363591 | 402 | %prep |
506ebac4 | 403 | %setup -q -n %{pname}-%{version}_OSE |
e709ce6b | 404 | %patch0 -p1 |
006342ee AM |
405 | %patch1 -p1 |
406 | %patch2 -p1 | |
8473a80d | 407 | %patch3 -p1 |
dced50c1 | 408 | %patch4 -p1 |
fddcb741 | 409 | |
0b6de2b7 ER |
410 | %{__sed} -i -e 's,$VBOX_DOC_PATH,%{_docdir}/%{name}-%{version},' src/VBox/Installer/linux/virtualbox.desktop |
411 | %{__sed} -i -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/linux/virtualbox.desktop | |
412 | ||
0b6de2b7 | 413 | cp -a %{SOURCE1} . |
11848f5b | 414 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE8} > VirtualBox-wrapper.sh |
fa19f650 | 415 | |
1794e74d ER |
416 | install -d PLD-MODULE-BUILD/{GuestDrivers,HostDrivers} |
417 | cd PLD-MODULE-BUILD | |
418 | ../src/VBox/Additions/linux/export_modules guest-modules.tar.gz | |
419 | tar -zxf guest-modules.tar.gz -C GuestDrivers | |
420 | ||
cadbdf55 | 421 | ../src/VBox/HostDrivers/linux/export_modules host-modules.tar.gz --without-hardening |
1794e74d ER |
422 | tar -zxf host-modules.tar.gz -C HostDrivers |
423 | cd - | |
05f1b1f5 | 424 | |
fddcb741 | 425 | %build |
83ffcfa8 | 426 | %if %{with userspace} |
106d8451 | 427 | ./configure \ |
ae1bbc88 | 428 | --with-gcc="%{__cc}" \ |
429 | --with-g++="%{__cxx}" \ | |
5a497466 | 430 | --disable-hardening \ |
655754f2 | 431 | --disable-kmods |
48363591 | 432 | |
0864aefd | 433 | . ./env.sh && \ |
006342ee | 434 | kmk -j1 %{?with_verbose:KBUILD_VERBOSE=3} USER=$(id -un) |
48363591 | 435 | %endif |
74268e47 | 436 | |
437 | %if %{with kernel} | |
1794e74d ER |
438 | cd PLD-MODULE-BUILD/HostDrivers |
439 | %build_kernel_modules -m vboxdrv -C vboxdrv | |
440 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
441 | %build_kernel_modules -m vboxnetflt -C vboxnetflt | |
442 | ||
443 | cd ../GuestDrivers | |
dc0a2786 | 444 | %build_kernel_modules -m vboxguest -C vboxguest |
ecfe25a3 PS |
445 | cp -a vboxguest/Module.symvers vboxsf |
446 | %build_kernel_modules -m vboxsf -C vboxsf -c | |
67a4f3c1 | 447 | %build_kernel_modules -m vboxvideo -C vboxvideo_drm |
1794e74d | 448 | cd ../.. |
50863744 | 449 | %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c -o mount.vboxsf |
d1c4ec5b | 450 | %endif |
48363591 | 451 | |
452 | %install | |
453 | rm -rf $RPM_BUILD_ROOT | |
454 | ||
d1c4ec5b | 455 | %if %{with userspace} |
48363591 | 456 | install -d \ |
dca6c443 ER |
457 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_pixmapsdir},%{_desktopdir}} \ |
458 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,dri,input} | |
a70507fb | 459 | |
dca6c443 ER |
460 | # test if we can hardlink -- %{_builddir} and $RPM_BUILD_ROOT on same partition |
461 | if cp -al VBox.png $RPM_BUILD_ROOT/Vbox.png 2>/dev/null; then | |
462 | l=l | |
463 | rm -f $RPM_BUILD_ROOT/VBox.png | |
464 | fi | |
465 | ||
466 | cp -a$l %{outdir} $RPM_BUILD_ROOT%{_libdir}/%{pname} | |
467 | ||
468 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
50863744 | 469 | install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/mount.vdi |
dca6c443 | 470 | install -p VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/%{pname} |
5b399826 | 471 | for f in {VBox{BFE,Headless,Manage,SDL,SVC,Tunctl,XPCOMIPCD},VirtualBox}; do |
dca6c443 | 472 | ln -s %{_libdir}/%{pname}/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
05f1b1f5 | 473 | done |
474 | ||
dca6c443 | 475 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname},%{_pixmapsdir}}/VBox.png |
7bb1ab10 | 476 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname},%{_desktopdir}}/virtualbox.desktop |
48363591 | 477 | |
55f3f0a2 | 478 | %if "%{pld_release}" == "ti" |
479 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxmouse_drv_17.so,%{_libdir}/xorg/modules/input/vboxmouse_drv.so} | |
480 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxvideo_drv_17.so,%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so} | |
481 | %else | |
d0471f70 ER |
482 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxmouse_drv_18.so,%{_libdir}/xorg/modules/input/vboxmouse_drv.so} |
483 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/vboxvideo_drv_18.so,%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so} | |
55f3f0a2 | 484 | %endif |
dca6c443 ER |
485 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions/VBoxOGL.so,%{_libdir}/xorg/modules/dri/vboxvideo_dri.so} |
486 | # xorg other driver versions | |
d0471f70 ER |
487 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/vboxmouse_drv*.{o,so} |
488 | rm -vf $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/vboxvideo_drv*.{o,so} | |
916ab34d | 489 | |
27a1aef6 | 490 | # XXX: where else to install them that vboxvideo_dri.so finds them? patch with rpath? |
1067d08d | 491 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLarrayspu.so |
dca6c443 | 492 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLcrutil.so |
dca6c443 ER |
493 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLerrorspu.so |
494 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLfeedbackspu.so | |
1067d08d | 495 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpackspu.so |
dca6c443 | 496 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpassthroughspu.so |
d1c4ec5b | 497 | |
33233365 | 498 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d |
80ec693d | 499 | cp -a %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules |
dca6c443 | 500 | |
3613936b JR |
501 | install -d $RPM_BUILD_ROOT/%{_lib}/security |
502 | mv $RPM_BUILD_ROOT{%{_libdir}/VirtualBox/additions,/%{_lib}/security}/pam_vbox.so | |
503 | ||
dca6c443 ER |
504 | # cleanup unpackaged |
505 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/{src,sdk,testcase} | |
506 | rm -r $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/src | |
3613936b | 507 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxkeyboard.tar.bz2 |
dca6c443 ER |
508 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/tst* |
509 | ||
1067d08d ER |
510 | # IPRT Testcase / Tool - Source Code Massager. |
511 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/scm | |
512 | ||
513 | # Guest Only Tools | |
514 | mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_bindir}}/VBoxService | |
515 | ||
dca6c443 | 516 | # unknown - checkme |
1067d08d | 517 | %if 1 |
dca6c443 ER |
518 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPInstall |
519 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPLoggerCtl | |
520 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/SUPUninstall | |
521 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/VBox.sh | |
dca6c443 ER |
522 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/VBoxClient |
523 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/VBoxControl | |
dca6c443 ER |
524 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/vboxshell.py |
525 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/xpidl | |
1067d08d | 526 | %endif |
dca6c443 ER |
527 | |
528 | # packaged by kernel part | |
529 | rm $RPM_BUILD_ROOT%{_libdir}/%{pname}/additions/mount.vboxsf | |
da083e45 | 530 | %endif |
33233365 | 531 | |
da083e45 | 532 | %if %{with kernel} |
50863744 | 533 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,modprobe.d},%{_sbindir}} |
70ce4861 | 534 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv |
dc0a2786 | 535 | install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxguest |
70ce4861 | 536 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt |
b06d932c | 537 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxsf |
c1cd3b9a | 538 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp |
1794e74d ER |
539 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxdrv/vboxdrv -d misc |
540 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetadp/vboxnetadp -d misc | |
541 | %install_kernel_modules -m PLD-MODULE-BUILD/HostDrivers/vboxnetflt/vboxnetflt -d misc | |
542 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxguest/vboxguest -d misc | |
543 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxsf/vboxsf -d misc | |
544 | %install_kernel_modules -m PLD-MODULE-BUILD/GuestDrivers/vboxvideo_drm/vboxvideo -d misc | |
fa974331 | 545 | |
50863744 ER |
546 | install -p mount.vboxsf $RPM_BUILD_ROOT%{_sbindir}/mount.vboxsf |
547 | ||
d1c4ec5b | 548 | %endif |
05f1b1f5 | 549 | |
48363591 | 550 | %clean |
551 | rm -rf $RPM_BUILD_ROOT | |
552 | ||
3b63d3e8 | 553 | %pre |
554 | %groupadd -g 221 -r -f vbox | |
555 | ||
14561782 | 556 | %post |
d8ed80f4 | 557 | cat << 'EOF' |
3ee6b9d9 | 558 | You must install vboxdrv kernel module for this software to work: |
7841ddfd ER |
559 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} |
560 | ||
561 | Additionally you might want to install: | |
d2a7514f | 562 | kernel-misc-vboxnetadp-%{version}-%{rel}@%{_kernel_ver_str} |
05f12a30 ER |
563 | kernel-misc-vboxnetflt-%{version}-%{rel}@%{_kernel_ver_str} |
564 | ||
fa974331 | 565 | On Guest Linux system you might want to install: |
dc0a2786 | 566 | kernel-misc-vboxguest-%{version}-%{rel}@%{_kernel_ver_str} |
ecfe25a3 | 567 | kernel-misc-vboxsf-%{version}-%{rel}@%{_kernel_ver_str} |
67a4f3c1 | 568 | kernel-misc-vboxvideo-%{version}-%{rel}@%{_kernel_ver_str} |
7841ddfd | 569 | |
d8ed80f4 | 570 | EOF |
571 | ||
3b63d3e8 | 572 | %postun |
573 | if [ "$1" = "0" ]; then | |
574 | %groupremove vbox | |
575 | fi | |
576 | ||
dc0a2786 | 577 | %post -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 578 | %depmod %{_kernel_ver} |
dc0a2786 AG |
579 | /sbin/chkconfig --add vboxguest |
580 | %service vboxguest restart "VirtualBox OSE Guest additions driver" | |
74268e47 | 581 | |
dc0a2786 | 582 | %postun -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 583 | %depmod %{_kernel_ver} |
584 | ||
dc0a2786 | 585 | %preun -n kernel%{_alt_kernel}-misc-vboxguest |
270f67bc | 586 | if [ "$1" = "0" ]; then |
dc0a2786 AG |
587 | %service vboxguest stop |
588 | /sbin/chkconfig --del vboxguest | |
270f67bc | 589 | fi |
590 | ||
48363591 | 591 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
592 | %depmod %{_kernel_ver} | |
270f67bc | 593 | /sbin/chkconfig --add vboxdrv |
ffb38bb6 | 594 | %service vboxdrv restart "VirtualBox OSE Support Driver" |
48363591 | 595 | |
596 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
597 | %depmod %{_kernel_ver} | |
598 | ||
270f67bc | 599 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv |
600 | if [ "$1" = "0" ]; then | |
601 | %service vboxdrv stop | |
602 | /sbin/chkconfig --del vboxdrv | |
603 | fi | |
604 | ||
d2a7514f ŁK |
605 | %post -n kernel%{_alt_kernel}-misc-vboxnetadp |
606 | %depmod %{_kernel_ver} | |
c1cd3b9a | 607 | /sbin/chkconfig --add vboxnetadp |
608 | %service vboxnetadp restart "VirtualBox OSE Network HostOnly driver" | |
d2a7514f ŁK |
609 | |
610 | %postun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
611 | %depmod %{_kernel_ver} | |
612 | ||
c1cd3b9a | 613 | %preun -n kernel%{_alt_kernel}-misc-vboxnetadp |
614 | if [ "$1" = "0" ]; then | |
615 | %service vboxnetadp stop | |
616 | /sbin/chkconfig --del vboxnetadp | |
617 | fi | |
618 | ||
1dda2f69 | 619 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
620 | %depmod %{_kernel_ver} | |
11848f5b | 621 | /sbin/chkconfig --add vboxnetflt |
fd488e66 | 622 | %service vboxnetflt restart "VirtualBox OSE Network Filter driver" |
1dda2f69 | 623 | |
624 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
625 | %depmod %{_kernel_ver} | |
626 | ||
11848f5b | 627 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt |
628 | if [ "$1" = "0" ]; then | |
629 | %service vboxnetflt stop | |
630 | /sbin/chkconfig --del vboxnetflt | |
631 | fi | |
632 | ||
ecfe25a3 | 633 | %post -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 634 | %depmod %{_kernel_ver} |
ecfe25a3 PS |
635 | /sbin/chkconfig --add vboxsf |
636 | %service vboxsf restart "VirtualBox OSE Host file system access (Shared Folders)" | |
74268e47 | 637 | |
ecfe25a3 | 638 | %postun -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 639 | %depmod %{_kernel_ver} |
640 | ||
ecfe25a3 | 641 | %preun -n kernel%{_alt_kernel}-misc-vboxsf |
ca8701ad | 642 | if [ "$1" = "0" ]; then |
ecfe25a3 PS |
643 | %service vboxsf stop |
644 | /sbin/chkconfig --del vboxsf | |
ca8701ad | 645 | fi |
646 | ||
67a4f3c1 | 647 | %post -n kernel%{_alt_kernel}-misc-vboxvideo |
648 | %depmod %{_kernel_ver} | |
649 | ||
650 | %postun -n kernel%{_alt_kernel}-misc-vboxvideo | |
651 | %depmod %{_kernel_ver} | |
652 | ||
d1c4ec5b | 653 | %if %{with userspace} |
48363591 | 654 | %files |
655 | %defattr(644,root,root,755) | |
7d1c0a63 | 656 | %doc UserManual.pdf |
8833bce1 | 657 | %dir %{_libdir}/VirtualBox |
916ab34d | 658 | %dir %{_libdir}/VirtualBox/additions |
8833bce1 | 659 | %dir %{_libdir}/VirtualBox/components |
660 | %dir %{_libdir}/VirtualBox/nls | |
85b005e2 | 661 | %attr(755,root,root) %{_bindir}/VBoxBFE |
662 | %attr(755,root,root) %{_bindir}/VBoxHeadless | |
663 | %attr(755,root,root) %{_bindir}/VBoxManage | |
664 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
665 | %attr(755,root,root) %{_bindir}/VBoxSVC | |
666 | %attr(755,root,root) %{_bindir}/VBoxTunctl | |
667 | %attr(755,root,root) %{_bindir}/VBoxXPCOMIPCD | |
48363591 | 668 | %attr(755,root,root) %{_bindir}/VirtualBox |
3ee6b9d9 | 669 | %attr(755,root,root) %{_sbindir}/mount.vdi |
05f1b1f5 | 670 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
671 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxBFE | |
8bb99fd5 | 672 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless |
05f1b1f5 | 673 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage |
674 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL | |
5b399826 | 675 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL |
8bb99fd5 | 676 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl |
05f1b1f5 | 677 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD |
85b005e2 | 678 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so |
679 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
680 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
3613936b | 681 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestControlSvc.so |
85b005e2 | 682 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so |
683 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
5b399826 MM |
684 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
685 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP | |
85b005e2 | 686 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so |
687 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
688 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
6935b837 | 689 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython*.so |
85b005e2 | 690 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so |
f701b529 | 691 | %ifarch %{ix86} |
5b399826 MM |
692 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
693 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so | |
f701b529 | 694 | %endif |
85b005e2 | 695 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
85b005e2 | 696 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
697 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
698 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
699 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
700 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
701 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so | |
fdd1c725 | 702 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox |
703 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
2a9de9cd | 704 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh |
85b005e2 | 705 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
706 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
707 | %{_libdir}/VirtualBox/VMMGC.gc | |
708 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
709 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
710 | %{_libdir}/VirtualBox/VMMR0.r0 | |
1067d08d ER |
711 | %{_libdir}/VirtualBox/EfiThunk |
712 | %{_libdir}/VirtualBox/VBoxEFI32.fd | |
713 | %{_libdir}/VirtualBox/VBoxEFI64.fd | |
85b005e2 | 714 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt |
85b005e2 | 715 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt |
dca6c443 ER |
716 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxC.so |
717 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
718 | %attr(755,root,root) %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
89ce7412 | 719 | %lang(ar) %{_libdir}/VirtualBox/nls/*_ar.qm |
c5e10a4d | 720 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
72d5ea57 | 721 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
3613936b | 722 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
89ce7412 | 723 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
dc0a2786 | 724 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
89ce7412 | 725 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
11de52da | 726 | %lang(el) %{_libdir}/VirtualBox/nls/*_el.qm |
3613936b | 727 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
89ce7412 | 728 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
729 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
730 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
731 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
3613936b | 732 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
89ce7412 | 733 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
72d5ea57 | 734 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm |
89ce7412 | 735 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm |
736 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
c5e10a4d | 737 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
89ce7412 | 738 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
938d5b7f | 739 | %lang(lt) %{_libdir}/VirtualBox/nls/*_lt.qm |
72d5ea57 | 740 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
89ce7412 | 741 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
52b59a1b | 742 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm |
89ce7412 | 743 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm |
89ce7412 | 744 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm |
745 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
746 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
72d5ea57 | 747 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm |
89ce7412 | 748 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm |
72d5ea57 | 749 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm |
85b005e2 | 750 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
89ce7412 | 751 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
752 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
d89980c7 | 753 | %{_pixmapsdir}/VBox.png |
dca6c443 | 754 | %{_desktopdir}/*.desktop |
09c79ddb | 755 | |
ffb38bb6 | 756 | %files additions |
9dda6415 | 757 | %defattr(644,root,root,755) |
ffb38bb6 ER |
758 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso |
759 | ||
1067d08d ER |
760 | %files guest |
761 | %defattr(644,root,root,755) | |
762 | %attr(755,root,root) %{_bindir}/VBoxService | |
763 | ||
3613936b JR |
764 | %files -n pam-pam_vbox |
765 | %defattr(644,root,root,755) | |
3ee6b9d9 | 766 | %attr(755,root,root) /%{_lib}/security/pam_vbox.so |
3613936b | 767 | |
abb636b9 | 768 | %files udev |
769 | %defattr(644,root,root,755) | |
770 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
771 | ||
09c79ddb | 772 | %files -n xorg-driver-input-vboxmouse |
773 | %defattr(644,root,root,755) | |
774 | %attr(755,root,root) %{_libdir}/xorg/modules/input/vboxmouse_drv.so | |
775 | ||
776 | %files -n xorg-driver-video-vboxvideo | |
777 | %defattr(644,root,root,755) | |
778 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so | |
27a1aef6 ER |
779 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vboxvideo_dri.so |
780 | # vboxvideo_dri.so deps | |
1067d08d | 781 | %attr(755,root,root) %{_libdir}/VBoxOGLarrayspu.so |
27a1aef6 ER |
782 | %attr(755,root,root) %{_libdir}/VBoxOGLcrutil.so |
783 | %attr(755,root,root) %{_libdir}/VBoxOGLerrorspu.so | |
784 | %attr(755,root,root) %{_libdir}/VBoxOGLfeedbackspu.so | |
785 | %attr(755,root,root) %{_libdir}/VBoxOGLpackspu.so | |
786 | %attr(755,root,root) %{_libdir}/VBoxOGLpassthroughspu.so | |
d1c4ec5b | 787 | %endif |
48363591 | 788 | |
d1c4ec5b | 789 | %if %{with kernel} |
dc0a2786 | 790 | %files -n kernel%{_alt_kernel}-misc-vboxguest |
74268e47 | 791 | %defattr(644,root,root,755) |
dc0a2786 AG |
792 | %attr(754,root,root) /etc/rc.d/init.d/vboxguest |
793 | /lib/modules/%{_kernel_ver}/misc/vboxguest.ko* | |
74268e47 | 794 | |
d1c4ec5b | 795 | %files -n kernel%{_alt_kernel}-misc-vboxdrv |
48363591 | 796 | %defattr(644,root,root,755) |
67ad4c40 | 797 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv |
d1c4ec5b | 798 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* |
74268e47 | 799 | |
d2a7514f ŁK |
800 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
801 | %defattr(644,root,root,755) | |
c1cd3b9a | 802 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp |
d2a7514f ŁK |
803 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* |
804 | ||
1dda2f69 | 805 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
806 | %defattr(644,root,root,755) | |
11848f5b | 807 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt |
1dda2f69 | 808 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* |
809 | ||
ecfe25a3 | 810 | %files -n kernel%{_alt_kernel}-misc-vboxsf |
74268e47 | 811 | %defattr(644,root,root,755) |
b06d932c | 812 | %attr(754,root,root) /etc/rc.d/init.d/vboxsf |
50863744 | 813 | %attr(755,root,root) %{_sbindir}/mount.vboxsf |
ecfe25a3 | 814 | /lib/modules/%{_kernel_ver}/misc/vboxsf.ko* |
67a4f3c1 | 815 | |
816 | %files -n kernel%{_alt_kernel}-misc-vboxvideo | |
817 | %defattr(644,root,root,755) | |
818 | /lib/modules/%{_kernel_ver}/misc/vboxvideo.ko* | |
819 | %endif |