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