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