]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without sdl # SDL UI and audio support | |
4 | %bcond_without glx # OpenGL/GLX support | |
5 | %bcond_without ceph # Ceph/RBD support | |
6 | %bcond_without glusterfs # GlusterFS backend | |
7 | %bcond_without rdma # RDMA-based migration support | |
8 | %bcond_with gtk2 # GTK+ 2.x instead of 3.x | |
9 | %bcond_without gtk3 # Do not build GTK UI | |
10 | %bcond_without spice # SPICE support | |
11 | %bcond_with esd # EsounD audio support | |
12 | %bcond_without oss # OSS audio support | |
13 | %bcond_without pulseaudio # PulseAudio audio support | |
14 | %bcond_without xen # Xen backend driver support | |
15 | %bcond_without bluetooth # bluetooth support | |
16 | %bcond_without brlapi # brlapi support | |
17 | %bcond_without smartcard # smartcard-nss support | |
18 | %bcond_without iscsi # iscsi support | |
19 | %bcond_without libnfs # NFS support | |
20 | %bcond_without seccomp # seccomp support | |
21 | %bcond_without usbredir # usb network redirection support | |
22 | %bcond_without system_seabios # system seabios binary | |
23 | %bcond_without snappy # snappy compression library | |
24 | ||
25 | %if %{with gtk2} | |
26 | %undefine with_gtk3 | |
27 | %endif | |
28 | ||
29 | Summary: QEMU CPU Emulator | |
30 | Summary(pl.UTF-8): QEMU - emulator procesora | |
31 | Name: qemu | |
32 | Version: 2.1.2 | |
33 | Release: 2 | |
34 | License: GPL v2+ | |
35 | Group: Applications/Emulators | |
36 | Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2 | |
37 | # Source0-md5: 0ff197c4ed4b695620bc4734e77c888f | |
38 | Source2: %{name}.binfmt | |
39 | # Loads kvm kernel modules at boot | |
40 | Source3: kvm-modules-load.conf | |
41 | # Creates /dev/kvm | |
42 | Source4: 80-kvm.rules | |
43 | # KSM control scripts | |
44 | Source5: ksm.service | |
45 | Source6: ksm.sysconfig | |
46 | Source7: ksmctl.c | |
47 | Source8: ksmtuned.service | |
48 | Source9: ksmtuned | |
49 | Source10: ksmtuned.conf | |
50 | Source11: %{name}-guest-agent.service | |
51 | Source12: 99-%{name}-guest-agent.rules | |
52 | Patch0: %{name}-cflags.patch | |
53 | Patch1: vgabios-widescreens.patch | |
54 | Patch2: %{name}-whitelist.patch | |
55 | Patch3: %{name}-system-libcacard.patch | |
56 | Patch4: %{name}-xattr.patch | |
57 | Patch5: libjpeg-boolean.patch | |
58 | # Proof of concept, for reference, do not remove | |
59 | Patch400: %{name}-kde_virtual_workspaces_hack.patch | |
60 | URL: http://www.qemu-project.org/ | |
61 | %{?with_opengl:BuildRequires: OpenGL-GLX-devel} | |
62 | %{?with_sdl:BuildRequires: SDL2-devel >= 2.0} | |
63 | BuildRequires: alsa-lib-devel | |
64 | BuildRequires: bcc | |
65 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} | |
66 | %{?with_brlapi:BuildRequires: brlapi-devel} | |
67 | %{?with_ceph:BuildRequires: ceph-devel} | |
68 | BuildRequires: curl-devel | |
69 | BuildRequires: cyrus-sasl-devel >= 2 | |
70 | %{?with_esd:BuildRequires: esound-devel} | |
71 | BuildRequires: glib2-devel >= 1:2.12 | |
72 | %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4} | |
73 | BuildRequires: gnutls-devel > 2.10.0 | |
74 | BuildRequires: libaio-devel | |
75 | %{?with_smartcard:BuildRequires: libcacard-devel} | |
76 | BuildRequires: libcap-devel | |
77 | BuildRequires: libcap-ng-devel | |
78 | BuildRequires: libfdt-devel | |
79 | %{?with_rdma:BuildRequires: libibverbs-devel} | |
80 | %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.4.0} | |
81 | BuildRequires: libjpeg-devel | |
82 | %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3} | |
83 | BuildRequires: libpng-devel | |
84 | %{?with_rdma:BuildRequires: librdmacm-devel} | |
85 | %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.0} | |
86 | BuildRequires: libssh2-devel >= 1.2.8 | |
87 | BuildRequires: libusb-devel >= 1.0.13 | |
88 | BuildRequires: libuuid-devel | |
89 | BuildRequires: lzo-devel >= 2 | |
90 | BuildRequires: ncurses-devel | |
91 | %{?with_smartcard:BuildRequires: nss-devel >= 3.12.8} | |
92 | BuildRequires: perl-Encode | |
93 | BuildRequires: perl-tools-pod | |
94 | BuildRequires: pkgconfig | |
95 | %{?with_pulseaudio:BuildRequires: pulseaudio-devel} | |
96 | BuildRequires: rpmbuild(macros) >= 1.644 | |
97 | %{?with_system_seabios:BuildRequires: seabios} | |
98 | BuildRequires: sed >= 4.0 | |
99 | %{?with_snappy:BuildRequires: snappy-devel} | |
100 | %if %{with spice} | |
101 | BuildRequires: spice-protocol >= 0.12.3 | |
102 | BuildRequires: spice-server-devel >= 0.12.0 | |
103 | %endif | |
104 | BuildRequires: texi2html | |
105 | BuildRequires: texinfo | |
106 | %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6} | |
107 | BuildRequires: vde2-devel | |
108 | BuildRequires: which | |
109 | %{?with_xen:BuildRequires: xen-devel >= 3.4} | |
110 | BuildRequires: xfsprogs-devel | |
111 | BuildRequires: xorg-lib-libX11-devel | |
112 | BuildRequires: zlib-devel | |
113 | %if %{with gtk2} | |
114 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
115 | BuildRequires: vte0-devel >= 0.24.0 | |
116 | %endif | |
117 | %if %{with gtk3} | |
118 | BuildRequires: gtk+3-devel >= 3.0.0 | |
119 | BuildRequires: vte-devel >= 0.32.0 | |
120 | %endif | |
121 | Requires: %{name}-img = %{version}-%{release} | |
122 | Requires: %{name}-system-aarch64 = %{version}-%{release} | |
123 | Requires: %{name}-system-alpha = %{version}-%{release} | |
124 | Requires: %{name}-system-arm = %{version}-%{release} | |
125 | Requires: %{name}-system-cris = %{version}-%{release} | |
126 | Requires: %{name}-system-lm32 = %{version}-%{release} | |
127 | Requires: %{name}-system-m68k = %{version}-%{release} | |
128 | Requires: %{name}-system-microblaze = %{version}-%{release} | |
129 | Requires: %{name}-system-mips = %{version}-%{release} | |
130 | Requires: %{name}-system-moxie = %{version}-%{release} | |
131 | Requires: %{name}-system-or32 = %{version}-%{release} | |
132 | Requires: %{name}-system-ppc = %{version}-%{release} | |
133 | Requires: %{name}-system-s390x = %{version}-%{release} | |
134 | Requires: %{name}-system-sh4 = %{version}-%{release} | |
135 | Requires: %{name}-system-sparc = %{version}-%{release} | |
136 | Requires: %{name}-system-unicore32 = %{version}-%{release} | |
137 | Requires: %{name}-system-x86 = %{version}-%{release} | |
138 | Requires: %{name}-system-xtensa = %{version}-%{release} | |
139 | Requires: %{name}-user = %{version}-%{release} | |
140 | Obsoletes: qemu-kvm | |
141 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
142 | ||
143 | %define systempkg_req \ | |
144 | %if %{with sdl} \ | |
145 | Requires: SDL2 \ | |
146 | %endif \ | |
147 | %if %{with seccomp} \ | |
148 | Requires: libseccomp >= 2.1.0 \ | |
149 | %endif \ | |
150 | Requires: libusb >= 1.0.13 \ | |
151 | %if %{with usbredir} \ | |
152 | Requires: usbredir >= 0.6 \ | |
153 | %endif \ | |
154 | %if %{with gtk2} \ | |
155 | Requires: gtk+2 >= 2:2.18.0 \ | |
156 | Requires: vte0 >= 0.24.0 \ | |
157 | %endif \ | |
158 | %if %{with gtk3} \ | |
159 | Requires: gtk+3 >= 3.0.0 \ | |
160 | Requires: vte >= 0.32.0 \ | |
161 | %endif | |
162 | ||
163 | # some PPC/SPARC boot image in ELF format | |
164 | %define _noautostrip .*%{_datadir}/qemu/.*-.* | |
165 | ||
166 | %description | |
167 | QEMU is a FAST! processor emulator. By using dynamic translation it | |
168 | achieves a reasonnable speed while being easy to port on new host | |
169 | CPUs. QEMU has two operating modes: | |
170 | ||
171 | - User mode emulation. In this mode, QEMU can launch Linux processes | |
172 | compiled for one CPU on another CPU. Linux system calls are converted | |
173 | because of endianness and 32/64 bit mismatches. Wine (Windows | |
174 | emulation) and DOSEMU (DOS emulation) are the main targets for QEMU. | |
175 | ||
176 | - Full system emulation. In this mode, QEMU emulates a full system, | |
177 | including a processor and various peripherials. It can also be used to | |
178 | provide virtual hosting of several virtual PC on a single server. | |
179 | ||
180 | %description -l pl.UTF-8 | |
181 | QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego | |
182 | tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania, | |
183 | aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy: | |
184 | ||
185 | - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać | |
186 | procesy linuksowe skompilowane dla jednego procesora na innym | |
187 | procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na | |
188 | niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru | |
189 | słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne | |
190 | cele QEMU. | |
191 | ||
192 | - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system, | |
193 | włączając w to procesor i różne urządzenia peryferyjne. Może być także | |
194 | używane do wirtualnego hostowania kilku wirtualnych pecetów na | |
195 | pojedynczym serwerze. | |
196 | ||
197 | %package common | |
198 | Summary: QEMU common files needed by all QEMU targets | |
199 | Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU | |
200 | Group: Development/Tools | |
201 | Requires(post,preun,postun): systemd-units >= 38 | |
202 | Requires(postun): /usr/sbin/groupdel | |
203 | Requires(postun): /usr/sbin/userdel | |
204 | Requires(pre): /bin/id | |
205 | Requires(pre): /usr/bin/getgid | |
206 | Requires(pre): /usr/sbin/groupadd | |
207 | Requires(pre): /usr/sbin/useradd | |
208 | Requires: glib2 >= 1:2.12 | |
209 | %{?with_libnfs:Requires: libnfs >= 1.9.3} | |
210 | Requires: libssh2 >= 1.2.8 | |
211 | Requires: systemd-units >= 38 | |
212 | Provides: group(qemu) | |
213 | Provides: user(qemu) | |
214 | Obsoletes: qemu-kvm-common | |
215 | Conflicts: qemu < 1.0-2 | |
216 | ||
217 | %description common | |
218 | QEMU is a generic and open source processor emulator which achieves a | |
219 | good emulation speed by using dynamic translation. | |
220 | ||
221 | This package provides the common files needed by all QEMU targets. | |
222 | ||
223 | %description common -l pl.UTF-8 | |
224 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
225 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
226 | ||
227 | Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie | |
228 | środowiska QEMU. | |
229 | ||
230 | %package img | |
231 | Summary: QEMU command line tool for manipulating disk images | |
232 | Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków | |
233 | Group: Development/Tools | |
234 | Obsoletes: qemu-kvm-img | |
235 | Conflicts: qemu < 1.0-2 | |
236 | ||
237 | %description img | |
238 | This package provides a command line tool for manipulating disk | |
239 | images. | |
240 | ||
241 | %description img -l pl.UTF-8 | |
242 | Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji | |
243 | na obrazach dysków. | |
244 | ||
245 | %package user | |
246 | Summary: QEMU user mode emulation of qemu targets | |
247 | Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu | |
248 | Group: Development/Tools | |
249 | Requires: %{name}-common = %{version}-%{release} | |
250 | Requires(post,postun): systemd-units >= 38 | |
251 | Requires: systemd-units >= 38 | |
252 | Obsoletes: qemu-kvm-user | |
253 | ||
254 | %description user | |
255 | QEMU is a generic and open source processor emulator which achieves a | |
256 | good emulation speed by using dynamic translation. | |
257 | ||
258 | This package provides the user mode emulation of QEMU targets. | |
259 | ||
260 | %description user -l pl.UTF-8 | |
261 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
262 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
263 | ||
264 | Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU. | |
265 | ||
266 | %package system-aarch64 | |
267 | Summary: QEMU system emulator for AArch64 | |
268 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64 | |
269 | Group: Development/Tools | |
270 | Requires: %{name}-common = %{version}-%{release} | |
271 | %systempkg_req | |
272 | Obsoletes: qemu-kvm-system-aarch64 | |
273 | ||
274 | %description system-aarch64 | |
275 | QEMU is a generic and open source processor emulator which achieves a | |
276 | good emulation speed by using dynamic translation. | |
277 | ||
278 | This package provides the system emulator with AArch64 CPU. | |
279 | ||
280 | %description system-aarch64 -l pl.UTF-8 | |
281 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
282 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
283 | ||
284 | Ten pakiet zawiera emulator systemu z procesorem AArch64. | |
285 | ||
286 | %package system-alpha | |
287 | Summary: QEMU system emulator for Alpha | |
288 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha | |
289 | Group: Development/Tools | |
290 | Requires: %{name}-common = %{version}-%{release} | |
291 | %systempkg_req | |
292 | Obsoletes: qemu-kvm-system-alpha | |
293 | ||
294 | %description system-alpha | |
295 | QEMU is a generic and open source processor emulator which achieves a | |
296 | good emulation speed by using dynamic translation. | |
297 | ||
298 | This package provides the system emulator with Alpha CPU. | |
299 | ||
300 | %description system-alpha -l pl.UTF-8 | |
301 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
302 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
303 | ||
304 | Ten pakiet zawiera emulator systemu z procesorem Alpha. | |
305 | ||
306 | %package system-arm | |
307 | Summary: QEMU system emulator for ARM | |
308 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM | |
309 | Group: Development/Tools | |
310 | Requires: %{name}-common = %{version}-%{release} | |
311 | %systempkg_req | |
312 | Obsoletes: qemu-kvm-system-arm | |
313 | ||
314 | %description system-arm | |
315 | QEMU is a generic and open source processor emulator which achieves a | |
316 | good emulation speed by using dynamic translation. | |
317 | ||
318 | This package provides the system emulator for ARM. | |
319 | ||
320 | %description system-arm -l pl.UTF-8 | |
321 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
322 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
323 | ||
324 | Ten pakiet zawiera emulator systemu z procesorem ARM. | |
325 | ||
326 | %package system-cris | |
327 | Summary: QEMU system emulator for CRIS | |
328 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS | |
329 | Group: Development/Tools | |
330 | Requires: %{name}-common = %{version}-%{release} | |
331 | %systempkg_req | |
332 | Obsoletes: qemu-kvm-system-cris | |
333 | ||
334 | %description system-cris | |
335 | QEMU is a generic and open source processor emulator which achieves a | |
336 | good emulation speed by using dynamic translation. | |
337 | ||
338 | This package provides the system emulator with CRIS CPU. | |
339 | ||
340 | %description system-cris -l pl.UTF-8 | |
341 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
342 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
343 | ||
344 | Ten pakiet zawiera emulator systemu z procesorem CRIS. | |
345 | ||
346 | %package system-lm32 | |
347 | Summary: QEMU system emulator for LM32 | |
348 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32 | |
349 | Group: Development/Tools | |
350 | Requires: %{name}-common = %{version}-%{release} | |
351 | %systempkg_req | |
352 | Obsoletes: qemu-kvm-system-lm32 | |
353 | ||
354 | %description system-lm32 | |
355 | QEMU is a generic and open source processor emulator which achieves a | |
356 | good emulation speed by using dynamic translation. | |
357 | ||
358 | This package provides the system emulator with LM32 CPU. | |
359 | ||
360 | %description system-lm32 -l pl.UTF-8 | |
361 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
362 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
363 | ||
364 | Ten pakiet zawiera emulator systemu z procesorem LM32. | |
365 | ||
366 | %package system-m68k | |
367 | Summary: QEMU system emulator for m68k | |
368 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k | |
369 | Group: Development/Tools | |
370 | Requires: %{name}-common = %{version}-%{release} | |
371 | %systempkg_req | |
372 | Obsoletes: qemu-kvm-system-m68k | |
373 | ||
374 | %description system-m68k | |
375 | QEMU is a generic and open source processor emulator which achieves a | |
376 | good emulation speed by using dynamic translation. | |
377 | ||
378 | This package provides the system emulator with m68k CPU. | |
379 | ||
380 | %description system-m68k -l pl.UTF-8 | |
381 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
382 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
383 | ||
384 | Ten pakiet zawiera emulator systemu z procesorem m68k. | |
385 | ||
386 | %package system-microblaze | |
387 | Summary: QEMU system emulator for MicroBlaze | |
388 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze | |
389 | Group: Development/Tools | |
390 | Requires: %{name}-common = %{version}-%{release} | |
391 | %systempkg_req | |
392 | Obsoletes: qemu-kvm-system-microblaze | |
393 | ||
394 | %description system-microblaze | |
395 | QEMU is a generic and open source processor emulator which achieves a | |
396 | good emulation speed by using dynamic translation. | |
397 | ||
398 | This package provides the system emulator with MicroBlaze CPU. | |
399 | ||
400 | %description system-microblaze -l pl.UTF-8 | |
401 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
402 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
403 | ||
404 | Ten pakiet zawiera emulator systemu z procesorem MicroBlaze. | |
405 | ||
406 | %package system-mips | |
407 | Summary: QEMU system emulator for MIPS | |
408 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS | |
409 | Group: Development/Tools | |
410 | Requires: %{name}-common = %{version}-%{release} | |
411 | %systempkg_req | |
412 | Obsoletes: qemu-kvm-system-mips | |
413 | ||
414 | %description system-mips | |
415 | QEMU is a generic and open source processor emulator which achieves a | |
416 | good emulation speed by using dynamic translation. | |
417 | ||
418 | This package provides the system emulator with MIPS CPU. | |
419 | ||
420 | %description system-mips -l pl.UTF-8 | |
421 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
422 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
423 | ||
424 | Ten pakiet zawiera emulator systemu z procesorem MIPS. | |
425 | ||
426 | %package system-moxie | |
427 | Summary: QEMU system emulator for Moxie | |
428 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie | |
429 | Group: Development/Tools | |
430 | Requires: %{name}-common = %{version}-%{release} | |
431 | %systempkg_req | |
432 | ||
433 | %description system-moxie | |
434 | QEMU is a generic and open source processor emulator which achieves a | |
435 | good emulation speed by using dynamic translation. | |
436 | ||
437 | This package provides the system emulator with Moxie CPU. | |
438 | ||
439 | %description system-moxie -l pl.UTF-8 | |
440 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
441 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
442 | ||
443 | Ten pakiet zawiera emulator systemu z procesorem Moxie. | |
444 | ||
445 | %package system-or32 | |
446 | Summary: QEMU system emulator for OpenRISC | |
447 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC | |
448 | Group: Development/Tools | |
449 | Requires: %{name}-common = %{version}-%{release} | |
450 | %systempkg_req | |
451 | Obsoletes: qemu-kvm-system-or32 | |
452 | ||
453 | %description system-or32 | |
454 | QEMU is a generic and open source processor emulator which achieves a | |
455 | good emulation speed by using dynamic translation. | |
456 | ||
457 | This package provides the system emulator with OpenRISC CPU. | |
458 | ||
459 | %description system-or32 -l pl.UTF-8 | |
460 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
461 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
462 | ||
463 | Ten pakiet zawiera emulator systemu z procesorem OpenRISC. | |
464 | ||
465 | %package system-ppc | |
466 | Summary: QEMU system emulator for PowerPC | |
467 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC | |
468 | Group: Development/Tools | |
469 | Requires: %{name}-common = %{version}-%{release} | |
470 | %systempkg_req | |
471 | Obsoletes: qemu-kvm-system-ppc | |
472 | ||
473 | %description system-ppc | |
474 | QEMU is a generic and open source processor emulator which achieves a | |
475 | good emulation speed by using dynamic translation. | |
476 | ||
477 | This package provides the system emulator with PowerPC CPU. | |
478 | ||
479 | %description system-ppc -l pl.UTF-8 | |
480 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
481 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
482 | ||
483 | Ten pakiet zawiera emulator systemu z procesorem PowerPC. | |
484 | ||
485 | %package system-s390x | |
486 | Summary: QEMU system emulator for S390 | |
487 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390 | |
488 | Group: Development/Tools | |
489 | Requires: %{name}-common = %{version}-%{release} | |
490 | %systempkg_req | |
491 | Obsoletes: qemu-kvm-system-s390x | |
492 | ||
493 | %description system-s390x | |
494 | QEMU is a generic and open source processor emulator which achieves a | |
495 | good emulation speed by using dynamic translation. | |
496 | ||
497 | This package provides the system emulator with S390 CPU. | |
498 | ||
499 | %description system-s390x -l pl.UTF-8 | |
500 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
501 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
502 | ||
503 | Ten pakiet zawiera emulator systemu z procesorem S390. | |
504 | ||
505 | %package system-sh4 | |
506 | Summary: QEMU system emulator for SH4 | |
507 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4 | |
508 | Group: Development/Tools | |
509 | Requires: %{name}-common = %{version}-%{release} | |
510 | %systempkg_req | |
511 | Obsoletes: qemu-kvm-system-sh4 | |
512 | ||
513 | %description system-sh4 | |
514 | QEMU is a generic and open source processor emulator which achieves a | |
515 | good emulation speed by using dynamic translation. | |
516 | ||
517 | This package provides the system emulator with SH4 CPU. | |
518 | ||
519 | %description system-sh4 -l pl.UTF-8 | |
520 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
521 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
522 | ||
523 | Ten pakiet zawiera emulator systemu z procesorem SH4. | |
524 | ||
525 | %package system-sparc | |
526 | Summary: QEMU system emulator for SPARC | |
527 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC | |
528 | Group: Development/Tools | |
529 | Requires: %{name}-common = %{version}-%{release} | |
530 | %systempkg_req | |
531 | Obsoletes: qemu-kvm-system-sparc | |
532 | ||
533 | %description system-sparc | |
534 | QEMU is a generic and open source processor emulator which achieves a | |
535 | good emulation speed by using dynamic translation. | |
536 | ||
537 | This package provides the system emulator with SPARC/SPARC64 CPU. | |
538 | ||
539 | %description system-sparc -l pl.UTF-8 | |
540 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
541 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
542 | ||
543 | Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64. | |
544 | ||
545 | %package system-unicore32 | |
546 | Summary: QEMU system emulator for UniCore32 | |
547 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32 | |
548 | Group: Development/Tools | |
549 | Requires: %{name}-common = %{version}-%{release} | |
550 | %systempkg_req | |
551 | Obsoletes: qemu-kvm-system-unicore32 | |
552 | ||
553 | %description system-unicore32 | |
554 | QEMU is a generic and open source processor emulator which achieves a | |
555 | good emulation speed by using dynamic translation. | |
556 | ||
557 | This package provides the system emulator with UniCore32 CPU. | |
558 | ||
559 | %description system-unicore32 -l pl.UTF-8 | |
560 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
561 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
562 | ||
563 | Ten pakiet zawiera emulator systemu z procesorem UniCore32. | |
564 | ||
565 | %package system-x86 | |
566 | Summary: QEMU system emulator for x86 | |
567 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86 | |
568 | Group: Development/Tools | |
569 | Requires: %{name}-common = %{version}-%{release} | |
570 | %{?with_system_seabios:Requires: seabios} | |
571 | %systempkg_req | |
572 | Obsoletes: kvm | |
573 | Obsoletes: qemu-kvm-system-x86 | |
574 | ||
575 | %description system-x86 | |
576 | QEMU is a generic and open source processor emulator which achieves a | |
577 | good emulation speed by using dynamic translation. | |
578 | ||
579 | %description system-x86 -l pl.UTF-8 | |
580 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
581 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
582 | ||
583 | %package system-xtensa | |
584 | Summary: QEMU system emulator for Xtensa | |
585 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa | |
586 | Group: Development/Tools | |
587 | Requires: %{name}-common = %{version}-%{release} | |
588 | %systempkg_req | |
589 | Obsoletes: qemu-kvm-system-xtensa | |
590 | ||
591 | %description system-xtensa | |
592 | QEMU is a generic and open source processor emulator which achieves a | |
593 | good emulation speed by using dynamic translation. | |
594 | ||
595 | This package provides the system emulator with Xtensa CPU. | |
596 | ||
597 | %description system-xtensa -l pl.UTF-8 | |
598 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
599 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
600 | ||
601 | Ten pakiet zawiera emulator systemu z procesorem Xtensa. | |
602 | ||
603 | %package guest-agent | |
604 | Summary: QEMU guest agent | |
605 | Summary(pl.UTF-8): Agent gościa QEMU | |
606 | Group: Daemons | |
607 | Requires(post,preun,postun): systemd-units >= 38 | |
608 | Requires: glib2 >= 1:2.12 | |
609 | Requires: systemd-units >= 38 | |
610 | Obsoletes: qemu-kvm-guest-agent | |
611 | ||
612 | %description guest-agent | |
613 | QEMU is a generic and open source processor emulator which achieves a | |
614 | good emulation speed by using dynamic translation. | |
615 | ||
616 | This package provides an agent to run inside guests, which | |
617 | communicates with the host over a virtio-serial channel named | |
618 | "org.qemu.guest_agent.0". | |
619 | ||
620 | This package does not need to be installed on the host OS. | |
621 | ||
622 | %description guest-agent -l pl.UTF-8 | |
623 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
624 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
625 | ||
626 | Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w | |
627 | systemach-gościach, komunikującego się kanałem virtio-serial o nazwie | |
628 | "org.qemu.guest_agent.0". | |
629 | ||
630 | Ten pakiet nie musi być zainstalowany w systemie hosta. | |
631 | ||
632 | %package module-block-curl | |
633 | Summary: QEMU module for 'curl' block devices | |
634 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl' | |
635 | Group: Development/Tools | |
636 | Requires: %{name}-common = %{version}-%{release} | |
637 | ||
638 | %description module-block-curl | |
639 | 'curl' block device support for QEMU. | |
640 | ||
641 | %description module-block-curl -l pl.UTF-8 | |
642 | Moduł QEMU dla urządeń blokowych typu 'curl'. | |
643 | ||
644 | %package module-block-gluster | |
645 | Summary: QEMU module for 'gluster' block devices | |
646 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster' | |
647 | Group: Development/Tools | |
648 | Requires: %{name}-common = %{version}-%{release} | |
649 | Requires: glusterfs-libs >= 3.4 | |
650 | ||
651 | %description module-block-gluster | |
652 | 'gluster' block device support for QEMU. | |
653 | ||
654 | %description module-block-gluster -l pl.UTF-8 | |
655 | Moduł QEMU dla urządeń blokowych typu 'gluster'. | |
656 | ||
657 | %package module-block-iscsi | |
658 | Summary: QEMU module for 'iscsi' block devices | |
659 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi' | |
660 | Group: Development/Tools | |
661 | Requires: %{name}-common = %{version}-%{release} | |
662 | Requires: libiscsi >= 1.4.0 | |
663 | ||
664 | %description module-block-iscsi | |
665 | 'iscsi' block device support for QEMU. | |
666 | ||
667 | %description module-block-iscsi -l pl.UTF-8 | |
668 | Moduł QEMU dla urządeń blokowych typu 'iscsi'. | |
669 | ||
670 | %package module-block-rbd | |
671 | Summary: QEMU module for 'rbd' block devices | |
672 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd' | |
673 | Group: Development/Tools | |
674 | Requires: %{name}-common = %{version}-%{release} | |
675 | ||
676 | %description module-block-rbd | |
677 | 'rbd' block device support for QEMU. | |
678 | ||
679 | %description module-block-rbd -l pl.UTF-8 | |
680 | Moduł QEMU dla urządeń blokowych typu 'rbd'. | |
681 | ||
682 | %package module-block-ssh | |
683 | Summary: QEMU module for 'ssh' block devices | |
684 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh' | |
685 | Group: Development/Tools | |
686 | Requires: %{name}-common = %{version}-%{release} | |
687 | ||
688 | %description module-block-ssh | |
689 | 'ssh' block device support for QEMU. | |
690 | ||
691 | %description module-block-ssh -l pl.UTF-8 | |
692 | Moduł QEMU dla urządeń blokowych typu 'ssh'. | |
693 | ||
694 | %prep | |
695 | %setup -q | |
696 | %patch0 -p1 | |
697 | %patch1 -p1 | |
698 | %patch2 -p0 | |
699 | %patch3 -p1 | |
700 | %patch4 -p1 | |
701 | %patch5 -p1 | |
702 | ||
703 | %{__mv} libcacard libcacard-use-system-lib | |
704 | ||
705 | # workaround for conflict with alsa/error.h | |
706 | ln -s ../error.h qapi/error.h | |
707 | ||
708 | %build | |
709 | ./configure \ | |
710 | --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \ | |
711 | --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \ | |
712 | --prefix=%{_prefix} \ | |
713 | --libdir=%{_libdir} \ | |
714 | --libexecdir=%{_libexecdir} \ | |
715 | --sysconfdir=%{_sysconfdir} \ | |
716 | --cc="%{__cc}" \ | |
717 | --host-cc="%{__cc}" \ | |
718 | --disable-strip \ | |
719 | --enable-attr \ | |
720 | %{__enable_disable bluetooth bluez} \ | |
721 | %{__enable_disable brlapi} \ | |
722 | --enable-cap-ng \ | |
723 | --enable-curl \ | |
724 | --enable-curses \ | |
725 | --enable-docs \ | |
726 | --enable-fdt \ | |
727 | %{__enable_disable glusterfs} \ | |
728 | %{__enable_disable iscsi libiscsi} \ | |
729 | %{__enable_disable glx} \ | |
730 | %{__enable_disable ceph rbd} \ | |
731 | %{__enable_disable rdma} \ | |
732 | %{__enable_disable sdl} \ | |
733 | --with-sdlabi=2.0 \ | |
734 | %{__enable_disable seccomp} \ | |
735 | %{__enable_disable spice} \ | |
736 | %{__enable_disable smartcard smartcard-nss} \ | |
737 | --enable-tpm \ | |
738 | %{__enable_disable usbredir usb-redir} \ | |
739 | --enable-uuid \ | |
740 | --enable-vde \ | |
741 | --enable-virtfs \ | |
742 | --enable-vnc-jpeg \ | |
743 | --enable-vnc-png \ | |
744 | --enable-vnc-sasl \ | |
745 | --enable-vnc-tls \ | |
746 | --enable-kvm \ | |
747 | %{__enable_disable xen} \ | |
748 | --enable-modules \ | |
749 | --disable-netmap \ | |
750 | %{__enable_disable libnfs} \ | |
751 | --enable-lzo \ | |
752 | %{__enable_disable snappy} \ | |
753 | --enable-quorum \ | |
754 | --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \ | |
755 | --interp-prefix=%{_libdir}/qemu/lib-%%M \ | |
756 | %if %{without gtk2} && %{without gtk3} | |
757 | --disable-gtk | |
758 | %else | |
759 | --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}" | |
760 | %endif | |
761 | ||
762 | %{__make} \ | |
763 | V=1 \ | |
764 | %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} | |
765 | ||
766 | # rebuild patched vesa tables with additional widescreen modes. | |
767 | %{__make} -C roms/vgabios stdvga-bios | |
768 | ||
769 | %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl | |
770 | ||
771 | %install | |
772 | rm -rf $RPM_BUILD_ROOT | |
773 | install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \ | |
774 | $RPM_BUILD_ROOT/etc/{sysconfig,udev/rules.d,modules-load.d} \ | |
775 | $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}} | |
776 | ||
777 | %{__make} install \ | |
778 | %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \ | |
779 | DESTDIR=$RPM_BUILD_ROOT | |
780 | ||
781 | install -d $RPM_BUILD_ROOT%{_sysconfdir} | |
782 | cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup | |
783 | #!/bin/sh | |
784 | ||
785 | EOF | |
786 | ||
787 | install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf | |
788 | ||
789 | %ifarch %{ix86} %{x8664} | |
790 | install -p scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir} | |
791 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf | |
792 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
793 | %endif | |
794 | ||
795 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service | |
796 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm | |
797 | install -p ksmctl $RPM_BUILD_ROOT%{_sbindir} | |
798 | ||
799 | install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service | |
800 | install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned | |
801 | install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf | |
802 | ||
803 | # For the qemu-guest-agent subpackage install the systemd | |
804 | # service and udev rules. | |
805 | install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir} | |
806 | install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
807 | ||
808 | for i in dummy \ | |
809 | %ifnarch %{ix86} %{x8664} | |
810 | qemu-i386 \ | |
811 | %endif | |
812 | %ifnarch arm | |
813 | qemu-arm \ | |
814 | %endif | |
815 | %ifnarch ppc ppc64 | |
816 | qemu-ppc \ | |
817 | %endif | |
818 | %ifnarch sparc sparc64 | |
819 | qemu-sparc \ | |
820 | %endif | |
821 | %ifnarch sh4 | |
822 | qemu-sh4 \ | |
823 | %endif | |
824 | ; do | |
825 | test $i = dummy && continue | |
826 | grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i.conf | |
827 | done < %{SOURCE2} | |
828 | ||
829 | # packaged as %doc | |
830 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html | |
831 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt | |
832 | ||
833 | # install patched vesa tables with additional widescreen modes. | |
834 | cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin | |
835 | ||
836 | %if %{with system_seabios} | |
837 | ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin | |
838 | # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it | |
839 | for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do | |
840 | bn="$(basename $f)" | |
841 | if [ -e "/usr/share/seabios/$bn" ] ; then | |
842 | ln -sf "/usr/share/seabios/$bn" "$f" | |
843 | fi | |
844 | done | |
845 | %endif | |
846 | ||
847 | %if %{with gtk2} || %{with gtk3} | |
848 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de} | |
849 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr} | |
850 | %find_lang %{name} | |
851 | %else | |
852 | : > qemu.lang | |
853 | %endif | |
854 | ||
855 | %clean | |
856 | rm -rf $RPM_BUILD_ROOT | |
857 | ||
858 | %pre common | |
859 | %groupadd -g 160 kvm | |
860 | %groupadd -g 276 qemu | |
861 | %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu | |
862 | ||
863 | %post common | |
864 | %systemd_post ksm.service | |
865 | %systemd_post ksmtuned.service | |
866 | ||
867 | %preun common | |
868 | %systemd_preun ksm.service | |
869 | %systemd_preun ksmtuned.service | |
870 | ||
871 | %postun common | |
872 | if [ "$1" = "0" ]; then | |
873 | %userremove qemu | |
874 | %groupremove qemu | |
875 | %groupremove kvm | |
876 | fi | |
877 | %systemd_reload | |
878 | ||
879 | %triggerpostun common -- qemu-common < 1.6.1-4 | |
880 | %systemd_trigger ksm.service | |
881 | %systemd_trigger ksmtuned.service | |
882 | ||
883 | %post user | |
884 | %systemd_service_restart systemd-binfmt.service | |
885 | ||
886 | %postun user | |
887 | %systemd_service_restart systemd-binfmt.service | |
888 | ||
889 | %post guest-agent | |
890 | %systemd_reload | |
891 | ||
892 | %preun guest-agent | |
893 | %systemd_preun qemu-guest-agent.service | |
894 | ||
895 | %postun guest-agent | |
896 | %systemd_reload | |
897 | ||
898 | %files | |
899 | %defattr(644,root,root,755) | |
900 | ||
901 | %files common -f %{name}.lang | |
902 | %defattr(644,root,root,755) | |
903 | %doc README qemu-doc.html qemu-tech.html qmp-commands.txt | |
904 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup | |
905 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu/target-*.conf | |
906 | %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf | |
907 | %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf | |
908 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm | |
909 | %{systemdunitdir}/ksm.service | |
910 | %{systemdunitdir}/ksmtuned.service | |
911 | %dir %{_sysconfdir}/qemu | |
912 | %attr(755,root,root) %{_bindir}/virtfs-proxy-helper | |
913 | %attr(755,root,root) %{_bindir}/qemu-nbd | |
914 | %attr(755,root,root) %{_libdir}/qemu-bridge-helper | |
915 | %attr(755,root,root) %{_sbindir}/ksmctl | |
916 | %attr(755,root,root) %{_sbindir}/ksmtuned | |
917 | %{_mandir}/man1/qemu.1* | |
918 | %{_mandir}/man1/virtfs-proxy-helper.1* | |
919 | %{_mandir}/man8/qemu-nbd.8* | |
920 | ||
921 | %dir %{_datadir}/qemu | |
922 | %{_datadir}/%{name}/keymaps | |
923 | %{_datadir}/%{name}/qemu-icon.bmp | |
924 | ||
925 | # various bios images | |
926 | # all should be probably moved to the right system subpackage | |
927 | %{_datadir}/%{name}/QEMU,cgthree.bin | |
928 | %{_datadir}/%{name}/QEMU,tcx.bin | |
929 | %{_datadir}/%{name}/bamboo.dtb | |
930 | %{_datadir}/%{name}/efi-e1000.rom | |
931 | %{_datadir}/%{name}/efi-eepro100.rom | |
932 | %{_datadir}/%{name}/efi-ne2k_pci.rom | |
933 | %{_datadir}/%{name}/efi-pcnet.rom | |
934 | %{_datadir}/%{name}/efi-rtl8139.rom | |
935 | %{_datadir}/%{name}/efi-virtio.rom | |
936 | %{_datadir}/%{name}/kvmvapic.bin | |
937 | %{_datadir}/%{name}/linuxboot.bin | |
938 | %{_datadir}/%{name}/multiboot.bin | |
939 | %{_datadir}/%{name}/openbios-ppc | |
940 | %{_datadir}/%{name}/openbios-sparc* | |
941 | %{_datadir}/%{name}/palcode-clipper | |
942 | %{_datadir}/%{name}/petalogix-ml605.dtb | |
943 | %{_datadir}/%{name}/petalogix-s3adsp1800.dtb | |
944 | %{_datadir}/%{name}/ppc_rom.bin | |
945 | %{_datadir}/%{name}/pxe-e1000.rom | |
946 | %{_datadir}/%{name}/pxe-eepro100.rom | |
947 | %{_datadir}/%{name}/pxe-ne2k_pci.rom | |
948 | %{_datadir}/%{name}/pxe-pcnet.rom | |
949 | %{_datadir}/%{name}/pxe-rtl8139.rom | |
950 | %{_datadir}/%{name}/pxe-virtio.rom | |
951 | %{_datadir}/%{name}/qemu_logo_no_text.svg | |
952 | %{_datadir}/%{name}/s390-ccw.img | |
953 | %{_datadir}/%{name}/s390-zipl.rom | |
954 | %{_datadir}/%{name}/sgabios.bin | |
955 | %{_datadir}/%{name}/slof.bin | |
956 | %{_datadir}/%{name}/spapr-rtas.bin | |
957 | %{_datadir}/%{name}/vgabios-cirrus.bin | |
958 | %{_datadir}/%{name}/vgabios-qxl.bin | |
959 | %{_datadir}/%{name}/vgabios-stdvga.bin | |
960 | %{_datadir}/%{name}/vgabios-vmware.bin | |
961 | %{_datadir}/%{name}/vgabios.bin | |
962 | ||
963 | %dir %{_libdir}/%{name} | |
964 | ||
965 | %files img | |
966 | %defattr(644,root,root,755) | |
967 | %attr(755,root,root) %{_bindir}/qemu-img | |
968 | %{_mandir}/man1/qemu-img.1* | |
969 | ||
970 | %files user | |
971 | %defattr(644,root,root,755) | |
972 | /usr/lib/binfmt.d/qemu-*.conf | |
973 | %attr(755,root,root) %{_bindir}/qemu-aarch64 | |
974 | %attr(755,root,root) %{_bindir}/qemu-alpha | |
975 | %attr(755,root,root) %{_bindir}/qemu-arm | |
976 | %attr(755,root,root) %{_bindir}/qemu-armeb | |
977 | %attr(755,root,root) %{_bindir}/qemu-cris | |
978 | %attr(755,root,root) %{_bindir}/qemu-i386 | |
979 | %attr(755,root,root) %{_bindir}/qemu-io | |
980 | %attr(755,root,root) %{_bindir}/qemu-m68k | |
981 | %attr(755,root,root) %{_bindir}/qemu-microblaze | |
982 | %attr(755,root,root) %{_bindir}/qemu-microblazeel | |
983 | %attr(755,root,root) %{_bindir}/qemu-mips | |
984 | %attr(755,root,root) %{_bindir}/qemu-mipsel | |
985 | %attr(755,root,root) %{_bindir}/qemu-mips64 | |
986 | %attr(755,root,root) %{_bindir}/qemu-mips64el | |
987 | %attr(755,root,root) %{_bindir}/qemu-mipsn32 | |
988 | %attr(755,root,root) %{_bindir}/qemu-mipsn32el | |
989 | %attr(755,root,root) %{_bindir}/qemu-or32 | |
990 | %attr(755,root,root) %{_bindir}/qemu-ppc | |
991 | %attr(755,root,root) %{_bindir}/qemu-ppc64 | |
992 | %attr(755,root,root) %{_bindir}/qemu-ppc64abi32 | |
993 | %attr(755,root,root) %{_bindir}/qemu-ppc64le | |
994 | %attr(755,root,root) %{_bindir}/qemu-s390x | |
995 | %attr(755,root,root) %{_bindir}/qemu-sh4 | |
996 | %attr(755,root,root) %{_bindir}/qemu-sh4eb | |
997 | %attr(755,root,root) %{_bindir}/qemu-sparc | |
998 | %attr(755,root,root) %{_bindir}/qemu-sparc32plus | |
999 | %attr(755,root,root) %{_bindir}/qemu-sparc64 | |
1000 | %attr(755,root,root) %{_bindir}/qemu-unicore32 | |
1001 | %attr(755,root,root) %{_bindir}/qemu-x86_64 | |
1002 | ||
1003 | %files system-aarch64 | |
1004 | %defattr(644,root,root,755) | |
1005 | %attr(755,root,root) %{_bindir}/qemu-system-aarch64 | |
1006 | ||
1007 | %files system-alpha | |
1008 | %defattr(644,root,root,755) | |
1009 | %attr(755,root,root) %{_bindir}/qemu-system-alpha | |
1010 | ||
1011 | %files system-arm | |
1012 | %defattr(644,root,root,755) | |
1013 | %attr(755,root,root) %{_bindir}/qemu-system-arm | |
1014 | ||
1015 | %files system-cris | |
1016 | %defattr(644,root,root,755) | |
1017 | %attr(755,root,root) %{_bindir}/qemu-system-cris | |
1018 | ||
1019 | %files system-lm32 | |
1020 | %defattr(644,root,root,755) | |
1021 | %attr(755,root,root) %{_bindir}/qemu-system-lm32 | |
1022 | ||
1023 | %files system-m68k | |
1024 | %defattr(644,root,root,755) | |
1025 | %attr(755,root,root) %{_bindir}/qemu-system-m68k | |
1026 | ||
1027 | %files system-microblaze | |
1028 | %defattr(644,root,root,755) | |
1029 | %attr(755,root,root) %{_bindir}/qemu-system-microblaze | |
1030 | %attr(755,root,root) %{_bindir}/qemu-system-microblazeel | |
1031 | ||
1032 | %files system-mips | |
1033 | %defattr(644,root,root,755) | |
1034 | %attr(755,root,root) %{_bindir}/qemu-system-mips | |
1035 | %attr(755,root,root) %{_bindir}/qemu-system-mipsel | |
1036 | %attr(755,root,root) %{_bindir}/qemu-system-mips64 | |
1037 | %attr(755,root,root) %{_bindir}/qemu-system-mips64el | |
1038 | ||
1039 | %files system-moxie | |
1040 | %defattr(644,root,root,755) | |
1041 | %attr(755,root,root) %{_bindir}/qemu-system-moxie | |
1042 | ||
1043 | %files system-or32 | |
1044 | %defattr(644,root,root,755) | |
1045 | %attr(755,root,root) %{_bindir}/qemu-system-or32 | |
1046 | ||
1047 | %files system-ppc | |
1048 | %defattr(644,root,root,755) | |
1049 | %attr(755,root,root) %{_bindir}/qemu-system-ppc | |
1050 | %attr(755,root,root) %{_bindir}/qemu-system-ppc64 | |
1051 | #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le | |
1052 | %attr(755,root,root) %{_bindir}/qemu-system-ppcemb | |
1053 | %{_datadir}/%{name}/u-boot.e500 | |
1054 | ||
1055 | %files system-s390x | |
1056 | %defattr(644,root,root,755) | |
1057 | %attr(755,root,root) %{_bindir}/qemu-system-s390x | |
1058 | ||
1059 | %files system-sh4 | |
1060 | %defattr(644,root,root,755) | |
1061 | %attr(755,root,root) %{_bindir}/qemu-system-sh4 | |
1062 | %attr(755,root,root) %{_bindir}/qemu-system-sh4eb | |
1063 | ||
1064 | %files system-sparc | |
1065 | %defattr(644,root,root,755) | |
1066 | %attr(755,root,root) %{_bindir}/qemu-system-sparc | |
1067 | %attr(755,root,root) %{_bindir}/qemu-system-sparc64 | |
1068 | ||
1069 | %files system-unicore32 | |
1070 | %defattr(644,root,root,755) | |
1071 | %attr(755,root,root) %{_bindir}/qemu-system-unicore32 | |
1072 | ||
1073 | %files system-x86 | |
1074 | %defattr(644,root,root,755) | |
1075 | %attr(755,root,root) %{_bindir}/qemu-system-i386 | |
1076 | %attr(755,root,root) %{_bindir}/qemu-system-x86_64 | |
1077 | %ifarch %{ix86} %{x8664} | |
1078 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf | |
1079 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules | |
1080 | %attr(755,root,root) %{_bindir}/kvm_stat | |
1081 | %endif | |
1082 | %{_datadir}/%{name}/bios.bin | |
1083 | %{_datadir}/%{name}/bios-256k.bin | |
1084 | %{_datadir}/%{name}/acpi-dsdt.aml | |
1085 | %{_datadir}/%{name}/q35-acpi-dsdt.aml | |
1086 | ||
1087 | %files system-xtensa | |
1088 | %defattr(644,root,root,755) | |
1089 | %attr(755,root,root) %{_bindir}/qemu-system-xtensa | |
1090 | %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb | |
1091 | ||
1092 | %files guest-agent | |
1093 | %defattr(644,root,root,755) | |
1094 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules | |
1095 | %{systemdunitdir}/qemu-guest-agent.service | |
1096 | %attr(755,root,root) %{_bindir}/qemu-ga | |
1097 | ||
1098 | %files module-block-curl | |
1099 | %defattr(644,root,root,755) | |
1100 | %attr(755,root,root) %{_libdir}/%{name}/block-curl.so | |
1101 | ||
1102 | %if %{with glusterfs} | |
1103 | %files module-block-gluster | |
1104 | %defattr(644,root,root,755) | |
1105 | %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so | |
1106 | %endif | |
1107 | ||
1108 | %if %{with iscsi} | |
1109 | %files module-block-iscsi | |
1110 | %defattr(644,root,root,755) | |
1111 | %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so | |
1112 | %endif | |
1113 | ||
1114 | %if %{with ceph} | |
1115 | %files module-block-rbd | |
1116 | %defattr(644,root,root,755) | |
1117 | %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so | |
1118 | %endif | |
1119 | ||
1120 | %files module-block-ssh | |
1121 | %defattr(644,root,root,755) | |
1122 | %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so |