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