]>
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 |
14403ad6 | 19 | %define prev 73009 |
6fd945b0 | 20 | |
6b8b3a79 | 21 | Summary: VirtualBox - x86 hardware virtualizer |
22 | Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86 | |
23 | Name: %{pname}-bin | |
14403ad6 | 24 | Version: 4.1.0 |
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 |
efdf96bd | 29 | # NoSource0-md5: |
6b8b3a79 | 30 | NoSource: 0 |
be2520a7 | 31 | Source1: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-%{prev}-Linux_x86.run |
efdf96bd | 32 | # NoSource1-md5: |
be2520a7 PS |
33 | NoSource: 1 |
34 | Source2: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf | |
14403ad6 | 35 | # Source2-md5: d41d8cd98f00b204e9800998ecf8427e |
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 | |
9fbbe444 | 275 | install -p 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 |
9fbbe444 | 277 | install -p $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 | ||
9fbbe444 | 284 | install -p libQt*.so.* VBox*.so VirtualBox.so \ |
6b8b3a79 | 285 | $RPM_BUILD_ROOT%{_libdir}/VirtualBox |
9fbbe444 | 286 | install -p VBox{DD,DD2}{GC.gc,R0.r0} VMM{GC.gc,R0.r0} \ |
6b8b3a79 | 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 | |
9fbbe444 ER |
295 | cp -p VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png |
296 | cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}/%{pname}.desktop | |
af40882b | 297 | |
9fbbe444 | 298 | cp -p 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 |
9fbbe444 ER |
305 | cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules |
306 | ||
307 | # install just for current python | |
308 | py_ver=$(%{__python} -c 'import sys; sv=sys.version_info; print "%s_%s" % (sv.major, sv.minor)') | |
309 | rm -f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/VBoxPython*.so | |
310 | install -p VBoxPython.so VBoxPython$py_ver.so $RPM_BUILD_ROOT%{_libdir}/VirtualBox | |
af40882b | 311 | %endif |
312 | ||
313 | %if %{with kernel} | |
314 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
9fbbe444 ER |
315 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxdrv |
316 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetadp | |
317 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/vboxnetflt | |
b9e884d4 CM |
318 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxhost/vboxdrv/vboxdrv -d misc |
319 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxhost/vboxnetadp/vboxnetadp -d misc | |
320 | %install_kernel_modules -m PLD-MODULE-BUILD/vboxhost/vboxnetflt/vboxnetflt -d misc | |
af40882b | 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 | |
cd05868c | 414 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuth.so |
415 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxAuthSimple.so | |
4a6bf252 | 416 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDbg.so |
417 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD2.so | |
418 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDD.so | |
419 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxDDU.so | |
d153d895 | 420 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestControlSvc.so |
4a6bf252 | 421 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxGuestPropSvc.so |
422 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxHeadless.so | |
423 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxKeyboard.so | |
424 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxNetDHCP.so | |
425 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhostcrutil.so | |
426 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLhosterrorspu.so | |
427 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxOGLrenderspu.so | |
9fbbe444 | 428 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxPython*.so |
4a6bf252 | 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 | |
4a6bf252 | 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 |
6b8b3a79 | 446 | %attr(4755,root,root) %{_libdir}/VirtualBox/VirtualBox |
447 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox.so | |
448 | %attr(755,root,root) %{_libdir}/VirtualBox/VirtualBox-wrapper.sh | |
4a6bf252 | 449 | %attr(755,root,root) %{_libdir}/VirtualBox/VBox.sh |
450 | %attr(755,root,root) %{_libdir}/VirtualBox/VBoxSysInfo.sh | |
451 | %attr(755,root,root) %{_libdir}/VirtualBox/libavcodec.so.51 | |
452 | %attr(755,root,root) %{_libdir}/VirtualBox/libavformat.so.51 | |
af40882b | 453 | %attr(755,root,root) %{_libdir}/VirtualBox/rdesktop-vrdp |
454 | %attr(755,root,root) %{_libdir}/VirtualBox/vboxwebsrv | |
455 | %attr(755,root,root) %{_libdir}/VirtualBox/webtest | |
456 | # isn't it already packaged somewhere in the system? | |
457 | %attr(755,root,root) %{_libdir}/VirtualBox/accessible/libqtaccessiblewidgets.so | |
4a6bf252 | 458 | %{_libdir}/VirtualBox/VBoxDD2GC.gc |
459 | %{_libdir}/VirtualBox/VBoxDDGC.gc | |
460 | %{_libdir}/VirtualBox/VMMGC.gc | |
461 | %{_libdir}/VirtualBox/VBoxDD2R0.r0 | |
462 | %{_libdir}/VirtualBox/VBoxDDR0.r0 | |
463 | %{_libdir}/VirtualBox/VMMR0.r0 | |
464 | %{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso | |
465 | %{_libdir}/VirtualBox/components/VBoxC.so | |
466 | %{_libdir}/VirtualBox/components/VBoxDDU.so | |
467 | %{_libdir}/VirtualBox/components/VBoxREM.so | |
468 | %{_libdir}/VirtualBox/components/VBoxRT.so | |
469 | %{_libdir}/VirtualBox/components/VBoxSVCM.so | |
470 | %{_libdir}/VirtualBox/components/VBoxVMM.so | |
471 | %{_libdir}/VirtualBox/components/VBoxXPCOMBase.xpt | |
472 | %{_libdir}/VirtualBox/components/VBoxXPCOMIPCC.so | |
473 | %{_libdir}/VirtualBox/components/VBoxXPCOM.so | |
474 | %{_libdir}/VirtualBox/components/VirtualBox_XPCOM.xpt | |
af40882b | 475 | %{_libdir}/VirtualBox/rdesktop-vrdp-keymaps |
af40882b | 476 | %{_libdir}/VirtualBox/VirtualBox.chm |
e6cef9cd | 477 | %lang(bg) %{_libdir}/VirtualBox/nls/*_bg.qm |
6b8b3a79 | 478 | %lang(ca) %{_libdir}/VirtualBox/nls/*_ca.qm |
33409bfd | 479 | %lang(ca_VA) %{_libdir}/VirtualBox/nls/*_ca_VA.qm |
6b8b3a79 | 480 | %lang(cs) %{_libdir}/VirtualBox/nls/*_cs.qm |
13084364 | 481 | %lang(da) %{_libdir}/VirtualBox/nls/*_da.qm |
6b8b3a79 | 482 | %lang(de) %{_libdir}/VirtualBox/nls/*_de.qm |
33409bfd | 483 | %lang(en) %{_libdir}/VirtualBox/nls/*_en.qm |
6b8b3a79 | 484 | %lang(es) %{_libdir}/VirtualBox/nls/*_es.qm |
485 | %lang(eu) %{_libdir}/VirtualBox/nls/*_eu.qm | |
486 | %lang(fi) %{_libdir}/VirtualBox/nls/*_fi.qm | |
487 | %lang(fr) %{_libdir}/VirtualBox/nls/*_fr.qm | |
ce4f7b38 | 488 | %lang(gl_ES) %{_libdir}/VirtualBox/nls/*_gl_ES.qm |
6b8b3a79 | 489 | %lang(hu) %{_libdir}/VirtualBox/nls/*_hu.qm |
490 | %lang(id) %{_libdir}/VirtualBox/nls/*_id.qm | |
491 | %lang(it) %{_libdir}/VirtualBox/nls/*_it.qm | |
492 | %lang(ja) %{_libdir}/VirtualBox/nls/*_ja.qm | |
e084e0c4 | 493 | %lang(km_KH) %{_libdir}/VirtualBox/nls/*_km_KH.qm |
6b8b3a79 | 494 | %lang(ko) %{_libdir}/VirtualBox/nls/*_ko.qm |
22c7801a | 495 | %lang(lt) %{_libdir}/VirtualBox/nls/*_lt.qm |
d52cc2a9 | 496 | %lang(nl) %{_libdir}/VirtualBox/nls/*_nl.qm |
6b8b3a79 | 497 | %lang(pl) %{_libdir}/VirtualBox/nls/*_pl.qm |
498 | %lang(pt) %{_libdir}/VirtualBox/nls/*_pt.qm | |
499 | %lang(pt_BR) %{_libdir}/VirtualBox/nls/*_pt_BR.qm | |
500 | %lang(ro) %{_libdir}/VirtualBox/nls/*_ro.qm | |
501 | %lang(ru) %{_libdir}/VirtualBox/nls/*_ru.qm | |
502 | %lang(sk) %{_libdir}/VirtualBox/nls/*_sk.qm | |
503 | %lang(sr) %{_libdir}/VirtualBox/nls/*_sr.qm | |
504 | %lang(sv) %{_libdir}/VirtualBox/nls/*_sv.qm | |
505 | %lang(tr) %{_libdir}/VirtualBox/nls/*_tr.qm | |
4a6bf252 | 506 | %lang(uk) %{_libdir}/VirtualBox/nls/*_uk.qm |
6b8b3a79 | 507 | %lang(zh_CN) %{_libdir}/VirtualBox/nls/*_zh_CN.qm |
508 | %lang(zh_TW) %{_libdir}/VirtualBox/nls/*_zh_TW.qm | |
509 | %{_pixmapsdir}/VBox.png | |
510 | %{_desktopdir}/%{pname}.desktop | |
af40882b | 511 | |
512 | %files udev | |
513 | %defattr(644,root,root,755) | |
514 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules | |
515 | %endif | |
516 | ||
517 | %if %{with kernel} | |
518 | %files -n kernel%{_alt_kernel}-misc-vboxdrv | |
519 | %defattr(644,root,root,755) | |
520 | %attr(754,root,root) /etc/rc.d/init.d/vboxdrv | |
521 | /lib/modules/%{_kernel_ver}/misc/vboxdrv.ko* | |
522 | ||
8bf9b919 KK |
523 | %files -n kernel%{_alt_kernel}-misc-vboxnetadp |
524 | %defattr(644,root,root,755) | |
525 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetadp | |
526 | /lib/modules/%{_kernel_ver}/misc/vboxnetadp.ko* | |
527 | ||
af40882b | 528 | %files -n kernel%{_alt_kernel}-misc-vboxnetflt |
529 | %defattr(644,root,root,755) | |
530 | %attr(754,root,root) /etc/rc.d/init.d/vboxnetflt | |
531 | /lib/modules/%{_kernel_ver}/misc/vboxnetflt.ko* | |
532 | %endif |