]>
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 | |
cd05868c | 16 | %define rel 1 |
6b8b3a79 | 17 | |
6b8b3a79 | 18 | %define pname VirtualBox |
cd05868c | 19 | %define prev 71344 |
6fd945b0 | 20 | |
6b8b3a79 | 21 | Summary: VirtualBox - x86 hardware virtualizer |
22 | Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 | |
23 | Name: %{pname}-bin | |
cd05868c | 24 | Version: 4.0.6 |
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 |
cd05868c | 29 | # NoSource0-md5: 133cfbb8dc11da780b24f1ef5ef06697 |
6b8b3a79 | 30 | NoSource: 0 |
be2520a7 | 31 | Source1: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-%{prev}-Linux_x86.run |
cd05868c | 32 | # NoSource1-md5: 45414b45e5b43e95068b1f3fec71de76 |
be2520a7 PS |
33 | NoSource: 1 |
34 | Source2: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf | |
cd05868c | 35 | # Source2-md5: 7d3ee86e998fa24b07a157add9fb7766 |
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 | |
7f170645 | 104 | Conflicts: %{pname}-udev |
af40882b | 105 | |
106 | %description udev | |
d5d1e69f | 107 | udev rules for VirtualBox kernel modules. |
af40882b | 108 | |
109 | %description udev -l pl.UTF-8 | |
110 | Reguły udev dla modułów jądra Linuksa dla VirtualBoksa. | |
111 | ||
22c7801a AG |
112 | %package -n xorg-driver-input-vboxmouse |
113 | Summary: X.org mouse driver for VirtualBox guest OS | |
114 | Summary(pl.UTF-8): Sterownik myszy dla systemu gościa w VirtualBoksie | |
115 | Group: X11/Applications | |
116 | Requires: xorg-xserver-server >= 1.0.99.901 | |
117 | ||
118 | %description -n xorg-driver-input-vboxmouse | |
119 | X.org mouse driver for VirtualBox guest OS. | |
120 | ||
121 | %description -n xorg-driver-input-vboxmouse -l pl.UTF-8 | |
122 | Sterownik myszy dla systemu gościa w VirtualBoksie. | |
123 | ||
124 | %package -n xorg-driver-video-vboxvideo | |
125 | Summary: X.org video driver for VirtualBox guest OS | |
126 | Summary(pl.UTF-8): Sterownik grafiki dla systemu gościa w VirtualBoksie | |
127 | Group: X11/Applications | |
128 | Requires: xorg-xserver-server >= 1.0.99.901 | |
129 | ||
130 | %description -n xorg-driver-video-vboxvideo | |
131 | X.org video driver for VirtualBox guest OS. | |
132 | ||
133 | %description -n xorg-driver-video-vboxvideo -l pl.UTF-8 | |
134 | Sterownik grafiki dla systemu gościa w VirtualBoksie. | |
135 | ||
af40882b | 136 | %package -n kernel%{_alt_kernel}-misc-vboxadd |
d5d1e69f AG |
137 | Summary: VirtualBox Guest Additions for Linux Module |
138 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 139 | Release: %{rel}@%{_kernel_ver_str} |
140 | Group: Base/Kernel | |
141 | Requires(post,postun): /sbin/depmod | |
142 | Requires: dev >= 2.9.0-7 | |
143 | %if %{with dist_kernel} | |
144 | %requires_releq_kernel | |
145 | Requires(postun): %releq_kernel | |
146 | %endif | |
147 | Provides: kernel(vboxadd) = %{version}-%{rel} | |
148 | ||
149 | %description -n kernel%{_alt_kernel}-misc-vboxadd | |
d5d1e69f | 150 | VirtualBox Guest Additions for Linux Module. |
af40882b | 151 | |
152 | %description -n kernel%{_alt_kernel}-misc-vboxadd -l pl.UTF-8 | |
bba7e338 | 153 | Moduł jądra Linuksa vboxadd dla VirtualBoksa - dodatki dla systemu |
154 | gościa. | |
af40882b | 155 | |
156 | %package -n kernel%{_alt_kernel}-misc-vboxdrv | |
d5d1e69f AG |
157 | Summary: VirtualBox Support Driver |
158 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 159 | Release: %{rel}@%{_kernel_ver_str} |
160 | Group: Base/Kernel | |
161 | Requires(post,postun): /sbin/depmod | |
162 | Requires: dev >= 2.9.0-7 | |
163 | %if %{with dist_kernel} | |
164 | %requires_releq_kernel | |
165 | Requires(postun): %releq_kernel | |
166 | %endif | |
167 | Provides: kernel(vboxdrv) = %{version}-%{rel} | |
168 | ||
169 | %description -n kernel%{_alt_kernel}-misc-vboxdrv | |
d5d1e69f | 170 | VirtualBox Support Driver. |
af40882b | 171 | |
172 | %description -n kernel%{_alt_kernel}-misc-vboxdrv -l pl.UTF-8 | |
bba7e338 | 173 | Moduł jądra Linuksa dla VirtualBoksa - sterownik wsparcia dla systemu |
174 | głównego. | |
af40882b | 175 | |
8bf9b919 KK |
176 | %package -n kernel%{_alt_kernel}-misc-vboxnetadp |
177 | Summary: VirtualBox Linux Host Virtual Network Adapter Driver | |
178 | Release: %{rel}@%{_kernel_ver_str} | |
179 | Group: Base/Kernel | |
180 | Requires(post,postun): /sbin/depmod | |
181 | Requires: dev >= 2.9.0-7 | |
182 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
183 | %if %{with dist_kernel} | |
184 | %requires_releq_kernel | |
185 | Requires(postun): %releq_kernel | |
186 | %endif | |
187 | Provides: kernel(vboxnetadp) = %{version}-%{rel} | |
188 | ||
189 | %description -n kernel%{_alt_kernel}-misc-vboxnetadp | |
bba7e338 | 190 | This is a kernel module that creates a virtual interface that can be |
191 | attached to an internal network. | |
8bf9b919 | 192 | |
af40882b | 193 | %package -n kernel%{_alt_kernel}-misc-vboxnetflt |
8bf9b919 | 194 | Summary: VirtualBox Linux Host Network Filter Driver |
d5d1e69f | 195 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa |
af40882b | 196 | Release: %{rel}@%{_kernel_ver_str} |
197 | Group: Base/Kernel | |
198 | Requires(post,postun): /sbin/depmod | |
199 | Requires: dev >= 2.9.0-7 | |
200 | Requires: kernel%{_alt_kernel}-misc-vboxdrv | |
201 | %if %{with dist_kernel} | |
202 | %requires_releq_kernel | |
203 | Requires(postun): %releq_kernel | |
204 | %endif | |
205 | Provides: kernel(vboxnetflt) = %{version}-%{rel} | |
206 | ||
207 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt | |
bba7e338 | 208 | This is a kernel module that attaches to a real interface on the host |
209 | and filters and injects packets. | |
af40882b | 210 | |
211 | %description -n kernel%{_alt_kernel}-misc-vboxnetflt -l pl.UTF-8 | |
bba7e338 | 212 | Moduł jądra Linuksa dla VirtualBoksa - sterownik filtrowania sieci dla |
213 | systemu głównego. | |
af40882b | 214 | |
215 | %package -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f AG |
216 | Summary: Host file system access VFS for VirtualBox |
217 | Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa | |
af40882b | 218 | Release: %{rel}@%{_kernel_ver_str} |
219 | Group: Base/Kernel | |
220 | Requires(post,postun): /sbin/depmod | |
221 | Requires: dev >= 2.9.0-7 | |
222 | Requires: kernel%{_alt_kernel}-misc-vboxadd | |
223 | %if %{with dist_kernel} | |
224 | %requires_releq_kernel | |
225 | Requires(postun): %releq_kernel | |
226 | %endif | |
227 | Provides: kernel(vboxvfs) = %{version}-%{rel} | |
228 | ||
229 | %description -n kernel%{_alt_kernel}-misc-vboxvfs | |
d5d1e69f | 230 | Host file system access VFS for VirtualBox. |
af40882b | 231 | |
232 | %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8 | |
bba7e338 | 233 | Moduł jądra Linuksa dla VirtualBoksa - dostęp do plików systemu |
234 | głównego z poziomu systemu gościa. | |
af40882b | 235 | |
6b8b3a79 | 236 | %prep |
237 | %setup -qcT | |
be2520a7 | 238 | %ifarch %{x8664} |
6b8b3a79 | 239 | %{__sh} %{SOURCE0} --noexec --keep |
be2520a7 PS |
240 | %else |
241 | %{__sh} %{SOURCE1} --noexec --keep | |
242 | %endif | |
243 | ||
6b8b3a79 | 244 | %{__tar} -jxf install/VirtualBox.tar.bz2 |
245 | ||
be2520a7 | 246 | install %{SOURCE2} . |
8bf9b919 | 247 | sed 's#@LIBDIR@#%{_libdir}#' < %{SOURCE9} > VirtualBox-wrapper.sh |
af40882b | 248 | |
249 | rm -rf PLD-MODULE-BUILD && mkdir PLD-MODULE-BUILD && cd PLD-MODULE-BUILD | |
250 | cp -rdf ../src/* ./ | |
b9e884d4 CM |
251 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxhost/vboxdrv/Makefile |
252 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxhost/vboxnetadp/Makefile | |
253 | sed -i -e 's/-DVBOX_WITH_HARDENING//g' vboxhost/vboxnetflt/Makefile | |
af40882b | 254 | |
255 | %build | |
256 | %if %{with kernel} | |
b9e884d4 | 257 | cd PLD-MODULE-BUILD/vboxhost |
af40882b | 258 | %build_kernel_modules -m vboxdrv -C vboxdrv |
8bf9b919 KK |
259 | cp -a vboxdrv/Module.symvers vboxnetadp/ |
260 | %build_kernel_modules -m vboxnetadp -C vboxnetadp | |
ab8d962c | 261 | cp -a vboxdrv/Module.symvers vboxnetflt/ |
af40882b | 262 | %build_kernel_modules -m vboxnetflt -C vboxnetflt |
263 | cd .. | |
264 | %endif | |
265 | ||
6b8b3a79 | 266 | |
267 | %install | |
268 | rm -rf $RPM_BUILD_ROOT | |
269 | ||
af40882b | 270 | %if %{with userspace} |
6b8b3a79 | 271 | install -d \ |
272 | $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \ | |
ab8d962c | 273 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components |
6b8b3a79 | 274 | |
275 | install VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
f668cc9f | 276 | for f in {VBox{Headless,Manage,Net{AdpCtl,DHCP},SDL,SysInfo.sh,SVC,TestOGL,Tunctl,XPCOMIPCD,.sh},VirtualBox,rdesktop-vrdp,vboxwebsrv,webtest}; do |
6b8b3a79 | 277 | install $f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f |
e6cef9cd KK |
278 | done |
279 | ||
280 | for f in {VBox{Headless,Manage,SDL,VRDP},VirtualBox,rdesktop-vrdp,vboxwebsrv}; do | |
6b8b3a79 | 281 | ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f |
282 | done | |
283 | ||
cd05868c | 284 | install libQt*.so.* VBox*.so VirtualBox.so \ |
6b8b3a79 | 285 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
286 | install VBox{DD,DD2}{GC.gc,R0.r0} VMM{GC.gc,R0.r0} \ | |
287 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
288 | ||
e6cef9cd | 289 | for f in VBox{DDU,REM,RT,VMM,XPCOM}.so; do |
ab8d962c KK |
290 | ln -s %{_libdir}/VirtualBox/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/components/$f |
291 | done | |
292 | ||
af40882b | 293 | cp -a accessible additions components nls rdesktop-vrdp-keymaps $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 | |
cd05868c | 409 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuth.so |
410 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuthSimple.so | |
4a6bf252 | 411 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so |
412 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
413 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so | |
414 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
d153d895 | 415 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestControlSvc.so |
4a6bf252 | 416 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so |
417 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless.so | |
418 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
419 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP.so | |
420 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so | |
421 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
422 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
4a6bf252 | 423 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython.so |
cd05868c | 424 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython2_7.so |
4a6bf252 | 425 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM.so |
afce24fb | 426 | %ifarch %{ix86} |
7935c8c1 | 427 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM32.so |
afce24fb | 428 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxREM64.so |
7935c8c1 | 429 | %endif |
4a6bf252 | 430 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxRT.so |
431 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSDL.so | |
4a6bf252 | 432 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedClipboard.so |
433 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedCrOpenGL.so | |
434 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSharedFolders.so | |
435 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxVMM.so | |
4a6bf252 | 436 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOMC.so |
437 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxXPCOM.so | |
438 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtCoreVBox.so.4 | |
439 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtGuiVBox.so.4 | |
440 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtNetworkVBox.so.4 | |
13084364 | 441 | %attr(755,root,root) %{_libdir}/VirtualBox/libQtOpenGLVBox.so.4 |
6b8b3a79 | 442 | %attr(4755,root,root) %{_libdir}/VirtualBox/VirtualBox |
443 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox.so | |
444 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
4a6bf252 | 445 | %attr(755,root,root) %{_libdir}/VirtualBox/VBox.sh |
446 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
447 | %attr(755,root,root) %{_libdir}/VirtualBox/libavcodec.so.51 | |
448 | %attr(755,root,root) %{_libdir}/VirtualBox/libavformat.so.51 | |
af40882b | 449 | %attr(755,root,root) %{_libdir}/VirtualBox/rdesktop-vrdp |
450 | %attr(755,root,root) %{_libdir}/VirtualBox/vboxwebsrv | |
451 | %attr(755,root,root) %{_libdir}/VirtualBox/webtest | |
452 | # isn't it already packaged somewhere in the system? | |
453 | %attr(755,root,root) %{_libdir}/VirtualBox/accessible/libqtaccessiblewidgets.so | |
4a6bf252 | 454 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
455 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
456 | %{_libdir}/VirtualBox/VMMGC.gc | |
457 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
458 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
459 | %{_libdir}/VirtualBox/VMMR0.r0 | |
460 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
461 | %{_libdir}/VirtualBox/components/VBoxC.so | |
462 | %{_libdir}/VirtualBox/components/VBoxDDU.so | |
463 | %{_libdir}/VirtualBox/components/VBoxREM.so | |
464 | %{_libdir}/VirtualBox/components/VBoxRT.so | |
465 | %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
466 | %{_libdir}/VirtualBox/components/VBoxVMM.so | |
467 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt | |
468 | %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
469 | %{_libdir}/VirtualBox/components/VBoxXPCOM.so | |
470 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt | |
af40882b | 471 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps |
af40882b | 472 | %{_libdir}/VirtualBox/VirtualBox.chm |
e6cef9cd | 473 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
6b8b3a79 | 474 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
33409bfd | 475 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
6b8b3a79 | 476 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
13084364 | 477 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
6b8b3a79 | 478 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
33409bfd | 479 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
6b8b3a79 | 480 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
481 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
482 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
483 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
ce4f7b38 | 484 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
6b8b3a79 | 485 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
486 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm | |
487 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm | |
488 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
e084e0c4 | 489 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
6b8b3a79 | 490 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
22c7801a | 491 | %lang(lt) %{_libdir}/VirtualBox/nls/*_lt.qm |
d52cc2a9 | 492 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
6b8b3a79 | 493 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
494 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm | |
495 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm | |
496 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm | |
497 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
498 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
499 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm | |
500 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm | |
501 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm | |
4a6bf252 | 502 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
6b8b3a79 | 503 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
504 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
505 | %{_pixmapsdir}/VBox.png | |
506 | %{_desktopdir}/%{pname}.desktop | |
af40882b | 507 | |
508 | %files udev | |
509 | %defattr(644,root,root,755) | |
510 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
511 | %endif | |
512 | ||
513 | %if %{with kernel} | |
514 | %files -n kernel%{_alt_kernel}-misc-vboxdrv | |
515 | %defattr(644,root,root,755) | |
516 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
517 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* | |
518 | ||
8bf9b919 KK |
519 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
520 | %defattr(644,root,root,755) | |
521 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
522 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* | |
523 | ||
af40882b | 524 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
525 | %defattr(644,root,root,755) | |
526 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
527 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* | |
528 | %endif |