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