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