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