]>
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 | |
5 | %bcond_with verbose # verbose kernel mod build | |
6b8b3a79 | 6 | |
7 | # disable debug - no symbols here | |
8 | %define _enable_debug_packages 0 | |
e9237174 | 9 | %define rel 1 |
6b8b3a79 | 10 | %ifarch %{x8664} |
bba7e338 | 11 | %define arch amd64 |
6b8b3a79 | 12 | %else |
bba7e338 | 13 | %define arch x86 |
6b8b3a79 | 14 | %endif |
f5241351 | 15 | %define prev 61349 |
6b8b3a79 | 16 | |
6b8b3a79 | 17 | %define pname VirtualBox |
18 | Summary: VirtualBox - x86 hardware virtualizer | |
19 | Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 | |
20 | Name: %{pname}-bin | |
f5241351 | 21 | Version: 3.1.8 |
af40882b | 22 | Release: %{rel} |
6b8b3a79 | 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 | |
ce4f7b38 | 28 | Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf |
f5241351 | 29 | # Source1-md5: 09b98518de7eee5935aa4cc902195cbe |
bba7e338 | 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 | |
6b8b3a79 | 37 | URL: http://www.virtualbox.org/ |
a799f0e2 | 38 | %{?with_userspace:BuildRequires: ffmpeg-libs} |
6b8b3a79 | 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 | ||
af40882b | 89 | %package udev |
d5d1e69f | 90 | Summary: udev rules for VirtualBox kernel modules |
af40882b | 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 | |
d5d1e69f | 97 | udev rules for VirtualBox kernel modules. |
af40882b | 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 | |
d5d1e69f AG |
103 | Summary: VirtualBox Guest Additions for Linux Module |
104 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 116 | VirtualBox Guest Additions for Linux Module. |
af40882b | 117 | |
118 | %description -n kernel%{_alt_kernel}-misc-vboxadd -l pl.UTF-8 | |
bba7e338 | 119 | Moduł jądra Linuksa vboxadd dla VirtualBoksa - dodatki dla systemu |
120 | gościa. | |
af40882b | 121 | |
122 | %package -n kernel%{_alt_kernel}-misc-vboxdrv | |
d5d1e69f AG |
123 | Summary: VirtualBox Support Driver |
124 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 136 | VirtualBox Support Driver. |
af40882b | 137 | |
138 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 | |
bba7e338 | 139 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla systemu |
140 | głównego. | |
af40882b | 141 | |
8bf9b919 KK |
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 | |
bba7e338 | 156 | This is a kernel module that creates a virtual interface that can be |
157 | attached to an internal network. | |
8bf9b919 | 158 | |
af40882b | 159 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
8bf9b919 | 160 | Summary: VirtualBox Linux Host Network Filter Driver |
d5d1e69f | 161 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa |
af40882b | 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 | |
bba7e338 | 174 | This is a kernel module that attaches to a real interface on the host |
175 | and filters and injects packets. | |
af40882b | 176 | |
177 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
bba7e338 | 178 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania sieci dla |
179 | systemu głównego. | |
af40882b | 180 | |
181 | %package -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f AG |
182 | Summary: Host file system access VFS for VirtualBox |
183 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 196 | Host file system access VFS for VirtualBox. |
af40882b | 197 | |
198 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
bba7e338 | 199 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików systemu |
200 | głównego z poziomu systemu gościa. | |
af40882b | 201 | |
202 | %package -n xorg-driver-input-vboxmouse | |
d5d1e69f AG |
203 | Summary: X.org mouse driver for VirtualBox guest OS |
204 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
af40882b | 205 | Release: %{rel} |
206 | Group: X11/Applications | |
207 | Requires: xorg-xserver-server >= 1.0.99.901 | |
208 | ||
209 | %description -n xorg-driver-input-vboxmouse | |
d5d1e69f | 210 | X.org mouse driver for VirtualBox guest OS. |
af40882b | 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 | |
d5d1e69f AG |
216 | Summary: X.org video driver for VirtualBox guest OS |
217 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
af40882b | 218 | Release: %{rel} |
219 | Group: X11/Applications | |
220 | Requires: xorg-xserver-server >= 1.0.99.901 | |
221 | ||
222 | %description -n xorg-driver-video-vboxvideo | |
d5d1e69f | 223 | X.org video driver for VirtualBox guest OS. |
af40882b | 224 | |
225 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
d5d1e69f | 226 | Sterownik grafiki dla systemu gościa w VirtualBoksie. |
af40882b | 227 | |
6b8b3a79 | 228 | %prep |
229 | %setup -qcT | |
230 | %{__sh} %{SOURCE0} --noexec --keep | |
231 | %{__tar} -jxf install/VirtualBox.tar.bz2 | |
232 | ||
af40882b | 233 | cat <<'EOF' > udev.conf |
234 | KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660" | |
235 | KERNEL=="vboxadd", NAME="%k", GROUP="vbox", MODE="0660" | |
8bf9b919 | 236 | KERNEL=="vboxnetctl", NAME="%k", GROUP="vbox", MODE="0660" |
af40882b | 237 | EOF |
238 | ||
6b8b3a79 | 239 | install %{SOURCE1} . |
8bf9b919 | 240 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh |
af40882b | 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 | |
8bf9b919 | 245 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxnetadp/Makefile |
af40882b | 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 | |
8bf9b919 KK |
252 | cp -a vboxdrv/Module.symvers vboxnetadp/ |
253 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
ab8d962c | 254 | cp -a vboxdrv/Module.symvers vboxnetflt/ |
af40882b | 255 | %build_kernel_modules -m vboxnetflt -C vboxnetflt |
256 | cd .. | |
257 | %endif | |
258 | ||
6b8b3a79 | 259 | |
260 | %install | |
261 | rm -rf $RPM_BUILD_ROOT | |
262 | ||
af40882b | 263 | %if %{with userspace} |
6b8b3a79 | 264 | install -d \ |
265 | $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \ | |
ab8d962c | 266 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components |
6b8b3a79 | 267 | |
268 | install VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
f668cc9f | 269 | for f in {VBox{Headless,Manage,Net{AdpCtl,DHCP},SDL,SysInfo.sh,SVC,TestOGL,Tunctl,XPCOMIPCD,.sh},VirtualBox,rdesktop-vrdp,vboxwebsrv,webtest}; do |
6b8b3a79 | 270 | install $f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f |
e6cef9cd KK |
271 | done |
272 | ||
273 | for f in {VBox{Headless,Manage,SDL,VRDP},VirtualBox,rdesktop-vrdp,vboxwebsrv}; do | |
6b8b3a79 | 274 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
275 | done | |
276 | ||
ab8d962c | 277 | install libQt*.so.* VBox*.so VirtualBox.so VRDPAuth.so \ |
6b8b3a79 | 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 | ||
e6cef9cd | 282 | for f in VBox{DDU,REM,RT,VMM,XPCOM}.so; do |
ab8d962c KK |
283 | ln -s %{_libdir}/VirtualBox/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components/$f |
284 | done | |
285 | ||
af40882b | 286 | cp -a accessible additions components nls rdesktop-vrdp-keymaps $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
6b8b3a79 | 287 | install License-7.html $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
288 | ||
289 | install VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png | |
8bf9b919 | 290 | install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop |
af40882b | 291 | |
292 | install VirtualBox.chm $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
6b8b3a79 | 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 | ||
af40882b | 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 | |
8bf9b919 KK |
305 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp |
306 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt | |
af40882b | 307 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc |
8bf9b919 | 308 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetadp/vboxnetadp -d misc |
af40882b | 309 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc |
310 | %endif | |
311 | ||
6b8b3a79 | 312 | %clean |
313 | rm -rf $RPM_BUILD_ROOT | |
314 | ||
315 | %pre | |
316 | %groupadd -g 221 -r -f vbox | |
317 | ||
af40882b | 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 | ||
6b8b3a79 | 331 | %postun |
332 | if [ "$1" = "0" ]; then | |
333 | %groupremove vbox | |
334 | fi | |
335 | ||
af40882b | 336 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
337 | %depmod %{_kernel_ver} | |
338 | /sbin/chkconfig --add vboxdrv | |
d5d1e69f | 339 | %service vboxdrv restart "VirtualBox driver" |
af40882b | 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 | ||
8bf9b919 KK |
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 | ||
af40882b | 364 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
365 | %depmod %{_kernel_ver} | |
366 | /sbin/chkconfig --add vboxnetflt | |
d5d1e69f | 367 | %service vboxnetflt restart "VirtualBox Network Filter driver" |
af40882b | 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} | |
6b8b3a79 | 379 | %files |
380 | %defattr(644,root,root,755) | |
381 | %doc UserManual.pdf | |
382 | %dir %{_libdir}/VirtualBox | |
af40882b | 383 | %dir %{_libdir}/VirtualBox/accessible |
6b8b3a79 | 384 | %dir %{_libdir}/VirtualBox/additions |
385 | %dir %{_libdir}/VirtualBox/components | |
386 | %dir %{_libdir}/VirtualBox/nls | |
4a6bf252 | 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 | |
6b8b3a79 | 391 | %attr(755,root,root) %{_bindir}/VirtualBox |
af40882b | 392 | %attr(755,root,root) %{_bindir}/rdesktop-vrdp |
393 | %attr(755,root,root) %{_bindir}/vboxwebsrv | |
6b8b3a79 | 394 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
395 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxHeadless | |
396 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage | |
e6cef9cd | 397 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
ab8d962c | 398 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP |
6b8b3a79 | 399 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxSDL |
f668cc9f | 400 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL |
6b8b3a79 | 401 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl |
402 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD | |
4a6bf252 | 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 | |
afce24fb | 417 | %ifarch %{ix86} |
7935c8c1 | 418 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
afce24fb | 419 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so |
7935c8c1 | 420 | %endif |
4a6bf252 | 421 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
422 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL.so | |
4a6bf252 | 423 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
424 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
425 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
426 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
427 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVRDP.so | |
428 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so | |
429 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
430 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtCoreVBox.so.4 | |
431 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtGuiVBox.so.4 | |
432 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtNetworkVBox.so.4 | |
13084364 | 433 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtOpenGLVBox.so.4 |
af40882b | 434 | %attr(755,root,root) %{_libdir}/VirtualBox/VRDPAuth.so |
6b8b3a79 | 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 | |
4a6bf252 | 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 | |
af40882b | 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 | |
4a6bf252 | 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 | |
af40882b | 464 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps |
6b8b3a79 | 465 | %{_libdir}/VirtualBox/License-7.html |
af40882b | 466 | %{_libdir}/VirtualBox/VirtualBox.chm |
e6cef9cd | 467 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
6b8b3a79 | 468 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
33409bfd | 469 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
6b8b3a79 | 470 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
13084364 | 471 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
6b8b3a79 | 472 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
33409bfd | 473 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
6b8b3a79 | 474 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
475 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
476 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
477 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
ce4f7b38 | 478 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
6b8b3a79 | 479 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
480 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm | |
481 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm | |
482 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
e084e0c4 | 483 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
6b8b3a79 | 484 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
485 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm | |
486 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm | |
487 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm | |
488 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm | |
489 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
490 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
491 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm | |
492 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm | |
493 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm | |
4a6bf252 | 494 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
6b8b3a79 | 495 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
496 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
497 | %{_pixmapsdir}/VBox.png | |
498 | %{_desktopdir}/%{pname}.desktop | |
af40882b | 499 | |
500 | %files udev | |
501 | %defattr(644,root,root,755) | |
502 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
503 | %endif | |
504 | ||
505 | %if %{with kernel} | |
506 | %files -n kernel%{_alt_kernel}-misc-vboxdrv | |
507 | %defattr(644,root,root,755) | |
508 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
509 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* | |
510 | ||
8bf9b919 KK |
511 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
512 | %defattr(644,root,root,755) | |
513 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
514 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* | |
515 | ||
af40882b | 516 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
517 | %defattr(644,root,root,755) | |
518 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
519 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* | |
520 | %endif |