5 %bcond_without sdl # SDL UI and audio support
6 %bcond_without opengl # Don't require GL deps
7 %bcond_without ceph # Ceph/RBD support
8 %bcond_without glusterfs # GlusterFS backend
9 %bcond_without rdma # RDMA-based migration support
10 %bcond_without gtk3 # Do not build GTK+ UI
11 %bcond_without vte # VTE support in GTK+ UI
12 %bcond_without spice # SPICE support
13 %bcond_without oss # OSS audio support
14 %bcond_without pulseaudio # PulseAudio audio support
15 %bcond_without xen # Xen backend driver 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 multipath # Multipath support
21 %bcond_without pmem # libpmem (persistent memory) support
22 %bcond_without seccomp # seccomp support
23 %bcond_without usbredir # usb network redirection support
24 %bcond_without system_seabios # system seabios binary
25 %bcond_without snappy # snappy compression library
26 %bcond_without user_static # build linux-user static packages
27 %bcond_with lttng # lttng-ust trace backend support [needs update]
28 %bcond_without systemtap # SystemTap/dtrace trace backend support
29 %bcond_without virgl # build virgl support
30 %bcond_without xkbcommon # xkbcommon support
38 %ifnarch %{x8664} aarch64
42 Summary: QEMU CPU Emulator
43 Summary(pl.UTF-8): QEMU - emulator procesora
47 License: GPL v2, BSD (edk2 firmware files)
48 Group: Applications/Emulators
49 Source0: https://download.qemu.org/%{name}-%{version}.tar.xz
50 # Source0-md5: 179f86928835da857c237b42f4b2df73
51 # Loads kvm kernel modules at boot
52 Source3: kvm-modules-load.conf
57 Source6: ksm.sysconfig
59 Source8: ksmtuned.service
61 Source10: ksmtuned.conf
62 Source11: %{name}-guest-agent.service
63 Source12: 99-%{name}-guest-agent.rules
64 Source13: %{name}-guest-agent.init
65 Source14: %{name}-guest-agent.logrotate
66 Source15: %{name}-pr-helper.service
67 Source16: %{name}-pr-helper.socket
68 Patch0: %{name}-cflags.patch
69 Patch1: %{name}-user-execve.patch
70 Patch2: %{name}-xattr.patch
71 Patch3: libjpeg-boolean.patch
73 Patch5: binutils-2.36.patch
74 URL: https://www.qemu.org/
75 %{?with_opengl:BuildRequires: Mesa-libgbm-devel}
76 %{?with_opengl:BuildRequires: OpenGL-GLX-devel}
77 %{?with_opengl:BuildRequires: OpenGL-devel}
78 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
79 %{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
80 BuildRequires: alsa-lib-devel
81 %{?with_brlapi:BuildRequires: brlapi-devel}
82 BuildRequires: bzip2-devel
83 BuildRequires: capstone-devel >= 3.0.5
84 %{?with_ceph:BuildRequires: ceph-devel}
85 BuildRequires: curl-devel
86 BuildRequires: cyrus-sasl-devel >= 2
87 BuildRequires: gettext-tools
88 BuildRequires: glib2-devel >= 1:2.48
89 # minimal is 3.4 but new features are used up to 6
90 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
91 BuildRequires: gnutls-devel >= 3.1.18
92 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0}
93 BuildRequires: libaio-devel
94 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
95 BuildRequires: libcap-ng-devel
96 BuildRequires: libdrm-devel
97 %{?with_opengl:BuildRequires: libepoxy-devel}
98 BuildRequires: libfdt-devel >= 1.4.2
99 %{?with_rdma:BuildRequires: libibverbs-devel}
100 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
101 %{?with_rdma:BuildRequires: libibumad-devel}
102 BuildRequires: libjpeg-devel
103 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
104 BuildRequires: libpng-devel
105 %{?with_rdma:BuildRequires: librdmacm-devel}
106 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
107 BuildRequires: libssh-devel >= 0.8
108 BuildRequires: libslirp-devel >= 4.0.0
110 #BuildRequires: libtasn1-devel
111 BuildRequires: libusb-devel >= 1.0.22
112 BuildRequires: liburing-devel
113 BuildRequires: libuuid-devel
114 BuildRequires: libxml2-devel >= 2.0
115 %{?with_lttng:BuildRequires: lttng-ust-devel}
116 BuildRequires: lzfse-devel
117 BuildRequires: lzo-devel >= 2
118 BuildRequires: meson >= 0.55.0
119 %{?with_multipath:BuildRequires: multipath-tools-devel}
120 BuildRequires: ncurses-devel
121 # also libgcrypt-devel >= 1.5.0 possible, but gnutls already pulls nettle
122 BuildRequires: nettle-devel >= 2.7.1
124 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
125 BuildRequires: numactl-devel
126 BuildRequires: pam-devel
127 BuildRequires: perl-Encode
128 BuildRequires: perl-tools-pod
129 BuildRequires: pixman-devel >= 0.21.8
130 BuildRequires: pkgconfig
131 %{?with_pmem:BuildRequires: pmdk-devel}
132 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
133 BuildRequires: python3 >= 1:3.5
134 BuildRequires: rpmbuild(macros) >= 1.644
135 %{?with_system_seabios:BuildRequires: seabios}
136 BuildRequires: sed >= 4.0
137 %{?with_snappy:BuildRequires: snappy-devel}
138 BuildRequires: sphinx-pdg
140 BuildRequires: spice-protocol >= 0.12.3
141 BuildRequires: spice-server-devel >= 0.12.5
143 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
144 BuildRequires: tar >= 1:1.22
145 BuildRequires: texi2html
146 BuildRequires: texinfo
147 %{?with_multipath:BuildRequires: udev-devel}
148 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
149 %{?with_lttng:BuildRequires: userspace-rcu-devel}
150 BuildRequires: vde2-devel
152 %{?with_virgl:BuildRequires: virglrenderer-devel}
153 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
154 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
155 # min version is 4.2, more features up to 4.10
156 %{?with_xen:BuildRequires: xen-devel >= 4.10}
157 BuildRequires: xfsprogs-devel
158 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
159 BuildRequires: xorg-lib-libX11-devel
161 BuildRequires: zlib-devel
162 BuildRequires: zstd-devel >= 1.4.0
163 %if %{with user_static}
164 BuildRequires: glib2-static >= 1:2.48
165 BuildRequires: glibc-static
166 BuildRequires: pcre-static
167 BuildRequires: zlib-static
169 Requires: %{name}-img = %{version}-%{release}
170 Requires: %{name}-system-aarch64 = %{version}-%{release}
171 Requires: %{name}-system-alpha = %{version}-%{release}
172 Requires: %{name}-system-arm = %{version}-%{release}
173 Requires: %{name}-system-avr = %{version}-%{release}
174 Requires: %{name}-system-cris = %{version}-%{release}
175 Requires: %{name}-system-hppa = %{version}-%{release}
176 Requires: %{name}-system-m68k = %{version}-%{release}
177 Requires: %{name}-system-microblaze = %{version}-%{release}
178 Requires: %{name}-system-mips = %{version}-%{release}
179 Requires: %{name}-system-moxie = %{version}-%{release}
180 Requires: %{name}-system-nios2 = %{version}-%{release}
181 Requires: %{name}-system-or1k = %{version}-%{release}
182 Requires: %{name}-system-ppc = %{version}-%{release}
183 Requires: %{name}-system-riscv32 = %{version}-%{release}
184 Requires: %{name}-system-riscv64 = %{version}-%{release}
185 Requires: %{name}-system-rx = %{version}-%{release}
186 Requires: %{name}-system-s390x = %{version}-%{release}
187 Requires: %{name}-system-sh4 = %{version}-%{release}
188 Requires: %{name}-system-sparc = %{version}-%{release}
189 Requires: %{name}-system-tricore = %{version}-%{release}
190 Requires: %{name}-system-x86 = %{version}-%{release}
191 Requires: %{name}-system-xtensa = %{version}-%{release}
192 Requires: %{name}-user = %{version}-%{release}
195 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
197 %define systempkg_req \
198 Requires: capstone >= 3.0.5 \
199 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
200 Requires: libfdt >= 1.4.2 \
201 %if %{with seccomp} \
202 Requires: libseccomp >= 2.3.0 \
204 Requires: libslirp >= 4.0.0 \
205 Requires: libusb >= 1.0.22 \
206 Requires: pixman >= 0.21.8 \
208 Requires: spice-server-libs >= 0.12.5 \
210 %if %{with usbredir} \
211 Requires: usbredir >= 0.6 \
213 Requires: zstd >= 1.4.0
215 # don't strip/chrpath anything in there; these are boot images, roms etc
216 %define _noautostrip .*%{_datadir}/qemu/.*
217 %define _noautochrpath .*%{_datadir}/qemu/.*
220 QEMU is a FAST! processor emulator. By using dynamic translation it
221 achieves a reasonnable speed while being easy to port on new host
222 CPUs. QEMU has two operating modes:
224 - User mode emulation. In this mode, QEMU can launch Linux processes
225 compiled for one CPU on another CPU. Linux system calls are converted
226 because of endianness and 32/64 bit mismatches. Wine (Windows
227 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
229 - Full system emulation. In this mode, QEMU emulates a full system,
230 including a processor and various peripherials. It can also be used to
231 provide virtual hosting of several virtual PC on a single server.
233 %description -l pl.UTF-8
234 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
235 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
236 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
238 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
239 procesy linuksowe skompilowane dla jednego procesora na innym
240 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
241 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
242 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
245 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
246 włączając w to procesor i różne urządzenia peryferyjne. Może być także
247 używane do wirtualnego hostowania kilku wirtualnych pecetów na
248 pojedynczym serwerze.
251 Summary: QEMU common files needed by all QEMU targets
252 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
253 Group: Applications/Emulators
254 Requires(post,preun,postun): systemd-units >= 38
255 Requires(postun): /usr/sbin/groupdel
256 Requires(postun): /usr/sbin/userdel
257 Requires(pre): /bin/id
258 Requires(pre): /usr/bin/getgid
259 Requires(pre): /usr/sbin/groupadd
260 Requires(pre): /usr/sbin/useradd
261 Requires: glib2 >= 1:2.48
262 Requires: gnutls-libs >= 3.1.18
263 %{?with_gtk3:Requires: gtk+3 >= 3.22.0}
264 Requires: nettle >= 2.7.1
265 Requires: systemd-units >= 38
266 %{?with_vte:Requires: vte >= 0.32.0}
267 Provides: group(qemu)
269 Obsoletes: qemu-kvm-common
270 Obsoletes: qemu-module-block-archipelago < 2.9.0
271 Conflicts: qemu < 1.0-2
274 QEMU is a generic and open source processor emulator which achieves a
275 good emulation speed by using dynamic translation.
277 This package provides the common files needed by all QEMU targets.
279 %description common -l pl.UTF-8
280 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
281 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
283 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
287 Summary: QEMU command line tool for manipulating disk images
288 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
289 Group: Applications/Emulators
290 Obsoletes: qemu-kvm-img
291 Conflicts: qemu < 1.0-2
294 This package provides a command line tool for manipulating disk
297 %description img -l pl.UTF-8
298 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
302 Summary: QEMU user mode emulation of qemu targets
303 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
304 Group: Applications/Emulators
305 Requires: %{name}-common = %{version}-%{release}
306 Requires(post,postun): systemd-units >= 38
307 Requires: systemd-units >= 38
308 Obsoletes: qemu-kvm-user
311 QEMU is a generic and open source processor emulator which achieves a
312 good emulation speed by using dynamic translation.
314 This package provides the user mode emulation of QEMU targets.
316 %description user -l pl.UTF-8
317 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
318 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
320 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
323 Summary: QEMU user mode emulation of qemu targets static build
324 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
325 Group: Applications/Emulators
326 Requires(post,postun): systemd-units >= 38
327 Requires: systemd-units >= 38
329 %description user-static
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 user mode emulation of qemu targets built as
336 %description user-static -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 udostępnia emulację trybu użytkownika środowisk QEMU w
341 oparciu o programy wykonywalne zbudowane statycznie.
343 %package system-aarch64
344 Summary: QEMU system emulator for AArch64
345 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
346 Group: Applications/Emulators
347 Requires: %{name}-common = %{version}-%{release}
349 Obsoletes: qemu-kvm-system-aarch64
351 %description system-aarch64
352 QEMU is a generic and open source processor emulator which achieves a
353 good emulation speed by using dynamic translation.
355 This package provides the system emulator with AArch64 (ARM64) CPU.
357 %description system-aarch64 -l pl.UTF-8
358 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
359 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
361 Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
363 %package system-alpha
364 Summary: QEMU system emulator for Alpha
365 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
366 Group: Applications/Emulators
367 Requires: %{name}-common = %{version}-%{release}
369 Obsoletes: qemu-kvm-system-alpha
371 %description system-alpha
372 QEMU is a generic and open source processor emulator which achieves a
373 good emulation speed by using dynamic translation.
375 This package provides the system emulator with Alpha CPU.
377 %description system-alpha -l pl.UTF-8
378 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
379 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
381 Ten pakiet zawiera emulator systemu z procesorem Alpha.
384 Summary: QEMU system emulator for 32-bit ARM
385 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
386 Group: Applications/Emulators
387 Requires: %{name}-common = %{version}-%{release}
389 Obsoletes: qemu-kvm-system-arm
391 %description system-arm
392 QEMU is a generic and open source processor emulator which achieves a
393 good emulation speed by using dynamic translation.
395 This package provides the system emulator for 32-bit ARM.
397 %description system-arm -l pl.UTF-8
398 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
399 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
401 Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
404 Summary: QEMU system emulator for AVR
405 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AVR
406 Group: Applications/Emulators
407 Requires: %{name}-common = %{version}-%{release}
409 Obsoletes: qemu-kvm-system-avr
411 %description system-avr
412 QEMU is a generic and open source processor emulator which achieves a
413 good emulation speed by using dynamic translation.
415 This package provides the system emulator for AVR.
417 %description system-avr -l pl.UTF-8
418 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
419 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
421 Ten pakiet zawiera emulator systemu z procesorem AVR.
424 Summary: QEMU system emulator for CRIS
425 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
426 Group: Applications/Emulators
427 Requires: %{name}-common = %{version}-%{release}
429 Obsoletes: qemu-kvm-system-cris
431 %description system-cris
432 QEMU is a generic and open source processor emulator which achieves a
433 good emulation speed by using dynamic translation.
435 This package provides the system emulator with CRIS CPU.
437 %description system-cris -l pl.UTF-8
438 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
439 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
441 Ten pakiet zawiera emulator systemu z procesorem CRIS.
444 Summary: QEMU system emulator for HP/PA
445 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
446 Group: Applications/Emulators
447 Requires: %{name}-common = %{version}-%{release}
450 %description system-hppa
451 QEMU is a generic and open source processor emulator which achieves a
452 good emulation speed by using dynamic translation.
454 This package provides the system emulator with HP/PA (PA-RISC) CPU.
456 %description system-hppa -l pl.UTF-8
457 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
458 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
460 Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
463 Summary: QEMU system emulator for m68k
464 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
465 Group: Applications/Emulators
466 Requires: %{name}-common = %{version}-%{release}
468 Obsoletes: qemu-kvm-system-m68k
470 %description system-m68k
471 QEMU is a generic and open source processor emulator which achieves a
472 good emulation speed by using dynamic translation.
474 This package provides the system emulator with m68k (Motorola 68xxx)
477 %description system-m68k -l pl.UTF-8
478 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
479 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
481 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
484 %package system-microblaze
485 Summary: QEMU system emulator for MicroBlaze
486 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
487 Group: Applications/Emulators
488 Requires: %{name}-common = %{version}-%{release}
490 Obsoletes: qemu-kvm-system-microblaze
492 %description system-microblaze
493 QEMU is a generic and open source processor emulator which achieves a
494 good emulation speed by using dynamic translation.
496 This package provides the system emulator with MicroBlaze CPU.
498 %description system-microblaze -l pl.UTF-8
499 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
500 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
502 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
505 Summary: QEMU system emulator for MIPS
506 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
507 Group: Applications/Emulators
508 Requires: %{name}-common = %{version}-%{release}
510 Obsoletes: qemu-kvm-system-mips
512 %description system-mips
513 QEMU is a generic and open source processor emulator which achieves a
514 good emulation speed by using dynamic translation.
516 This package provides the system emulator with MIPS CPU.
518 %description system-mips -l pl.UTF-8
519 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
520 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
522 Ten pakiet zawiera emulator systemu z procesorem MIPS.
524 %package system-moxie
525 Summary: QEMU system emulator for Moxie
526 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
527 Group: Applications/Emulators
528 Requires: %{name}-common = %{version}-%{release}
531 %description system-moxie
532 QEMU is a generic and open source processor emulator which achieves a
533 good emulation speed by using dynamic translation.
535 This package provides the system emulator with Moxie CPU.
537 %description system-moxie -l pl.UTF-8
538 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
539 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
541 Ten pakiet zawiera emulator systemu z procesorem Moxie.
543 %package system-nios2
544 Summary: QEMU system emulator for Nios II
545 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
546 Group: Applications/Emulators
547 Requires: %{name}-common = %{version}-%{release}
550 %description system-nios2
551 QEMU is a generic and open source processor emulator which achieves a
552 good emulation speed by using dynamic translation.
554 This package provides the system emulator with Nios II CPU.
556 %description system-nios2 -l pl.UTF-8
557 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
558 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
560 Ten pakiet zawiera emulator systemu z procesorem Nios II.
563 Summary: QEMU system emulator for OpenRISC
564 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
565 Group: Applications/Emulators
566 Requires: %{name}-common = %{version}-%{release}
568 Obsoletes: qemu-kvm-system-or1k
569 Obsoletes: qemu-system-or32
571 %description system-or1k
572 QEMU is a generic and open source processor emulator which achieves a
573 good emulation speed by using dynamic translation.
575 This package provides the system emulator with OpenRISC CPU.
577 %description system-or1k -l pl.UTF-8
578 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
579 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
581 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
584 Summary: QEMU system emulator for PowerPC
585 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
586 Group: Applications/Emulators
587 Requires: %{name}-common = %{version}-%{release}
589 Obsoletes: qemu-kvm-system-ppc
591 %description system-ppc
592 QEMU is a generic and open source processor emulator which achieves a
593 good emulation speed by using dynamic translation.
595 This package provides the system emulator with PowerPC CPU.
597 %description system-ppc -l pl.UTF-8
598 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
599 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
601 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
603 %package system-riscv32
604 Summary: QEMU system emulator for RISC-V (32 bit)
605 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
606 Group: Applications/Emulators
607 Requires: %{name}-common = %{version}-%{release}
610 %description system-riscv32
611 QEMU is a generic and open source processor emulator which achieves a
612 good emulation speed by using dynamic translation.
614 This package provides the system emulator with RISC-V (32 bit) CPU.
616 %description system-riscv32 -l pl.UTF-8
617 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
618 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
620 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
622 %package system-riscv64
623 Summary: QEMU system emulator for RISC-V (64 bit)
624 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
625 Group: Applications/Emulators
626 Requires: %{name}-common = %{version}-%{release}
629 %description system-riscv64
630 QEMU is a generic and open source processor emulator which achieves a
631 good emulation speed by using dynamic translation.
633 This package provides the system emulator with RISC-V (64 bit) CPU.
635 %description system-riscv64 -l pl.UTF-8
636 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
637 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
639 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
642 Summary: QEMU system emulator for Renesas RX
643 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
644 Group: Applications/Emulators
645 Requires: %{name}-common = %{version}-%{release}
648 %description system-rx
649 QEMU is a generic and open source processor emulator which achieves a
650 good emulation speed by using dynamic translation.
652 This package provides the system emulator with Renesas RX CPU.
654 %description system-rx -l pl.UTF-8
655 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
656 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
658 Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
660 %package system-s390x
661 Summary: QEMU system emulator for S390x (IBM Z)
662 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
663 Group: Applications/Emulators
664 Requires: %{name}-common = %{version}-%{release}
666 Obsoletes: qemu-kvm-system-s390x
668 %description system-s390x
669 QEMU is a generic and open source processor emulator which achieves a
670 good emulation speed by using dynamic translation.
672 This package provides the system emulator with S390x (IBM Z) CPU.
674 %description system-s390x -l pl.UTF-8
675 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
676 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
678 Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
681 Summary: QEMU system emulator for SH4
682 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
683 Group: Applications/Emulators
684 Requires: %{name}-common = %{version}-%{release}
686 Obsoletes: qemu-kvm-system-sh4
688 %description system-sh4
689 QEMU is a generic and open source processor emulator which achieves a
690 good emulation speed by using dynamic translation.
692 This package provides the system emulator with SH4 CPU.
694 %description system-sh4 -l pl.UTF-8
695 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
696 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
698 Ten pakiet zawiera emulator systemu z procesorem SH4.
700 %package system-sparc
701 Summary: QEMU system emulator for SPARC
702 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
703 Group: Applications/Emulators
704 Requires: %{name}-common = %{version}-%{release}
706 Obsoletes: qemu-kvm-system-sparc
708 %description system-sparc
709 QEMU is a generic and open source processor emulator which achieves a
710 good emulation speed by using dynamic translation.
712 This package provides the system emulator with SPARC/SPARC64 CPU.
714 %description system-sparc -l pl.UTF-8
715 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
716 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
718 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
720 %package system-tricore
721 Summary: QEMU system emulator for TriCore
722 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
723 Group: Applications/Emulators
724 Requires: %{name}-common = %{version}-%{release}
727 %description system-tricore
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 TriCore CPU.
733 %description system-sparc -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 TriCore.
740 Summary: QEMU system emulator for x86
741 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
742 Group: Applications/Emulators
743 Requires: %{name}-common = %{version}-%{release}
744 %{?with_system_seabios:Requires: seabios}
747 Obsoletes: qemu-kvm-system-x86
749 %description system-x86
750 QEMU is a generic and open source processor emulator which achieves a
751 good emulation speed by using dynamic translation.
753 This package provides the system emulator with x86 CPU.
755 %description system-x86 -l pl.UTF-8
756 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
757 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
759 Ten pakiet zawiera emulator systemu z procesorem x86.
761 %package system-xtensa
762 Summary: QEMU system emulator for Xtensa
763 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
764 Group: Applications/Emulators
765 Requires: %{name}-common = %{version}-%{release}
767 Obsoletes: qemu-kvm-system-xtensa
769 %description system-xtensa
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 the system emulator with Xtensa CPU.
775 %description system-xtensa -l pl.UTF-8
776 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
777 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
779 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
782 Summary: QEMU guest agent
783 Summary(pl.UTF-8): Agent gościa QEMU
785 Requires(post,preun,postun): systemd-units >= 38
786 Requires: glib2 >= 1:2.48
787 Requires: systemd-units >= 38
788 Obsoletes: qemu-kvm-guest-agent
789 Conflicts: SysVinit < 2.96-2
791 %description guest-agent
792 QEMU is a generic and open source processor emulator which achieves a
793 good emulation speed by using dynamic translation.
795 This package provides an agent to run inside guests, which
796 communicates with the host over a virtio-serial channel named
797 "org.qemu.guest_agent.0".
799 This package does not need to be installed on the host OS.
801 %description guest-agent -l pl.UTF-8
802 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
803 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
805 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
806 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
807 "org.qemu.guest_agent.0".
809 Ten pakiet nie musi być zainstalowany w systemie hosta.
811 %package module-block-curl
812 Summary: QEMU module for 'curl' block devices
813 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
814 Group: Applications/Emulators
815 Requires: %{name}-common = %{version}-%{release}
817 %description module-block-curl
818 QEMU block device support for CURL. It allows to access remote disks
819 over http, https, ftp and other transports provided by the CURL
822 %description module-block-curl -l pl.UTF-8
823 Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
824 dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
827 %package module-block-gluster
828 Summary: QEMU module for 'gluster' block devices
829 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
830 Group: Applications/Emulators
831 Requires: %{name}-common = %{version}-%{release}
832 Requires: glusterfs-libs >= 6
834 %description module-block-gluster
835 QEMU block device support for remote Gluster storage.
837 %description module-block-gluster -l pl.UTF-8
838 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
841 %package module-block-iscsi
842 Summary: QEMU module for 'iscsi' block devices
843 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
844 Group: Applications/Emulators
845 Requires: %{name}-common = %{version}-%{release}
846 Requires: libiscsi >= 1.9.0
848 %description module-block-iscsi
849 QEMU block device support for iSCSI volumes.
851 %description module-block-iscsi -l pl.UTF-8
852 Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
854 %package module-block-nfs
855 Summary: QEMU module for 'nfs' block devices
856 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
857 Group: Applications/Emulators
858 Requires: %{name}-common = %{version}-%{release}
859 Requires: libnfs >= 1.9.3
861 %description module-block-nfs
862 QEMU block device support for remote NFS storage.
864 %description module-block-nfs -l pl.UTF-8
865 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
868 %package module-block-rbd
869 Summary: QEMU module for 'rbd' block devices
870 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
871 Group: Applications/Emulators
872 Requires: %{name}-common = %{version}-%{release}
874 %description module-block-rbd
875 QEMU block device support for Ceph/RBD volumes.
877 %description module-block-rbd -l pl.UTF-8
878 Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
880 %package module-block-ssh
881 Summary: QEMU module for 'ssh' block devices
882 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
883 Group: Applications/Emulators
884 Requires: %{name}-common = %{version}-%{release}
885 Requires: libssh >= 0.8
887 %description module-block-ssh
888 QEMU block device support for accessing remote disks using the Secure
889 Shell (SSH) protocol.
891 %description module-block-ssh -l pl.UTF-8
892 Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
893 protokół SSH (Secure Shell).
895 %package module-ui-gtk
896 Summary: QEMU GTK UI driver
897 Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
898 Group: Applications/Emulators
899 Requires: %{name}-common = %{version}-%{release}
901 %description module-ui-gtk
904 %description module-ui-gtk -l pl.UTF-8
905 Sterownik interfejsu użytkownika GTK dla QEMU.
907 %package module-ui-sdl
908 Summary: QEMU SDL UI and audio driver
909 Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
910 Group: Applications/Emulators
911 Requires: %{name}-common = %{version}-%{release}
913 %description module-ui-sdl
914 QEMU SDL UI and audio driver.
916 %description module-ui-sdl -l pl.UTF-8
917 Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
919 %package -n systemtap-qemu
920 Summary: systemtap/dtrace probes for QEMU
921 Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
922 Group: Development/Tools
923 Requires: %{name}-common = %{version}-%{release}
924 Requires: systemtap-client
926 %description -n systemtap-qemu
927 systemtap/dtrace probes for QEMU.
929 %description -n systemtap-qemu -l pl.UTF-8
930 Sondy systemtap/dtrace dla QEMU.
941 %{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
943 %if %{with systemtap}
944 # don't require stap binary during build
945 %{__sed} -i -e "s/has 'stap'/true/" configure
953 install -d build-$target
957 --prefix=%{_prefix} \
958 --libdir=%{_libdir} \
959 --libexecdir=%{_libexecdir} \
960 --sysconfdir=%{_sysconfdir} \
961 --localstatedir=%{_localstatedir} \
962 --interp-prefix=%{_libdir}/qemu/lib-%%M \
965 --host-cc="%{__cc}" \
967 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
973 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
979 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
980 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
981 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
983 %{__enable_disable brlapi} \
985 --enable-capstone=system \
990 %{__enable_disable glusterfs} \
991 %{!?with_gtk3:--disable-gtk} \
992 %{__enable_disable iscsi libiscsi} \
993 %{__enable_disable libnfs} \
994 %{__enable_disable pmem libpmem} \
996 %{__enable_disable multipath mpath} \
1000 %{__enable_disable ceph rbd} \
1001 %{__enable_disable rdma} \
1002 %{__enable_disable sdl} \
1003 %{__enable_disable seccomp} \
1004 --enable-slirp=system \
1005 %{__enable_disable spice} \
1006 %{__enable_disable smartcard} \
1007 %{__enable_disable snappy} \
1009 %{__enable_disable usbredir usb-redir} \
1011 %{__enable_disable virgl virglrenderer} \
1016 %{!?with_vte:--disable-vte} \
1017 %{__enable_disable xen} \
1018 %{__enable_disable xkbcommon}
1020 %if %{with user_static}
1024 --disable-capstone \
1030 --disable-guest-agent \
1031 --disable-guest-agent-msi \
1033 --disable-linux-io-uring \
1041 --disable-tcmalloc \
1044 --disable-xkbcommon \
1049 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1052 rm -rf $RPM_BUILD_ROOT
1053 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
1054 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1055 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
1057 %if %{with user_static}
1058 %{__make} -C build-static install \
1059 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1060 DESTDIR=$RPM_BUILD_ROOT
1062 # Give all QEMU user emulators a -static suffix
1063 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
1064 %{__mv} $src $src-static
1069 %{__make} -C build-dynamic install \
1070 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1071 DESTDIR=$RPM_BUILD_ROOT
1073 # let rpm generate dependencies
1074 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1076 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1078 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1079 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1084 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1086 %ifarch %{ix86} %{x8664} x32
1087 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1088 install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
1091 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1092 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1093 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1095 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1096 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1097 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1099 # For the qemu-guest-agent subpackage install the systemd
1100 # service and udev rules.
1101 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1102 install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
1104 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1105 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1107 cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
1111 %ifnarch %{ix86} %{x8664} x32
1125 microblaze microblazeel \
1141 %ifnarch ppc ppc64 ppc64le
1144 %ifnarch sparc sparc64
1145 sparc sparc32plus sparc64 \
1156 if [ -n "$BINFMT_CPUS" ]; then
1157 for cpu in $BINFMT_CPUS; do
1158 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1160 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1161 %{__mv} $i ${i%.conf}-dynamic.conf
1164 %if %{with user_static}
1165 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1166 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1167 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1172 %if %{with system_seabios}
1173 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1174 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1175 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1177 if [ -e "/usr/share/seabios/$bn" ] ; then
1178 ln -sf "/usr/share/seabios/$bn" "$f"
1184 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1185 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1191 for t in client server; do
1192 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1195 # Windows installer icon, not used
1196 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1198 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1200 # cleanup Sphinx files
1201 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{interop,specs,system,tools,user}/{.buildinfo,objects.inv}
1204 rm -rf $RPM_BUILD_ROOT
1207 %groupadd -g 160 kvm
1208 %groupadd -g 276 qemu
1209 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1212 %systemd_post ksm.service
1213 %systemd_post ksmtuned.service
1216 %systemd_preun ksm.service
1217 %systemd_preun ksmtuned.service
1220 if [ "$1" = "0" ]; then
1227 %triggerpostun common -- qemu-common < 1.6.1-4
1228 %systemd_trigger ksm.service
1229 %systemd_trigger ksmtuned.service
1230 %systemd_trigger qemu-pr-helper.service
1233 %systemd_post systemd-binfmt.service
1236 %systemd_post systemd-binfmt.service
1239 %systemd_post systemd-binfmt.service
1242 %systemd_post systemd-binfmt.service
1245 /sbin/chkconfig --add qemu-ga
1246 %service qemu-ga restart "qemu-ga"
1250 if [ "$1" = "0" ]; then
1251 %service qemu-ga stop
1252 /sbin/chkconfig --del qemu-ga
1254 %systemd_preun qemu-guest-agent.service
1260 %defattr(644,root,root,755)
1262 %files common -f %{name}.lang
1263 %defattr(644,root,root,755)
1264 %doc LICENSE README.rst pc-bios/edk2-licenses.txt
1265 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1266 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1267 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1268 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1270 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1271 %{systemdunitdir}/ksm.service
1272 %{systemdunitdir}/ksmtuned.service
1273 %{systemdunitdir}/qemu-pr-helper.service
1274 %{systemdunitdir}/qemu-pr-helper.socket
1275 %attr(755,root,root) %{_bindir}/elf2dmp
1276 %attr(755,root,root) %{_bindir}/ivshmem-client
1277 %attr(755,root,root) %{_bindir}/ivshmem-server
1278 %attr(755,root,root) %{_bindir}/qemu-edid
1279 %if %{with xkbcommon}
1280 %attr(755,root,root) %{_bindir}/qemu-keymap
1282 %attr(755,root,root) %{_bindir}/qemu-nbd
1283 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1284 %attr(755,root,root) %{_bindir}/qemu-storage-daemon
1285 %attr(755,root,root) %{_sbindir}/ksmctl
1286 %attr(755,root,root) %{_sbindir}/ksmtuned
1287 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1289 %attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1291 %attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
1292 %attr(755,root,root) %{_libexecdir}/virtiofsd
1293 %dir %{_libdir}/%{name}
1294 # modules without too many external dependencies
1295 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1296 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1297 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1299 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1301 %if %{with pulseaudio}
1302 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1305 %attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
1307 %attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
1308 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
1309 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
1310 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
1311 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1312 %if %{with usbredir}
1313 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1315 %if %{with smartcard}
1316 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1319 %attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1320 %attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1323 %attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1324 %attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
1325 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1326 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
1328 %dir %{_datadir}/%{name}
1329 %dir %{_datadir}/%{name}/firmware
1330 %{_datadir}/%{name}/keymaps
1331 %{_datadir}/%{name}/trace-events-all
1332 %dir %{_datadir}/%{name}/vhost-user
1334 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1336 %{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
1337 %{_desktopdir}/qemu.desktop
1338 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1339 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1340 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1341 %{_mandir}/man1/qemu.1*
1342 %{_mandir}/man1/virtfs-proxy-helper.1*
1343 %{_mandir}/man1/virtiofsd.1*
1344 %{_mandir}/man7/qemu-block-drivers.7*
1345 %{_mandir}/man7/qemu-cpu-models.7*
1346 %{_mandir}/man7/qemu-qmp-ref.7*
1347 %{_mandir}/man8/qemu-nbd.8*
1348 %{_mandir}/man8/qemu-pr-helper.8*
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_bindir}/qemu-img
1354 %{_mandir}/man1/qemu-img.1*
1357 %defattr(644,root,root,755)
1358 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1359 %attr(755,root,root) %{_bindir}/qemu-aarch64
1360 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1361 %attr(755,root,root) %{_bindir}/qemu-alpha
1362 %attr(755,root,root) %{_bindir}/qemu-arm
1363 %attr(755,root,root) %{_bindir}/qemu-armeb
1364 %attr(755,root,root) %{_bindir}/qemu-cris
1365 %attr(755,root,root) %{_bindir}/qemu-hppa
1366 %attr(755,root,root) %{_bindir}/qemu-i386
1367 %attr(755,root,root) %{_bindir}/qemu-io
1368 %attr(755,root,root) %{_bindir}/qemu-m68k
1369 %attr(755,root,root) %{_bindir}/qemu-microblaze
1370 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1371 %attr(755,root,root) %{_bindir}/qemu-mips
1372 %attr(755,root,root) %{_bindir}/qemu-mipsel
1373 %attr(755,root,root) %{_bindir}/qemu-mips64
1374 %attr(755,root,root) %{_bindir}/qemu-mips64el
1375 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1376 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1377 %attr(755,root,root) %{_bindir}/qemu-nios2
1378 %attr(755,root,root) %{_bindir}/qemu-or1k
1379 %attr(755,root,root) %{_bindir}/qemu-ppc
1380 %attr(755,root,root) %{_bindir}/qemu-ppc64
1381 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1382 %attr(755,root,root) %{_bindir}/qemu-riscv32
1383 %attr(755,root,root) %{_bindir}/qemu-riscv64
1384 %attr(755,root,root) %{_bindir}/qemu-s390x
1385 %attr(755,root,root) %{_bindir}/qemu-sh4
1386 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1387 %attr(755,root,root) %{_bindir}/qemu-sparc
1388 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1389 %attr(755,root,root) %{_bindir}/qemu-sparc64
1390 %attr(755,root,root) %{_bindir}/qemu-x86_64
1391 %attr(755,root,root) %{_bindir}/qemu-xtensa
1392 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1394 %if %{with user_static}
1396 %defattr(644,root,root,755)
1397 /usr/lib/binfmt.d/qemu-*-static.conf
1398 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1399 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1400 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1401 %attr(755,root,root) %{_bindir}/qemu-arm-static
1402 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1403 %attr(755,root,root) %{_bindir}/qemu-cris-static
1404 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1405 %attr(755,root,root) %{_bindir}/qemu-i386-static
1406 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1407 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1408 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1409 %attr(755,root,root) %{_bindir}/qemu-mips-static
1410 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1411 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1412 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1413 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1414 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1415 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1416 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1417 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1418 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1419 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1420 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1421 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1422 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1423 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1424 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1425 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1426 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1427 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1428 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1429 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1430 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1431 %attr(755,root,root) %{_bindir}/qemu-trace-stap-static
1434 %files system-aarch64
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1437 %{_datadir}/%{name}/edk2-aarch64-code.fd
1438 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1443 %{_datadir}/%{name}/palcode-clipper
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_bindir}/qemu-system-arm
1448 %{_datadir}/%{name}/edk2-arm-code.fd
1449 %{_datadir}/%{name}/edk2-arm-vars.fd
1450 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1451 %{_datadir}/%{name}/npcm7xx_bootrom.bin
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_bindir}/qemu-system-avr
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_bindir}/qemu-system-cris
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1464 %{_datadir}/%{name}/hppa-firmware.img
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1470 %files system-microblaze
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1473 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_bindir}/qemu-system-mips
1478 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1479 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1480 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1497 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1498 %{_datadir}/%{name}/bamboo.dtb
1499 %{_datadir}/%{name}/canyonlands.dtb
1500 %{_datadir}/%{name}/openbios-ppc
1501 %{_datadir}/%{name}/petalogix-ml605.dtb
1502 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1503 %{_datadir}/%{name}/qemu_vga.ndrv
1504 %{_datadir}/%{name}/skiboot.lid
1505 %{_datadir}/%{name}/slof.bin
1506 %{_datadir}/%{name}/u-boot.e500
1507 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1509 %files system-riscv32
1510 %defattr(644,root,root,755)
1511 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1512 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1513 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.elf
1515 %files system-riscv64
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1518 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
1519 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.elf
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_bindir}/qemu-system-rx
1526 %defattr(644,root,root,755)
1527 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1528 %{_datadir}/%{name}/s390-ccw.img
1529 %{_datadir}/%{name}/s390-netboot.img
1532 %defattr(644,root,root,755)
1533 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1534 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1537 %defattr(644,root,root,755)
1538 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1539 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1540 %{_datadir}/%{name}/QEMU,cgthree.bin
1541 %{_datadir}/%{name}/QEMU,tcx.bin
1542 %{_datadir}/%{name}/openbios-sparc32
1543 %{_datadir}/%{name}/openbios-sparc64
1545 %files system-tricore
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{_bindir}/qemu-system-i386
1552 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1553 %ifarch %{ix86} %{x8664} x32
1554 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1555 /lib/udev/rules.d/80-kvm.rules
1557 %{_datadir}/%{name}/bios.bin
1558 %{_datadir}/%{name}/bios-256k.bin
1559 %{_datadir}/%{name}/bios-microvm.bin
1560 %{_datadir}/%{name}/edk2-i386-code.fd
1561 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1562 %{_datadir}/%{name}/edk2-i386-vars.fd
1563 %{_datadir}/%{name}/edk2-x86_64-code.fd
1564 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1565 %{_datadir}/%{name}/efi-e1000e.rom
1566 %{_datadir}/%{name}/efi-e1000.rom
1567 %{_datadir}/%{name}/efi-eepro100.rom
1568 %{_datadir}/%{name}/efi-ne2k_pci.rom
1569 %{_datadir}/%{name}/efi-pcnet.rom
1570 %{_datadir}/%{name}/efi-rtl8139.rom
1571 %{_datadir}/%{name}/efi-virtio.rom
1572 %{_datadir}/%{name}/efi-vmxnet3.rom
1573 %{_datadir}/%{name}/kvmvapic.bin
1574 %{_datadir}/%{name}/linuxboot.bin
1575 %{_datadir}/%{name}/linuxboot_dma.bin
1576 %{_datadir}/%{name}/multiboot.bin
1577 %{_datadir}/%{name}/pvh.bin
1578 %{_datadir}/%{name}/pxe-e1000.rom
1579 %{_datadir}/%{name}/pxe-eepro100.rom
1580 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1581 %{_datadir}/%{name}/pxe-pcnet.rom
1582 %{_datadir}/%{name}/pxe-rtl8139.rom
1583 %{_datadir}/%{name}/pxe-virtio.rom
1584 %{_datadir}/%{name}/qboot.rom
1585 %{_datadir}/%{name}/sgabios.bin
1586 %{_datadir}/%{name}/vgabios.bin
1587 %{_datadir}/%{name}/vgabios-ati.bin
1588 %{_datadir}/%{name}/vgabios-bochs-display.bin
1589 %{_datadir}/%{name}/vgabios-cirrus.bin
1590 %{_datadir}/%{name}/vgabios-qxl.bin
1591 %{_datadir}/%{name}/vgabios-ramfb.bin
1592 %{_datadir}/%{name}/vgabios-stdvga.bin
1593 %{_datadir}/%{name}/vgabios-virtio.bin
1594 %{_datadir}/%{name}/vgabios-vmware.bin
1595 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1596 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1597 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1598 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1600 %files system-xtensa
1601 %defattr(644,root,root,755)
1602 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1603 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_bindir}/qemu-ga
1608 /lib/udev/rules.d/99-qemu-guest-agent.rules
1609 %{systemdunitdir}/qemu-guest-agent.service
1610 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1611 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1612 %{_mandir}/man7/qemu-ga-ref.7*
1613 %{_mandir}/man8/qemu-ga.8*
1615 %files module-block-curl
1616 %defattr(644,root,root,755)
1617 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1619 %if %{with glusterfs}
1620 %files module-block-gluster
1621 %defattr(644,root,root,755)
1622 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1626 %files module-block-iscsi
1627 %defattr(644,root,root,755)
1628 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1632 %files module-block-nfs
1633 %defattr(644,root,root,755)
1634 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1638 %files module-block-rbd
1639 %defattr(644,root,root,755)
1640 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1643 %files module-block-ssh
1644 %defattr(644,root,root,755)
1645 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
1648 %files module-ui-gtk
1649 %defattr(644,root,root,755)
1650 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1654 %files module-ui-sdl
1655 %defattr(644,root,root,755)
1656 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1657 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1660 %if %{with systemtap}
1661 %files -n systemtap-qemu
1662 %defattr(644,root,root,755)
1663 %attr(755,root,root) %{_bindir}/qemu-trace-stap
1664 %{_datadir}/systemtap/tapset/qemu-*.stp
1665 %{_mandir}/man1/qemu-trace-stap.1*