]>
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 | |
4a6bf252 | 9 | %define rel 1 |
6b8b3a79 | 10 | %ifarch %{x8664} |
11 | %define arch amd64 | |
12 | %else | |
13 | %define arch x86 | |
14 | %endif | |
15 | ||
848f4e04 | 16 | %define prev 49315 |
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 | |
848f4e04 | 21 | Version: 3.0.0 |
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 | |
848f4e04 | 30 | # Source1-md5: e62fce82380b3368e2558a663715734c |
af40882b | 31 | Source3: %{pname}-vboxdrv.init |
32 | Source4: %{pname}-vboxadd.init | |
33 | Source5: %{pname}-vboxnetflt.init | |
34 | Source6: %{pname}-vboxvfs.init | |
35 | Source7: %{pname}.desktop | |
36 | Source8: %{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 | |
d5d1e69f | 119 | Moduł jądra Linuksa vboxadd dla VirtualBoksa - dodatki dla |
af40882b | 120 | systemu gościa. |
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 | |
d5d1e69f | 139 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla |
af40882b | 140 | systemu głównego. |
141 | ||
142 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt | |
d5d1e69f AG |
143 | Summary: VirtualBox Guest Additions for Linux Module |
144 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 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(vboxnetflt) = %{version}-%{rel} | |
155 | ||
156 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
d5d1e69f | 157 | VirtualBox Network Filter Driver. |
af40882b | 158 | |
159 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
d5d1e69f | 160 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania |
af40882b | 161 | sieci dla systemu głównego. |
162 | ||
163 | %package -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f AG |
164 | Summary: Host file system access VFS for VirtualBox |
165 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 166 | Release: %{rel}@%{_kernel_ver_str} |
167 | Group: Base/Kernel | |
168 | Requires(post,postun): /sbin/depmod | |
169 | Requires: dev >= 2.9.0-7 | |
170 | Requires: kernel%{_alt_kernel}-misc-vboxadd | |
171 | %if %{with dist_kernel} | |
172 | %requires_releq_kernel | |
173 | Requires(postun): %releq_kernel | |
174 | %endif | |
175 | Provides: kernel(vboxvfs) = %{version}-%{rel} | |
176 | ||
177 | %description -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f | 178 | Host file system access VFS for VirtualBox. |
af40882b | 179 | |
180 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
d5d1e69f | 181 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików |
af40882b | 182 | systemu głównego z poziomu systemu gościa. |
183 | ||
184 | %package -n xorg-driver-input-vboxmouse | |
d5d1e69f AG |
185 | Summary: X.org mouse driver for VirtualBox guest OS |
186 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
af40882b | 187 | Release: %{rel} |
188 | Group: X11/Applications | |
189 | Requires: xorg-xserver-server >= 1.0.99.901 | |
190 | ||
191 | %description -n xorg-driver-input-vboxmouse | |
d5d1e69f | 192 | X.org mouse driver for VirtualBox guest OS. |
af40882b | 193 | |
194 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
195 | Sterownik myszy dla systemu gościa w VirtualBoksie. | |
196 | ||
197 | %package -n xorg-driver-video-vboxvideo | |
d5d1e69f AG |
198 | Summary: X.org video driver for VirtualBox guest OS |
199 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
af40882b | 200 | Release: %{rel} |
201 | Group: X11/Applications | |
202 | Requires: xorg-xserver-server >= 1.0.99.901 | |
203 | ||
204 | %description -n xorg-driver-video-vboxvideo | |
d5d1e69f | 205 | X.org video driver for VirtualBox guest OS. |
af40882b | 206 | |
207 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
d5d1e69f | 208 | Sterownik grafiki dla systemu gościa w VirtualBoksie. |
af40882b | 209 | |
6b8b3a79 | 210 | %prep |
211 | %setup -qcT | |
212 | %{__sh} %{SOURCE0} --noexec --keep | |
213 | %{__tar} -jxf install/VirtualBox.tar.bz2 | |
214 | ||
af40882b | 215 | cat <<'EOF' > udev.conf |
216 | KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660" | |
217 | KERNEL=="vboxadd", NAME="%k", GROUP="vbox", MODE="0660" | |
218 | EOF | |
219 | ||
6b8b3a79 | 220 | install %{SOURCE1} . |
af40882b | 221 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE8} > VirtualBox-wrapper.sh |
222 | ||
223 | rm -rf PLD-MODULE-BUILD && mkdir PLD-MODULE-BUILD && cd PLD-MODULE-BUILD | |
224 | cp -rdf ../src/* ./ | |
225 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxdrv/Makefile | |
226 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxnetflt/Makefile | |
227 | ||
228 | %build | |
229 | %if %{with kernel} | |
230 | cd PLD-MODULE-BUILD | |
231 | %build_kernel_modules -m vboxdrv -C vboxdrv | |
ab8d962c | 232 | cp -a vboxdrv/Module.symvers vboxnetflt/ |
af40882b | 233 | %build_kernel_modules -m vboxnetflt -C vboxnetflt |
234 | cd .. | |
235 | %endif | |
236 | ||
6b8b3a79 | 237 | |
238 | %install | |
239 | rm -rf $RPM_BUILD_ROOT | |
240 | ||
af40882b | 241 | %if %{with userspace} |
6b8b3a79 | 242 | install -d \ |
243 | $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \ | |
ab8d962c | 244 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components |
6b8b3a79 | 245 | |
246 | install VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
ab8d962c | 247 | for f in {VBox{Headless,Manage,Net{AdpCtl,DHCP},SDL,SysInfo.sh,SVC,Tunctl,XPCOMIPCD,.sh},VirtualBox,rdesktop-vrdp,vboxwebsrv,webtest}; do |
6b8b3a79 | 248 | install $f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f |
e6cef9cd KK |
249 | done |
250 | ||
251 | for f in {VBox{Headless,Manage,SDL,VRDP},VirtualBox,rdesktop-vrdp,vboxwebsrv}; do | |
6b8b3a79 | 252 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
253 | done | |
254 | ||
ab8d962c | 255 | install libQt*.so.* VBox*.so VirtualBox.so VRDPAuth.so \ |
6b8b3a79 | 256 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
257 | install VBox{DD,DD2}{GC.gc,R0.r0} VMM{GC.gc,R0.r0} \ | |
258 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
259 | ||
e6cef9cd | 260 | for f in VBox{DDU,REM,RT,VMM,XPCOM}.so; do |
ab8d962c KK |
261 | ln -s %{_libdir}/VirtualBox/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components/$f |
262 | done | |
263 | ||
af40882b | 264 | cp -a accessible additions components nls rdesktop-vrdp-keymaps $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
6b8b3a79 | 265 | install License-7.html $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
266 | ||
267 | install VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png | |
af40882b | 268 | install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop |
269 | ||
270 | install VirtualBox.chm $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
6b8b3a79 | 271 | |
272 | # required by VBoxFFmpegFB.so | |
273 | ln -s %{_libdir}/libavcodec.so.5? $RPM_BUILD_ROOT%{_libdir}/VirtualBox/libavcodec.so.51 | |
274 | ln -s %{_libdir}/libavformat.so.5? $RPM_BUILD_ROOT%{_libdir}/VirtualBox/libavformat.so.51 | |
275 | ||
af40882b | 276 | install -d $RPM_BUILD_ROOT/etc/udev/rules.d |
277 | install udev.conf $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules | |
278 | %endif | |
279 | ||
280 | %if %{with kernel} | |
281 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
282 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv | |
283 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt | |
284 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc | |
285 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc | |
286 | %endif | |
287 | ||
6b8b3a79 | 288 | %clean |
289 | rm -rf $RPM_BUILD_ROOT | |
290 | ||
291 | %pre | |
292 | %groupadd -g 221 -r -f vbox | |
293 | ||
af40882b | 294 | %post |
295 | cat << 'EOF' | |
296 | NOTE: You must also install kernel module for this software to work | |
297 | kernel-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
298 | kernel-desktop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
299 | kernel-laptop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
300 | kernel-vanilla-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str} | |
301 | etc. | |
302 | ||
303 | Depending on which kernel brand You use. | |
304 | ||
305 | EOF | |
306 | ||
6b8b3a79 | 307 | %postun |
308 | if [ "$1" = "0" ]; then | |
309 | %groupremove vbox | |
310 | fi | |
311 | ||
af40882b | 312 | %post -n kernel%{_alt_kernel}-misc-vboxdrv |
313 | %depmod %{_kernel_ver} | |
314 | /sbin/chkconfig --add vboxdrv | |
d5d1e69f | 315 | %service vboxdrv restart "VirtualBox driver" |
af40882b | 316 | |
317 | %postun -n kernel%{_alt_kernel}-misc-vboxdrv | |
318 | %depmod %{_kernel_ver} | |
319 | ||
320 | %preun -n kernel%{_alt_kernel}-misc-vboxdrv | |
321 | if [ "$1" = "0" ]; then | |
322 | %service vboxdrv stop | |
323 | /sbin/chkconfig --del vboxdrv | |
324 | fi | |
325 | ||
326 | %post -n kernel%{_alt_kernel}-misc-vboxnetflt | |
327 | %depmod %{_kernel_ver} | |
328 | /sbin/chkconfig --add vboxnetflt | |
d5d1e69f | 329 | %service vboxnetflt restart "VirtualBox Network Filter driver" |
af40882b | 330 | |
331 | %postun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
332 | %depmod %{_kernel_ver} | |
333 | ||
334 | %preun -n kernel%{_alt_kernel}-misc-vboxnetflt | |
335 | if [ "$1" = "0" ]; then | |
336 | %service vboxnetflt stop | |
337 | /sbin/chkconfig --del vboxnetflt | |
338 | fi | |
339 | ||
340 | %if %{with userspace} | |
6b8b3a79 | 341 | %files |
342 | %defattr(644,root,root,755) | |
343 | %doc UserManual.pdf | |
344 | %dir %{_libdir}/VirtualBox | |
af40882b | 345 | %dir %{_libdir}/VirtualBox/accessible |
6b8b3a79 | 346 | %dir %{_libdir}/VirtualBox/additions |
347 | %dir %{_libdir}/VirtualBox/components | |
348 | %dir %{_libdir}/VirtualBox/nls | |
4a6bf252 | 349 | %attr(755,root,root) %{_bindir}/VBoxHeadless |
350 | %attr(755,root,root) %{_bindir}/VBoxManage | |
351 | %attr(755,root,root) %{_bindir}/VBoxSDL | |
352 | %attr(755,root,root) %{_bindir}/VBoxVRDP | |
6b8b3a79 | 353 | %attr(755,root,root) %{_bindir}/VirtualBox |
af40882b | 354 | %attr(755,root,root) %{_bindir}/rdesktop-vrdp |
355 | %attr(755,root,root) %{_bindir}/vboxwebsrv | |
6b8b3a79 | 356 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSVC |
357 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxHeadless | |
358 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxManage | |
e6cef9cd | 359 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetAdpCtl |
ab8d962c | 360 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP |
6b8b3a79 | 361 | %attr(4755,root,root) %{_libdir}/VirtualBox/VBoxSDL |
362 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxTunctl | |
363 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMIPCD | |
4a6bf252 | 364 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so |
365 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
366 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so | |
367 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
368 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so | |
369 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless.so | |
370 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
371 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP.so | |
372 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so | |
373 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
374 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
375 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython2_6.so | |
376 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython.so | |
377 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so | |
afce24fb | 378 | %ifarch %{ix86} |
7935c8c1 | 379 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
afce24fb | 380 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so |
7935c8c1 | 381 | %endif |
4a6bf252 | 382 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
383 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL.so | |
384 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSettings.so | |
385 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so | |
386 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
387 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
388 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
389 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVRDP.so | |
390 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so | |
391 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
392 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtCoreVBox.so.4 | |
393 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtGuiVBox.so.4 | |
394 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtNetworkVBox.so.4 | |
af40882b | 395 | %attr(755,root,root) %{_libdir}/VirtualBox/VRDPAuth.so |
6b8b3a79 | 396 | %attr(4755,root,root) %{_libdir}/VirtualBox/VirtualBox |
397 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox.so | |
398 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
4a6bf252 | 399 | %attr(755,root,root) %{_libdir}/VirtualBox/VBox.sh |
400 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
401 | %attr(755,root,root) %{_libdir}/VirtualBox/libavcodec.so.51 | |
402 | %attr(755,root,root) %{_libdir}/VirtualBox/libavformat.so.51 | |
af40882b | 403 | %attr(755,root,root) %{_libdir}/VirtualBox/rdesktop-vrdp |
404 | %attr(755,root,root) %{_libdir}/VirtualBox/vboxwebsrv | |
405 | %attr(755,root,root) %{_libdir}/VirtualBox/webtest | |
406 | # isn't it already packaged somewhere in the system? | |
407 | %attr(755,root,root) %{_libdir}/VirtualBox/accessible/libqtaccessiblewidgets.so | |
4a6bf252 | 408 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
409 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
410 | %{_libdir}/VirtualBox/VMMGC.gc | |
411 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
412 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
413 | %{_libdir}/VirtualBox/VMMR0.r0 | |
414 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
415 | %{_libdir}/VirtualBox/components/VBoxC.so | |
416 | %{_libdir}/VirtualBox/components/VBoxDDU.so | |
417 | %{_libdir}/VirtualBox/components/VBoxREM.so | |
418 | %{_libdir}/VirtualBox/components/VBoxRT.so | |
419 | %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
420 | %{_libdir}/VirtualBox/components/VBoxVMM.so | |
421 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt | |
422 | %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
423 | %{_libdir}/VirtualBox/components/VBoxXPCOM.so | |
424 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt | |
af40882b | 425 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps |
6b8b3a79 | 426 | %{_libdir}/VirtualBox/License-7.html |
af40882b | 427 | %{_libdir}/VirtualBox/VirtualBox.chm |
e6cef9cd | 428 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
6b8b3a79 | 429 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
430 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm | |
431 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm | |
432 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm | |
433 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
434 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
435 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
436 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm | |
437 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm | |
438 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm | |
439 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
e084e0c4 | 440 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
6b8b3a79 | 441 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
442 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm | |
443 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm | |
444 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm | |
445 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm | |
446 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
447 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
448 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm | |
449 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm | |
450 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm | |
4a6bf252 | 451 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
6b8b3a79 | 452 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
453 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
454 | %{_pixmapsdir}/VBox.png | |
455 | %{_desktopdir}/%{pname}.desktop | |
af40882b | 456 | |
457 | %files udev | |
458 | %defattr(644,root,root,755) | |
459 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
460 | %endif | |
461 | ||
462 | %if %{with kernel} | |
463 | %files -n kernel%{_alt_kernel}-misc-vboxdrv | |
464 | %defattr(644,root,root,755) | |
465 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
466 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* | |
467 | ||
468 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt | |
469 | %defattr(644,root,root,755) | |
470 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
471 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* | |
472 | %endif |