3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_without gtk3 # Do not build GTK+ UI
9 %bcond_without vte # VTE support in 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 %bcond_without user_static # build linux-user static packages
25 %bcond_with lttng # lttng-ust trace backend support
26 %bcond_with systemtap # SystemTap/dtrace trace backend support
27 %bcond_with virgl # build virgl support
28 %bcond_without xkbcommon # xkbcommon support
34 Summary: QEMU CPU Emulator
35 Summary(pl.UTF-8): QEMU - emulator procesora
39 License: GPL v2, BSD (edk2 firmware files)
40 Group: Applications/Emulators
41 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
42 # Source0-md5: 278eeb294e4b497e79af7a57e660cb9a
43 # Loads kvm kernel modules at boot
44 Source3: kvm-modules-load.conf
49 Source6: ksm.sysconfig
51 Source8: ksmtuned.service
53 Source10: ksmtuned.conf
54 Source11: %{name}-guest-agent.service
55 Source12: 99-%{name}-guest-agent.rules
56 Source13: %{name}-guest-agent.init
57 Source14: %{name}-guest-agent.logrotate
58 Patch0: %{name}-cflags.patch
59 Patch1: %{name}-whitelist.patch
60 Patch2: %{name}-user-execve.patch
61 Patch3: %{name}-xattr.patch
62 Patch4: libjpeg-boolean.patch
64 URL: http://www.qemu-project.org/
65 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
66 %{?with_gl:BuildRequires: OpenGL-devel}
67 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
68 BuildRequires: alsa-lib-devel
69 BuildRequires: bcc >= 0.16.21-2
70 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
71 %{?with_brlapi:BuildRequires: brlapi-devel}
72 BuildRequires: bzip2-devel
73 %{?with_ceph:BuildRequires: ceph-devel}
74 BuildRequires: curl-devel
75 BuildRequires: cyrus-sasl-devel >= 2
76 %{?with_esd:BuildRequires: esound-devel}
77 BuildRequires: glib2-devel >= 1:2.22
78 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
79 BuildRequires: gnutls-devel >= 3.1.18
80 BuildRequires: libaio-devel
81 %{?with_smartcard:BuildRequires: libcacard-devel}
82 BuildRequires: libcap-devel
83 BuildRequires: libcap-ng-devel
84 %{?with_gl:BuildRequires: libepoxy-devel}
85 BuildRequires: libfdt-devel >= 1.4.2
86 %{?with_rdma:BuildRequires: libibverbs-devel}
87 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
88 %{?with_rdma:BuildRequires: libibumad-devel}
89 BuildRequires: libjpeg-devel
90 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
91 BuildRequires: libpng-devel
92 %{?with_rdma:BuildRequires: librdmacm-devel}
93 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
94 BuildRequires: libssh2-devel >= 1.2.8
95 BuildRequires: libusb-devel >= 1.0.13
96 BuildRequires: libuuid-devel
97 %{?with_lttng:BuildRequires: lttng-ust-devel}
98 BuildRequires: lzo-devel >= 2
99 BuildRequires: ncurses-devel
100 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
101 BuildRequires: numactl-devel
102 BuildRequires: perl-Encode
103 BuildRequires: perl-tools-pod
104 BuildRequires: pixman-devel >= 0.21.8
105 BuildRequires: pkgconfig
106 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
107 BuildRequires: rpmbuild(macros) >= 1.644
108 %{?with_system_seabios:BuildRequires: seabios}
109 BuildRequires: sed >= 4.0
110 %{?with_snappy:BuildRequires: snappy-devel}
112 BuildRequires: spice-protocol >= 0.12.3
113 BuildRequires: spice-server-devel >= 0.12.5
115 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
116 BuildRequires: texi2html
117 BuildRequires: texinfo
118 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
119 %{?with_lttng:BuildRequires: userspace-rcu-devel}
120 BuildRequires: vde2-devel
122 %{?with_virgl:BuildRequires: virglrenderer-devel}
123 %{?with_xen:BuildRequires: xen-devel >= 3.4}
124 BuildRequires: xfsprogs-devel
125 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
126 BuildRequires: xorg-lib-libX11-devel
127 BuildRequires: zlib-devel
129 BuildRequires: gtk+3-devel >= 3.14.0
130 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
132 %if %{with user_static}
133 BuildRequires: glib2-static
134 BuildRequires: glibc-static
135 BuildRequires: pcre-static
136 BuildRequires: zlib-static
138 BuildConflicts: libslirp-devel
139 Requires: %{name}-img = %{version}-%{release}
140 Requires: %{name}-system-aarch64 = %{version}-%{release}
141 Requires: %{name}-system-alpha = %{version}-%{release}
142 Requires: %{name}-system-arm = %{version}-%{release}
143 Requires: %{name}-system-cris = %{version}-%{release}
144 Requires: %{name}-system-hppa = %{version}-%{release}
145 Requires: %{name}-system-lm32 = %{version}-%{release}
146 Requires: %{name}-system-m68k = %{version}-%{release}
147 Requires: %{name}-system-microblaze = %{version}-%{release}
148 Requires: %{name}-system-mips = %{version}-%{release}
149 Requires: %{name}-system-moxie = %{version}-%{release}
150 Requires: %{name}-system-nios2 = %{version}-%{release}
151 Requires: %{name}-system-or1k = %{version}-%{release}
152 Requires: %{name}-system-ppc = %{version}-%{release}
153 Requires: %{name}-system-riscv32 = %{version}-%{release}
154 Requires: %{name}-system-riscv64 = %{version}-%{release}
155 Requires: %{name}-system-s390x = %{version}-%{release}
156 Requires: %{name}-system-sh4 = %{version}-%{release}
157 Requires: %{name}-system-sparc = %{version}-%{release}
158 Requires: %{name}-system-tricore = %{version}-%{release}
159 Requires: %{name}-system-unicore32 = %{version}-%{release}
160 Requires: %{name}-system-x86 = %{version}-%{release}
161 Requires: %{name}-system-xtensa = %{version}-%{release}
162 Requires: %{name}-user = %{version}-%{release}
164 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
166 %define systempkg_req \
170 Requires: libfdt >= 1.4.2 \
171 %if %{with seccomp} \
172 Requires: libseccomp >= 2.3.0 \
174 Requires: libusb >= 1.0.22 \
175 Requires: pixman >= 0.21.8 \
176 %if %{with usbredir} \
177 Requires: usbredir >= 0.6 \
180 Requires: gtk+3 >= 3.14.0 \
181 %{?with_vte:Requires: vte >= 0.32.0} \
184 # don't strip/chrpath anything in there; these are boot images, roms etc
185 %define _noautostrip .*%{_datadir}/qemu/.*
186 %define _noautochrpath .*%{_datadir}/qemu/.*
189 QEMU is a FAST! processor emulator. By using dynamic translation it
190 achieves a reasonnable speed while being easy to port on new host
191 CPUs. QEMU has two operating modes:
193 - User mode emulation. In this mode, QEMU can launch Linux processes
194 compiled for one CPU on another CPU. Linux system calls are converted
195 because of endianness and 32/64 bit mismatches. Wine (Windows
196 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
198 - Full system emulation. In this mode, QEMU emulates a full system,
199 including a processor and various peripherials. It can also be used to
200 provide virtual hosting of several virtual PC on a single server.
202 %description -l pl.UTF-8
203 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
204 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
205 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
207 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
208 procesy linuksowe skompilowane dla jednego procesora na innym
209 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
210 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
211 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
214 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
215 włączając w to procesor i różne urządzenia peryferyjne. Może być także
216 używane do wirtualnego hostowania kilku wirtualnych pecetów na
217 pojedynczym serwerze.
220 Summary: QEMU common files needed by all QEMU targets
221 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
222 Group: Development/Tools
223 Requires(post,preun,postun): systemd-units >= 38
224 Requires(postun): /usr/sbin/groupdel
225 Requires(postun): /usr/sbin/userdel
226 Requires(pre): /bin/id
227 Requires(pre): /usr/bin/getgid
228 Requires(pre): /usr/sbin/groupadd
229 Requires(pre): /usr/sbin/useradd
230 Requires: glib2 >= 1:2.22
231 %{?with_libnfs:Requires: libnfs >= 1.9.3}
232 Requires: libssh2 >= 1.2.8
233 Requires: systemd-units >= 38
234 Provides: group(qemu)
236 Obsoletes: qemu-kvm-common
237 Conflicts: qemu < 1.0-2
240 QEMU is a generic and open source processor emulator which achieves a
241 good emulation speed by using dynamic translation.
243 This package provides the common files needed by all QEMU targets.
245 %description common -l pl.UTF-8
246 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
247 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
249 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
253 Summary: QEMU command line tool for manipulating disk images
254 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
255 Group: Development/Tools
256 Obsoletes: qemu-kvm-img
257 Conflicts: qemu < 1.0-2
260 This package provides a command line tool for manipulating disk
263 %description img -l pl.UTF-8
264 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
268 Summary: QEMU user mode emulation of qemu targets
269 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
270 Group: Development/Tools
271 Requires: %{name}-common = %{version}-%{release}
272 Requires(post,postun): systemd-units >= 38
273 Requires: systemd-units >= 38
274 Obsoletes: qemu-kvm-user
277 QEMU is a generic and open source processor emulator which achieves a
278 good emulation speed by using dynamic translation.
280 This package provides the user mode emulation of QEMU targets.
282 %description user -l pl.UTF-8
283 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
284 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
286 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
289 Summary: QEMU user mode emulation of qemu targets static build
290 Group: Development/Tools
291 Requires(post,postun): systemd-units >= 38
292 Requires: systemd-units >= 38
294 %description user-static
295 QEMU is a generic and open source processor emulator which achieves a
296 good emulation speed by using dynamic translation.
298 This package provides the user mode emulation of qemu targets built as
301 %package system-aarch64
302 Summary: QEMU system emulator for AArch64
303 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
304 Group: Development/Tools
305 Requires: %{name}-common = %{version}-%{release}
307 Obsoletes: qemu-kvm-system-aarch64
309 %description system-aarch64
310 QEMU is a generic and open source processor emulator which achieves a
311 good emulation speed by using dynamic translation.
313 This package provides the system emulator with AArch64 CPU.
315 %description system-aarch64 -l pl.UTF-8
316 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
317 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
319 Ten pakiet zawiera emulator systemu z procesorem AArch64.
321 %package system-alpha
322 Summary: QEMU system emulator for Alpha
323 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
324 Group: Development/Tools
325 Requires: %{name}-common = %{version}-%{release}
327 Obsoletes: qemu-kvm-system-alpha
329 %description system-alpha
330 QEMU is a generic and open source processor emulator which achieves a
331 good emulation speed by using dynamic translation.
333 This package provides the system emulator with Alpha CPU.
335 %description system-alpha -l pl.UTF-8
336 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
337 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
339 Ten pakiet zawiera emulator systemu z procesorem Alpha.
342 Summary: QEMU system emulator for ARM
343 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
344 Group: Development/Tools
345 Requires: %{name}-common = %{version}-%{release}
347 Obsoletes: qemu-kvm-system-arm
349 %description system-arm
350 QEMU is a generic and open source processor emulator which achieves a
351 good emulation speed by using dynamic translation.
353 This package provides the system emulator for ARM.
355 %description system-arm -l pl.UTF-8
356 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
357 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
359 Ten pakiet zawiera emulator systemu z procesorem ARM.
362 Summary: QEMU system emulator for CRIS
363 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
364 Group: Development/Tools
365 Requires: %{name}-common = %{version}-%{release}
367 Obsoletes: qemu-kvm-system-cris
369 %description system-cris
370 QEMU is a generic and open source processor emulator which achieves a
371 good emulation speed by using dynamic translation.
373 This package provides the system emulator with CRIS CPU.
375 %description system-cris -l pl.UTF-8
376 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
377 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
379 Ten pakiet zawiera emulator systemu z procesorem CRIS.
382 Summary: QEMU system emulator for HP/PA
383 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
384 Group: Development/Tools
385 Requires: %{name}-common = %{version}-%{release}
388 %description system-hppa
389 QEMU is a generic and open source processor emulator which achieves a
390 good emulation speed by using dynamic translation.
392 This package provides the system emulator with HP/PA CPU.
394 %description system-hppa -l pl.UTF-8
395 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
396 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
398 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
401 Summary: QEMU system emulator for LM32
402 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
403 Group: Development/Tools
404 Requires: %{name}-common = %{version}-%{release}
406 Obsoletes: qemu-kvm-system-lm32
408 %description system-lm32
409 QEMU is a generic and open source processor emulator which achieves a
410 good emulation speed by using dynamic translation.
412 This package provides the system emulator with LM32 CPU.
414 %description system-lm32 -l pl.UTF-8
415 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
416 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
418 Ten pakiet zawiera emulator systemu z procesorem LM32.
421 Summary: QEMU system emulator for m68k
422 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
423 Group: Development/Tools
424 Requires: %{name}-common = %{version}-%{release}
426 Obsoletes: qemu-kvm-system-m68k
428 %description system-m68k
429 QEMU is a generic and open source processor emulator which achieves a
430 good emulation speed by using dynamic translation.
432 This package provides the system emulator with m68k CPU.
434 %description system-m68k -l pl.UTF-8
435 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
436 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
438 Ten pakiet zawiera emulator systemu z procesorem m68k.
440 %package system-microblaze
441 Summary: QEMU system emulator for MicroBlaze
442 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
443 Group: Development/Tools
444 Requires: %{name}-common = %{version}-%{release}
446 Obsoletes: qemu-kvm-system-microblaze
448 %description system-microblaze
449 QEMU is a generic and open source processor emulator which achieves a
450 good emulation speed by using dynamic translation.
452 This package provides the system emulator with MicroBlaze CPU.
454 %description system-microblaze -l pl.UTF-8
455 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
456 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
458 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
461 Summary: QEMU system emulator for MIPS
462 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
463 Group: Development/Tools
464 Requires: %{name}-common = %{version}-%{release}
466 Obsoletes: qemu-kvm-system-mips
468 %description system-mips
469 QEMU is a generic and open source processor emulator which achieves a
470 good emulation speed by using dynamic translation.
472 This package provides the system emulator with MIPS CPU.
474 %description system-mips -l pl.UTF-8
475 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
476 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
478 Ten pakiet zawiera emulator systemu z procesorem MIPS.
480 %package system-moxie
481 Summary: QEMU system emulator for Moxie
482 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
483 Group: Development/Tools
484 Requires: %{name}-common = %{version}-%{release}
487 %description system-moxie
488 QEMU is a generic and open source processor emulator which achieves a
489 good emulation speed by using dynamic translation.
491 This package provides the system emulator with Moxie CPU.
493 %description system-moxie -l pl.UTF-8
494 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
495 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
497 Ten pakiet zawiera emulator systemu z procesorem Moxie.
499 %package system-nios2
500 Summary: QEMU system emulator for Nios II
501 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
502 Group: Development/Tools
503 Requires: %{name}-common = %{version}-%{release}
506 %description system-nios2
507 QEMU is a generic and open source processor emulator which achieves a
508 good emulation speed by using dynamic translation.
510 This package provides the system emulator with Nios II CPU.
512 %description system-nios2 -l pl.UTF-8
513 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
514 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
516 Ten pakiet zawiera emulator systemu z procesorem Nios II.
519 Summary: QEMU system emulator for OpenRISC
520 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
521 Group: Development/Tools
522 Requires: %{name}-common = %{version}-%{release}
524 Obsoletes: qemu-kvm-system-or1k
525 Obsoletes: qemu-system-or32
527 %description system-or1k
528 QEMU is a generic and open source processor emulator which achieves a
529 good emulation speed by using dynamic translation.
531 This package provides the system emulator with OpenRISC CPU.
533 %description system-or1k -l pl.UTF-8
534 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
535 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
537 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
540 Summary: QEMU system emulator for PowerPC
541 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
542 Group: Development/Tools
543 Requires: %{name}-common = %{version}-%{release}
545 Obsoletes: qemu-kvm-system-ppc
547 %description system-ppc
548 QEMU is a generic and open source processor emulator which achieves a
549 good emulation speed by using dynamic translation.
551 This package provides the system emulator with PowerPC CPU.
553 %description system-ppc -l pl.UTF-8
554 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
555 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
557 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
559 %package system-riscv32
560 Summary: QEMU system emulator for RISC-V (32 bit)
561 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
562 Group: Development/Tools
563 Requires: %{name}-common = %{version}-%{release}
566 %description system-riscv32
567 QEMU is a generic and open source processor emulator which achieves a
568 good emulation speed by using dynamic translation.
570 This package provides the system emulator with RISC-V (32 bit) CPU.
572 %description system-riscv32 -l pl.UTF-8
573 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
574 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
576 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
578 %package system-riscv64
579 Summary: QEMU system emulator for RISC-V (64 bit)
580 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
581 Group: Development/Tools
582 Requires: %{name}-common = %{version}-%{release}
585 %description system-riscv64
586 QEMU is a generic and open source processor emulator which achieves a
587 good emulation speed by using dynamic translation.
589 This package provides the system emulator with RISC-V (64 bit) CPU.
591 %description system-riscv64 -l pl.UTF-8
592 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
593 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
595 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
597 %package system-s390x
598 Summary: QEMU system emulator for S390
599 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
600 Group: Development/Tools
601 Requires: %{name}-common = %{version}-%{release}
603 Obsoletes: qemu-kvm-system-s390x
605 %description system-s390x
606 QEMU is a generic and open source processor emulator which achieves a
607 good emulation speed by using dynamic translation.
609 This package provides the system emulator with S390 CPU.
611 %description system-s390x -l pl.UTF-8
612 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
613 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
615 Ten pakiet zawiera emulator systemu z procesorem S390.
618 Summary: QEMU system emulator for SH4
619 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
620 Group: Development/Tools
621 Requires: %{name}-common = %{version}-%{release}
623 Obsoletes: qemu-kvm-system-sh4
625 %description system-sh4
626 QEMU is a generic and open source processor emulator which achieves a
627 good emulation speed by using dynamic translation.
629 This package provides the system emulator with SH4 CPU.
631 %description system-sh4 -l pl.UTF-8
632 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
633 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
635 Ten pakiet zawiera emulator systemu z procesorem SH4.
637 %package system-sparc
638 Summary: QEMU system emulator for SPARC
639 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
640 Group: Development/Tools
641 Requires: %{name}-common = %{version}-%{release}
643 Obsoletes: qemu-kvm-system-sparc
645 %description system-sparc
646 QEMU is a generic and open source processor emulator which achieves a
647 good emulation speed by using dynamic translation.
649 This package provides the system emulator with SPARC/SPARC64 CPU.
651 %description system-sparc -l pl.UTF-8
652 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
653 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
655 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
657 %package system-tricore
658 Summary: QEMU system emulator for TriCore
659 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
660 Group: Development/Tools
661 Requires: %{name}-common = %{version}-%{release}
664 %description system-tricore
665 QEMU is a generic and open source processor emulator which achieves a
666 good emulation speed by using dynamic translation.
668 This package provides the system emulator with TriCore CPU.
670 %description system-sparc -l pl.UTF-8
671 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
672 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
674 Ten pakiet zawiera emulator systemu z procesorem TriCore.
676 %package system-unicore32
677 Summary: QEMU system emulator for UniCore32
678 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
679 Group: Development/Tools
680 Requires: %{name}-common = %{version}-%{release}
682 Obsoletes: qemu-kvm-system-unicore32
684 %description system-unicore32
685 QEMU is a generic and open source processor emulator which achieves a
686 good emulation speed by using dynamic translation.
688 This package provides the system emulator with UniCore32 CPU.
690 %description system-unicore32 -l pl.UTF-8
691 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
692 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
694 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
697 Summary: QEMU system emulator for x86
698 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
699 Group: Development/Tools
700 Requires: %{name}-common = %{version}-%{release}
701 %{?with_system_seabios:Requires: seabios}
704 Obsoletes: qemu-kvm-system-x86
706 %description system-x86
707 QEMU is a generic and open source processor emulator which achieves a
708 good emulation speed by using dynamic translation.
710 This package provides the system emulator with x86 CPU.
712 %description system-x86 -l pl.UTF-8
713 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
714 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
716 Ten pakiet zawiera emulator systemu z procesorem x86.
718 %package system-xtensa
719 Summary: QEMU system emulator for Xtensa
720 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
721 Group: Development/Tools
722 Requires: %{name}-common = %{version}-%{release}
724 Obsoletes: qemu-kvm-system-xtensa
726 %description system-xtensa
727 QEMU is a generic and open source processor emulator which achieves a
728 good emulation speed by using dynamic translation.
730 This package provides the system emulator with Xtensa CPU.
732 %description system-xtensa -l pl.UTF-8
733 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
734 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
736 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
739 Summary: QEMU guest agent
740 Summary(pl.UTF-8): Agent gościa QEMU
742 Requires(post,preun,postun): systemd-units >= 38
743 Requires: glib2 >= 1:2.22
744 Requires: systemd-units >= 38
745 Obsoletes: qemu-kvm-guest-agent
746 Conflicts: SysVinit < 2.96-2
748 %description guest-agent
749 QEMU is a generic and open source processor emulator which achieves a
750 good emulation speed by using dynamic translation.
752 This package provides an agent to run inside guests, which
753 communicates with the host over a virtio-serial channel named
754 "org.qemu.guest_agent.0".
756 This package does not need to be installed on the host OS.
758 %description guest-agent -l pl.UTF-8
759 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
760 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
762 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
763 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
764 "org.qemu.guest_agent.0".
766 Ten pakiet nie musi być zainstalowany w systemie hosta.
768 %package module-block-curl
769 Summary: QEMU module for 'curl' block devices
770 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
771 Group: Development/Tools
772 Requires: %{name}-common = %{version}-%{release}
774 %description module-block-curl
775 'curl' block device support for QEMU.
777 %description module-block-curl -l pl.UTF-8
778 Moduł QEMU dla urządeń blokowych typu 'curl'.
780 %package module-block-gluster
781 Summary: QEMU module for 'gluster' block devices
782 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
783 Group: Development/Tools
784 Requires: %{name}-common = %{version}-%{release}
785 Requires: glusterfs-libs >= 3.4
787 %description module-block-gluster
788 'gluster' block device support for QEMU.
790 %description module-block-gluster -l pl.UTF-8
791 Moduł QEMU dla urządeń blokowych typu 'gluster'.
793 %package module-block-iscsi
794 Summary: QEMU module for 'iscsi' block devices
795 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
796 Group: Development/Tools
797 Requires: %{name}-common = %{version}-%{release}
798 Requires: libiscsi >= 1.9.0
800 %description module-block-iscsi
801 'iscsi' block device support for QEMU.
803 %description module-block-iscsi -l pl.UTF-8
804 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
806 %package module-block-rbd
807 Summary: QEMU module for 'rbd' block devices
808 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
809 Group: Development/Tools
810 Requires: %{name}-common = %{version}-%{release}
812 %description module-block-rbd
813 'rbd' block device support for QEMU.
815 %description module-block-rbd -l pl.UTF-8
816 Moduł QEMU dla urządeń blokowych typu 'rbd'.
818 %package module-block-ssh
819 Summary: QEMU module for 'ssh' block devices
820 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
821 Group: Development/Tools
822 Requires: %{name}-common = %{version}-%{release}
824 %description module-block-ssh
825 'ssh' block device support for QEMU.
827 %description module-block-ssh -l pl.UTF-8
828 Moduł QEMU dla urządeń blokowych typu 'ssh'.
839 # workaround for conflict with alsa/error.h
840 ln -s ../error.h qapi/error.h
848 install -d build-$target
852 --prefix=%{_prefix} \
853 --libdir=%{_libdir} \
854 --libexecdir=%{_libexecdir} \
855 --sysconfdir=%{_sysconfdir} \
856 --localstatedir=%{_localstatedir} \
857 --interp-prefix=%{_libdir}/qemu/lib-%%M \
859 --host-cc="%{__cc}" \
861 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
867 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
873 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
874 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
876 %{__enable_disable bluetooth bluez} \
877 %{__enable_disable brlapi} \
883 %{__enable_disable glusterfs} \
884 %{__enable_disable iscsi libiscsi} \
885 %{__enable_disable ceph rbd} \
886 %{__enable_disable rdma} \
887 %{__enable_disable sdl} \
888 %{__enable_disable seccomp} \
889 %{__enable_disable spice} \
890 %{__enable_disable smartcard smartcard} \
892 %{__enable_disable usbredir usb-redir} \
898 %{!?with_vte:--disable-vte} \
899 %{__enable_disable virgl virglrenderer} \
900 %{__enable_disable xen} \
903 %{__enable_disable libnfs} \
905 %{__enable_disable snappy} \
906 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
911 %if %{with user_static}
920 --disable-guest-agent \
921 --disable-guest-agent-msi \
935 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
938 rm -rf $RPM_BUILD_ROOT
939 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
940 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d,rc.d/init.d,logrotate.d} \
941 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
943 %if %{with user_static}
944 %{__make} -C build-static install \
945 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
946 DESTDIR=$RPM_BUILD_ROOT
948 # Give all QEMU user emulators a -static suffix
949 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
955 %{__make} -C build-dynamic install \
956 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
957 DESTDIR=$RPM_BUILD_ROOT
959 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
961 install -d $RPM_BUILD_ROOT%{_sysconfdir}
962 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
967 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
969 %ifarch %{ix86} %{x8664} x32
970 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
971 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
974 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
975 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
976 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
978 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
979 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
980 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
982 # For the qemu-guest-agent subpackage install the systemd
983 # service and udev rules.
984 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
985 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
987 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
988 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
992 %ifnarch %{ix86} %{x8664} x32
1006 microblaze microblazeel \
1022 %ifnarch ppc ppc64 ppc64le
1025 %ifnarch sparc sparc64
1026 sparc sparc32plus sparc64 \
1037 if [ -n "$BINFMT_CPUS" ]; then
1038 for cpu in $BINFMT_CPUS; do
1039 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1041 for i in /$RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1042 mv $i ${i%.conf}-dynamic.conf
1045 %if %{with user_static}
1046 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1047 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1048 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1054 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1056 %if %{with system_seabios}
1057 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1058 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1059 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1061 if [ -e "/usr/share/seabios/$bn" ] ; then
1062 ln -sf "/usr/share/seabios/$bn" "$f"
1068 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1069 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1075 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1078 rm -rf $RPM_BUILD_ROOT
1081 %groupadd -g 160 kvm
1082 %groupadd -g 276 qemu
1083 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1086 %systemd_post ksm.service
1087 %systemd_post ksmtuned.service
1090 %systemd_preun ksm.service
1091 %systemd_preun ksmtuned.service
1094 if [ "$1" = "0" ]; then
1101 %triggerpostun common -- qemu-common < 1.6.1-4
1102 %systemd_trigger ksm.service
1103 %systemd_trigger ksmtuned.service
1106 %systemd_service_restart systemd-binfmt.service
1109 %systemd_service_restart systemd-binfmt.service
1112 %systemd_service_restart systemd-binfmt.service
1115 %systemd_service_restart systemd-binfmt.service
1118 /sbin/chkconfig --add qemu-ga
1119 %service qemu-ga restart "qemu-ga"
1123 if [ "$1" = "0" ]; then
1124 %service qemu-ga stop
1125 /sbin/chkconfig --del qemu-ga
1127 %systemd_preun qemu-guest-agent.service
1133 %defattr(644,root,root,755)
1135 %files common -f %{name}.lang
1136 %defattr(644,root,root,755)
1137 %doc LICENSE README.rst
1138 %doc build-dynamic/qemu-doc.html
1139 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1140 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1141 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1142 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1144 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1145 %{systemdunitdir}/ksm.service
1146 %{systemdunitdir}/ksmtuned.service
1147 %attr(755,root,root) %{_bindir}/elf2dmp
1148 %attr(755,root,root) %{_bindir}/ivshmem-client
1149 %attr(755,root,root) %{_bindir}/ivshmem-server
1150 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1151 %attr(755,root,root) %{_bindir}/qemu-edid
1152 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1153 %attr(755,root,root) %{_bindir}/qemu-nbd
1154 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1155 %attr(755,root,root) %{_bindir}/qemu-tilegx
1156 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1157 %attr(755,root,root) %{_sbindir}/ksmctl
1158 %attr(755,root,root) %{_sbindir}/ksmtuned
1159 %{_mandir}/man1/qemu.1*
1160 %{_mandir}/man1/virtfs-proxy-helper.1*
1161 %{_mandir}/man7/qemu-cpu-models.7*
1162 %{_mandir}/man7/qemu-block-drivers.7*
1163 %{_mandir}/man8/qemu-nbd.8*
1165 %dir %{_datadir}/qemu
1166 %dir %{_datadir}/%{name}/firmware
1167 %{_datadir}/%{name}/keymaps
1168 %{_datadir}/%{name}/trace-events-all
1170 # various bios images
1171 # all should be probably moved to the right system subpackage
1172 %{_datadir}/%{name}/bamboo.dtb
1173 %{_datadir}/%{name}/efi-e1000e.rom
1174 %{_datadir}/%{name}/efi-e1000.rom
1175 %{_datadir}/%{name}/efi-eepro100.rom
1176 %{_datadir}/%{name}/efi-ne2k_pci.rom
1177 %{_datadir}/%{name}/efi-pcnet.rom
1178 %{_datadir}/%{name}/efi-rtl8139.rom
1179 %{_datadir}/%{name}/efi-virtio.rom
1180 %{_datadir}/%{name}/efi-vmxnet3.rom
1181 %{_datadir}/%{name}/kvmvapic.bin
1182 %{_datadir}/%{name}/linuxboot.bin
1183 %{_datadir}/%{name}/linuxboot_dma.bin
1184 %{_datadir}/%{name}/multiboot.bin
1185 %{_datadir}/%{name}/openbios-ppc
1186 %{_datadir}/%{name}/openbios-sparc*
1187 %{_datadir}/%{name}/palcode-clipper
1188 %{_datadir}/%{name}/petalogix-ml605.dtb
1189 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1190 %{_datadir}/%{name}/ppc_rom.bin
1191 %{_datadir}/%{name}/pvh.bin
1192 %{_datadir}/%{name}/pxe-e1000.rom
1193 %{_datadir}/%{name}/pxe-eepro100.rom
1194 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1195 %{_datadir}/%{name}/pxe-pcnet.rom
1196 %{_datadir}/%{name}/pxe-rtl8139.rom
1197 %{_datadir}/%{name}/pxe-virtio.rom
1198 %{_datadir}/%{name}/QEMU,cgthree.bin
1199 %{_datadir}/%{name}/QEMU,tcx.bin
1200 %{_datadir}/%{name}/s390-ccw.img
1201 %{_datadir}/%{name}/sgabios.bin
1202 %{_datadir}/%{name}/skiboot.lid
1203 %{_datadir}/%{name}/slof.bin
1204 #%{_datadir}/%{name}/spapr-rtas.bin
1205 %{_datadir}/%{name}/vgabios.bin
1206 %{_datadir}/%{name}/vgabios-ati.bin
1207 %{_datadir}/%{name}/vgabios-bochs-display.bin
1208 %{_datadir}/%{name}/vgabios-cirrus.bin
1209 %{_datadir}/%{name}/vgabios-qxl.bin
1210 %{_datadir}/%{name}/vgabios-ramfb.bin
1211 %{_datadir}/%{name}/vgabios-stdvga.bin
1212 %{_datadir}/%{name}/vgabios-virtio.bin
1213 %{_datadir}/%{name}/vgabios-vmware.bin
1215 %dir %{_libdir}/%{name}
1217 # modules without too many external dependencies
1218 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1219 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1221 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1222 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1223 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1224 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1226 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1228 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1229 %{?with_spice:%attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so}
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_bindir}/qemu-img
1234 %{_mandir}/man1/qemu-img.1*
1237 %defattr(644,root,root,755)
1238 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1239 %attr(755,root,root) %{_bindir}/qemu-aarch64
1240 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1241 %attr(755,root,root) %{_bindir}/qemu-alpha
1242 %attr(755,root,root) %{_bindir}/qemu-arm
1243 %attr(755,root,root) %{_bindir}/qemu-armeb
1244 %attr(755,root,root) %{_bindir}/qemu-cris
1245 %attr(755,root,root) %{_bindir}/qemu-hppa
1246 %attr(755,root,root) %{_bindir}/qemu-i386
1247 %attr(755,root,root) %{_bindir}/qemu-io
1248 %attr(755,root,root) %{_bindir}/qemu-m68k
1249 %attr(755,root,root) %{_bindir}/qemu-microblaze
1250 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1251 %attr(755,root,root) %{_bindir}/qemu-mips
1252 %attr(755,root,root) %{_bindir}/qemu-mipsel
1253 %attr(755,root,root) %{_bindir}/qemu-mips64
1254 %attr(755,root,root) %{_bindir}/qemu-mips64el
1255 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1256 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1257 %attr(755,root,root) %{_bindir}/qemu-nios2
1258 %attr(755,root,root) %{_bindir}/qemu-or1k
1259 %attr(755,root,root) %{_bindir}/qemu-ppc
1260 %attr(755,root,root) %{_bindir}/qemu-ppc64
1261 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1262 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1263 %attr(755,root,root) %{_bindir}/qemu-riscv32
1264 %attr(755,root,root) %{_bindir}/qemu-riscv64
1265 %attr(755,root,root) %{_bindir}/qemu-s390x
1266 %attr(755,root,root) %{_bindir}/qemu-sh4
1267 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1268 %attr(755,root,root) %{_bindir}/qemu-sparc
1269 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1270 %attr(755,root,root) %{_bindir}/qemu-sparc64
1271 %attr(755,root,root) %{_bindir}/qemu-x86_64
1272 %attr(755,root,root) %{_bindir}/qemu-xtensa
1273 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1275 %if %{with user_static}
1277 %defattr(644,root,root,755)
1278 /usr/lib/binfmt.d/qemu-*-static.conf
1279 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1280 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1281 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1282 %attr(755,root,root) %{_bindir}/qemu-arm-static
1283 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1284 %attr(755,root,root) %{_bindir}/qemu-cris-static
1285 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1286 %attr(755,root,root) %{_bindir}/qemu-i386-static
1287 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1288 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1289 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1290 %attr(755,root,root) %{_bindir}/qemu-mips-static
1291 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1292 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1293 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1294 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1295 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1296 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1297 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1298 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1299 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1300 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1301 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1302 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1303 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1304 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1305 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1306 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1307 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1308 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1309 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1310 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1311 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1312 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1313 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1316 %files system-aarch64
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1319 %{_datadir}/%{name}/edk2-aarch64-code.fd
1320 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/qemu-system-arm
1329 %{_datadir}/%{name}/edk2-arm-code.fd
1330 %{_datadir}/%{name}/edk2-arm-vars.fd
1331 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_bindir}/qemu-system-cris
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1340 %{_datadir}/%{name}/hppa-firmware.img
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1350 %files system-microblaze
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1353 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_bindir}/qemu-system-mips
1358 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1359 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1360 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1367 %defattr(644,root,root,755)
1368 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1377 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1378 %{_datadir}/%{name}/canyonlands.dtb
1379 %{_datadir}/%{name}/qemu_vga.ndrv
1380 %{_datadir}/%{name}/u-boot.e500
1381 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1383 %files system-riscv32
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1386 %{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1388 %files system-riscv64
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1391 %{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1392 %{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1397 %{_datadir}/%{name}/s390-netboot.img
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1402 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1407 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1409 %files system-tricore
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1413 %files system-unicore32
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_bindir}/qemu-system-i386
1420 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1421 %ifarch %{ix86} %{x8664} x32
1422 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1423 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1425 %{_datadir}/%{name}/bios.bin
1426 %{_datadir}/%{name}/bios-256k.bin
1427 %{_datadir}/%{name}/bios-microvm.bin
1428 %{_datadir}/%{name}/edk2-i386-code.fd
1429 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1430 %{_datadir}/%{name}/edk2-i386-vars.fd
1431 %{_datadir}/%{name}/edk2-x86_64-code.fd
1432 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1433 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1434 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1435 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1436 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1438 %files system-xtensa
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1441 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1444 %defattr(644,root,root,755)
1445 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1446 %{systemdunitdir}/qemu-guest-agent.service
1447 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1448 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1449 %attr(755,root,root) %{_bindir}/qemu-ga
1450 %{_mandir}/man7/qemu-ga-ref.7*
1451 %{_mandir}/man8/qemu-ga.8*
1453 %files module-block-curl
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1457 %if %{with glusterfs}
1458 %files module-block-gluster
1459 %defattr(644,root,root,755)
1460 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1464 %files module-block-iscsi
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1470 %files module-block-rbd
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1475 %files module-block-ssh
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so