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