]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %bcond_without dist_kernel # without distribution kernel | |
3 | %bcond_without kernel # don't build kernel module | |
4 | %bcond_without userspace # don't build userspace package | |
5 | %bcond_with verbose # verbose kernel mod build | |
6 | ||
7 | # disable debug - no symbols here | |
8 | %define _enable_debug_packages 0 | |
9 | %define rel 1 | |
10 | %ifarch %{x8664} | |
11 | %define arch amd64 | |
12 | %else | |
13 | %define arch x86 | |
14 | %endif | |
15 | %define prev 54097 | |
16 | ||
17 | %define pname VirtualBox | |
18 | Summary: VirtualBox - x86 hardware virtualizer | |
19 | Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 | |
20 | Name: %{pname}-bin | |
21 | Version: 3.0.10 | |
22 | Release: %{rel} | |
23 | License: Free for non-commercial use, non-distributable | |
24 | Group: Applications/Emulators | |
25 | #Source0: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-%{prev}-Linux_%{arch}.run | |
26 | Source0: %{pname}-%{version}-%{prev}-Linux_%{arch}.run | |
27 | NoSource: 0 | |
28 | Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf | |
29 | # Source1-md5: 4abaa23db5d8e22c36cd8f808c2c6975 | |
30 | Source3: %{pname}-vboxdrv.init | |
31 | Source4: %{pname}-vboxadd.init | |
32 | Source5: %{pname}-vboxnetadp.init | |
33 | Source6: %{pname}-vboxnetflt.init | |
34 | Source7: %{pname}-vboxvfs.init | |
35 | Source8: %{pname}.desktop | |
36 | Source9: %{pname}.sh | |
37 | URL: http://www.virtualbox.org/ | |
38 | %{?with_userspace:BuildRequires: ffmpeg-libs} | |
39 | BuildRequires: rpmbuild(macros) >= 1.379 | |
40 | Requires(post,preun): /sbin/chkconfig | |
41 | Requires(postun): /usr/sbin/groupdel | |
42 | Requires(pre): /usr/bin/getgid | |
43 | Requires(pre): /usr/sbin/groupadd | |
44 | Suggests: gxmessage | |
45 | Provides: group(vbox) | |
46 | Conflicts: %{pname} | |
47 | ExclusiveArch: %{ix86} %{x8664} | |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %define _noautoreq libavcodec.so.51 libavformat.so.51 | |
51 | ||
52 | %description | |
53 | Sun VirtualBox is a general-purpose full virtualizer for x86 hardware. | |
54 | Targeted at server, desktop and embedded use. | |
55 | ||
56 | Some of the features of VirtualBox are: | |
57 | ||
58 | Modularity: VirtualBox has an extremely modular design with | |
59 | well-defined internal programming interfaces and a client/server | |
60 | design. This makes it easy to control it from several interfaces at | |
61 | once: for example, you can start a virtual machine in a typical | |
62 | virtual machine GUI and then control that machine from the command | |
63 | line. | |
64 | ||
65 | Virtual machine descriptions in XML: the configuration settings of | |
66 | virtual machines are stored entirely in XML and are independent of the | |
67 | local machines. Virtual machine definitions can therefore easily be | |
68 | ported to other computers. | |
69 | ||
70 | %description -l pl.UTF-8 | |
71 | Sun VirtualBox jest emulatorem sprzętu x86. Kierowany do zastosowań | |
72 | serwerowych, desktopowych oraz wbudowanych. | |
73 | ||
74 | Przykładowe cechy VirtualBoksa: | |
75 | ||
76 | Modularność: VirtualBox jest wysoce zmodularyzowanym produktem z | |
77 | dobrze zaprojektowanym wewnętrznym interfejsem programowym typu | |
78 | klient/serwer. Dzięki temu można łatwo kontrolować go za pomocą | |
79 | różnych interfejsów. Można na przykład uruchomić maszynę wirtualną z | |
80 | poziomu interfejsu graficznego, a później kontrolować ją z linii | |
81 | poleceń. VirtualBox dostarcza również pełny pakiet deweloperski, co | |
82 | pozwala stworzyć dowolny inny interfejs zarządzania maszyną wirtualną. | |
83 | ||
84 | Opisy maszyn wirtualnych w XML-u: konfiguracje poszczególnych maszyn | |
85 | wirtualnych są w całości przechowywane w XML-u i są niezależne od | |
86 | lokalnej maszyny. Dzięki temu można szybko i łatwo przenieść | |
87 | konfigurację maszyny wirtualnej na inny komputer. | |
88 | ||
89 | %package udev | |
90 | Summary: udev rules for VirtualBox kernel modules | |
91 | Summary(pl.UTF-8): Reguły udev dla modułów jądra Linuksa dla VirtualBoksa | |
92 | Release: %{rel} | |
93 | Group: Base/Kernel | |
94 | Requires: udev-core | |
95 | ||
96 | %description udev | |
97 | udev rules for VirtualBox kernel modules. | |
98 | ||
99 | %description udev -l pl.UTF-8 | |
100 | Reguły udev dla modułów jądra Linuksa dla VirtualBoksa. | |
101 | ||
102 | %package -n kernel%{_alt_kernel}-misc-vboxadd | |
103 | Summary: VirtualBox Guest Additions for Linux Module | |
104 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
105 | Release: %{rel}@%{_kernel_ver_str} | |
106 | Group: Base/Kernel | |
107 | Requires(post,postun): /sbin/depmod | |
108 | Requires: dev >= 2.9.0-7 | |
109 | %if %{with dist_kernel} | |
110 | %requires_releq_kernel | |
111 | Requires(postun): %releq_kernel | |
112 | %endif | |
113 | Provides: kernel(vboxadd) = %{version}-%{rel} | |
114 | ||
115 | %description -n kernel%{_alt_kernel}-misc-vboxadd | |
116 | VirtualBox Guest Additions for Linux Module. | |
117 | ||
118 | %description -n kernel%{_alt_kernel}-misc-vboxadd -l pl.UTF-8 | |
119 | Moduł jądra Linuksa vboxadd dla VirtualBoksa - dodatki dla systemu | |
120 | gościa. | |
121 | ||
122 | %package -n kernel%{_alt_kernel}-misc-vboxdrv | |
123 | Summary: VirtualBox Support Driver | |
124 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
125 | Release: %{rel}@%{_kernel_ver_str} | |
126 | Group: Base/Kernel | |
127 | Requires(post,postun): /sbin/depmod | |
128 | Requires: dev >= 2.9.0-7 | |
129 | %if %{with dist_kernel} | |
130 | %requires_releq_kernel | |
131 | Requires(postun): %releq_kernel | |
132 | %endif | |
133 | Provides: kernel(vboxdrv) = %{version}-%{rel} | |
134 | ||
135 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
136 | VirtualBox Support Driver. | |
137 | ||
138 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 | |
139 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla systemu | |
140 | głównego. | |
141 | ||
142 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp | |
143 | Summary: VirtualBox Linux Host Virtual Network Adapter Driver | |
144 | Release: %{rel}@%{_kernel_ver_str} | |
145 | Group: Base/Kernel | |
146 | Requires(post,postun): /sbin/depmod | |
147 | Requires: dev >= 2.9.0-7 | |
148 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
149 | %if %{with dist_kernel} | |
150 | %requires_releq_kernel | |
151 | Requires(postun): %releq_kernel | |
152 | %endif | |
153 | Provides: kernel(vboxnetadp) = %{version}-%{rel} | |
154 | ||
155 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
156 | This is a kernel module that creates a virtual interface that can be | |
157 | attached to an internal network. | |
158 | ||
159 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt | |
160 | Summary: VirtualBox Linux Host Network Filter Driver | |
161 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
162 | Release: %{rel}@%{_kernel_ver_str} | |
163 | Group: Base/Kernel | |
164 | Requires(post,postun): /sbin/depmod | |
165 | Requires: dev >= 2.9.0-7 | |
166 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
167 | %if %{with dist_kernel} | |
168 | %requires_releq_kernel | |
169 | Requires(postun): %releq_kernel | |
170 | %endif | |
171 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
172 | ||
173 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
174 | This is a kernel module that attaches to a real interface on the host | |
175 | and filters and injects packets. | |
176 | ||
177 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
178 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania sieci dla | |
179 | systemu głównego. | |
180 | ||
181 | %package -n kernel%{_alt_kernel}-misc-vboxvfs | |
182 | Summary: Host file system access VFS for VirtualBox | |
183 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
184 | Release: %{rel}@%{_kernel_ver_str} | |
185 | Group: Base/Kernel | |
186 | Requires(post,postun): /sbin/depmod | |
187 | Requires: dev >= 2.9.0-7 | |
188 | Requires: kernel%{_alt_kernel}-misc-vboxadd | |
189 | %if %{with dist_kernel} | |
190 | %requires_releq_kernel | |
191 | Requires(postun): %releq_kernel | |
192 | %endif | |
193 | Provides: kernel(vboxvfs) = %{version}-%{rel} | |
194 | ||
195 | %description -n kernel%{_alt_kernel}-misc-vboxvfs | |
196 | Host file system access VFS for VirtualBox. | |
197 | ||
198 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
199 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików systemu | |
200 | głównego z poziomu systemu gościa. | |
201 | ||
202 | %package -n xorg-driver-input-vboxmouse | |
203 | Summary: X.org mouse driver for VirtualBox guest OS | |
204 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
205 | Release: %{rel} | |
206 | Group: X11/Applications | |
207 | Requires: xorg-xserver-server >= 1.0.99.901 | |
208 | ||
209 | %description -n xorg-driver-input-vboxmouse | |
210 | X.org mouse driver for VirtualBox guest OS. | |
211 | ||
212 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
213 | Sterownik myszy dla systemu gościa w VirtualBoksie. | |
214 | ||
215 | %package -n xorg-driver-video-vboxvideo | |
216 | Summary: X.org video driver for VirtualBox guest OS | |
217 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
218 | Release: %{rel} | |
219 | Group: X11/Applications | |
220 | Requires: xorg-xserver-server >= 1.0.99.901 | |
221 | ||
222 | %description -n xorg-driver-video-vboxvideo | |
223 | X.org video driver for VirtualBox guest OS. | |
224 | ||
225 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
226 | Sterownik grafiki dla systemu gościa w VirtualBoksie. | |
227 | ||
228 | %prep | |
229 | %setup -qcT | |
230 | %{__sh} %{SOURCE0} --noexec --keep | |
231 | %{__tar} -jxf install/VirtualBox.tar.bz2 | |
232 | ||
233 | cat <<'EOF' > udev.conf | |
234 | KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660" | |
235 | KERNEL=="vboxadd", NAME="%k", GROUP="vbox", MODE="0660" | |
236 | KERNEL=="vboxnetctl", NAME="%k", GROUP="vbox", MODE="0660" | |
237 | EOF | |
238 | ||
239 | install %{SOURCE1} . | |
240 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh | |
241 | ||
242 | rm -rf PLD-MODULE-BUILD && mkdir PLD-MODULE-BUILD && cd PLD-MODULE-BUILD | |
243 | cp -rdf ../src/* ./ | |
244 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxdrv/Makefile | |
245 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxnetadp/Makefile | |
246 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxnetflt/Makefile | |
247 | ||
248 | %build | |
249 | %if %{with kernel} | |
250 | cd PLD-MODULE-BUILD | |
251 | %build_kernel_modules -m vboxdrv -C vboxdrv | |
252 | cp -a vboxdrv/Module.symvers vboxnetadp/ | |
253 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
254 | cp -a vboxdrv/Module.symvers vboxnetflt/ | |
255 | %build_kernel_modules -m vboxnetflt -C vboxnetflt | |
256 | cd .. | |
257 | %endif | |
258 | ||
259 | ||
260 | %install | |
261 | rm -rf $RPM_BUILD_ROOT | |
262 | ||
263 | %if %{with userspace} | |
264 | install -d \ | |
265 | $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \ | |
266 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components | |
267 | ||
268 | install VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
269 | for f in {VBox{Headless,Manage,Net{AdpCtl,DHCP},SDL,SysInfo.sh,SVC,TestOGL,Tunctl,XPCOMIPCD,.sh},VirtualBox,rdesktop-vrdp,vboxwebsrv,webtest}; do | |
270 | install $f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f | |
271 | done | |
272 | ||
273 | for f in {VBox{Headless,Manage,SDL,VRDP},VirtualBox,rdesktop-vrdp,vboxwebsrv}; do | |
274 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f | |
275 | done | |
276 | ||
277 | install libQt*.so.* VBox*.so VirtualBox.so VRDPAuth.so \ | |
278 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
279 | install VBox{DD,DD2}{GC.gc,R0.r0} VMM{GC.gc,R0.r0} \ | |
280 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
281 | ||
282 | for f in VBox{DDU,REM,RT,VMM,XPCOM}.so; do | |
283 | ln -s %{_libdir}/VirtualBox/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components/$f | |
284 | done | |
285 | ||
286 | cp -a accessible additions components nls rdesktop-vrdp-keymaps $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
287 | install License-7.html $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
288 | ||
289 | install VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png | |
290 | install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop | |
291 | ||
292 | install VirtualBox.chm $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
293 | ||
294 | # required by VBoxFFmpegFB.so | |
295 | ln -s %{_libdir}/libavcodec.so.5? $RPM_BUILD_ROOT%{_libdir}/VirtualBox/libavcodec.so.51 | |
296 | ln -s %{_libdir}/libavformat.so.5? $RPM_BUILD_ROOT%{_libdir}/VirtualBox/libavformat.so.51 | |
297 | ||
298 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d | |
299 | install udev.conf $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules | |
300 | %endif | |
301 | ||
302 | %if %{with kernel} | |
303 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
304 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv | |
305 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp | |
306 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt | |
307 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc | |
308 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetadp/vboxnetadp -d misc | |
309 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc | |
310 | %endif | |
311 | ||
312 | %clean | |
313 | rm -rf $RPM_BUILD_ROOT | |
314 | ||
315 | %pre | |
316 | %groupadd -g 221 -r -f vbox | |
317 | ||
318 | %post | |
319 | cat << 'EOF' | |
320 | NOTE: You must also install kernel module for this software to work | |
321 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
322 | kernel-desktop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
323 | kernel-laptop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
324 | kernel-vanilla-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
325 | etc. | |
326 | ||
327 | Depending on which kernel brand You use. | |
328 | ||
329 | EOF | |
330 | ||
331 | %postun | |
332 | if [ "$1" = "0" ]; then | |
333 | %groupremove vbox | |
334 | fi | |
335 | ||
336 | %post -n kernel%{_alt_kernel}-misc-vboxdrv | |
337 | %depmod %{_kernel_ver} | |
338 | /sbin/chkconfig --add vboxdrv | |
339 | %service vboxdrv restart "VirtualBox driver" | |
340 | ||
341 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
342 | %depmod %{_kernel_ver} | |
343 | ||
344 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv | |
345 | if [ "$1" = "0" ]; then | |
346 | %service vboxdrv stop | |
347 | /sbin/chkconfig --del vboxdrv | |
348 | fi | |
349 | ||
350 | %post -n kernel%{_alt_kernel}-misc-vboxnetadp | |
351 | %depmod %{_kernel_ver} | |
352 | /sbin/chkconfig --add vboxnetadp | |
353 | %service vboxnetadp restart "VirtualBox Network Adapter driver" | |
354 | ||
355 | %postun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
356 | %depmod %{_kernel_ver} | |
357 | ||
358 | %preun -n kernel%{_alt_kernel}-misc-vboxnetadp | |
359 | if [ "$1" = "0" ]; then | |
360 | %service vboxnetadp stop | |
361 | /sbin/chkconfig --del vboxnetadp | |
362 | fi | |
363 | ||
364 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt | |
365 | %depmod %{_kernel_ver} | |
366 | /sbin/chkconfig --add vboxnetflt | |
367 | %service vboxnetflt restart "VirtualBox Network Filter driver" | |
368 | ||
369 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
370 | %depmod %{_kernel_ver} | |
371 | ||
372 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
373 | if [ "$1" = "0" ]; then | |
374 | %service vboxnetflt stop | |
375 | /sbin/chkconfig --del vboxnetflt | |
376 | fi | |
377 | ||
378 | %if %{with userspace} | |
379 | %files | |
380 | %defattr(644,root,root,755) | |
381 | %doc UserManual.pdf | |
382 | %dir %{_libdir}/VirtualBox | |
383 | %dir %{_libdir}/VirtualBox/accessible | |
384 | %dir %{_libdir}/VirtualBox/additions | |
385 | %dir %{_libdir}/VirtualBox/components | |
386 | %dir %{_libdir}/VirtualBox/nls | |
387 | %attr(755,root,root) %{_bindir}/VBoxHeadless | |
388 | %attr(755,root,root) %{_bindir}/VBoxManage | |
389 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
390 | %attr(755,root,root) %{_bindir}/VBoxVRDP | |
391 | %attr(755,root,root) %{_bindir}/VirtualBox | |
392 | %attr(755,root,root) %{_bindir}/rdesktop-vrdp | |
393 | %attr(755,root,root) %{_bindir}/vboxwebsrv | |
394 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC | |
395 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxHeadless | |
396 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage | |
397 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl | |
398 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP | |
399 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxSDL | |
400 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL | |
401 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl | |
402 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD | |
403 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so | |
404 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
405 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so | |
406 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
407 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so | |
408 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless.so | |
409 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
410 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP.so | |
411 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so | |
412 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
413 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
414 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython2_6.so | |
415 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython.so | |
416 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so | |
417 | %ifarch %{ix86} | |
418 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so | |
419 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so | |
420 | %endif | |
421 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so | |
422 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL.so | |
423 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSettings.so | |
424 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so | |
425 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
426 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
427 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
428 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVRDP.so | |
429 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so | |
430 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
431 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtCoreVBox.so.4 | |
432 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtGuiVBox.so.4 | |
433 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtNetworkVBox.so.4 | |
434 | %attr(755,root,root) %{_libdir}/VirtualBox/VRDPAuth.so | |
435 | %attr(4755,root,root) %{_libdir}/VirtualBox/VirtualBox | |
436 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox.so | |
437 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
438 | %attr(755,root,root) %{_libdir}/VirtualBox/VBox.sh | |
439 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
440 | %attr(755,root,root) %{_libdir}/VirtualBox/libavcodec.so.51 | |
441 | %attr(755,root,root) %{_libdir}/VirtualBox/libavformat.so.51 | |
442 | %attr(755,root,root) %{_libdir}/VirtualBox/rdesktop-vrdp | |
443 | %attr(755,root,root) %{_libdir}/VirtualBox/vboxwebsrv | |
444 | %attr(755,root,root) %{_libdir}/VirtualBox/webtest | |
445 | # isn't it already packaged somewhere in the system? | |
446 | %attr(755,root,root) %{_libdir}/VirtualBox/accessible/libqtaccessiblewidgets.so | |
447 | %{_libdir}/VirtualBox/VBoxDD2GC.gc | |
448 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
449 | %{_libdir}/VirtualBox/VMMGC.gc | |
450 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
451 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
452 | %{_libdir}/VirtualBox/VMMR0.r0 | |
453 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
454 | %{_libdir}/VirtualBox/components/VBoxC.so | |
455 | %{_libdir}/VirtualBox/components/VBoxDDU.so | |
456 | %{_libdir}/VirtualBox/components/VBoxREM.so | |
457 | %{_libdir}/VirtualBox/components/VBoxRT.so | |
458 | %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
459 | %{_libdir}/VirtualBox/components/VBoxVMM.so | |
460 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt | |
461 | %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
462 | %{_libdir}/VirtualBox/components/VBoxXPCOM.so | |
463 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt | |
464 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps | |
465 | %{_libdir}/VirtualBox/License-7.html | |
466 | %{_libdir}/VirtualBox/VirtualBox.chm | |
467 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm | |
468 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm | |
469 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm | |
470 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm | |
471 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm | |
472 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
473 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
474 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
475 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm | |
476 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm | |
477 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm | |
478 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm | |
479 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
480 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm | |
481 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm | |
482 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm | |
483 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm | |
484 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm | |
485 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm | |
486 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
487 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
488 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm | |
489 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm | |
490 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm | |
491 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm | |
492 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm | |
493 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
494 | %{_pixmapsdir}/VBox.png | |
495 | %{_desktopdir}/%{pname}.desktop | |
496 | ||
497 | %files udev | |
498 | %defattr(644,root,root,755) | |
499 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
500 | %endif | |
501 | ||
502 | %if %{with kernel} | |
503 | %files -n kernel%{_alt_kernel}-misc-vboxdrv | |
504 | %defattr(644,root,root,755) | |
505 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
506 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* | |
507 | ||
508 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp | |
509 | %defattr(644,root,root,755) | |
510 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
511 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* | |
512 | ||
513 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt | |
514 | %defattr(644,root,root,755) | |
515 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
516 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* | |
517 | %endif |