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