5 %bcond_without sdl # SDL UI and audio support
6 %bcond_without opengl # Don't require GL deps
7 %bcond_with canokey # CanoKey support
8 %bcond_with ceph # Ceph/RBD support
9 %bcond_without glusterfs # GlusterFS backend
10 %bcond_without rdma # RDMA-based migration support
11 %bcond_without gtk3 # Do not build GTK+ UI
12 %bcond_without vte # VTE support in GTK+ UI
13 %bcond_without spice # SPICE support
14 %bcond_without oss # OSS audio support
15 %bcond_without pulseaudio # PulseAudio audio support
16 %bcond_without xen # Xen backend driver support
17 %bcond_with brlapi # brlapi support
18 %bcond_without smartcard # smartcard-nss support
19 %bcond_without iscsi # iscsi support
20 %bcond_without libnfs # NFS support
21 %bcond_without multipath # Multipath support
22 %bcond_with pipewire # pipewire support
23 %bcond_without pmem # libpmem (persistent memory) support
24 %bcond_without seccomp # seccomp support
25 %bcond_without usbredir # usb network redirection support
26 %bcond_without system_seabios # system seabios binary
27 %bcond_without snappy # snappy compression library
28 %bcond_without user_static # build linux-user static packages
29 %bcond_with vfio_user # vfio-user server support
30 %bcond_with lttng # lttng-ust trace backend support [needs update]
31 %bcond_without systemtap # SystemTap/dtrace trace backend support
32 %bcond_without virgl # build virgl support
33 %bcond_without xkbcommon # xkbcommon support
41 %ifnarch %{x8664} aarch64
46 Summary: QEMU CPU Emulator
47 Summary(pl.UTF-8): QEMU - emulator procesora
51 License: GPL v2, BSD (edk2 firmware files)
52 Group: Applications/Emulators
53 Source0: https://download.qemu.org/%{name}-%{version}.tar.xz
54 # Source0-md5: aa5c2f004d513b746f25a00cfec8eaa5
55 # Loads kvm kernel modules at boot
56 Source3: kvm-modules-load.conf
60 Source6: ksm.sysconfig
63 Source10: ksmtuned.conf
64 Source12: 99-%{name}-guest-agent.rules
65 Source13: %{name}-guest-agent.init
66 Source14: %{name}-guest-agent.logrotate
67 Patch0: %{name}-cflags.patch
68 Patch2: %{name}-xattr.patch
69 Patch3: libjpeg-boolean.patch
70 Patch5: %{name}-u2f-emu.patch
71 Patch6: %{name}-linux-mount.patch
72 Patch7: libvfio-user-types.patch
73 Patch8: libvfio-user-alloca.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
82 %{?with_brlapi:BuildRequires: brlapi-devel}
83 BuildRequires: bzip2-devel
84 %{?with_canokey:BuildRequires: canokey-qemu-devel}
85 BuildRequires: capstone-devel >= 4.0
86 %{?with_ceph:BuildRequires: ceph-devel >= 12}
87 BuildRequires: curl-devel >= 7.29.0
88 BuildRequires: cyrus-sasl-devel >= 2
89 BuildRequires: daxctl-devel >= 57
91 BuildRequires: gcc >= 6:7.4
92 BuildRequires: gettext-tools
93 BuildRequires: glib2-devel >= 1:2.75.3
94 # minimal is 3.4 but new features are used up to 6
95 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
96 BuildRequires: gnutls-devel >= 3.6.14
97 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0}
98 BuildRequires: jack-audio-connection-kit-devel
99 %{?with_vfio_user:BuildRequires: json-c-devel >= 0.11}
100 BuildRequires: keyutils-devel
101 BuildRequires: libaio-devel
102 BuildRequires: libblkio-devel >= 1.3.0
103 BuildRequires: libbpf-devel
104 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
105 BuildRequires: libcap-ng-devel
106 BuildRequires: libdrm-devel
107 %{?with_opengl:BuildRequires: libepoxy-devel}
108 BuildRequires: libfdt-devel >= 1.5.1
109 BuildRequires: libfuse3-devel >= 3.8
110 %{?with_rdma:BuildRequires: libibverbs-devel}
111 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
112 %{?with_rdma:BuildRequires: libibumad-devel}
113 BuildRequires: libjpeg-devel
114 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
115 BuildRequires: libpng-devel >= 2:1.6.34
116 %{?with_rdma:BuildRequires: librdmacm-devel}
117 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
118 BuildRequires: libselinux-devel
119 BuildRequires: libssh-devel >= 0.8.7
120 BuildRequires: libslirp-devel >= 4.7
121 BuildRequires: libstdc++-devel >= 6:4.7
123 #BuildRequires: libtasn1-devel
124 BuildRequires: libu2f-emu-devel
125 BuildRequires: libusb-devel >= 1.0.22
126 BuildRequires: liburing-devel >= 0.3
127 BuildRequires: libuuid-devel
128 BuildRequires: libxml2-devel >= 2.0
129 %{?with_lttng:BuildRequires: lttng-ust-devel >= 2.1}
130 BuildRequires: lzfse-devel
131 BuildRequires: lzo-devel >= 2
132 BuildRequires: meson >= 0.63.0
133 %{?with_multipath:BuildRequires: multipath-tools-devel}
134 BuildRequires: ncurses-devel
135 # also libgcrypt-devel >= 1.8 possible, but gnutls already pulls nettle
136 BuildRequires: nettle-devel >= 3.4
137 BuildRequires: ninja >= 1.5
138 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
139 BuildRequires: numactl-devel
140 BuildRequires: pam-devel
141 BuildRequires: perl-Encode
142 BuildRequires: perl-tools-pod
143 %{?with_pipewire:BuildRequires: pipewire-devel >= 0.3.60}
144 BuildRequires: pixman-devel >= 0.21.8
145 BuildRequires: pkgconfig
146 %{?with_pmem:BuildRequires: pmdk-devel}
147 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
148 BuildRequires: python3 >= 1:3.7
149 BuildRequires: python3-sphinx_rtd_theme >= 0.5
150 BuildRequires: python3-tomli >= 1.2.0
151 BuildRequires: rpm-build >= 4.6
152 BuildRequires: rpmbuild(macros) >= 1.644
153 %{?with_system_seabios:BuildRequires: seabios}
154 BuildRequires: sed >= 4.0
155 %{?with_snappy:BuildRequires: snappy-devel}
156 BuildRequires: sphinx-pdg >= 1.6
158 BuildRequires: spice-protocol >= 0.14.0
159 BuildRequires: spice-server-devel >= 0.14.0
161 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
162 BuildRequires: tar >= 1:1.22
163 BuildRequires: texi2html
164 BuildRequires: texinfo
165 %{?with_multipath:BuildRequires: udev-devel}
166 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
167 %{?with_lttng:BuildRequires: userspace-rcu-devel}
168 BuildRequires: vde2-devel
170 %{?with_virgl:BuildRequires: virglrenderer-devel}
171 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
172 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
173 # min version is 4.2, more features up to 4.11
174 %{?with_xen:BuildRequires: xen-devel >= 4.11}
175 BuildRequires: xfsprogs-devel
176 %if %{with xkbcommon}
177 BuildRequires: xkeyboard-config
178 BuildRequires: xorg-lib-libxkbcommon-devel
180 BuildRequires: xorg-lib-libX11-devel
182 BuildRequires: zlib-devel
183 BuildRequires: zstd-devel >= 1.4.0
184 %if %{with user_static}
185 BuildRequires: glib2-static >= 1:2.75.3
186 BuildRequires: glibc-static
187 BuildRequires: libstdc++-static >= 6:4.7
188 BuildRequires: pcre2-8-static >= 10.32
189 BuildRequires: zlib-static
191 Requires: %{name}-img = %{version}-%{release}
192 Requires: %{name}-system-aarch64 = %{version}-%{release}
193 Requires: %{name}-system-alpha = %{version}-%{release}
194 Requires: %{name}-system-arm = %{version}-%{release}
195 Requires: %{name}-system-avr = %{version}-%{release}
196 Requires: %{name}-system-cris = %{version}-%{release}
197 Requires: %{name}-system-hppa = %{version}-%{release}
198 Requires: %{name}-system-m68k = %{version}-%{release}
199 Requires: %{name}-system-microblaze = %{version}-%{release}
200 Requires: %{name}-system-mips = %{version}-%{release}
201 Requires: %{name}-system-nios2 = %{version}-%{release}
202 Requires: %{name}-system-or1k = %{version}-%{release}
203 Requires: %{name}-system-ppc = %{version}-%{release}
204 Requires: %{name}-system-riscv32 = %{version}-%{release}
205 Requires: %{name}-system-riscv64 = %{version}-%{release}
206 Requires: %{name}-system-rx = %{version}-%{release}
207 Requires: %{name}-system-s390x = %{version}-%{release}
208 Requires: %{name}-system-sh4 = %{version}-%{release}
209 Requires: %{name}-system-sparc = %{version}-%{release}
210 Requires: %{name}-system-tricore = %{version}-%{release}
211 Requires: %{name}-system-x86 = %{version}-%{release}
212 Requires: %{name}-system-xtensa = %{version}-%{release}
213 Requires: %{name}-user = %{version}-%{release}
214 Obsoletes: qemu-kvm < 2
216 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
218 %define systempkg_req \
219 Requires: capstone >= 4.0 \
220 Requires: daxctl-libs >= 57 \
221 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
222 Requires: libfdt >= 1.5.1 \
223 Requires: libfuse3 >= 3.8 \
224 %{?with_iscsi:Requires: libiscsi >= 1.9.0} \
225 Requires: libpng >= 2:1.6.34 \
226 %if %{with seccomp} \
227 Requires: libseccomp >= 2.3.0 \
229 Requires: libslirp >= 4.7 \
230 Requires: liburing >= 0.3 \
231 Requires: libusb >= 1.0.22 \
232 Requires: pixman >= 0.21.8 \
234 Requires: spice-server-libs >= 0.14.0 \
236 %if %{with usbredir} \
237 Requires: usbredir >= 0.6 \
240 # don't strip/chrpath anything in there; these are boot images, roms etc
241 %define _noautostrip .*%{_datadir}/qemu/.*
242 %define _noautochrpath .*%{_datadir}/qemu/.*
245 QEMU is a FAST! processor emulator. By using dynamic translation it
246 achieves a reasonnable speed while being easy to port on new host
247 CPUs. QEMU has two operating modes:
249 - User mode emulation. In this mode, QEMU can launch Linux processes
250 compiled for one CPU on another CPU. Linux system calls are converted
251 because of endianness and 32/64 bit mismatches. Wine (Windows
252 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
254 - Full system emulation. In this mode, QEMU emulates a full system,
255 including a processor and various peripherials. It can also be used to
256 provide virtual hosting of several virtual PC on a single server.
258 %description -l pl.UTF-8
259 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
260 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
261 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
263 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
264 procesy linuksowe skompilowane dla jednego procesora na innym
265 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
266 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
267 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
270 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
271 włączając w to procesor i różne urządzenia peryferyjne. Może być także
272 używane do wirtualnego hostowania kilku wirtualnych pecetów na
273 pojedynczym serwerze.
276 Summary: QEMU common files needed by all QEMU targets
277 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
278 Group: Applications/Emulators
279 Requires(postun): /usr/sbin/groupdel
280 Requires(postun): /usr/sbin/userdel
281 Requires(pre): /bin/id
282 Requires(pre): /usr/bin/getgid
283 Requires(pre): /usr/sbin/groupadd
284 Requires(pre): /usr/sbin/useradd
285 Requires: glib2 >= 1:2.75.3
286 Requires: gnutls-libs >= 3.6.14
287 %{?with_gtk3:Requires: gtk+3 >= 3.22.0}
288 Requires: libblkio >= 1.3.0
289 Requires: nettle >= 3.4
290 %{?with_vte:Requires: vte >= 0.32.0}
291 Requires: zstd >= 1.4.0
293 Provides: group(qemu)
295 Obsoletes: qemu-kvm-common < 2
296 Obsoletes: qemu-module-block-archipelago < 2.9.0
297 Obsoletes: qemu-system-lm32 < 5.2
298 Obsoletes: qemu-system-moxie < 6.1
299 Obsoletes: qemu-system-unicore32 < 5.2
300 Conflicts: qemu < 1.0-2
303 QEMU is a generic and open source processor emulator which achieves a
304 good emulation speed by using dynamic translation.
306 This package provides the common files needed by all QEMU targets.
308 %description common -l pl.UTF-8
309 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
310 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
312 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
316 Summary: Header file for QEMU plugins development
317 Summary(pl.UTF-8): Plik nagłówkowy do tworzenia wtyczek QEMU
318 Group: Development/Libraries
322 Header file for QEMU plugins development.
324 %description devel -l pl.UTF-8
325 Plik nagłówkowy do tworzenia wtyczek QEMU.
328 Summary: QEMU command line tool for manipulating disk images
329 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
330 Group: Applications/Emulators
331 Obsoletes: qemu-kvm-img < 2
332 Conflicts: qemu < 1.0-2
335 This package provides a command line tool for manipulating disk
338 %description img -l pl.UTF-8
339 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
343 Summary: Client and server for QEMU ivshmem device
344 Summary(pl.UTF-8): Klient i serwer dla urzÄ
\85dzeia ivshmem QEMU
345 Group: Development/Tools
348 This package provides client and server tools for QEMU's ivshmem
351 %description ivshmem -l pl.UTF-8
352 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
353 urzÄ…dzenia ivshmem QEMU.
356 Summary: QEMU user mode emulation of qemu targets
357 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
358 Group: Applications/Emulators
359 Requires: %{name}-common = %{version}-%{release}
360 Obsoletes: qemu-kvm-user < 2
363 QEMU is a generic and open source processor emulator which achieves a
364 good emulation speed by using dynamic translation.
366 This package provides the user mode emulation of QEMU targets.
368 %description user -l pl.UTF-8
369 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
370 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
372 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
375 Summary: QEMU user mode emulation of qemu targets static build
376 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
377 Group: Applications/Emulators
379 %description user-static
380 QEMU is a generic and open source processor emulator which achieves a
381 good emulation speed by using dynamic translation.
383 This package provides the user mode emulation of qemu targets built as
386 %description user-static -l pl.UTF-8
387 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
388 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
390 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
391 oparciu o programy wykonywalne zbudowane statycznie.
393 %package system-aarch64
394 Summary: QEMU system emulator for AArch64
395 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
396 Group: Applications/Emulators
397 Requires: %{name}-common = %{version}-%{release}
399 Obsoletes: qemu-kvm-system-aarch64 < 2
401 %description system-aarch64
402 QEMU is a generic and open source processor emulator which achieves a
403 good emulation speed by using dynamic translation.
405 This package provides the system emulator with AArch64 (ARM64) CPU.
407 %description system-aarch64 -l pl.UTF-8
408 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
409 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
411 Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
413 %package system-alpha
414 Summary: QEMU system emulator for Alpha
415 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
416 Group: Applications/Emulators
417 Requires: %{name}-common = %{version}-%{release}
419 Obsoletes: qemu-kvm-system-alpha < 2
421 %description system-alpha
422 QEMU is a generic and open source processor emulator which achieves a
423 good emulation speed by using dynamic translation.
425 This package provides the system emulator with Alpha CPU.
427 %description system-alpha -l pl.UTF-8
428 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
429 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
431 Ten pakiet zawiera emulator systemu z procesorem Alpha.
434 Summary: QEMU system emulator for 32-bit ARM
435 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
436 Group: Applications/Emulators
437 Requires: %{name}-common = %{version}-%{release}
439 Obsoletes: qemu-kvm-system-arm < 2
441 %description system-arm
442 QEMU is a generic and open source processor emulator which achieves a
443 good emulation speed by using dynamic translation.
445 This package provides the system emulator for 32-bit ARM.
447 %description system-arm -l pl.UTF-8
448 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
449 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
451 Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
454 Summary: QEMU system emulator for AVR
455 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AVR
456 Group: Applications/Emulators
457 Requires: %{name}-common = %{version}-%{release}
459 Obsoletes: qemu-kvm-system-avr < 2
461 %description system-avr
462 QEMU is a generic and open source processor emulator which achieves a
463 good emulation speed by using dynamic translation.
465 This package provides the system emulator for AVR.
467 %description system-avr -l pl.UTF-8
468 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
469 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
471 Ten pakiet zawiera emulator systemu z procesorem AVR.
474 Summary: QEMU system emulator for CRIS
475 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
476 Group: Applications/Emulators
477 Requires: %{name}-common = %{version}-%{release}
479 Obsoletes: qemu-kvm-system-cris < 2
481 %description system-cris
482 QEMU is a generic and open source processor emulator which achieves a
483 good emulation speed by using dynamic translation.
485 This package provides the system emulator with CRIS CPU.
487 %description system-cris -l pl.UTF-8
488 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
489 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
491 Ten pakiet zawiera emulator systemu z procesorem CRIS.
494 Summary: QEMU system emulator for HP/PA
495 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
496 Group: Applications/Emulators
497 Requires: %{name}-common = %{version}-%{release}
500 %description system-hppa
501 QEMU is a generic and open source processor emulator which achieves a
502 good emulation speed by using dynamic translation.
504 This package provides the system emulator with HP/PA (PA-RISC) CPU.
506 %description system-hppa -l pl.UTF-8
507 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
508 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
510 Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
513 Summary: QEMU system emulator for m68k
514 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
515 Group: Applications/Emulators
516 Requires: %{name}-common = %{version}-%{release}
518 Obsoletes: qemu-kvm-system-m68k < 2
520 %description system-m68k
521 QEMU is a generic and open source processor emulator which achieves a
522 good emulation speed by using dynamic translation.
524 This package provides the system emulator with m68k (Motorola 68xxx)
527 %description system-m68k -l pl.UTF-8
528 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
529 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
531 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
534 %package system-microblaze
535 Summary: QEMU system emulator for MicroBlaze
536 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
537 Group: Applications/Emulators
538 Requires: %{name}-common = %{version}-%{release}
540 Obsoletes: qemu-kvm-system-microblaze < 2
542 %description system-microblaze
543 QEMU is a generic and open source processor emulator which achieves a
544 good emulation speed by using dynamic translation.
546 This package provides the system emulator with MicroBlaze CPU.
548 %description system-microblaze -l pl.UTF-8
549 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
550 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
552 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
555 Summary: QEMU system emulator for MIPS
556 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
557 Group: Applications/Emulators
558 Requires: %{name}-common = %{version}-%{release}
560 Obsoletes: qemu-kvm-system-mips < 2
562 %description system-mips
563 QEMU is a generic and open source processor emulator which achieves a
564 good emulation speed by using dynamic translation.
566 This package provides the system emulator with MIPS CPU.
568 %description system-mips -l pl.UTF-8
569 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
570 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
572 Ten pakiet zawiera emulator systemu z procesorem MIPS.
574 %package system-nios2
575 Summary: QEMU system emulator for Nios II
576 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
577 Group: Applications/Emulators
578 Requires: %{name}-common = %{version}-%{release}
581 %description system-nios2
582 QEMU is a generic and open source processor emulator which achieves a
583 good emulation speed by using dynamic translation.
585 This package provides the system emulator with Nios II CPU.
587 %description system-nios2 -l pl.UTF-8
588 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
589 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
591 Ten pakiet zawiera emulator systemu z procesorem Nios II.
594 Summary: QEMU system emulator for OpenRISC
595 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
596 Group: Applications/Emulators
597 Requires: %{name}-common = %{version}-%{release}
599 Obsoletes: qemu-kvm-system-or1k < 2
600 Obsoletes: qemu-system-or32 < 2.9.0
602 %description system-or1k
603 QEMU is a generic and open source processor emulator which achieves a
604 good emulation speed by using dynamic translation.
606 This package provides the system emulator with OpenRISC CPU.
608 %description system-or1k -l pl.UTF-8
609 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
610 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
612 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
615 Summary: QEMU system emulator for PowerPC
616 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
617 Group: Applications/Emulators
618 Requires: %{name}-common = %{version}-%{release}
620 Obsoletes: qemu-kvm-system-ppc < 2
622 %description system-ppc
623 QEMU is a generic and open source processor emulator which achieves a
624 good emulation speed by using dynamic translation.
626 This package provides the system emulator with PowerPC CPU.
628 %description system-ppc -l pl.UTF-8
629 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
630 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
632 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
634 %package system-riscv32
635 Summary: QEMU system emulator for RISC-V (32 bit)
636 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
637 Group: Applications/Emulators
638 Requires: %{name}-common = %{version}-%{release}
641 %description system-riscv32
642 QEMU is a generic and open source processor emulator which achieves a
643 good emulation speed by using dynamic translation.
645 This package provides the system emulator with RISC-V (32 bit) CPU.
647 %description system-riscv32 -l pl.UTF-8
648 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
649 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
651 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
653 %package system-riscv64
654 Summary: QEMU system emulator for RISC-V (64 bit)
655 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
656 Group: Applications/Emulators
657 Requires: %{name}-common = %{version}-%{release}
660 %description system-riscv64
661 QEMU is a generic and open source processor emulator which achieves a
662 good emulation speed by using dynamic translation.
664 This package provides the system emulator with RISC-V (64 bit) CPU.
666 %description system-riscv64 -l pl.UTF-8
667 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
668 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
670 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
673 Summary: QEMU system emulator for Renesas RX
674 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
675 Group: Applications/Emulators
676 Requires: %{name}-common = %{version}-%{release}
679 %description system-rx
680 QEMU is a generic and open source processor emulator which achieves a
681 good emulation speed by using dynamic translation.
683 This package provides the system emulator with Renesas RX CPU.
685 %description system-rx -l pl.UTF-8
686 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
687 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
689 Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
691 %package system-s390x
692 Summary: QEMU system emulator for S390x (IBM Z)
693 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
694 Group: Applications/Emulators
695 Requires: %{name}-common = %{version}-%{release}
697 Obsoletes: qemu-kvm-system-s390x < 2
699 %description system-s390x
700 QEMU is a generic and open source processor emulator which achieves a
701 good emulation speed by using dynamic translation.
703 This package provides the system emulator with S390x (IBM Z) CPU.
705 %description system-s390x -l pl.UTF-8
706 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
707 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
709 Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
712 Summary: QEMU system emulator for SH4
713 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
714 Group: Applications/Emulators
715 Requires: %{name}-common = %{version}-%{release}
717 Obsoletes: qemu-kvm-system-sh4 < 2
719 %description system-sh4
720 QEMU is a generic and open source processor emulator which achieves a
721 good emulation speed by using dynamic translation.
723 This package provides the system emulator with SH4 CPU.
725 %description system-sh4 -l pl.UTF-8
726 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
727 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
729 Ten pakiet zawiera emulator systemu z procesorem SH4.
731 %package system-sparc
732 Summary: QEMU system emulator for SPARC
733 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
734 Group: Applications/Emulators
735 Requires: %{name}-common = %{version}-%{release}
737 Obsoletes: qemu-kvm-system-sparc < 2
739 %description system-sparc
740 QEMU is a generic and open source processor emulator which achieves a
741 good emulation speed by using dynamic translation.
743 This package provides the system emulator with SPARC/SPARC64 CPU.
745 %description system-sparc -l pl.UTF-8
746 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
747 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
749 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
751 %package system-tricore
752 Summary: QEMU system emulator for TriCore
753 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
754 Group: Applications/Emulators
755 Requires: %{name}-common = %{version}-%{release}
758 %description system-tricore
759 QEMU is a generic and open source processor emulator which achieves a
760 good emulation speed by using dynamic translation.
762 This package provides the system emulator with TriCore CPU.
764 %description system-tricore -l pl.UTF-8
765 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
766 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
768 Ten pakiet zawiera emulator systemu z procesorem TriCore.
771 Summary: QEMU system emulator for x86
772 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
773 Group: Applications/Emulators
774 Requires: %{name}-common = %{version}-%{release}
775 %{?with_vfio_user:Requires: libvfio-user = %{version}-%{release}}
776 %{?with_system_seabios:Requires: seabios >= 1.11.0}
779 Obsoletes: qemu-kvm-system-x86 < 2
781 %description system-x86
782 QEMU is a generic and open source processor emulator which achieves a
783 good emulation speed by using dynamic translation.
785 This package provides the system emulator with x86 CPU.
787 %description system-x86 -l pl.UTF-8
788 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
789 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
791 Ten pakiet zawiera emulator systemu z procesorem x86.
793 %package system-xtensa
794 Summary: QEMU system emulator for Xtensa
795 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
796 Group: Applications/Emulators
797 Requires: %{name}-common = %{version}-%{release}
799 Obsoletes: qemu-kvm-system-xtensa < 2
801 %description system-xtensa
802 QEMU is a generic and open source processor emulator which achieves a
803 good emulation speed by using dynamic translation.
805 This package provides the system emulator with Xtensa CPU.
807 %description system-xtensa -l pl.UTF-8
808 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
809 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
811 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
814 Summary: QEMU guest agent
815 Summary(pl.UTF-8): Agent gościa QEMU
817 Requires: glib2 >= 1:2.75.3
818 Requires: liburing >= 0.3
819 Obsoletes: qemu-kvm-guest-agent < 2
820 Conflicts: SysVinit < 2.96-2
822 %description guest-agent
823 QEMU is a generic and open source processor emulator which achieves a
824 good emulation speed by using dynamic translation.
826 This package provides an agent to run inside guests, which
827 communicates with the host over a virtio-serial channel named
828 "org.qemu.guest_agent.0".
830 This package does not need to be installed on the host OS.
832 %description guest-agent -l pl.UTF-8
833 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
834 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
836 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
837 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
838 "org.qemu.guest_agent.0".
840 Ten pakiet nie musi być zainstalowany w systemie hosta.
842 %package module-audio-jack
843 Summary: QEMU module for JACK audio output
844 Summary(pl.UTF-8): Moduł QEMU z wyjściem dźwięku JACK
845 Group: Applications/Emulators
846 Requires: %{name}-common = %{version}-%{release}
848 %description module-audio-jack
849 QEMU module for JACK audio output.
851 %description module-audio-jack -l pl.UTF-8
852 Moduł QEMU z wyjściem dźwięku JACK.
854 %package module-audio-pipewire
855 Summary: QEMU module for PipeWire audio output
856 Summary(pl.UTF-8): Moduł QEMU z wyjściem dźwięku PipeWire
857 Group: Applications/Emulators
858 Requires: %{name}-common = %{version}-%{release}
859 Requires: pipewire-libs >= 0.3.60
861 %description module-audio-pipewire
862 QEMU module for PipeWire audio output.
864 %description module-audio-pipewire -l pl.UTF-8
865 Moduł QEMU z wyjściem dźwięku PipeWire.
867 %package module-block-curl
868 Summary: QEMU module for 'curl' block devices
869 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
870 Group: Applications/Emulators
871 Requires: %{name}-common = %{version}-%{release}
872 Requires: curl-libs >= 7.29.0
874 %description module-block-curl
875 QEMU block device support for CURL. It allows to access remote disks
876 over http, https, ftp and other transports provided by the CURL
879 %description module-block-curl -l pl.UTF-8
880 Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
881 dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
884 %package module-block-gluster
885 Summary: QEMU module for 'gluster' block devices
886 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
887 Group: Applications/Emulators
888 Requires: %{name}-common = %{version}-%{release}
889 Requires: glusterfs-libs >= 6
891 %description module-block-gluster
892 QEMU block device support for remote Gluster storage.
894 %description module-block-gluster -l pl.UTF-8
895 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
898 %package module-block-iscsi
899 Summary: QEMU module for 'iscsi' block devices
900 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
901 Group: Applications/Emulators
902 Requires: %{name}-common = %{version}-%{release}
903 Requires: libiscsi >= 1.9.0
905 %description module-block-iscsi
906 QEMU block device support for iSCSI volumes.
908 %description module-block-iscsi -l pl.UTF-8
909 Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
911 %package module-block-nfs
912 Summary: QEMU module for 'nfs' block devices
913 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
914 Group: Applications/Emulators
915 Requires: %{name}-common = %{version}-%{release}
916 Requires: libnfs >= 1.9.3
918 %description module-block-nfs
919 QEMU block device support for remote NFS storage.
921 %description module-block-nfs -l pl.UTF-8
922 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
925 %package module-block-rbd
926 Summary: QEMU module for 'rbd' block devices
927 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
928 Group: Applications/Emulators
929 Requires: %{name}-common = %{version}-%{release}
930 Requires: ceph-libs >= 12
932 %description module-block-rbd
933 QEMU block device support for Ceph/RBD volumes.
935 %description module-block-rbd -l pl.UTF-8
936 Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
938 %package module-block-ssh
939 Summary: QEMU module for 'ssh' block devices
940 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
941 Group: Applications/Emulators
942 Requires: %{name}-common = %{version}-%{release}
943 Requires: libssh >= 0.8.7
945 %description module-block-ssh
946 QEMU block device support for accessing remote disks using the Secure
947 Shell (SSH) protocol.
949 %description module-block-ssh -l pl.UTF-8
950 Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
951 protokół SSH (Secure Shell).
953 %package module-ui-dbus
954 Summary: QEMU DBus UI driver
955 Summary(pl.UTF-8): Sterownik interfejsu użytkownika DBus dla QEMU
956 Group: Applications/Emulators
957 Requires: %{name}-common = %{version}-%{release}
959 %description module-ui-dbus
962 %description module-ui-dbus -l pl.UTF-8
963 Sterownik interfejsu użytkownika DBus dla QEMU.
965 %package module-ui-gtk
966 Summary: QEMU GTK UI driver
967 Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
968 Group: Applications/Emulators
969 Requires: %{name}-common = %{version}-%{release}
971 %description module-ui-gtk
974 %description module-ui-gtk -l pl.UTF-8
975 Sterownik interfejsu użytkownika GTK dla QEMU.
977 %package module-ui-sdl
978 Summary: QEMU SDL UI and audio driver
979 Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
980 Group: Applications/Emulators
981 Requires: %{name}-common = %{version}-%{release}
983 %description module-ui-sdl
984 QEMU SDL UI and audio driver.
986 %description module-ui-sdl -l pl.UTF-8
987 Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
989 %package -n systemtap-qemu
990 Summary: systemtap/dtrace probes for QEMU
991 Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
992 Group: Development/Tools
993 Requires: %{name}-common = %{version}-%{release}
994 Requires: systemtap-client
996 %description -n systemtap-qemu
997 systemtap/dtrace probes for QEMU.
999 %description -n systemtap-qemu -l pl.UTF-8
1000 Sondy systemtap/dtrace dla QEMU.
1002 %package -n libvfio-user
1003 Summary: vfio-user library
1004 Summary(pl.UTF-8): Biblioteka vfio-user
1006 Requires: json-c >= 0.11
1008 %description -n libvfio-user
1009 vfio-user is a framework that allows implementing PCI devices in
1010 userspace. Clients (such as qemu) talk the vfio-user protocol over a
1011 UNIX socket to a server. This library, libvfio-user, provides an API
1012 for implementing such servers.
1014 %description -n libvfio-user -l pl.UTF-8
1015 vfio-user to szkielet pozwalający implementować urządzenia PCI w
1016 przestrzeni użytkownika. Klienci (jak qemu) komunikują się z serwerem
1017 protokołem vfio-user przez gniazdo uniksowe.
1019 %package -n libvfio-user-devel
1020 Summary: Header files for vfio-user library
1021 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vfio-user
1022 Group: Development/Libraries
1023 Requires: libvfio-user = %{version}-%{release}
1025 %description -n libvfio-user-devel
1026 Header files for vfio-user library.
1028 %description -n libvfio-user-devel -l pl.UTF-8
1029 Pliki nagłówkowe biblioteki vfio-user.
1041 %{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
1043 %if %{with systemtap}
1044 # don't require stap binary during build
1045 %{__sed} -i -e "s/stap.found()/true/" meson.build docs/meson.build scripts/meson.build
1048 %if %{without smartcard}
1049 %{__sed} -i -e '/^config USB_SMARTCARD/,/^$/ s/default y/default n/' hw/usb/Kconfig
1052 # xen-emu supports only LP64 __x86_64__ case
1053 %{__sed} -i -e '/^config XEN_EMU/,$ s/default y/default n/' hw/i386/Kconfig
1055 # plain x32 doesn't provide __sync_bool_compare_and_swap_16 - fail int128_t/ATOMIC128 tests earlier
1056 %{__sed} -i -e '/^has_int128_type = / s/$/FAILME/' meson.build
1065 install -d build-$target
1069 --prefix=%{_prefix} \
1070 --libdir=%{_libdir} \
1071 --libexecdir=%{_libexecdir} \
1072 --sysconfdir=%{_sysconfdir} \
1073 --localstatedir=%{_localstatedir} \
1074 --interp-prefix=%{_libdir}/qemu/lib-%%M \
1077 --host-cc="%{__cc}" \
1079 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
1090 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
1091 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
1092 --audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
1094 %{__enable_disable brlapi} \
1095 %{__enable_disable canokey} \
1102 %{__enable_disable glusterfs} \
1103 %{!?with_gtk3:--disable-gtk} \
1104 %{__enable_disable iscsi libiscsi} \
1105 %{__enable_disable libnfs} \
1106 %{__enable_disable pipewire} \
1107 %{__enable_disable pmem libpmem} \
1109 %{__enable_disable multipath mpath} \
1113 %{__enable_disable ceph rbd} \
1114 %{__enable_disable rdma} \
1115 %{__enable_disable sdl} \
1116 %{__enable_disable seccomp} \
1118 %{__enable_disable spice} \
1119 %{__enable_disable smartcard} \
1120 %{__enable_disable snappy} \
1122 %{__enable_disable usbredir usb-redir} \
1124 %{?with_vfio_user:--enable-vfio-user-server} \
1125 %{__enable_disable virgl virglrenderer} \
1129 %{!?with_vte:--disable-vte} \
1130 %{__enable_disable xen} \
1131 %{__enable_disable xkbcommon}
1133 %if %{with user_static}
1138 --disable-capstone \
1144 --disable-guest-agent \
1145 --disable-guest-agent-msi \
1147 --disable-linux-io-uring \
1157 --disable-xkbcommon \
1162 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1165 rm -rf $RPM_BUILD_ROOT
1167 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1168 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
1170 %if %{with user_static}
1171 %{__make} -C build-static install \
1172 DESTDIR=$RPM_BUILD_ROOT
1174 # Give all QEMU user emulators a -static suffix
1175 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
1176 %{__mv} $src $src-static
1181 %{__make} -C build-dynamic install \
1182 DESTDIR=$RPM_BUILD_ROOT
1184 # let rpm generate dependencies
1185 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1187 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1189 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1190 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1195 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1197 %ifarch %{ix86} %{x8664} x32
1198 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1199 install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
1202 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1203 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1205 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1206 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1208 install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
1210 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1211 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1213 %if %{with system_seabios}
1214 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1215 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1219 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1220 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1226 for t in client server; do
1227 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1231 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/accel-qtest-*.so
1232 # Windows installer icon, not used
1233 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1235 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1237 # cleanup Sphinx files
1238 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{.buildinfo,objects.inv}
1241 rm -rf $RPM_BUILD_ROOT
1244 %groupadd -g 160 kvm
1245 %groupadd -g 276 qemu
1246 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1249 if [ "$1" = "0" ]; then
1256 /sbin/chkconfig --add qemu-ga
1257 %service qemu-ga restart "qemu-ga"
1260 if [ "$1" = "0" ]; then
1261 %service qemu-ga stop
1262 /sbin/chkconfig --del qemu-ga
1265 %post -n libvfio-user -p /sbin/ldconfig
1266 %postun -n libvfio-user -p /sbin/ldconfig
1269 %defattr(644,root,root,755)
1271 %files common -f %{name}.lang
1272 %defattr(644,root,root,755)
1273 %doc LICENSE README.rst pc-bios/edk2-licenses.txt
1274 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1275 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1276 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1277 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1279 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1280 %attr(755,root,root) %{_bindir}/elf2dmp
1281 %attr(755,root,root) %{_bindir}/qemu-edid
1282 %if %{with xkbcommon}
1283 %attr(755,root,root) %{_bindir}/qemu-keymap
1285 %attr(755,root,root) %{_bindir}/qemu-nbd
1286 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1287 %attr(755,root,root) %{_bindir}/qemu-storage-daemon
1288 %attr(755,root,root) %{_sbindir}/ksmctl
1289 %attr(755,root,root) %{_sbindir}/ksmtuned
1290 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1292 %attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1294 %attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
1295 %dir %{_libdir}/%{name}
1296 # modules without too many external dependencies
1297 %attr(755,root,root) %{_libdir}/%{name}/block-blkio.so
1298 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1299 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1300 %attr(755,root,root) %{_libdir}/%{name}/accel-tcg-i386.so
1301 %attr(755,root,root) %{_libdir}/%{name}/accel-tcg-x86_64.so
1302 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1304 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1306 %if %{with pulseaudio}
1307 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1310 %attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
1312 %attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
1313 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
1314 %{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so}
1315 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
1316 %{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so}
1317 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
1318 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
1319 %attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
1320 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-host.so
1321 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1322 %if %{with usbredir}
1323 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1325 %if %{with smartcard}
1326 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1329 %attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1330 %attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1333 %attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1334 %attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
1335 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1336 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
1338 %dir %{_datadir}/%{name}
1339 %dir %{_datadir}/%{name}/firmware
1340 %{_datadir}/%{name}/keymaps
1341 %{_datadir}/%{name}/trace-events-all
1343 %dir %{_datadir}/%{name}/vhost-user
1344 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1346 %{_desktopdir}/qemu.desktop
1347 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1348 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1349 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1350 %{_mandir}/man1/qemu.1*
1351 %{_mandir}/man1/qemu-storage-daemon.1*
1352 %{_mandir}/man1/virtfs-proxy-helper.1*
1353 %{_mandir}/man7/qemu-block-drivers.7*
1354 %{_mandir}/man7/qemu-cpu-models.7*
1355 %{_mandir}/man7/qemu-qmp-ref.7*
1356 %{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
1357 %{_mandir}/man8/qemu-nbd.8*
1358 %{_mandir}/man8/qemu-pr-helper.8*
1362 %defattr(644,root,root,755)
1363 %{_includedir}/qemu-plugin.h
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_bindir}/qemu-img
1368 %{_mandir}/man1/qemu-img.1*
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_bindir}/ivshmem-client
1373 %attr(755,root,root) %{_bindir}/ivshmem-server
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_bindir}/qemu-aarch64
1378 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1379 %attr(755,root,root) %{_bindir}/qemu-alpha
1380 %attr(755,root,root) %{_bindir}/qemu-arm
1381 %attr(755,root,root) %{_bindir}/qemu-armeb
1382 %attr(755,root,root) %{_bindir}/qemu-cris
1383 %attr(755,root,root) %{_bindir}/qemu-hexagon
1384 %attr(755,root,root) %{_bindir}/qemu-hppa
1385 %attr(755,root,root) %{_bindir}/qemu-i386
1386 %attr(755,root,root) %{_bindir}/qemu-io
1387 %attr(755,root,root) %{_bindir}/qemu-loongarch64
1388 %attr(755,root,root) %{_bindir}/qemu-m68k
1389 %attr(755,root,root) %{_bindir}/qemu-microblaze
1390 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1391 %attr(755,root,root) %{_bindir}/qemu-mips
1392 %attr(755,root,root) %{_bindir}/qemu-mipsel
1393 %attr(755,root,root) %{_bindir}/qemu-mips64
1394 %attr(755,root,root) %{_bindir}/qemu-mips64el
1395 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1396 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1397 %attr(755,root,root) %{_bindir}/qemu-nios2
1398 %attr(755,root,root) %{_bindir}/qemu-or1k
1399 %attr(755,root,root) %{_bindir}/qemu-ppc
1400 %attr(755,root,root) %{_bindir}/qemu-ppc64
1401 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1402 %attr(755,root,root) %{_bindir}/qemu-riscv32
1403 %attr(755,root,root) %{_bindir}/qemu-riscv64
1404 %attr(755,root,root) %{_bindir}/qemu-s390x
1405 %attr(755,root,root) %{_bindir}/qemu-sh4
1406 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1407 %attr(755,root,root) %{_bindir}/qemu-sparc
1408 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1409 %attr(755,root,root) %{_bindir}/qemu-sparc64
1410 %attr(755,root,root) %{_bindir}/qemu-x86_64
1411 %attr(755,root,root) %{_bindir}/qemu-xtensa
1412 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1414 %if %{with user_static}
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1418 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1419 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1420 %attr(755,root,root) %{_bindir}/qemu-arm-static
1421 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1422 %attr(755,root,root) %{_bindir}/qemu-cris-static
1423 %attr(755,root,root) %{_bindir}/qemu-hexagon-static
1424 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1425 %attr(755,root,root) %{_bindir}/qemu-i386-static
1426 %attr(755,root,root) %{_bindir}/qemu-loongarch64-static
1427 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1428 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1429 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1430 %attr(755,root,root) %{_bindir}/qemu-mips-static
1431 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1432 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1433 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1434 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1435 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1436 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1437 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1438 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1439 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1440 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1441 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1442 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1443 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1444 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1445 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1446 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1447 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1448 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1449 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1450 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1451 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1452 %{?with_systemtap:%attr(755,root,root) %{_bindir}/qemu-trace-stap-static}
1455 %files system-aarch64
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1458 %{_datadir}/%{name}/edk2-aarch64-code.fd
1459 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1464 %{_datadir}/%{name}/palcode-clipper
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_bindir}/qemu-system-arm
1469 %{_datadir}/%{name}/edk2-arm-code.fd
1470 %{_datadir}/%{name}/edk2-arm-vars.fd
1471 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1472 %{_datadir}/%{name}/npcm7xx_bootrom.bin
1475 %defattr(644,root,root,755)
1476 %attr(755,root,root) %{_bindir}/qemu-system-avr
1479 %defattr(644,root,root,755)
1480 %attr(755,root,root) %{_bindir}/qemu-system-cris
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1485 %{_datadir}/%{name}/hppa-firmware.img
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1491 %files system-microblaze
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1494 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1497 %defattr(644,root,root,755)
1498 %attr(755,root,root) %{_bindir}/qemu-system-loongarch64
1499 %attr(755,root,root) %{_bindir}/qemu-system-mips
1500 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1501 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1502 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1509 %defattr(644,root,root,755)
1510 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1515 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1516 %{_datadir}/%{name}/bamboo.dtb
1517 %{_datadir}/%{name}/canyonlands.dtb
1518 %{_datadir}/%{name}/openbios-ppc
1519 %{_datadir}/%{name}/petalogix-ml605.dtb
1520 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1521 %{_datadir}/%{name}/qemu_vga.ndrv
1522 %{_datadir}/%{name}/skiboot.lid
1523 %{_datadir}/%{name}/slof.bin
1524 %{_datadir}/%{name}/u-boot.e500
1525 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1526 %{_datadir}/%{name}/vof.bin
1527 %{_datadir}/%{name}/vof-nvram.bin
1529 %files system-riscv32
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1532 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1534 %files system-riscv64
1535 %defattr(644,root,root,755)
1536 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1537 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
1540 %defattr(644,root,root,755)
1541 %attr(755,root,root) %{_bindir}/qemu-system-rx
1544 %defattr(644,root,root,755)
1545 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1546 %{_datadir}/%{name}/s390-ccw.img
1547 %{_datadir}/%{name}/s390-netboot.img
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1552 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1555 %defattr(644,root,root,755)
1556 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1557 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1558 %{_datadir}/%{name}/QEMU,cgthree.bin
1559 %{_datadir}/%{name}/QEMU,tcx.bin
1560 %{_datadir}/%{name}/openbios-sparc32
1561 %{_datadir}/%{name}/openbios-sparc64
1563 %files system-tricore
1564 %defattr(644,root,root,755)
1565 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1568 %defattr(644,root,root,755)
1569 %attr(755,root,root) %{_bindir}/qemu-system-i386
1570 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1571 %ifarch %{ix86} %{x8664} x32
1572 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1573 /lib/udev/rules.d/80-kvm.rules
1575 %{_datadir}/%{name}/bios.bin
1576 %{_datadir}/%{name}/bios-256k.bin
1577 %{_datadir}/%{name}/bios-microvm.bin
1578 %{_datadir}/%{name}/edk2-i386-code.fd
1579 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1580 %{_datadir}/%{name}/edk2-i386-vars.fd
1581 %{_datadir}/%{name}/edk2-x86_64-code.fd
1582 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1583 %{_datadir}/%{name}/efi-e1000e.rom
1584 %{_datadir}/%{name}/efi-e1000.rom
1585 %{_datadir}/%{name}/efi-eepro100.rom
1586 %{_datadir}/%{name}/efi-ne2k_pci.rom
1587 %{_datadir}/%{name}/efi-pcnet.rom
1588 %{_datadir}/%{name}/efi-rtl8139.rom
1589 %{_datadir}/%{name}/efi-virtio.rom
1590 %{_datadir}/%{name}/efi-vmxnet3.rom
1591 %{_datadir}/%{name}/kvmvapic.bin
1592 %{_datadir}/%{name}/linuxboot.bin
1593 %{_datadir}/%{name}/linuxboot_dma.bin
1594 %{_datadir}/%{name}/multiboot.bin
1595 %{_datadir}/%{name}/multiboot_dma.bin
1596 %{_datadir}/%{name}/pvh.bin
1597 %{_datadir}/%{name}/pxe-e1000.rom
1598 %{_datadir}/%{name}/pxe-eepro100.rom
1599 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1600 %{_datadir}/%{name}/pxe-pcnet.rom
1601 %{_datadir}/%{name}/pxe-rtl8139.rom
1602 %{_datadir}/%{name}/pxe-virtio.rom
1603 %{_datadir}/%{name}/qboot.rom
1604 %{_datadir}/%{name}/vgabios.bin
1605 %{_datadir}/%{name}/vgabios-ati.bin
1606 %{_datadir}/%{name}/vgabios-bochs-display.bin
1607 %{_datadir}/%{name}/vgabios-cirrus.bin
1608 %{_datadir}/%{name}/vgabios-qxl.bin
1609 %{_datadir}/%{name}/vgabios-ramfb.bin
1610 %{_datadir}/%{name}/vgabios-stdvga.bin
1611 %{_datadir}/%{name}/vgabios-virtio.bin
1612 %{_datadir}/%{name}/vgabios-vmware.bin
1613 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1614 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1615 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1616 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1618 %files system-xtensa
1619 %defattr(644,root,root,755)
1620 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1621 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1624 %defattr(644,root,root,755)
1625 %attr(755,root,root) %{_bindir}/qemu-ga
1626 /lib/udev/rules.d/99-qemu-guest-agent.rules
1627 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1628 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1629 %{_mandir}/man7/qemu-ga-ref.7*
1630 %{_mandir}/man8/qemu-ga.8*
1632 %files module-audio-jack
1633 %defattr(644,root,root,755)
1634 %attr(755,root,root) %{_libdir}/%{name}/audio-jack.so
1636 %if %{with pipewire}
1637 %files module-audio-pipewire
1638 %defattr(644,root,root,755)
1639 %attr(755,root,root) %{_libdir}/%{name}/audio-pipewire.so
1642 %files module-block-curl
1643 %defattr(644,root,root,755)
1644 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1646 %if %{with glusterfs}
1647 %files module-block-gluster
1648 %defattr(644,root,root,755)
1649 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1653 %files module-block-iscsi
1654 %defattr(644,root,root,755)
1655 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1659 %files module-block-nfs
1660 %defattr(644,root,root,755)
1661 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1665 %files module-block-rbd
1666 %defattr(644,root,root,755)
1667 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1670 %files module-block-ssh
1671 %defattr(644,root,root,755)
1672 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
1674 %files module-ui-dbus
1675 %defattr(644,root,root,755)
1676 %attr(755,root,root) %{_libdir}/%{name}/audio-dbus.so
1677 %attr(755,root,root) %{_libdir}/%{name}/ui-dbus.so
1680 %files module-ui-gtk
1681 %defattr(644,root,root,755)
1682 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1686 %files module-ui-sdl
1687 %defattr(644,root,root,755)
1688 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1689 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1692 %if %{with systemtap}
1693 %files -n systemtap-qemu
1694 %defattr(644,root,root,755)
1695 %attr(755,root,root) %{_bindir}/qemu-trace-stap
1696 %{_datadir}/systemtap/tapset/qemu-*.stp
1697 %{_mandir}/man1/qemu-trace-stap.1*
1700 %if %{with vfio_user}
1701 %files -n libvfio-user
1702 %defattr(644,root,root,755)
1703 %attr(755,root,root) %{_libdir}/libvfio-user.so.*.*.*
1704 %attr(755,root,root) %ghost %{_libdir}/libvfio-user.so.0
1706 %files -n libvfio-user-devel
1707 %defattr(644,root,root,755)
1708 %attr(755,root,root) %{_libdir}/libvfio-user.so
1709 %{_includedir}/vfio-user