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