]>
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 | |
00618edb | 9 | %define rel 3 |
6b8b3a79 | 10 | %ifarch %{x8664} |
11 | %define arch amd64 | |
12 | %else | |
13 | %define arch x86 | |
14 | %endif | |
15 | ||
c3cc781b | 16 | %define prev 49928 |
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 | |
c3cc781b | 21 | Version: 3.0.2 |
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 | |
6b8b3a79 | 28 | #Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf |
29 | Source1: UserManual.pdf | |
c3cc781b | 30 | # Source1-md5: 4d0b51c0c4759dc34c124083bae73436 |
af40882b | 31 | Source3: %{pname}-vboxdrv.init |
32 | Source4: %{pname}-vboxadd.init | |
8bf9b919 KK |
33 | Source5: %{pname}-vboxnetadp.init |
34 | Source6: %{pname}-vboxnetflt.init | |
35 | Source7: %{pname}-vboxvfs.init | |
36 | Source8: %{pname}.desktop | |
37 | Source9: %{pname}.sh | |
6b8b3a79 | 38 | URL: http://www.virtualbox.org/ |
a799f0e2 | 39 | %{?with_userspace:BuildRequires: ffmpeg-libs} |
6b8b3a79 | 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 | ||
af40882b | 90 | %package udev |
d5d1e69f | 91 | Summary: udev rules for VirtualBox kernel modules |
af40882b | 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 | |
d5d1e69f | 98 | udev rules for VirtualBox kernel modules. |
af40882b | 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 | |
d5d1e69f AG |
104 | Summary: VirtualBox Guest Additions for Linux Module |
105 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 117 | VirtualBox Guest Additions for Linux Module. |
af40882b | 118 | |
119 | %description -n kernel%{_alt_kernel}-misc-vboxadd -l pl.UTF-8 | |
d5d1e69f | 120 | Moduł jądra Linuksa vboxadd dla VirtualBoksa - dodatki dla |
af40882b | 121 | systemu gościa. |
122 | ||
123 | %package -n kernel%{_alt_kernel}-misc-vboxdrv | |
d5d1e69f AG |
124 | Summary: VirtualBox Support Driver |
125 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 137 | VirtualBox Support Driver. |
af40882b | 138 | |
139 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 | |
d5d1e69f | 140 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla |
af40882b | 141 | systemu głównego. |
142 | ||
8bf9b919 KK |
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 | ||
af40882b | 160 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
8bf9b919 | 161 | Summary: VirtualBox Linux Host Network Filter Driver |
d5d1e69f | 162 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa |
af40882b | 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 | |
8bf9b919 KK |
175 | This is a kernel module that attaches to a real interface on the |
176 | host and filters and injects packets. | |
af40882b | 177 | |
178 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
d5d1e69f | 179 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania |
af40882b | 180 | sieci dla systemu głównego. |
181 | ||
182 | %package -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f AG |
183 | Summary: Host file system access VFS for VirtualBox |
184 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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 | |
d5d1e69f | 197 | Host file system access VFS for VirtualBox. |
af40882b | 198 | |
199 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
d5d1e69f | 200 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików |
af40882b | 201 | systemu głównego z poziomu systemu gościa. |
202 | ||
203 | %package -n xorg-driver-input-vboxmouse | |
d5d1e69f AG |
204 | Summary: X.org mouse driver for VirtualBox guest OS |
205 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
af40882b | 206 | Release: %{rel} |
207 | Group: X11/Applications | |
208 | Requires: xorg-xserver-server >= 1.0.99.901 | |
209 | ||
210 | %description -n xorg-driver-input-vboxmouse | |
d5d1e69f | 211 | X.org mouse driver for VirtualBox guest OS. |
af40882b | 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 | |
d5d1e69f AG |
217 | Summary: X.org video driver for VirtualBox guest OS |
218 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
af40882b | 219 | Release: %{rel} |
220 | Group: X11/Applications | |
221 | Requires: xorg-xserver-server >= 1.0.99.901 | |
222 | ||
223 | %description -n xorg-driver-video-vboxvideo | |
d5d1e69f | 224 | X.org video driver for VirtualBox guest OS. |
af40882b | 225 | |
226 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
d5d1e69f | 227 | Sterownik grafiki dla systemu gościa w VirtualBoksie. |
af40882b | 228 | |
6b8b3a79 | 229 | %prep |
230 | %setup -qcT | |
231 | %{__sh} %{SOURCE0} --noexec --keep | |
232 | %{__tar} -jxf install/VirtualBox.tar.bz2 | |
233 | ||
af40882b | 234 | cat <<'EOF' > udev.conf |
235 | KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660" | |
236 | KERNEL=="vboxadd", NAME="%k", GROUP="vbox", MODE="0660" | |
8bf9b919 | 237 | KERNEL=="vboxnetctl", NAME="%k", GROUP="vbox", MODE="0660" |
af40882b | 238 | EOF |
239 | ||
6b8b3a79 | 240 | install %{SOURCE1} . |
8bf9b919 | 241 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh |
af40882b | 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 | |
8bf9b919 | 246 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxnetadp/Makefile |
af40882b | 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 | |
8bf9b919 KK |
253 | cp -a vboxdrv/Module.symvers vboxnetadp/ |
254 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
ab8d962c | 255 | cp -a vboxdrv/Module.symvers vboxnetflt/ |
af40882b | 256 | %build_kernel_modules -m vboxnetflt -C vboxnetflt |
257 | cd .. | |
258 | %endif | |
259 | ||
6b8b3a79 | 260 | |
261 | %install | |
262 | rm -rf $RPM_BUILD_ROOT | |
263 | ||
af40882b | 264 | %if %{with userspace} |
6b8b3a79 | 265 | install -d \ |
266 | $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \ | |
ab8d962c | 267 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components |
6b8b3a79 | 268 | |
269 | install VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
f668cc9f | 270 | for f in {VBox{Headless,Manage,Net{AdpCtl,DHCP},SDL,SysInfo.sh,SVC,TestOGL,Tunctl,XPCOMIPCD,.sh},VirtualBox,rdesktop-vrdp,vboxwebsrv,webtest}; do |
6b8b3a79 | 271 | install $f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f |
e6cef9cd KK |
272 | done |
273 | ||
274 | for f in {VBox{Headless,Manage,SDL,VRDP},VirtualBox,rdesktop-vrdp,vboxwebsrv}; do | |
6b8b3a79 | 275 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
276 | done | |
277 | ||
ab8d962c | 278 | install libQt*.so.* VBox*.so VirtualBox.so VRDPAuth.so \ |
6b8b3a79 | 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 | ||
e6cef9cd | 283 | for f in VBox{DDU,REM,RT,VMM,XPCOM}.so; do |
ab8d962c KK |
284 | ln -s %{_libdir}/VirtualBox/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components/$f |
285 | done | |
286 | ||
af40882b | 287 | cp -a accessible additions components nls rdesktop-vrdp-keymaps $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
6b8b3a79 | 288 | install License-7.html $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
289 | ||
290 | install VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png | |
8bf9b919 | 291 | install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop |
af40882b | 292 | |
293 | install VirtualBox.chm $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
6b8b3a79 | 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 | ||
af40882b | 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 | |
8bf9b919 KK |
306 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp |
307 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt | |
af40882b | 308 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc |
8bf9b919 | 309 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetadp/vboxnetadp -d misc |
af40882b | 310 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc |
311 | %endif | |
312 | ||
6b8b3a79 | 313 | %clean |
314 | rm -rf $RPM_BUILD_ROOT | |
315 | ||
316 | %pre | |
317 | %groupadd -g 221 -r -f vbox | |
318 | ||
af40882b | 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 | ||
6b8b3a79 | 332 | %postun |
333 | if [ "$1" = "0" ]; then | |
334 | %groupremove vbox | |
335 | fi | |
336 | ||
af40882b | 337 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
338 | %depmod %{_kernel_ver} | |
339 | /sbin/chkconfig --add vboxdrv | |
d5d1e69f | 340 | %service vboxdrv restart "VirtualBox driver" |
af40882b | 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 | ||
8bf9b919 KK |
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 | ||
af40882b | 365 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt |
366 | %depmod %{_kernel_ver} | |
367 | /sbin/chkconfig --add vboxnetflt | |
d5d1e69f | 368 | %service vboxnetflt restart "VirtualBox Network Filter driver" |
af40882b | 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} | |
6b8b3a79 | 380 | %files |
381 | %defattr(644,root,root,755) | |
382 | %doc UserManual.pdf | |
383 | %dir %{_libdir}/VirtualBox | |
af40882b | 384 | %dir %{_libdir}/VirtualBox/accessible |
6b8b3a79 | 385 | %dir %{_libdir}/VirtualBox/additions |
386 | %dir %{_libdir}/VirtualBox/components | |
387 | %dir %{_libdir}/VirtualBox/nls | |
4a6bf252 | 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 | |
6b8b3a79 | 392 | %attr(755,root,root) %{_bindir}/VirtualBox |
af40882b | 393 | %attr(755,root,root) %{_bindir}/rdesktop-vrdp |
394 | %attr(755,root,root) %{_bindir}/vboxwebsrv | |
6b8b3a79 | 395 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
396 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxHeadless | |
397 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage | |
e6cef9cd | 398 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
ab8d962c | 399 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP |
6b8b3a79 | 400 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxSDL |
f668cc9f | 401 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTestOGL |
6b8b3a79 | 402 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl |
403 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD | |
4a6bf252 | 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 | |
afce24fb | 418 | %ifarch %{ix86} |
7935c8c1 | 419 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
afce24fb | 420 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so |
7935c8c1 | 421 | %endif |
4a6bf252 | 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 | |
af40882b | 435 | %attr(755,root,root) %{_libdir}/VirtualBox/VRDPAuth.so |
6b8b3a79 | 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 | |
4a6bf252 | 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 | |
af40882b | 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 | |
4a6bf252 | 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 | |
af40882b | 465 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps |
6b8b3a79 | 466 | %{_libdir}/VirtualBox/License-7.html |
af40882b | 467 | %{_libdir}/VirtualBox/VirtualBox.chm |
e6cef9cd | 468 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
6b8b3a79 | 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 | |
e084e0c4 | 480 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
6b8b3a79 | 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 | |
4a6bf252 | 491 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
6b8b3a79 | 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 | |
af40882b | 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 | ||
8bf9b919 KK |
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 | ||
af40882b | 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 |