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 BuildRequires: bcc >= 0.16.21-2
82 %{?with_brlapi:BuildRequires: brlapi-devel}
83 BuildRequires: bzip2-devel
84 BuildRequires: capstone-devel >= 3.0.5
85 %{?with_ceph:BuildRequires: ceph-devel}
86 BuildRequires: curl-devel
87 BuildRequires: cyrus-sasl-devel >= 2
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.16}
93 BuildRequires: libaio-devel
94 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
95 BuildRequires: libcap-ng-devel
96 %{?with_opengl:BuildRequires: libepoxy-devel}
97 BuildRequires: libfdt-devel >= 1.4.2
98 %{?with_rdma:BuildRequires: libibverbs-devel}
99 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
100 %{?with_rdma:BuildRequires: libibumad-devel}
101 BuildRequires: libjpeg-devel
102 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
103 BuildRequires: libpng-devel
104 %{?with_rdma:BuildRequires: librdmacm-devel}
105 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
106 BuildRequires: libssh-devel >= 0.8
107 BuildRequires: libslirp-devel >= 4.0.0
109 #BuildRequires: libtasn1-devel
110 BuildRequires: libusb-devel >= 1.0.22
111 BuildRequires: liburing-devel
112 BuildRequires: libuuid-devel
113 BuildRequires: libxml2-devel >= 2.0
114 %{?with_lttng:BuildRequires: lttng-ust-devel}
115 BuildRequires: lzfse-devel
116 BuildRequires: lzo-devel >= 2
118 %{?with_multipath:BuildRequires: multipath-tools-devel}
119 BuildRequires: ncurses-devel
120 # also libgcrypt-devel >= 1.5.0 possible, but gnutls already pulls nettle
121 BuildRequires: nettle-devel >= 2.7.1
123 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
124 BuildRequires: numactl-devel
125 BuildRequires: pam-devel
126 BuildRequires: perl-Encode
127 BuildRequires: perl-tools-pod
128 BuildRequires: pixman-devel >= 0.21.8
129 BuildRequires: pkgconfig
130 %{?with_pmem:BuildRequires: pmdk-devel}
131 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
132 BuildRequires: python3 >= 1:3.5
133 BuildRequires: rpmbuild(macros) >= 1.644
134 %{?with_system_seabios:BuildRequires: seabios}
135 BuildRequires: sed >= 4.0
136 %{?with_snappy:BuildRequires: snappy-devel}
137 BuildRequires: sphinx-pdg
139 BuildRequires: spice-protocol >= 0.12.3
140 BuildRequires: spice-server-devel >= 0.12.5
142 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
143 BuildRequires: tar >= 1:1.22
144 BuildRequires: texi2html
145 BuildRequires: texinfo
146 %{?with_multipath:BuildRequires: udev-devel}
147 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
148 %{?with_lttng:BuildRequires: userspace-rcu-devel}
149 BuildRequires: vde2-devel
151 %{?with_virgl:BuildRequires: virglrenderer-devel}
152 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
153 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
154 # min version is 4.2, more features up to 4.10
155 %{?with_xen:BuildRequires: xen-devel >= 4.10}
156 BuildRequires: xfsprogs-devel
157 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
158 BuildRequires: xorg-lib-libX11-devel
160 BuildRequires: zlib-devel
161 BuildRequires: zstd-devel >= 1.4.0
162 %if %{with user_static}
163 BuildRequires: glib2-static >= 1:2.48
164 BuildRequires: glibc-static
165 BuildRequires: pcre-static
166 BuildRequires: zlib-static
168 Requires: %{name}-img = %{version}-%{release}
169 Requires: %{name}-system-aarch64 = %{version}-%{release}
170 Requires: %{name}-system-alpha = %{version}-%{release}
171 Requires: %{name}-system-arm = %{version}-%{release}
172 Requires: %{name}-system-avr = %{version}-%{release}
173 Requires: %{name}-system-cris = %{version}-%{release}
174 Requires: %{name}-system-hppa = %{version}-%{release}
175 Requires: %{name}-system-m68k = %{version}-%{release}
176 Requires: %{name}-system-microblaze = %{version}-%{release}
177 Requires: %{name}-system-mips = %{version}-%{release}
178 Requires: %{name}-system-moxie = %{version}-%{release}
179 Requires: %{name}-system-nios2 = %{version}-%{release}
180 Requires: %{name}-system-or1k = %{version}-%{release}
181 Requires: %{name}-system-ppc = %{version}-%{release}
182 Requires: %{name}-system-riscv32 = %{version}-%{release}
183 Requires: %{name}-system-riscv64 = %{version}-%{release}
184 Requires: %{name}-system-rx = %{version}-%{release}
185 Requires: %{name}-system-s390x = %{version}-%{release}
186 Requires: %{name}-system-sh4 = %{version}-%{release}
187 Requires: %{name}-system-sparc = %{version}-%{release}
188 Requires: %{name}-system-tricore = %{version}-%{release}
189 Requires: %{name}-system-x86 = %{version}-%{release}
190 Requires: %{name}-system-xtensa = %{version}-%{release}
191 Requires: %{name}-user = %{version}-%{release}
194 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
196 %define systempkg_req \
197 Requires: capstone >= 3.0.5 \
198 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
199 Requires: libfdt >= 1.4.2 \
200 %if %{with seccomp} \
201 Requires: libseccomp >= 2.3.0 \
203 Requires: libslirp >= 4.0.0 \
204 Requires: libusb >= 1.0.22 \
205 Requires: pixman >= 0.21.8 \
207 Requires: spice-server-libs >= 0.12.5 \
209 %if %{with usbredir} \
210 Requires: usbredir >= 0.6 \
212 Requires: zstd >= 1.4.0
214 # don't strip/chrpath anything in there; these are boot images, roms etc
215 %define _noautostrip .*%{_datadir}/qemu/.*
216 %define _noautochrpath .*%{_datadir}/qemu/.*
219 QEMU is a FAST! processor emulator. By using dynamic translation it
220 achieves a reasonnable speed while being easy to port on new host
221 CPUs. QEMU has two operating modes:
223 - User mode emulation. In this mode, QEMU can launch Linux processes
224 compiled for one CPU on another CPU. Linux system calls are converted
225 because of endianness and 32/64 bit mismatches. Wine (Windows
226 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
228 - Full system emulation. In this mode, QEMU emulates a full system,
229 including a processor and various peripherials. It can also be used to
230 provide virtual hosting of several virtual PC on a single server.
232 %description -l pl.UTF-8
233 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
234 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
235 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
237 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
238 procesy linuksowe skompilowane dla jednego procesora na innym
239 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
240 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
241 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
244 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
245 włączając w to procesor i różne urządzenia peryferyjne. Może być także
246 używane do wirtualnego hostowania kilku wirtualnych pecetów na
247 pojedynczym serwerze.
250 Summary: QEMU common files needed by all QEMU targets
251 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
252 Group: Applications/Emulators
253 Requires(post,preun,postun): systemd-units >= 38
254 Requires(postun): /usr/sbin/groupdel
255 Requires(postun): /usr/sbin/userdel
256 Requires(pre): /bin/id
257 Requires(pre): /usr/bin/getgid
258 Requires(pre): /usr/sbin/groupadd
259 Requires(pre): /usr/sbin/useradd
260 Requires: glib2 >= 1:2.48
261 Requires: gnutls-libs >= 3.1.18
262 %{?with_gtk3:Requires: gtk+3 >= 3.16}
263 Requires: nettle >= 2.7.1
264 Requires: systemd-units >= 38
265 %{?with_vte:Requires: vte >= 0.32.0}
266 Provides: group(qemu)
268 Obsoletes: qemu-kvm-common
269 Obsoletes: qemu-module-block-archipelago < 2.9.0
270 Conflicts: qemu < 1.0-2
273 QEMU is a generic and open source processor emulator which achieves a
274 good emulation speed by using dynamic translation.
276 This package provides the common files needed by all QEMU targets.
278 %description common -l pl.UTF-8
279 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
280 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
282 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
286 Summary: QEMU command line tool for manipulating disk images
287 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
288 Group: Applications/Emulators
289 Obsoletes: qemu-kvm-img
290 Conflicts: qemu < 1.0-2
293 This package provides a command line tool for manipulating disk
296 %description img -l pl.UTF-8
297 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
301 Summary: QEMU user mode emulation of qemu targets
302 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
303 Group: Applications/Emulators
304 Requires: %{name}-common = %{version}-%{release}
305 Requires(post,postun): systemd-units >= 38
306 Requires: systemd-units >= 38
307 Obsoletes: qemu-kvm-user
310 QEMU is a generic and open source processor emulator which achieves a
311 good emulation speed by using dynamic translation.
313 This package provides the user mode emulation of QEMU targets.
315 %description user -l pl.UTF-8
316 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
317 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
319 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
322 Summary: QEMU user mode emulation of qemu targets static build
323 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
324 Group: Applications/Emulators
325 Requires(post,postun): systemd-units >= 38
326 Requires: systemd-units >= 38
328 %description user-static
329 QEMU is a generic and open source processor emulator which achieves a
330 good emulation speed by using dynamic translation.
332 This package provides the user mode emulation of qemu targets built as
335 %description user-static -l pl.UTF-8
336 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
337 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
339 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
340 oparciu o programy wykonywalne zbudowane statycznie.
342 %package system-aarch64
343 Summary: QEMU system emulator for AArch64
344 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
345 Group: Applications/Emulators
346 Requires: %{name}-common = %{version}-%{release}
348 Obsoletes: qemu-kvm-system-aarch64
350 %description system-aarch64
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 AArch64 (ARM64) CPU.
356 %description system-aarch64 -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 AArch64 (ARM64).
362 %package system-alpha
363 Summary: QEMU system emulator for Alpha
364 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
365 Group: Applications/Emulators
366 Requires: %{name}-common = %{version}-%{release}
368 Obsoletes: qemu-kvm-system-alpha
370 %description system-alpha
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 with Alpha CPU.
376 %description system-alpha -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 Alpha.
383 Summary: QEMU system emulator for 32-bit ARM
384 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
385 Group: Applications/Emulators
386 Requires: %{name}-common = %{version}-%{release}
388 Obsoletes: qemu-kvm-system-arm
390 %description system-arm
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 for 32-bit ARM.
396 %description system-arm -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 32-bitowym procesorem ARM.
403 Summary: QEMU system emulator for AVR
404 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AVR
405 Group: Applications/Emulators
406 Requires: %{name}-common = %{version}-%{release}
408 Obsoletes: qemu-kvm-system-avr
410 %description system-avr
411 QEMU is a generic and open source processor emulator which achieves a
412 good emulation speed by using dynamic translation.
414 This package provides the system emulator for AVR.
416 %description system-avr -l pl.UTF-8
417 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
418 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
420 Ten pakiet zawiera emulator systemu z procesorem AVR.
423 Summary: QEMU system emulator for CRIS
424 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
425 Group: Applications/Emulators
426 Requires: %{name}-common = %{version}-%{release}
428 Obsoletes: qemu-kvm-system-cris
430 %description system-cris
431 QEMU is a generic and open source processor emulator which achieves a
432 good emulation speed by using dynamic translation.
434 This package provides the system emulator with CRIS CPU.
436 %description system-cris -l pl.UTF-8
437 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
438 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
440 Ten pakiet zawiera emulator systemu z procesorem CRIS.
443 Summary: QEMU system emulator for HP/PA
444 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
445 Group: Applications/Emulators
446 Requires: %{name}-common = %{version}-%{release}
449 %description system-hppa
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 HP/PA (PA-RISC) CPU.
455 %description system-hppa -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 HP/PA (PA-RISC).
462 Summary: QEMU system emulator for m68k
463 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
464 Group: Applications/Emulators
465 Requires: %{name}-common = %{version}-%{release}
467 Obsoletes: qemu-kvm-system-m68k
469 %description system-m68k
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 m68k (Motorola 68xxx)
476 %description system-m68k -l pl.UTF-8
477 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
478 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
480 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
483 %package system-microblaze
484 Summary: QEMU system emulator for MicroBlaze
485 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
486 Group: Applications/Emulators
487 Requires: %{name}-common = %{version}-%{release}
489 Obsoletes: qemu-kvm-system-microblaze
491 %description system-microblaze
492 QEMU is a generic and open source processor emulator which achieves a
493 good emulation speed by using dynamic translation.
495 This package provides the system emulator with MicroBlaze CPU.
497 %description system-microblaze -l pl.UTF-8
498 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
499 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
501 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
504 Summary: QEMU system emulator for MIPS
505 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
506 Group: Applications/Emulators
507 Requires: %{name}-common = %{version}-%{release}
509 Obsoletes: qemu-kvm-system-mips
511 %description system-mips
512 QEMU is a generic and open source processor emulator which achieves a
513 good emulation speed by using dynamic translation.
515 This package provides the system emulator with MIPS CPU.
517 %description system-mips -l pl.UTF-8
518 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
519 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
521 Ten pakiet zawiera emulator systemu z procesorem MIPS.
523 %package system-moxie
524 Summary: QEMU system emulator for Moxie
525 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
526 Group: Applications/Emulators
527 Requires: %{name}-common = %{version}-%{release}
530 %description system-moxie
531 QEMU is a generic and open source processor emulator which achieves a
532 good emulation speed by using dynamic translation.
534 This package provides the system emulator with Moxie CPU.
536 %description system-moxie -l pl.UTF-8
537 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
538 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
540 Ten pakiet zawiera emulator systemu z procesorem Moxie.
542 %package system-nios2
543 Summary: QEMU system emulator for Nios II
544 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
545 Group: Applications/Emulators
546 Requires: %{name}-common = %{version}-%{release}
549 %description system-nios2
550 QEMU is a generic and open source processor emulator which achieves a
551 good emulation speed by using dynamic translation.
553 This package provides the system emulator with Nios II CPU.
555 %description system-nios2 -l pl.UTF-8
556 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
557 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
559 Ten pakiet zawiera emulator systemu z procesorem Nios II.
562 Summary: QEMU system emulator for OpenRISC
563 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
564 Group: Applications/Emulators
565 Requires: %{name}-common = %{version}-%{release}
567 Obsoletes: qemu-kvm-system-or1k
568 Obsoletes: qemu-system-or32
570 %description system-or1k
571 QEMU is a generic and open source processor emulator which achieves a
572 good emulation speed by using dynamic translation.
574 This package provides the system emulator with OpenRISC CPU.
576 %description system-or1k -l pl.UTF-8
577 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
578 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
580 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
583 Summary: QEMU system emulator for PowerPC
584 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
585 Group: Applications/Emulators
586 Requires: %{name}-common = %{version}-%{release}
588 Obsoletes: qemu-kvm-system-ppc
590 %description system-ppc
591 QEMU is a generic and open source processor emulator which achieves a
592 good emulation speed by using dynamic translation.
594 This package provides the system emulator with PowerPC CPU.
596 %description system-ppc -l pl.UTF-8
597 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
598 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
600 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
602 %package system-riscv32
603 Summary: QEMU system emulator for RISC-V (32 bit)
604 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
605 Group: Applications/Emulators
606 Requires: %{name}-common = %{version}-%{release}
609 %description system-riscv32
610 QEMU is a generic and open source processor emulator which achieves a
611 good emulation speed by using dynamic translation.
613 This package provides the system emulator with RISC-V (32 bit) CPU.
615 %description system-riscv32 -l pl.UTF-8
616 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
617 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
619 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
621 %package system-riscv64
622 Summary: QEMU system emulator for RISC-V (64 bit)
623 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
624 Group: Applications/Emulators
625 Requires: %{name}-common = %{version}-%{release}
628 %description system-riscv64
629 QEMU is a generic and open source processor emulator which achieves a
630 good emulation speed by using dynamic translation.
632 This package provides the system emulator with RISC-V (64 bit) CPU.
634 %description system-riscv64 -l pl.UTF-8
635 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
636 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
638 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
641 Summary: QEMU system emulator for Renesas RX
642 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
643 Group: Applications/Emulators
644 Requires: %{name}-common = %{version}-%{release}
647 %description system-rx
648 QEMU is a generic and open source processor emulator which achieves a
649 good emulation speed by using dynamic translation.
651 This package provides the system emulator with Renesas RX CPU.
653 %description system-rx -l pl.UTF-8
654 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
655 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
657 Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
659 %package system-s390x
660 Summary: QEMU system emulator for S390x (IBM Z)
661 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
662 Group: Applications/Emulators
663 Requires: %{name}-common = %{version}-%{release}
665 Obsoletes: qemu-kvm-system-s390x
667 %description system-s390x
668 QEMU is a generic and open source processor emulator which achieves a
669 good emulation speed by using dynamic translation.
671 This package provides the system emulator with S390x (IBM Z) CPU.
673 %description system-s390x -l pl.UTF-8
674 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
675 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
677 Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
680 Summary: QEMU system emulator for SH4
681 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
682 Group: Applications/Emulators
683 Requires: %{name}-common = %{version}-%{release}
685 Obsoletes: qemu-kvm-system-sh4
687 %description system-sh4
688 QEMU is a generic and open source processor emulator which achieves a
689 good emulation speed by using dynamic translation.
691 This package provides the system emulator with SH4 CPU.
693 %description system-sh4 -l pl.UTF-8
694 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
695 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
697 Ten pakiet zawiera emulator systemu z procesorem SH4.
699 %package system-sparc
700 Summary: QEMU system emulator for SPARC
701 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
702 Group: Applications/Emulators
703 Requires: %{name}-common = %{version}-%{release}
705 Obsoletes: qemu-kvm-system-sparc
707 %description system-sparc
708 QEMU is a generic and open source processor emulator which achieves a
709 good emulation speed by using dynamic translation.
711 This package provides the system emulator with SPARC/SPARC64 CPU.
713 %description system-sparc -l pl.UTF-8
714 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
715 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
717 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
719 %package system-tricore
720 Summary: QEMU system emulator for TriCore
721 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
722 Group: Applications/Emulators
723 Requires: %{name}-common = %{version}-%{release}
726 %description system-tricore
727 QEMU is a generic and open source processor emulator which achieves a
728 good emulation speed by using dynamic translation.
730 This package provides the system emulator with TriCore CPU.
732 %description system-sparc -l pl.UTF-8
733 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
734 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
736 Ten pakiet zawiera emulator systemu z procesorem TriCore.
739 Summary: QEMU system emulator for x86
740 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
741 Group: Applications/Emulators
742 Requires: %{name}-common = %{version}-%{release}
743 %{?with_system_seabios:Requires: seabios}
746 Obsoletes: qemu-kvm-system-x86
748 %description system-x86
749 QEMU is a generic and open source processor emulator which achieves a
750 good emulation speed by using dynamic translation.
752 This package provides the system emulator with x86 CPU.
754 %description system-x86 -l pl.UTF-8
755 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
756 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
758 Ten pakiet zawiera emulator systemu z procesorem x86.
760 %package system-xtensa
761 Summary: QEMU system emulator for Xtensa
762 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
763 Group: Applications/Emulators
764 Requires: %{name}-common = %{version}-%{release}
766 Obsoletes: qemu-kvm-system-xtensa
768 %description system-xtensa
769 QEMU is a generic and open source processor emulator which achieves a
770 good emulation speed by using dynamic translation.
772 This package provides the system emulator with Xtensa CPU.
774 %description system-xtensa -l pl.UTF-8
775 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
776 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
778 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
781 Summary: QEMU guest agent
782 Summary(pl.UTF-8): Agent gościa QEMU
784 Requires(post,preun,postun): systemd-units >= 38
785 Requires: glib2 >= 1:2.48
786 Requires: systemd-units >= 38
787 Obsoletes: qemu-kvm-guest-agent
788 Conflicts: SysVinit < 2.96-2
790 %description guest-agent
791 QEMU is a generic and open source processor emulator which achieves a
792 good emulation speed by using dynamic translation.
794 This package provides an agent to run inside guests, which
795 communicates with the host over a virtio-serial channel named
796 "org.qemu.guest_agent.0".
798 This package does not need to be installed on the host OS.
800 %description guest-agent -l pl.UTF-8
801 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
802 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
804 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
805 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
806 "org.qemu.guest_agent.0".
808 Ten pakiet nie musi być zainstalowany w systemie hosta.
810 %package module-block-curl
811 Summary: QEMU module for 'curl' block devices
812 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
813 Group: Applications/Emulators
814 Requires: %{name}-common = %{version}-%{release}
816 %description module-block-curl
817 QEMU block device support for CURL. It allows to access remote disks
818 over http, https, ftp and other transports provided by the CURL
821 %description module-block-curl -l pl.UTF-8
822 Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
823 dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
826 %package module-block-gluster
827 Summary: QEMU module for 'gluster' block devices
828 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
829 Group: Applications/Emulators
830 Requires: %{name}-common = %{version}-%{release}
831 Requires: glusterfs-libs >= 6
833 %description module-block-gluster
834 QEMU block device support for remote Gluster storage.
836 %description module-block-gluster -l pl.UTF-8
837 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
840 %package module-block-iscsi
841 Summary: QEMU module for 'iscsi' block devices
842 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
843 Group: Applications/Emulators
844 Requires: %{name}-common = %{version}-%{release}
845 Requires: libiscsi >= 1.9.0
847 %description module-block-iscsi
848 QEMU block device support for iSCSI volumes.
850 %description module-block-iscsi -l pl.UTF-8
851 Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
853 %package module-block-nfs
854 Summary: QEMU module for 'nfs' block devices
855 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
856 Group: Applications/Emulators
857 Requires: %{name}-common = %{version}-%{release}
858 Requires: libnfs >= 1.9.3
860 %description module-block-nfs
861 QEMU block device support for remote NFS storage.
863 %description module-block-nfs -l pl.UTF-8
864 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
867 %package module-block-rbd
868 Summary: QEMU module for 'rbd' block devices
869 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
870 Group: Applications/Emulators
871 Requires: %{name}-common = %{version}-%{release}
873 %description module-block-rbd
874 QEMU block device support for Ceph/RBD volumes.
876 %description module-block-rbd -l pl.UTF-8
877 Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
879 %package module-block-ssh
880 Summary: QEMU module for 'ssh' block devices
881 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
882 Group: Applications/Emulators
883 Requires: %{name}-common = %{version}-%{release}
884 Requires: libssh >= 0.8
886 %description module-block-ssh
887 QEMU block device support for accessing remote disks using the Secure
888 Shell (SSH) protocol.
890 %description module-block-ssh -l pl.UTF-8
891 Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
892 protokół SSH (Secure Shell).
894 %package module-ui-gtk
895 Summary: QEMU GTK UI driver
896 Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
897 Group: Applications/Emulators
898 Requires: %{name}-common = %{version}-%{release}
900 %description module-ui-gtk
903 %description module-ui-gtk -l pl.UTF-8
904 Sterownik interfejsu użytkownika GTK dla QEMU.
906 %package module-ui-sdl
907 Summary: QEMU SDL UI and audio driver
908 Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
909 Group: Applications/Emulators
910 Requires: %{name}-common = %{version}-%{release}
912 %description module-ui-sdl
913 QEMU SDL UI and audio driver.
915 %description module-ui-sdl -l pl.UTF-8
916 Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
918 %package -n systemtap-qemu
919 Summary: systemtap/dtrace probes for QEMU
920 Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
921 Group: Development/Tools
922 Requires: %{name}-common = %{version}-%{release}
923 Requires: systemtap-client
925 %description -n systemtap-qemu
926 systemtap/dtrace probes for QEMU.
928 %description -n systemtap-qemu -l pl.UTF-8
929 Sondy systemtap/dtrace dla QEMU.
940 %{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
942 %if %{with systemtap}
943 # don't require stap binary during build
944 %{__sed} -i -e "s/has 'stap'/true/" configure
952 install -d build-$target
956 --prefix=%{_prefix} \
957 --libdir=%{_libdir} \
958 --libexecdir=%{_libexecdir} \
959 --sysconfdir=%{_sysconfdir} \
960 --localstatedir=%{_localstatedir} \
961 --interp-prefix=%{_libdir}/qemu/lib-%%M \
964 --host-cc="%{__cc}" \
966 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
972 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
978 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
979 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
980 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
982 %{__enable_disable brlapi} \
984 --enable-capstone=system \
989 %{__enable_disable glusterfs} \
990 %{!?with_gtk3:--disable-gtk} \
991 %{__enable_disable iscsi libiscsi} \
992 %{__enable_disable libnfs} \
993 %{__enable_disable pmem libpmem} \
995 %{__enable_disable multipath mpath} \
999 %{__enable_disable ceph rbd} \
1000 %{__enable_disable rdma} \
1001 %{__enable_disable sdl} \
1002 %{__enable_disable seccomp} \
1003 --enable-slirp=system \
1004 %{__enable_disable spice} \
1005 %{__enable_disable smartcard} \
1006 %{__enable_disable snappy} \
1008 %{__enable_disable usbredir usb-redir} \
1010 %{__enable_disable virgl virglrenderer} \
1015 %{!?with_vte:--disable-vte} \
1016 %{__enable_disable xen} \
1017 %{__enable_disable xkbcommon}
1019 %if %{with user_static}
1023 --disable-capstone \
1029 --disable-guest-agent \
1030 --disable-guest-agent-msi \
1032 --disable-linux-io-uring \
1040 --disable-tcmalloc \
1043 --disable-xkbcommon \
1048 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1051 rm -rf $RPM_BUILD_ROOT
1052 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
1053 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1054 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
1056 %if %{with user_static}
1057 %{__make} -C build-static install \
1058 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1059 DESTDIR=$RPM_BUILD_ROOT
1061 # Give all QEMU user emulators a -static suffix
1062 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
1063 %{__mv} $src $src-static
1068 %{__make} -C build-dynamic install \
1069 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1070 DESTDIR=$RPM_BUILD_ROOT
1072 # let rpm generate dependencies
1073 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1075 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1077 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1078 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1083 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1085 %ifarch %{ix86} %{x8664} x32
1086 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1087 install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
1090 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1091 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1092 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1094 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1095 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1096 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1098 # For the qemu-guest-agent subpackage install the systemd
1099 # service and udev rules.
1100 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1101 install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
1103 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1104 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1106 cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
1110 %ifnarch %{ix86} %{x8664} x32
1124 microblaze microblazeel \
1140 %ifnarch ppc ppc64 ppc64le
1143 %ifnarch sparc sparc64
1144 sparc sparc32plus sparc64 \
1155 if [ -n "$BINFMT_CPUS" ]; then
1156 for cpu in $BINFMT_CPUS; do
1157 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1159 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1160 %{__mv} $i ${i%.conf}-dynamic.conf
1163 %if %{with user_static}
1164 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1165 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1166 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1171 %if %{with system_seabios}
1172 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1173 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1174 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1176 if [ -e "/usr/share/seabios/$bn" ] ; then
1177 ln -sf "/usr/share/seabios/$bn" "$f"
1183 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1184 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1190 # Windows installer icon, not used
1191 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1193 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1195 # cleanup Sphinx files
1196 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{interop,specs,system,tools,user}/{.buildinfo,objects.inv}
1199 rm -rf $RPM_BUILD_ROOT
1202 %groupadd -g 160 kvm
1203 %groupadd -g 276 qemu
1204 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1207 %systemd_post ksm.service
1208 %systemd_post ksmtuned.service
1211 %systemd_preun ksm.service
1212 %systemd_preun ksmtuned.service
1215 if [ "$1" = "0" ]; then
1222 %triggerpostun common -- qemu-common < 1.6.1-4
1223 %systemd_trigger ksm.service
1224 %systemd_trigger ksmtuned.service
1225 %systemd_trigger qemu-pr-helper.service
1228 %systemd_service_restart systemd-binfmt.service
1231 %systemd_service_restart systemd-binfmt.service
1234 %systemd_service_restart systemd-binfmt.service
1237 %systemd_service_restart systemd-binfmt.service
1240 /sbin/chkconfig --add qemu-ga
1241 %service qemu-ga restart "qemu-ga"
1245 if [ "$1" = "0" ]; then
1246 %service qemu-ga stop
1247 /sbin/chkconfig --del qemu-ga
1249 %systemd_preun qemu-guest-agent.service
1255 %defattr(644,root,root,755)
1257 %files common -f %{name}.lang
1258 %defattr(644,root,root,755)
1259 %doc LICENSE README.rst pc-bios/edk2-licenses.txt
1260 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1261 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1262 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1263 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1265 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1266 %{systemdunitdir}/ksm.service
1267 %{systemdunitdir}/ksmtuned.service
1268 %{systemdunitdir}/qemu-pr-helper.service
1269 %{systemdunitdir}/qemu-pr-helper.socket
1270 %attr(755,root,root) %{_bindir}/elf2dmp
1271 #%attr(755,root,root) %{_bindir}/ivshmem-client
1272 #%attr(755,root,root) %{_bindir}/ivshmem-server
1273 %attr(755,root,root) %{_bindir}/qemu-edid
1274 %if %{with xkbcommon}
1275 %attr(755,root,root) %{_bindir}/qemu-keymap
1277 %attr(755,root,root) %{_bindir}/qemu-nbd
1278 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1279 %attr(755,root,root) %{_bindir}/qemu-storage-daemon
1280 %attr(755,root,root) %{_sbindir}/ksmctl
1281 %attr(755,root,root) %{_sbindir}/ksmtuned
1282 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1284 %attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1286 %attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
1287 %attr(755,root,root) %{_libexecdir}/virtiofsd
1288 %dir %{_libdir}/%{name}
1289 # modules without too many external dependencies
1290 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1291 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1292 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1294 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1296 %if %{with pulseaudio}
1297 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1299 %attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
1300 %attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
1301 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
1302 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
1303 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
1304 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1305 %if %{with usbredir}
1306 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1308 %if %{with smartcard}
1309 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1312 %attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1313 %attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1316 %attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1317 %attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
1318 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1319 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
1321 %dir %{_datadir}/%{name}
1322 %dir %{_datadir}/%{name}/firmware
1323 %{_datadir}/%{name}/keymaps
1324 %{_datadir}/%{name}/trace-events-all
1325 %dir %{_datadir}/%{name}/vhost-user
1327 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1329 %{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
1330 %{_desktopdir}/qemu.desktop
1331 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1332 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1333 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1334 %{_mandir}/man1/qemu.1*
1335 %{_mandir}/man1/virtfs-proxy-helper.1*
1336 %{_mandir}/man1/virtiofsd.1*
1337 %{_mandir}/man7/qemu-block-drivers.7*
1338 %{_mandir}/man7/qemu-cpu-models.7*
1339 %{_mandir}/man7/qemu-qmp-ref.7*
1340 %{_mandir}/man8/qemu-nbd.8*
1341 %{_mandir}/man8/qemu-pr-helper.8*
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_bindir}/qemu-img
1347 %{_mandir}/man1/qemu-img.1*
1350 %defattr(644,root,root,755)
1351 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1352 %attr(755,root,root) %{_bindir}/qemu-aarch64
1353 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1354 %attr(755,root,root) %{_bindir}/qemu-alpha
1355 %attr(755,root,root) %{_bindir}/qemu-arm
1356 %attr(755,root,root) %{_bindir}/qemu-armeb
1357 %attr(755,root,root) %{_bindir}/qemu-cris
1358 %attr(755,root,root) %{_bindir}/qemu-hppa
1359 %attr(755,root,root) %{_bindir}/qemu-i386
1360 %attr(755,root,root) %{_bindir}/qemu-io
1361 %attr(755,root,root) %{_bindir}/qemu-m68k
1362 %attr(755,root,root) %{_bindir}/qemu-microblaze
1363 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1364 %attr(755,root,root) %{_bindir}/qemu-mips
1365 %attr(755,root,root) %{_bindir}/qemu-mipsel
1366 %attr(755,root,root) %{_bindir}/qemu-mips64
1367 %attr(755,root,root) %{_bindir}/qemu-mips64el
1368 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1369 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1370 %attr(755,root,root) %{_bindir}/qemu-nios2
1371 %attr(755,root,root) %{_bindir}/qemu-or1k
1372 %attr(755,root,root) %{_bindir}/qemu-ppc
1373 %attr(755,root,root) %{_bindir}/qemu-ppc64
1374 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1375 %attr(755,root,root) %{_bindir}/qemu-riscv32
1376 %attr(755,root,root) %{_bindir}/qemu-riscv64
1377 %attr(755,root,root) %{_bindir}/qemu-s390x
1378 %attr(755,root,root) %{_bindir}/qemu-sh4
1379 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1380 %attr(755,root,root) %{_bindir}/qemu-sparc
1381 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1382 %attr(755,root,root) %{_bindir}/qemu-sparc64
1383 %attr(755,root,root) %{_bindir}/qemu-x86_64
1384 %attr(755,root,root) %{_bindir}/qemu-xtensa
1385 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1387 %if %{with user_static}
1389 %defattr(644,root,root,755)
1390 /usr/lib/binfmt.d/qemu-*-static.conf
1391 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1392 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1393 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1394 %attr(755,root,root) %{_bindir}/qemu-arm-static
1395 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1396 %attr(755,root,root) %{_bindir}/qemu-cris-static
1397 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1398 %attr(755,root,root) %{_bindir}/qemu-i386-static
1399 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1400 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1401 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1402 %attr(755,root,root) %{_bindir}/qemu-mips-static
1403 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1404 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1405 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1406 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1407 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1408 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1409 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1410 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1411 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1412 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1413 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1414 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1415 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1416 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1417 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1418 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1419 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1420 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1421 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1422 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1423 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1424 %attr(755,root,root) %{_bindir}/qemu-trace-stap-static
1427 %files system-aarch64
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1430 %{_datadir}/%{name}/edk2-aarch64-code.fd
1431 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1436 %{_datadir}/%{name}/palcode-clipper
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_bindir}/qemu-system-arm
1441 %{_datadir}/%{name}/edk2-arm-code.fd
1442 %{_datadir}/%{name}/edk2-arm-vars.fd
1443 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1444 %{_datadir}/%{name}/npcm7xx_bootrom.bin
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_bindir}/qemu-system-avr
1451 %defattr(644,root,root,755)
1452 %attr(755,root,root) %{_bindir}/qemu-system-cris
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1457 %{_datadir}/%{name}/hppa-firmware.img
1460 %defattr(644,root,root,755)
1461 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1463 %files system-microblaze
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1466 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{_bindir}/qemu-system-mips
1471 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1472 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1473 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1484 %defattr(644,root,root,755)
1485 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1490 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1491 %{_datadir}/%{name}/bamboo.dtb
1492 %{_datadir}/%{name}/canyonlands.dtb
1493 %{_datadir}/%{name}/openbios-ppc
1494 %{_datadir}/%{name}/petalogix-ml605.dtb
1495 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1496 %{_datadir}/%{name}/qemu_vga.ndrv
1497 %{_datadir}/%{name}/skiboot.lid
1498 %{_datadir}/%{name}/slof.bin
1499 %{_datadir}/%{name}/u-boot.e500
1500 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1502 %files system-riscv32
1503 %defattr(644,root,root,755)
1504 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1505 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1506 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.elf
1508 %files system-riscv64
1509 %defattr(644,root,root,755)
1510 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1511 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
1512 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.elf
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_bindir}/qemu-system-rx
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1521 %{_datadir}/%{name}/s390-ccw.img
1522 %{_datadir}/%{name}/s390-netboot.img
1525 %defattr(644,root,root,755)
1526 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1527 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1532 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1533 %{_datadir}/%{name}/QEMU,cgthree.bin
1534 %{_datadir}/%{name}/QEMU,tcx.bin
1535 %{_datadir}/%{name}/openbios-sparc32
1536 %{_datadir}/%{name}/openbios-sparc64
1538 %files system-tricore
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1543 %defattr(644,root,root,755)
1544 %attr(755,root,root) %{_bindir}/qemu-system-i386
1545 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1546 %ifarch %{ix86} %{x8664} x32
1547 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1548 /lib/udev/rules.d/80-kvm.rules
1550 %{_datadir}/%{name}/bios.bin
1551 %{_datadir}/%{name}/bios-256k.bin
1552 %{_datadir}/%{name}/bios-microvm.bin
1553 %{_datadir}/%{name}/edk2-i386-code.fd
1554 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1555 %{_datadir}/%{name}/edk2-i386-vars.fd
1556 %{_datadir}/%{name}/edk2-x86_64-code.fd
1557 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1558 %{_datadir}/%{name}/efi-e1000e.rom
1559 %{_datadir}/%{name}/efi-e1000.rom
1560 %{_datadir}/%{name}/efi-eepro100.rom
1561 %{_datadir}/%{name}/efi-ne2k_pci.rom
1562 %{_datadir}/%{name}/efi-pcnet.rom
1563 %{_datadir}/%{name}/efi-rtl8139.rom
1564 %{_datadir}/%{name}/efi-virtio.rom
1565 %{_datadir}/%{name}/efi-vmxnet3.rom
1566 %{_datadir}/%{name}/kvmvapic.bin
1567 %{_datadir}/%{name}/linuxboot.bin
1568 %{_datadir}/%{name}/linuxboot_dma.bin
1569 %{_datadir}/%{name}/multiboot.bin
1570 %{_datadir}/%{name}/pvh.bin
1571 %{_datadir}/%{name}/pxe-e1000.rom
1572 %{_datadir}/%{name}/pxe-eepro100.rom
1573 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1574 %{_datadir}/%{name}/pxe-pcnet.rom
1575 %{_datadir}/%{name}/pxe-rtl8139.rom
1576 %{_datadir}/%{name}/pxe-virtio.rom
1577 %{_datadir}/%{name}/qboot.rom
1578 %{_datadir}/%{name}/sgabios.bin
1579 %{_datadir}/%{name}/vgabios.bin
1580 %{_datadir}/%{name}/vgabios-ati.bin
1581 %{_datadir}/%{name}/vgabios-bochs-display.bin
1582 %{_datadir}/%{name}/vgabios-cirrus.bin
1583 %{_datadir}/%{name}/vgabios-qxl.bin
1584 %{_datadir}/%{name}/vgabios-ramfb.bin
1585 %{_datadir}/%{name}/vgabios-stdvga.bin
1586 %{_datadir}/%{name}/vgabios-virtio.bin
1587 %{_datadir}/%{name}/vgabios-vmware.bin
1588 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1589 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1590 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1591 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1593 %files system-xtensa
1594 %defattr(644,root,root,755)
1595 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1596 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1599 %defattr(644,root,root,755)
1600 %attr(755,root,root) %{_bindir}/qemu-ga
1601 /lib/udev/rules.d/99-qemu-guest-agent.rules
1602 %{systemdunitdir}/qemu-guest-agent.service
1603 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1604 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1605 %{_mandir}/man7/qemu-ga-ref.7*
1606 %{_mandir}/man8/qemu-ga.8*
1608 %files module-block-curl
1609 %defattr(644,root,root,755)
1610 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1612 %if %{with glusterfs}
1613 %files module-block-gluster
1614 %defattr(644,root,root,755)
1615 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1619 %files module-block-iscsi
1620 %defattr(644,root,root,755)
1621 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1625 %files module-block-nfs
1626 %defattr(644,root,root,755)
1627 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1631 %files module-block-rbd
1632 %defattr(644,root,root,755)
1633 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1636 %files module-block-ssh
1637 %defattr(644,root,root,755)
1638 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
1641 %files module-ui-gtk
1642 %defattr(644,root,root,755)
1643 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1647 %files module-ui-sdl
1648 %defattr(644,root,root,755)
1649 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1650 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1653 %if %{with systemtap}
1654 %files -n systemtap-qemu
1655 %defattr(644,root,root,755)
1656 %attr(755,root,root) %{_bindir}/qemu-trace-stap
1657 %{_datadir}/systemtap/tapset/qemu-*.stp
1658 %{_mandir}/man1/qemu-trace-stap.1*