2 # libvxhs/libqnio (Veritas HyperScale block driver VxHS)
4 # libpmem (x86_64 only?)
8 %bcond_without sdl # SDL UI and audio support
9 %bcond_without opengl # Don't require GL deps
10 %bcond_without ceph # Ceph/RBD support
11 %bcond_without glusterfs # GlusterFS backend
12 %bcond_without rdma # RDMA-based migration support
13 %bcond_without gtk3 # Do not build GTK+ UI
14 %bcond_without vte # VTE support in GTK+ UI
15 %bcond_without spice # SPICE support
16 %bcond_without oss # OSS audio support
17 %bcond_without pulseaudio # PulseAudio audio support
18 %bcond_without xen # Xen backend driver support
19 %bcond_without bluetooth # bluetooth support
20 %bcond_without brlapi # brlapi support
21 %bcond_without smartcard # smartcard-nss support
22 %bcond_without iscsi # iscsi support
23 %bcond_without libnfs # NFS support
24 %bcond_without multipath # Multipath support
25 %bcond_without seccomp # seccomp support
26 %bcond_without usbredir # usb network redirection support
27 %bcond_without system_seabios # system seabios binary
28 %bcond_without snappy # snappy compression library
29 %bcond_without user_static # build linux-user static packages
30 %bcond_with lttng # lttng-ust trace backend support
31 %bcond_with systemtap # SystemTap/dtrace trace backend support
32 %bcond_with virgl # build virgl support
33 %bcond_without xkbcommon # xkbcommon support
39 Summary: QEMU CPU Emulator
40 Summary(pl.UTF-8): QEMU - emulator procesora
44 License: GPL v2, BSD (edk2 firmware files)
45 Group: Applications/Emulators
46 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
47 # Source0-md5: 278eeb294e4b497e79af7a57e660cb9a
48 # Loads kvm kernel modules at boot
49 Source3: kvm-modules-load.conf
54 Source6: ksm.sysconfig
56 Source8: ksmtuned.service
58 Source10: ksmtuned.conf
59 Source11: %{name}-guest-agent.service
60 Source12: 99-%{name}-guest-agent.rules
61 Source13: %{name}-guest-agent.init
62 Source14: %{name}-guest-agent.logrotate
63 Patch0: %{name}-cflags.patch
64 Patch1: %{name}-whitelist.patch
65 Patch2: %{name}-user-execve.patch
66 Patch3: %{name}-xattr.patch
67 Patch4: libjpeg-boolean.patch
69 URL: http://www.qemu-project.org/
70 %{?with_opengl:BuildRequires: Mesa-libgbm-devel}
71 %{?with_opengl:BuildRequires: OpenGL-GLX-devel}
72 %{?with_opengl:BuildRequires: OpenGL-devel}
73 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
74 %{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
75 BuildRequires: alsa-lib-devel
76 BuildRequires: bcc >= 0.16.21-2
77 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
78 %{?with_brlapi:BuildRequires: brlapi-devel}
79 BuildRequires: bzip2-devel
80 %{?with_ceph:BuildRequires: ceph-devel}
81 BuildRequires: curl-devel
82 BuildRequires: cyrus-sasl-devel >= 2
83 BuildRequires: glib2-devel >= 1:2.48
84 # minimal is 3.4 but new features are used up to 6
85 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
86 BuildRequires: gnutls-devel >= 3.1.18
87 BuildRequires: libaio-devel
88 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
89 BuildRequires: libcap-devel
90 BuildRequires: libcap-ng-devel
91 %{?with_opengl:BuildRequires: libepoxy-devel}
92 BuildRequires: libfdt-devel >= 1.4.2
93 %{?with_rdma:BuildRequires: libibverbs-devel}
94 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
95 %{?with_rdma:BuildRequires: libibumad-devel}
96 BuildRequires: libjpeg-devel
97 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
98 BuildRequires: libpng-devel
99 %{?with_rdma:BuildRequires: librdmacm-devel}
100 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
101 BuildRequires: libssh-devel >= 0.8
102 BuildRequires: libslirp-devel >= 4.0.0
104 #BuildRequires: libtasn1-devel
105 BuildRequires: libusb-devel >= 1.0.13
106 BuildRequires: libuuid-devel
107 BuildRequires: libxml2-devel >= 2.0
108 %{?with_lttng:BuildRequires: lttng-ust-devel}
109 BuildRequires: lzfse-devel
110 BuildRequires: lzo-devel >= 2
111 %{?with_multipath:BuildRequires: multipath-tools-devel}
112 BuildRequires: ncurses-devel
113 # also libgcrypt-devel >= 1.5.0 possible, but gnutls already pulls nettle
114 BuildRequires: nettle-devel >= 2.7.1
115 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
116 BuildRequires: numactl-devel
117 BuildRequires: pam-devel
118 BuildRequires: perl-Encode
119 BuildRequires: perl-tools-pod
120 BuildRequires: pixman-devel >= 0.21.8
121 BuildRequires: pkgconfig
122 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
123 BuildRequires: rpmbuild(macros) >= 1.644
124 %{?with_system_seabios:BuildRequires: seabios}
125 BuildRequires: sed >= 4.0
126 %{?with_snappy:BuildRequires: snappy-devel}
127 BuildRequires: sphinx-pdg
129 BuildRequires: spice-protocol >= 0.12.3
130 BuildRequires: spice-server-devel >= 0.12.5
132 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
133 BuildRequires: texi2html
134 BuildRequires: texinfo
135 %{?with_multipath:BuildRequires: udev-devel}
136 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
137 %{?with_lttng:BuildRequires: userspace-rcu-devel}
138 BuildRequires: vde2-devel
140 %{?with_virgl:BuildRequires: virglrenderer-devel}
141 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel [xentoolcore for xen 4.10+]
142 %{?with_xen:BuildRequires: xen-devel >= 4.2}
143 BuildRequires: xfsprogs-devel
144 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
145 BuildRequires: xorg-lib-libX11-devel
146 BuildRequires: zlib-devel
148 BuildRequires: gtk+3-devel >= 3.16
149 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
151 %if %{with user_static}
152 BuildRequires: glib2-static >= 1:2.48
153 BuildRequires: glibc-static
154 BuildRequires: pcre-static
155 BuildRequires: zlib-static
157 Requires: %{name}-img = %{version}-%{release}
158 Requires: %{name}-system-aarch64 = %{version}-%{release}
159 Requires: %{name}-system-alpha = %{version}-%{release}
160 Requires: %{name}-system-arm = %{version}-%{release}
161 Requires: %{name}-system-cris = %{version}-%{release}
162 Requires: %{name}-system-hppa = %{version}-%{release}
163 Requires: %{name}-system-lm32 = %{version}-%{release}
164 Requires: %{name}-system-m68k = %{version}-%{release}
165 Requires: %{name}-system-microblaze = %{version}-%{release}
166 Requires: %{name}-system-mips = %{version}-%{release}
167 Requires: %{name}-system-moxie = %{version}-%{release}
168 Requires: %{name}-system-nios2 = %{version}-%{release}
169 Requires: %{name}-system-or1k = %{version}-%{release}
170 Requires: %{name}-system-ppc = %{version}-%{release}
171 Requires: %{name}-system-riscv32 = %{version}-%{release}
172 Requires: %{name}-system-riscv64 = %{version}-%{release}
173 Requires: %{name}-system-s390x = %{version}-%{release}
174 Requires: %{name}-system-sh4 = %{version}-%{release}
175 Requires: %{name}-system-sparc = %{version}-%{release}
176 Requires: %{name}-system-tricore = %{version}-%{release}
177 Requires: %{name}-system-unicore32 = %{version}-%{release}
178 Requires: %{name}-system-x86 = %{version}-%{release}
179 Requires: %{name}-system-xtensa = %{version}-%{release}
180 Requires: %{name}-user = %{version}-%{release}
183 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
185 %define systempkg_req \
189 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
190 Requires: libfdt >= 1.4.2 \
191 %if %{with seccomp} \
192 Requires: libseccomp >= 2.3.0 \
194 Requires: libslirp >= 4.0.0 \
195 Requires: libusb >= 1.0.22 \
196 Requires: pixman >= 0.21.8 \
197 %if %{with usbredir} \
198 Requires: usbredir >= 0.6 \
201 Requires: gtk+3 >= 3.16 \
202 %{?with_vte:Requires: vte >= 0.32.0} \
205 # don't strip/chrpath anything in there; these are boot images, roms etc
206 %define _noautostrip .*%{_datadir}/qemu/.*
207 %define _noautochrpath .*%{_datadir}/qemu/.*
210 QEMU is a FAST! processor emulator. By using dynamic translation it
211 achieves a reasonnable speed while being easy to port on new host
212 CPUs. QEMU has two operating modes:
214 - User mode emulation. In this mode, QEMU can launch Linux processes
215 compiled for one CPU on another CPU. Linux system calls are converted
216 because of endianness and 32/64 bit mismatches. Wine (Windows
217 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
219 - Full system emulation. In this mode, QEMU emulates a full system,
220 including a processor and various peripherials. It can also be used to
221 provide virtual hosting of several virtual PC on a single server.
223 %description -l pl.UTF-8
224 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
225 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
226 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
228 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
229 procesy linuksowe skompilowane dla jednego procesora na innym
230 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
231 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
232 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
235 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
236 włączając w to procesor i różne urządzenia peryferyjne. Może być także
237 używane do wirtualnego hostowania kilku wirtualnych pecetów na
238 pojedynczym serwerze.
241 Summary: QEMU common files needed by all QEMU targets
242 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
243 Group: Development/Tools
244 Requires(post,preun,postun): systemd-units >= 38
245 Requires(postun): /usr/sbin/groupdel
246 Requires(postun): /usr/sbin/userdel
247 Requires(pre): /bin/id
248 Requires(pre): /usr/bin/getgid
249 Requires(pre): /usr/sbin/groupadd
250 Requires(pre): /usr/sbin/useradd
251 Requires: glib2 >= 1:2.48
252 %{?with_libnfs:Requires: libnfs >= 1.9.3}
253 Requires: libssh >= 0.8
254 Requires: systemd-units >= 38
255 Provides: group(qemu)
257 Obsoletes: qemu-kvm-common
258 Conflicts: qemu < 1.0-2
261 QEMU is a generic and open source processor emulator which achieves a
262 good emulation speed by using dynamic translation.
264 This package provides the common files needed by all QEMU targets.
266 %description common -l pl.UTF-8
267 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
268 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
270 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
274 Summary: QEMU command line tool for manipulating disk images
275 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
276 Group: Development/Tools
277 Obsoletes: qemu-kvm-img
278 Conflicts: qemu < 1.0-2
281 This package provides a command line tool for manipulating disk
284 %description img -l pl.UTF-8
285 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
289 Summary: QEMU user mode emulation of qemu targets
290 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
291 Group: Development/Tools
292 Requires: %{name}-common = %{version}-%{release}
293 Requires(post,postun): systemd-units >= 38
294 Requires: systemd-units >= 38
295 Obsoletes: qemu-kvm-user
298 QEMU is a generic and open source processor emulator which achieves a
299 good emulation speed by using dynamic translation.
301 This package provides the user mode emulation of QEMU targets.
303 %description user -l pl.UTF-8
304 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
305 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
307 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
310 Summary: QEMU user mode emulation of qemu targets static build
311 Group: Development/Tools
312 Requires(post,postun): systemd-units >= 38
313 Requires: systemd-units >= 38
315 %description user-static
316 QEMU is a generic and open source processor emulator which achieves a
317 good emulation speed by using dynamic translation.
319 This package provides the user mode emulation of qemu targets built as
322 %package system-aarch64
323 Summary: QEMU system emulator for AArch64
324 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
325 Group: Development/Tools
326 Requires: %{name}-common = %{version}-%{release}
328 Obsoletes: qemu-kvm-system-aarch64
330 %description system-aarch64
331 QEMU is a generic and open source processor emulator which achieves a
332 good emulation speed by using dynamic translation.
334 This package provides the system emulator with AArch64 CPU.
336 %description system-aarch64 -l pl.UTF-8
337 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
338 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
340 Ten pakiet zawiera emulator systemu z procesorem AArch64.
342 %package system-alpha
343 Summary: QEMU system emulator for Alpha
344 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
345 Group: Development/Tools
346 Requires: %{name}-common = %{version}-%{release}
348 Obsoletes: qemu-kvm-system-alpha
350 %description system-alpha
351 QEMU is a generic and open source processor emulator which achieves a
352 good emulation speed by using dynamic translation.
354 This package provides the system emulator with Alpha CPU.
356 %description system-alpha -l pl.UTF-8
357 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
358 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
360 Ten pakiet zawiera emulator systemu z procesorem Alpha.
363 Summary: QEMU system emulator for ARM
364 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
365 Group: Development/Tools
366 Requires: %{name}-common = %{version}-%{release}
368 Obsoletes: qemu-kvm-system-arm
370 %description system-arm
371 QEMU is a generic and open source processor emulator which achieves a
372 good emulation speed by using dynamic translation.
374 This package provides the system emulator for ARM.
376 %description system-arm -l pl.UTF-8
377 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
378 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
380 Ten pakiet zawiera emulator systemu z procesorem ARM.
383 Summary: QEMU system emulator for CRIS
384 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
385 Group: Development/Tools
386 Requires: %{name}-common = %{version}-%{release}
388 Obsoletes: qemu-kvm-system-cris
390 %description system-cris
391 QEMU is a generic and open source processor emulator which achieves a
392 good emulation speed by using dynamic translation.
394 This package provides the system emulator with CRIS CPU.
396 %description system-cris -l pl.UTF-8
397 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
398 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
400 Ten pakiet zawiera emulator systemu z procesorem CRIS.
403 Summary: QEMU system emulator for HP/PA
404 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
405 Group: Development/Tools
406 Requires: %{name}-common = %{version}-%{release}
409 %description system-hppa
410 QEMU is a generic and open source processor emulator which achieves a
411 good emulation speed by using dynamic translation.
413 This package provides the system emulator with HP/PA CPU.
415 %description system-hppa -l pl.UTF-8
416 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
417 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
419 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
422 Summary: QEMU system emulator for LM32
423 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
424 Group: Development/Tools
425 Requires: %{name}-common = %{version}-%{release}
427 Obsoletes: qemu-kvm-system-lm32
429 %description system-lm32
430 QEMU is a generic and open source processor emulator which achieves a
431 good emulation speed by using dynamic translation.
433 This package provides the system emulator with LM32 CPU.
435 %description system-lm32 -l pl.UTF-8
436 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
437 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
439 Ten pakiet zawiera emulator systemu z procesorem LM32.
442 Summary: QEMU system emulator for m68k
443 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
444 Group: Development/Tools
445 Requires: %{name}-common = %{version}-%{release}
447 Obsoletes: qemu-kvm-system-m68k
449 %description system-m68k
450 QEMU is a generic and open source processor emulator which achieves a
451 good emulation speed by using dynamic translation.
453 This package provides the system emulator with m68k CPU.
455 %description system-m68k -l pl.UTF-8
456 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
457 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
459 Ten pakiet zawiera emulator systemu z procesorem m68k.
461 %package system-microblaze
462 Summary: QEMU system emulator for MicroBlaze
463 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
464 Group: Development/Tools
465 Requires: %{name}-common = %{version}-%{release}
467 Obsoletes: qemu-kvm-system-microblaze
469 %description system-microblaze
470 QEMU is a generic and open source processor emulator which achieves a
471 good emulation speed by using dynamic translation.
473 This package provides the system emulator with MicroBlaze CPU.
475 %description system-microblaze -l pl.UTF-8
476 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
477 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
479 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
482 Summary: QEMU system emulator for MIPS
483 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
484 Group: Development/Tools
485 Requires: %{name}-common = %{version}-%{release}
487 Obsoletes: qemu-kvm-system-mips
489 %description system-mips
490 QEMU is a generic and open source processor emulator which achieves a
491 good emulation speed by using dynamic translation.
493 This package provides the system emulator with MIPS CPU.
495 %description system-mips -l pl.UTF-8
496 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
497 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
499 Ten pakiet zawiera emulator systemu z procesorem MIPS.
501 %package system-moxie
502 Summary: QEMU system emulator for Moxie
503 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
504 Group: Development/Tools
505 Requires: %{name}-common = %{version}-%{release}
508 %description system-moxie
509 QEMU is a generic and open source processor emulator which achieves a
510 good emulation speed by using dynamic translation.
512 This package provides the system emulator with Moxie CPU.
514 %description system-moxie -l pl.UTF-8
515 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
516 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
518 Ten pakiet zawiera emulator systemu z procesorem Moxie.
520 %package system-nios2
521 Summary: QEMU system emulator for Nios II
522 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
523 Group: Development/Tools
524 Requires: %{name}-common = %{version}-%{release}
527 %description system-nios2
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 Nios II CPU.
533 %description system-nios2 -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 Nios II.
540 Summary: QEMU system emulator for OpenRISC
541 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
542 Group: Development/Tools
543 Requires: %{name}-common = %{version}-%{release}
545 Obsoletes: qemu-kvm-system-or1k
546 Obsoletes: qemu-system-or32
548 %description system-or1k
549 QEMU is a generic and open source processor emulator which achieves a
550 good emulation speed by using dynamic translation.
552 This package provides the system emulator with OpenRISC CPU.
554 %description system-or1k -l pl.UTF-8
555 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
556 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
558 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
561 Summary: QEMU system emulator for PowerPC
562 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
563 Group: Development/Tools
564 Requires: %{name}-common = %{version}-%{release}
566 Obsoletes: qemu-kvm-system-ppc
568 %description system-ppc
569 QEMU is a generic and open source processor emulator which achieves a
570 good emulation speed by using dynamic translation.
572 This package provides the system emulator with PowerPC CPU.
574 %description system-ppc -l pl.UTF-8
575 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
576 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
578 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
580 %package system-riscv32
581 Summary: QEMU system emulator for RISC-V (32 bit)
582 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
583 Group: Development/Tools
584 Requires: %{name}-common = %{version}-%{release}
587 %description system-riscv32
588 QEMU is a generic and open source processor emulator which achieves a
589 good emulation speed by using dynamic translation.
591 This package provides the system emulator with RISC-V (32 bit) CPU.
593 %description system-riscv32 -l pl.UTF-8
594 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
595 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
597 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
599 %package system-riscv64
600 Summary: QEMU system emulator for RISC-V (64 bit)
601 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
602 Group: Development/Tools
603 Requires: %{name}-common = %{version}-%{release}
606 %description system-riscv64
607 QEMU is a generic and open source processor emulator which achieves a
608 good emulation speed by using dynamic translation.
610 This package provides the system emulator with RISC-V (64 bit) CPU.
612 %description system-riscv64 -l pl.UTF-8
613 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
614 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
616 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
618 %package system-s390x
619 Summary: QEMU system emulator for S390
620 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
621 Group: Development/Tools
622 Requires: %{name}-common = %{version}-%{release}
624 Obsoletes: qemu-kvm-system-s390x
626 %description system-s390x
627 QEMU is a generic and open source processor emulator which achieves a
628 good emulation speed by using dynamic translation.
630 This package provides the system emulator with S390 CPU.
632 %description system-s390x -l pl.UTF-8
633 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
634 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
636 Ten pakiet zawiera emulator systemu z procesorem S390.
639 Summary: QEMU system emulator for SH4
640 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
641 Group: Development/Tools
642 Requires: %{name}-common = %{version}-%{release}
644 Obsoletes: qemu-kvm-system-sh4
646 %description system-sh4
647 QEMU is a generic and open source processor emulator which achieves a
648 good emulation speed by using dynamic translation.
650 This package provides the system emulator with SH4 CPU.
652 %description system-sh4 -l pl.UTF-8
653 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
654 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
656 Ten pakiet zawiera emulator systemu z procesorem SH4.
658 %package system-sparc
659 Summary: QEMU system emulator for SPARC
660 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
661 Group: Development/Tools
662 Requires: %{name}-common = %{version}-%{release}
664 Obsoletes: qemu-kvm-system-sparc
666 %description system-sparc
667 QEMU is a generic and open source processor emulator which achieves a
668 good emulation speed by using dynamic translation.
670 This package provides the system emulator with SPARC/SPARC64 CPU.
672 %description system-sparc -l pl.UTF-8
673 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
674 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
676 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
678 %package system-tricore
679 Summary: QEMU system emulator for TriCore
680 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
681 Group: Development/Tools
682 Requires: %{name}-common = %{version}-%{release}
685 %description system-tricore
686 QEMU is a generic and open source processor emulator which achieves a
687 good emulation speed by using dynamic translation.
689 This package provides the system emulator with TriCore CPU.
691 %description system-sparc -l pl.UTF-8
692 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
693 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
695 Ten pakiet zawiera emulator systemu z procesorem TriCore.
697 %package system-unicore32
698 Summary: QEMU system emulator for UniCore32
699 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
700 Group: Development/Tools
701 Requires: %{name}-common = %{version}-%{release}
703 Obsoletes: qemu-kvm-system-unicore32
705 %description system-unicore32
706 QEMU is a generic and open source processor emulator which achieves a
707 good emulation speed by using dynamic translation.
709 This package provides the system emulator with UniCore32 CPU.
711 %description system-unicore32 -l pl.UTF-8
712 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
713 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
715 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
718 Summary: QEMU system emulator for x86
719 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
720 Group: Development/Tools
721 Requires: %{name}-common = %{version}-%{release}
722 %{?with_system_seabios:Requires: seabios}
725 Obsoletes: qemu-kvm-system-x86
727 %description system-x86
728 QEMU is a generic and open source processor emulator which achieves a
729 good emulation speed by using dynamic translation.
731 This package provides the system emulator with x86 CPU.
733 %description system-x86 -l pl.UTF-8
734 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
735 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
737 Ten pakiet zawiera emulator systemu z procesorem x86.
739 %package system-xtensa
740 Summary: QEMU system emulator for Xtensa
741 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
742 Group: Development/Tools
743 Requires: %{name}-common = %{version}-%{release}
745 Obsoletes: qemu-kvm-system-xtensa
747 %description system-xtensa
748 QEMU is a generic and open source processor emulator which achieves a
749 good emulation speed by using dynamic translation.
751 This package provides the system emulator with Xtensa CPU.
753 %description system-xtensa -l pl.UTF-8
754 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
755 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
757 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
760 Summary: QEMU guest agent
761 Summary(pl.UTF-8): Agent gościa QEMU
763 Requires(post,preun,postun): systemd-units >= 38
764 Requires: glib2 >= 1:2.48
765 Requires: systemd-units >= 38
766 Obsoletes: qemu-kvm-guest-agent
767 Conflicts: SysVinit < 2.96-2
769 %description guest-agent
770 QEMU is a generic and open source processor emulator which achieves a
771 good emulation speed by using dynamic translation.
773 This package provides an agent to run inside guests, which
774 communicates with the host over a virtio-serial channel named
775 "org.qemu.guest_agent.0".
777 This package does not need to be installed on the host OS.
779 %description guest-agent -l pl.UTF-8
780 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
781 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
783 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
784 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
785 "org.qemu.guest_agent.0".
787 Ten pakiet nie musi być zainstalowany w systemie hosta.
789 %package module-block-curl
790 Summary: QEMU module for 'curl' block devices
791 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
792 Group: Development/Tools
793 Requires: %{name}-common = %{version}-%{release}
795 %description module-block-curl
796 'curl' block device support for QEMU.
798 %description module-block-curl -l pl.UTF-8
799 Moduł QEMU dla urządeń blokowych typu 'curl'.
801 %package module-block-gluster
802 Summary: QEMU module for 'gluster' block devices
803 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
804 Group: Development/Tools
805 Requires: %{name}-common = %{version}-%{release}
806 Requires: glusterfs-libs >= 6
808 %description module-block-gluster
809 'gluster' block device support for QEMU.
811 %description module-block-gluster -l pl.UTF-8
812 Moduł QEMU dla urządeń blokowych typu 'gluster'.
814 %package module-block-iscsi
815 Summary: QEMU module for 'iscsi' block devices
816 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
817 Group: Development/Tools
818 Requires: %{name}-common = %{version}-%{release}
819 Requires: libiscsi >= 1.9.0
821 %description module-block-iscsi
822 'iscsi' block device support for QEMU.
824 %description module-block-iscsi -l pl.UTF-8
825 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
827 %package module-block-rbd
828 Summary: QEMU module for 'rbd' block devices
829 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
830 Group: Development/Tools
831 Requires: %{name}-common = %{version}-%{release}
833 %description module-block-rbd
834 'rbd' block device support for QEMU.
836 %description module-block-rbd -l pl.UTF-8
837 Moduł QEMU dla urządeń blokowych typu 'rbd'.
839 %package module-block-ssh
840 Summary: QEMU module for 'ssh' block devices
841 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
842 Group: Development/Tools
843 Requires: %{name}-common = %{version}-%{release}
845 %description module-block-ssh
846 'ssh' block device support for QEMU.
848 %description module-block-ssh -l pl.UTF-8
849 Moduł QEMU dla urządeń blokowych typu 'ssh'.
860 # workaround for conflict with alsa/error.h
861 ln -s ../error.h qapi/error.h
869 install -d build-$target
873 --prefix=%{_prefix} \
874 --libdir=%{_libdir} \
875 --libexecdir=%{_libexecdir} \
876 --sysconfdir=%{_sysconfdir} \
877 --localstatedir=%{_localstatedir} \
878 --interp-prefix=%{_libdir}/qemu/lib-%%M \
880 --host-cc="%{__cc}" \
882 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
888 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
894 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
895 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
896 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
898 %{__enable_disable bluetooth bluez} \
899 %{__enable_disable brlapi} \
905 %{__enable_disable glusterfs} \
906 %{!?with_gtk3:--disable-gtk} \
907 %{__enable_disable iscsi libiscsi} \
908 %{__enable_disable libnfs} \
910 %{__enable_disable multipath mpath} \
914 %{__enable_disable ceph rbd} \
915 %{__enable_disable rdma} \
916 %{__enable_disable sdl} \
917 %{__enable_disable seccomp} \
918 --enable-slirp=system \
919 %{__enable_disable spice} \
920 %{__enable_disable smartcard smartcard} \
921 %{__enable_disable snappy} \
923 %{__enable_disable usbredir usb-redir} \
925 %{__enable_disable virgl virglrenderer} \
930 %{!?with_vte:--disable-vte} \
931 %{__enable_disable xen} \
932 %{__enable_disable xkbcommon}
934 %if %{with user_static}
943 --disable-guest-agent \
944 --disable-guest-agent-msi \
950 --enable-slirp=internal \
956 --disable-xkbcommon \
960 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
963 rm -rf $RPM_BUILD_ROOT
964 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
965 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d,rc.d/init.d,logrotate.d} \
966 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
968 %if %{with user_static}
969 %{__make} -C build-static install \
970 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
971 DESTDIR=$RPM_BUILD_ROOT
973 # Give all QEMU user emulators a -static suffix
974 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
975 %{__mv} $src $src-static
980 %{__make} -C build-dynamic install \
981 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
982 DESTDIR=$RPM_BUILD_ROOT
984 # let rpm generate dependencies
985 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
987 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
989 install -d $RPM_BUILD_ROOT%{_sysconfdir}
990 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
995 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
997 %ifarch %{ix86} %{x8664} x32
998 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
999 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1002 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1003 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1004 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1006 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1007 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1008 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1010 # For the qemu-guest-agent subpackage install the systemd
1011 # service and udev rules.
1012 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1013 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1015 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1016 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1020 %ifnarch %{ix86} %{x8664} x32
1034 microblaze microblazeel \
1050 %ifnarch ppc ppc64 ppc64le
1053 %ifnarch sparc sparc64
1054 sparc sparc32plus sparc64 \
1065 if [ -n "$BINFMT_CPUS" ]; then
1066 for cpu in $BINFMT_CPUS; do
1067 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1069 for i in /$RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1070 mv $i ${i%.conf}-dynamic.conf
1073 %if %{with user_static}
1074 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1075 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1076 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1082 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1084 %if %{with system_seabios}
1085 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1086 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1087 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1089 if [ -e "/usr/share/seabios/$bn" ] ; then
1090 ln -sf "/usr/share/seabios/$bn" "$f"
1096 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1097 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1103 # Windows installer icon, not used
1104 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1106 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1107 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1110 rm -rf $RPM_BUILD_ROOT
1113 %groupadd -g 160 kvm
1114 %groupadd -g 276 qemu
1115 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1118 %systemd_post ksm.service
1119 %systemd_post ksmtuned.service
1122 %systemd_preun ksm.service
1123 %systemd_preun ksmtuned.service
1126 if [ "$1" = "0" ]; then
1133 %triggerpostun common -- qemu-common < 1.6.1-4
1134 %systemd_trigger ksm.service
1135 %systemd_trigger ksmtuned.service
1138 %systemd_service_restart systemd-binfmt.service
1141 %systemd_service_restart systemd-binfmt.service
1144 %systemd_service_restart systemd-binfmt.service
1147 %systemd_service_restart systemd-binfmt.service
1150 /sbin/chkconfig --add qemu-ga
1151 %service qemu-ga restart "qemu-ga"
1155 if [ "$1" = "0" ]; then
1156 %service qemu-ga stop
1157 /sbin/chkconfig --del qemu-ga
1159 %systemd_preun qemu-guest-agent.service
1165 %defattr(644,root,root,755)
1167 %files common -f %{name}.lang
1168 %defattr(644,root,root,755)
1169 %doc LICENSE README.rst build-dynamic/qemu-doc.html pc-bios/edk2-licenses.txt
1170 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1171 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1172 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1173 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1175 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1176 %{systemdunitdir}/ksm.service
1177 %{systemdunitdir}/ksmtuned.service
1178 %attr(755,root,root) %{_bindir}/elf2dmp
1179 %attr(755,root,root) %{_bindir}/ivshmem-client
1180 %attr(755,root,root) %{_bindir}/ivshmem-server
1181 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1182 %attr(755,root,root) %{_bindir}/qemu-edid
1183 %if %{with xkbcommon}
1184 %attr(755,root,root) %{_bindir}/qemu-keymap
1186 %attr(755,root,root) %{_bindir}/qemu-nbd
1187 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1188 %attr(755,root,root) %{_bindir}/qemu-tilegx
1189 %attr(755,root,root) %{_sbindir}/ksmctl
1190 %attr(755,root,root) %{_sbindir}/ksmtuned
1191 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1192 %{_mandir}/man1/qemu.1*
1193 %{_mandir}/man1/virtfs-proxy-helper.1*
1194 %{_mandir}/man7/qemu-cpu-models.7*
1195 %{_mandir}/man7/qemu-block-drivers.7*
1196 %{_mandir}/man7/qemu-qmp-ref.7*
1197 %{_mandir}/man8/qemu-nbd.8*
1199 %dir %{_datadir}/%{name}
1200 %dir %{_datadir}/%{name}/firmware
1201 %{_datadir}/%{name}/keymaps
1202 %{_datadir}/%{name}/trace-events-all
1203 %{_desktopdir}/qemu.desktop
1204 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1205 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1206 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1208 %dir %{_libdir}/%{name}
1210 # modules without too many external dependencies
1211 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1212 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1214 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1217 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1219 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1221 %if %{with pulseaudio}
1222 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1225 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1227 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1230 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1231 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1234 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_bindir}/qemu-img
1240 %{_mandir}/man1/qemu-img.1*
1243 %defattr(644,root,root,755)
1244 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1245 %attr(755,root,root) %{_bindir}/qemu-aarch64
1246 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1247 %attr(755,root,root) %{_bindir}/qemu-alpha
1248 %attr(755,root,root) %{_bindir}/qemu-arm
1249 %attr(755,root,root) %{_bindir}/qemu-armeb
1250 %attr(755,root,root) %{_bindir}/qemu-cris
1251 %attr(755,root,root) %{_bindir}/qemu-hppa
1252 %attr(755,root,root) %{_bindir}/qemu-i386
1253 %attr(755,root,root) %{_bindir}/qemu-io
1254 %attr(755,root,root) %{_bindir}/qemu-m68k
1255 %attr(755,root,root) %{_bindir}/qemu-microblaze
1256 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1257 %attr(755,root,root) %{_bindir}/qemu-mips
1258 %attr(755,root,root) %{_bindir}/qemu-mipsel
1259 %attr(755,root,root) %{_bindir}/qemu-mips64
1260 %attr(755,root,root) %{_bindir}/qemu-mips64el
1261 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1262 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1263 %attr(755,root,root) %{_bindir}/qemu-nios2
1264 %attr(755,root,root) %{_bindir}/qemu-or1k
1265 %attr(755,root,root) %{_bindir}/qemu-ppc
1266 %attr(755,root,root) %{_bindir}/qemu-ppc64
1267 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1268 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1269 %attr(755,root,root) %{_bindir}/qemu-riscv32
1270 %attr(755,root,root) %{_bindir}/qemu-riscv64
1271 %attr(755,root,root) %{_bindir}/qemu-s390x
1272 %attr(755,root,root) %{_bindir}/qemu-sh4
1273 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1274 %attr(755,root,root) %{_bindir}/qemu-sparc
1275 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1276 %attr(755,root,root) %{_bindir}/qemu-sparc64
1277 %attr(755,root,root) %{_bindir}/qemu-x86_64
1278 %attr(755,root,root) %{_bindir}/qemu-xtensa
1279 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1281 %if %{with user_static}
1283 %defattr(644,root,root,755)
1284 /usr/lib/binfmt.d/qemu-*-static.conf
1285 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1286 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1287 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1288 %attr(755,root,root) %{_bindir}/qemu-arm-static
1289 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1290 %attr(755,root,root) %{_bindir}/qemu-cris-static
1291 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1292 %attr(755,root,root) %{_bindir}/qemu-i386-static
1293 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1294 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1295 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1296 %attr(755,root,root) %{_bindir}/qemu-mips-static
1297 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1298 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1299 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1300 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1301 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1302 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1303 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1304 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1305 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1306 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1307 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1308 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1309 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1310 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1311 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1312 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1313 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1314 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1315 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1316 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1317 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1318 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1319 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1322 %files system-aarch64
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1325 %{_datadir}/%{name}/edk2-aarch64-code.fd
1326 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1331 %{_datadir}/%{name}/palcode-clipper
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_bindir}/qemu-system-arm
1336 %{_datadir}/%{name}/edk2-arm-code.fd
1337 %{_datadir}/%{name}/edk2-arm-vars.fd
1338 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_bindir}/qemu-system-cris
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1347 %{_datadir}/%{name}/hppa-firmware.img
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1357 %files system-microblaze
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1360 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_bindir}/qemu-system-mips
1365 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1366 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1367 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1384 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1385 %{_datadir}/%{name}/bamboo.dtb
1386 %{_datadir}/%{name}/canyonlands.dtb
1387 %{_datadir}/%{name}/openbios-ppc
1388 %{_datadir}/%{name}/petalogix-ml605.dtb
1389 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1390 %{_datadir}/%{name}/ppc_rom.bin
1391 %{_datadir}/%{name}/qemu_vga.ndrv
1392 %{_datadir}/%{name}/skiboot.lid
1393 %{_datadir}/%{name}/slof.bin
1394 %{_datadir}/%{name}/u-boot.e500
1395 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1397 %files system-riscv32
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1400 %{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1402 %files system-riscv64
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1405 %{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1406 %{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1411 %{_datadir}/%{name}/s390-ccw.img
1412 %{_datadir}/%{name}/s390-netboot.img
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1417 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1422 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1423 %{_datadir}/%{name}/QEMU,cgthree.bin
1424 %{_datadir}/%{name}/QEMU,tcx.bin
1425 %{_datadir}/%{name}/openbios-sparc32
1426 %{_datadir}/%{name}/openbios-sparc64
1428 %files system-tricore
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1432 %files system-unicore32
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_bindir}/qemu-system-i386
1439 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1440 %ifarch %{ix86} %{x8664} x32
1441 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1442 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1444 %{_datadir}/%{name}/bios.bin
1445 %{_datadir}/%{name}/bios-256k.bin
1446 %{_datadir}/%{name}/bios-microvm.bin
1447 %{_datadir}/%{name}/edk2-i386-code.fd
1448 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1449 %{_datadir}/%{name}/edk2-i386-vars.fd
1450 %{_datadir}/%{name}/edk2-x86_64-code.fd
1451 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1452 %{_datadir}/%{name}/efi-e1000e.rom
1453 %{_datadir}/%{name}/efi-e1000.rom
1454 %{_datadir}/%{name}/efi-eepro100.rom
1455 %{_datadir}/%{name}/efi-ne2k_pci.rom
1456 %{_datadir}/%{name}/efi-pcnet.rom
1457 %{_datadir}/%{name}/efi-rtl8139.rom
1458 %{_datadir}/%{name}/efi-virtio.rom
1459 %{_datadir}/%{name}/efi-vmxnet3.rom
1460 %{_datadir}/%{name}/kvmvapic.bin
1461 %{_datadir}/%{name}/linuxboot.bin
1462 %{_datadir}/%{name}/linuxboot_dma.bin
1463 %{_datadir}/%{name}/multiboot.bin
1464 %{_datadir}/%{name}/pvh.bin
1465 %{_datadir}/%{name}/pxe-e1000.rom
1466 %{_datadir}/%{name}/pxe-eepro100.rom
1467 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1468 %{_datadir}/%{name}/pxe-pcnet.rom
1469 %{_datadir}/%{name}/pxe-rtl8139.rom
1470 %{_datadir}/%{name}/pxe-virtio.rom
1471 %{_datadir}/%{name}/sgabios.bin
1472 %{_datadir}/%{name}/vgabios.bin
1473 %{_datadir}/%{name}/vgabios-ati.bin
1474 %{_datadir}/%{name}/vgabios-bochs-display.bin
1475 %{_datadir}/%{name}/vgabios-cirrus.bin
1476 %{_datadir}/%{name}/vgabios-qxl.bin
1477 %{_datadir}/%{name}/vgabios-ramfb.bin
1478 %{_datadir}/%{name}/vgabios-stdvga.bin
1479 %{_datadir}/%{name}/vgabios-virtio.bin
1480 %{_datadir}/%{name}/vgabios-vmware.bin
1481 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1482 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1483 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1484 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1486 %files system-xtensa
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1489 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1492 %defattr(644,root,root,755)
1493 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1494 %{systemdunitdir}/qemu-guest-agent.service
1495 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1496 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1497 %attr(755,root,root) %{_bindir}/qemu-ga
1498 %{_mandir}/man7/qemu-ga-ref.7*
1499 %{_mandir}/man8/qemu-ga.8*
1501 %files module-block-curl
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1505 %if %{with glusterfs}
1506 %files module-block-gluster
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1512 %files module-block-iscsi
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1518 %files module-block-rbd
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1523 %files module-block-ssh
1524 %defattr(644,root,root,755)
1525 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so