5 %bcond_without sdl # SDL UI and audio support
6 %bcond_without opengl # Don't require GL deps
7 %bcond_with 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_with 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
43 Summary: QEMU CPU Emulator
44 Summary(pl.UTF-8): QEMU - emulator procesora
48 License: GPL v2, BSD (edk2 firmware files)
49 Group: Applications/Emulators
50 Source0: https://download.qemu.org/%{name}-%{version}.tar.xz
51 # Source0-md5: d41853bffb18878dd1ff7afc2eb41f1a
52 # Loads kvm kernel modules at boot
53 Source3: kvm-modules-load.conf
57 Source6: ksm.sysconfig
60 Source10: ksmtuned.conf
61 Source12: 99-%{name}-guest-agent.rules
62 Source13: %{name}-guest-agent.init
63 Source14: %{name}-guest-agent.logrotate
64 Patch0: %{name}-no-fortify.patch
65 Patch2: %{name}-execve.patch
66 Patch3: %{name}-xattr.patch
67 Patch4: libjpeg-boolean.patch
68 Patch5: %{name}-u2f-emu.patch
69 Patch6: %{name}-linux-mount.patch
70 URL: https://www.qemu.org/
71 %{?with_opengl:BuildRequires: Mesa-libgbm-devel}
72 %{?with_opengl:BuildRequires: OpenGL-GLX-devel}
73 %{?with_opengl:BuildRequires: OpenGL-devel}
74 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
75 %{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
76 BuildRequires: alsa-lib-devel
77 %{?with_brlapi:BuildRequires: brlapi-devel}
78 BuildRequires: bzip2-devel
79 BuildRequires: capstone-devel >= 4.0
80 %{?with_ceph:BuildRequires: ceph-devel >= 12}
81 BuildRequires: curl-devel >= 7.29.0
82 BuildRequires: cyrus-sasl-devel >= 2
83 BuildRequires: daxctl-devel >= 57
84 BuildRequires: gcc >= 6:7.4
85 BuildRequires: gettext-tools
86 BuildRequires: glib2-devel >= 1:2.64
87 # minimal is 3.4 but new features are used up to 6
88 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
89 BuildRequires: gnutls-devel >= 3.6.14
90 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0}
91 BuildRequires: jack-audio-connection-kit-devel
93 #BuildRequires: keyutils-devel
94 BuildRequires: libaio-devel
95 BuildRequires: libbpf-devel
96 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
97 BuildRequires: libcap-ng-devel
98 BuildRequires: libdrm-devel
99 %{?with_opengl:BuildRequires: libepoxy-devel}
100 BuildRequires: libfdt-devel >= 1.5.1
101 BuildRequires: libfuse3-devel >= 3.8
102 %{?with_rdma:BuildRequires: libibverbs-devel}
103 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
104 %{?with_rdma:BuildRequires: libibumad-devel}
105 BuildRequires: libjpeg-devel
106 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
107 BuildRequires: libpng-devel >= 2:1.6.34
108 %{?with_rdma:BuildRequires: librdmacm-devel}
109 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
110 BuildRequires: libselinux-devel
111 BuildRequires: libssh-devel >= 0.8.7
113 #BuildRequires: libtasn1-devel
114 BuildRequires: libu2f-emu-devel
115 BuildRequires: libusb-devel >= 1.0.22
116 BuildRequires: liburing-devel >= 0.3
117 BuildRequires: libuuid-devel
118 BuildRequires: libxml2-devel >= 2.0
119 %{?with_lttng:BuildRequires: lttng-ust-devel >= 2.1}
120 BuildRequires: lzfse-devel
121 BuildRequires: lzo-devel >= 2
122 BuildRequires: meson >= 0.59.3
123 %{?with_multipath:BuildRequires: multipath-tools-devel}
124 BuildRequires: ncurses-devel
125 # also libgcrypt-devel >= 1.8 possible, but gnutls already pulls nettle
126 BuildRequires: nettle-devel >= 3.4
128 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
129 BuildRequires: numactl-devel
130 BuildRequires: pam-devel
131 BuildRequires: perl-Encode
132 BuildRequires: perl-tools-pod
133 BuildRequires: pixman-devel >= 0.21.8
134 BuildRequires: pkgconfig
135 %{?with_pmem:BuildRequires: pmdk-devel}
136 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
137 BuildRequires: python3 >= 1:3.6
138 BuildRequires: python3-sphinx_rtd_theme
139 BuildRequires: rpm-build >= 4.6
140 BuildRequires: rpmbuild(macros) >= 1.644
141 %{?with_system_seabios:BuildRequires: seabios}
142 BuildRequires: sed >= 4.0
143 %{?with_snappy:BuildRequires: snappy-devel}
144 BuildRequires: sphinx-pdg
146 BuildRequires: spice-protocol >= 0.12.3
147 BuildRequires: spice-server-devel >= 0.12.5
149 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
150 BuildRequires: tar >= 1:1.22
151 BuildRequires: texi2html
152 BuildRequires: texinfo
153 %{?with_multipath:BuildRequires: udev-devel}
154 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
155 %{?with_lttng:BuildRequires: userspace-rcu-devel}
156 BuildRequires: vde2-devel
158 %{?with_virgl:BuildRequires: virglrenderer-devel}
159 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
160 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
161 # min version is 4.2, more features up to 4.11
162 %{?with_xen:BuildRequires: xen-devel >= 4.11}
163 BuildRequires: xfsprogs-devel
164 %if %{with xkbcommon}
165 BuildRequires: xkeyboard-config
166 BuildRequires: xorg-lib-libxkbcommon-devel
168 BuildRequires: xorg-lib-libX11-devel
170 BuildRequires: zlib-devel
171 BuildRequires: zstd-devel >= 1.4.0
172 %if %{with user_static}
173 BuildRequires: glib2-static >= 1:2.74
174 BuildRequires: glibc-static
175 BuildRequires: pcre2-8-static >= 10.32
176 BuildRequires: zlib-static
178 Requires: %{name}-img = %{version}-%{release}
179 Requires: %{name}-system-aarch64 = %{version}-%{release}
180 Requires: %{name}-system-alpha = %{version}-%{release}
181 Requires: %{name}-system-arm = %{version}-%{release}
182 Requires: %{name}-system-avr = %{version}-%{release}
183 Requires: %{name}-system-cris = %{version}-%{release}
184 Requires: %{name}-system-hppa = %{version}-%{release}
185 Requires: %{name}-system-m68k = %{version}-%{release}
186 Requires: %{name}-system-microblaze = %{version}-%{release}
187 Requires: %{name}-system-mips = %{version}-%{release}
188 Requires: %{name}-system-nios2 = %{version}-%{release}
189 Requires: %{name}-system-or1k = %{version}-%{release}
190 Requires: %{name}-system-ppc = %{version}-%{release}
191 Requires: %{name}-system-riscv32 = %{version}-%{release}
192 Requires: %{name}-system-riscv64 = %{version}-%{release}
193 Requires: %{name}-system-rx = %{version}-%{release}
194 Requires: %{name}-system-s390x = %{version}-%{release}
195 Requires: %{name}-system-sh4 = %{version}-%{release}
196 Requires: %{name}-system-sparc = %{version}-%{release}
197 Requires: %{name}-system-tricore = %{version}-%{release}
198 Requires: %{name}-system-x86 = %{version}-%{release}
199 Requires: %{name}-system-xtensa = %{version}-%{release}
200 Requires: %{name}-user = %{version}-%{release}
201 Obsoletes: qemu-kvm < 2
203 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
205 %define systempkg_req \
206 Requires: capstone >= 4.0 \
207 Requires: daxctl-libs >= 57 \
208 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
209 Requires: libfdt >= 1.5.1 \
210 Requires: libfuse3 >= 3.8 \
211 %{?with_iscsi:Requires: libiscsi >= 1.9.0} \
212 Requires: libpng >= 2:1.6.34 \
213 %if %{with seccomp} \
214 Requires: libseccomp >= 2.3.0 \
216 Requires: liburing >= 0.3 \
217 Requires: libusb >= 1.0.22 \
218 Requires: pixman >= 0.21.8 \
220 Requires: spice-server-libs >= 0.12.5 \
222 %if %{with usbredir} \
223 Requires: usbredir >= 0.6 \
226 # don't strip/chrpath anything in there; these are boot images, roms etc
227 %define _noautostrip .*%{_datadir}/qemu/.*
228 %define _noautochrpath .*%{_datadir}/qemu/.*
231 QEMU is a FAST! processor emulator. By using dynamic translation it
232 achieves a reasonnable speed while being easy to port on new host
233 CPUs. QEMU has two operating modes:
235 - User mode emulation. In this mode, QEMU can launch Linux processes
236 compiled for one CPU on another CPU. Linux system calls are converted
237 because of endianness and 32/64 bit mismatches. Wine (Windows
238 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
240 - Full system emulation. In this mode, QEMU emulates a full system,
241 including a processor and various peripherials. It can also be used to
242 provide virtual hosting of several virtual PC on a single server.
244 %description -l pl.UTF-8
245 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
246 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
247 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
249 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
250 procesy linuksowe skompilowane dla jednego procesora na innym
251 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
252 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
253 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
256 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
257 włączając w to procesor i różne urządzenia peryferyjne. Może być także
258 używane do wirtualnego hostowania kilku wirtualnych pecetów na
259 pojedynczym serwerze.
262 Summary: QEMU common files needed by all QEMU targets
263 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
264 Group: Applications/Emulators
265 Requires(postun): /usr/sbin/groupdel
266 Requires(postun): /usr/sbin/userdel
267 Requires(pre): /bin/id
268 Requires(pre): /usr/bin/getgid
269 Requires(pre): /usr/sbin/groupadd
270 Requires(pre): /usr/sbin/useradd
271 Requires: glib2 >= 1:2.64
272 Requires: gnutls-libs >= 3.6.14
273 %{?with_gtk3:Requires: gtk+3 >= 3.22.0}
274 Requires: nettle >= 3.4
275 %{?with_vte:Requires: vte >= 0.32.0}
276 Requires: zstd >= 1.4.0
277 Provides: group(qemu)
279 Obsoletes: qemu-kvm-common < 2
280 Obsoletes: qemu-module-block-archipelago < 2.9.0
281 Obsoletes: qemu-system-lm32 < 5.2
282 Obsoletes: qemu-system-moxie < 6.1
283 Obsoletes: qemu-system-unicore32 < 5.2
284 Conflicts: qemu < 1.0-2
287 QEMU is a generic and open source processor emulator which achieves a
288 good emulation speed by using dynamic translation.
290 This package provides the common files needed by all QEMU targets.
292 %description common -l pl.UTF-8
293 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
294 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
296 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
300 Summary: Header file for QEMU plugins development
301 Summary(pl.UTF-8): Plik nagłówkowy do tworzenia wtyczek QEMU
302 Group: Development/Libraries
306 Header file for QEMU plugins development.
308 %description devel -l pl.UTF-8
309 Plik nagłówkowy do tworzenia wtyczek QEMU.
312 Summary: QEMU command line tool for manipulating disk images
313 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
314 Group: Applications/Emulators
315 Obsoletes: qemu-kvm-img < 2
316 Conflicts: qemu < 1.0-2
319 This package provides a command line tool for manipulating disk
322 %description img -l pl.UTF-8
323 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
327 Summary: Client and server for QEMU ivshmem device
328 Summary(pl.UTF-8): Klient i serwer dla urzÄ
\85dzeia ivshmem QEMU
329 Group: Development/Tools
332 This package provides client and server tools for QEMU's ivshmem
335 %description ivshmem -l pl.UTF-8
336 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
337 urzÄ…dzenia ivshmem QEMU.
340 Summary: QEMU user mode emulation of qemu targets
341 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
342 Group: Applications/Emulators
343 Requires: %{name}-common = %{version}-%{release}
344 Obsoletes: qemu-kvm-user < 2
347 QEMU is a generic and open source processor emulator which achieves a
348 good emulation speed by using dynamic translation.
350 This package provides the user mode emulation of QEMU targets.
352 %description user -l pl.UTF-8
353 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
354 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
356 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
359 Summary: QEMU user mode emulation of qemu targets static build
360 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
361 Group: Applications/Emulators
363 %description user-static
364 QEMU is a generic and open source processor emulator which achieves a
365 good emulation speed by using dynamic translation.
367 This package provides the user mode emulation of qemu targets built as
370 %description user-static -l pl.UTF-8
371 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
372 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
374 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
375 oparciu o programy wykonywalne zbudowane statycznie.
377 %package system-aarch64
378 Summary: QEMU system emulator for AArch64
379 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
380 Group: Applications/Emulators
381 Requires: %{name}-common = %{version}-%{release}
383 Obsoletes: qemu-kvm-system-aarch64 < 2
385 %description system-aarch64
386 QEMU is a generic and open source processor emulator which achieves a
387 good emulation speed by using dynamic translation.
389 This package provides the system emulator with AArch64 (ARM64) CPU.
391 %description system-aarch64 -l pl.UTF-8
392 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
393 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
395 Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
397 %package system-alpha
398 Summary: QEMU system emulator for Alpha
399 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
400 Group: Applications/Emulators
401 Requires: %{name}-common = %{version}-%{release}
403 Obsoletes: qemu-kvm-system-alpha < 2
405 %description system-alpha
406 QEMU is a generic and open source processor emulator which achieves a
407 good emulation speed by using dynamic translation.
409 This package provides the system emulator with Alpha CPU.
411 %description system-alpha -l pl.UTF-8
412 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
413 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
415 Ten pakiet zawiera emulator systemu z procesorem Alpha.
418 Summary: QEMU system emulator for 32-bit ARM
419 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
420 Group: Applications/Emulators
421 Requires: %{name}-common = %{version}-%{release}
423 Obsoletes: qemu-kvm-system-arm < 2
425 %description system-arm
426 QEMU is a generic and open source processor emulator which achieves a
427 good emulation speed by using dynamic translation.
429 This package provides the system emulator for 32-bit ARM.
431 %description system-arm -l pl.UTF-8
432 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
433 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
435 Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
438 Summary: QEMU system emulator for AVR
439 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AVR
440 Group: Applications/Emulators
441 Requires: %{name}-common = %{version}-%{release}
443 Obsoletes: qemu-kvm-system-avr < 2
445 %description system-avr
446 QEMU is a generic and open source processor emulator which achieves a
447 good emulation speed by using dynamic translation.
449 This package provides the system emulator for AVR.
451 %description system-avr -l pl.UTF-8
452 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
453 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
455 Ten pakiet zawiera emulator systemu z procesorem AVR.
458 Summary: QEMU system emulator for CRIS
459 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
460 Group: Applications/Emulators
461 Requires: %{name}-common = %{version}-%{release}
463 Obsoletes: qemu-kvm-system-cris < 2
465 %description system-cris
466 QEMU is a generic and open source processor emulator which achieves a
467 good emulation speed by using dynamic translation.
469 This package provides the system emulator with CRIS CPU.
471 %description system-cris -l pl.UTF-8
472 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
473 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
475 Ten pakiet zawiera emulator systemu z procesorem CRIS.
478 Summary: QEMU system emulator for HP/PA
479 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
480 Group: Applications/Emulators
481 Requires: %{name}-common = %{version}-%{release}
484 %description system-hppa
485 QEMU is a generic and open source processor emulator which achieves a
486 good emulation speed by using dynamic translation.
488 This package provides the system emulator with HP/PA (PA-RISC) CPU.
490 %description system-hppa -l pl.UTF-8
491 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
492 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
494 Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
496 %package system-loongarch
497 Summary: QEMU system emulator for Loongson
498 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Loongson
499 Group: Applications/Emulators
500 Requires: %{name}-common = %{version}-%{release}
503 %description system-loongarch
504 QEMU is a generic and open source processor emulator which achieves a
505 good emulation speed by using dynamic translation.
507 This package provides the system emulator with Loongson CPU.
509 %description system-loongarch -l pl.UTF-8
510 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
511 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
513 Ten pakiet zawiera emulator systemu z procesorem Loongson.
516 Summary: QEMU system emulator for m68k
517 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
518 Group: Applications/Emulators
519 Requires: %{name}-common = %{version}-%{release}
521 Obsoletes: qemu-kvm-system-m68k < 2
523 %description system-m68k
524 QEMU is a generic and open source processor emulator which achieves a
525 good emulation speed by using dynamic translation.
527 This package provides the system emulator with m68k (Motorola 68xxx)
530 %description system-m68k -l pl.UTF-8
531 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
532 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
534 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
537 %package system-microblaze
538 Summary: QEMU system emulator for MicroBlaze
539 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
540 Group: Applications/Emulators
541 Requires: %{name}-common = %{version}-%{release}
543 Obsoletes: qemu-kvm-system-microblaze < 2
545 %description system-microblaze
546 QEMU is a generic and open source processor emulator which achieves a
547 good emulation speed by using dynamic translation.
549 This package provides the system emulator with MicroBlaze CPU.
551 %description system-microblaze -l pl.UTF-8
552 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
553 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
555 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
558 Summary: QEMU system emulator for MIPS
559 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
560 Group: Applications/Emulators
561 Requires: %{name}-common = %{version}-%{release}
563 Obsoletes: qemu-kvm-system-mips < 2
565 %description system-mips
566 QEMU is a generic and open source processor emulator which achieves a
567 good emulation speed by using dynamic translation.
569 This package provides the system emulator with MIPS CPU.
571 %description system-mips -l pl.UTF-8
572 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
573 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
575 Ten pakiet zawiera emulator systemu z procesorem MIPS.
577 %package system-nios2
578 Summary: QEMU system emulator for Nios II
579 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
580 Group: Applications/Emulators
581 Requires: %{name}-common = %{version}-%{release}
584 %description system-nios2
585 QEMU is a generic and open source processor emulator which achieves a
586 good emulation speed by using dynamic translation.
588 This package provides the system emulator with Nios II CPU.
590 %description system-nios2 -l pl.UTF-8
591 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
592 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
594 Ten pakiet zawiera emulator systemu z procesorem Nios II.
597 Summary: QEMU system emulator for OpenRISC
598 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
599 Group: Applications/Emulators
600 Requires: %{name}-common = %{version}-%{release}
602 Obsoletes: qemu-kvm-system-or1k < 2
603 Obsoletes: qemu-system-or32 < 2.9.0
605 %description system-or1k
606 QEMU is a generic and open source processor emulator which achieves a
607 good emulation speed by using dynamic translation.
609 This package provides the system emulator with OpenRISC CPU.
611 %description system-or1k -l pl.UTF-8
612 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
613 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
615 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
618 Summary: QEMU system emulator for PowerPC
619 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
620 Group: Applications/Emulators
621 Requires: %{name}-common = %{version}-%{release}
623 Obsoletes: qemu-kvm-system-ppc < 2
625 %description system-ppc
626 QEMU is a generic and open source processor emulator which achieves a
627 good emulation speed by using dynamic translation.
629 This package provides the system emulator with PowerPC CPU.
631 %description system-ppc -l pl.UTF-8
632 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
633 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
635 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
637 %package system-riscv32
638 Summary: QEMU system emulator for RISC-V (32 bit)
639 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
640 Group: Applications/Emulators
641 Requires: %{name}-common = %{version}-%{release}
644 %description system-riscv32
645 QEMU is a generic and open source processor emulator which achieves a
646 good emulation speed by using dynamic translation.
648 This package provides the system emulator with RISC-V (32 bit) CPU.
650 %description system-riscv32 -l pl.UTF-8
651 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
652 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
654 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
656 %package system-riscv64
657 Summary: QEMU system emulator for RISC-V (64 bit)
658 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
659 Group: Applications/Emulators
660 Requires: %{name}-common = %{version}-%{release}
663 %description system-riscv64
664 QEMU is a generic and open source processor emulator which achieves a
665 good emulation speed by using dynamic translation.
667 This package provides the system emulator with RISC-V (64 bit) CPU.
669 %description system-riscv64 -l pl.UTF-8
670 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
671 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
673 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
676 Summary: QEMU system emulator for Renesas RX
677 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
678 Group: Applications/Emulators
679 Requires: %{name}-common = %{version}-%{release}
682 %description system-rx
683 QEMU is a generic and open source processor emulator which achieves a
684 good emulation speed by using dynamic translation.
686 This package provides the system emulator with Renesas RX CPU.
688 %description system-rx -l pl.UTF-8
689 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
690 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
692 Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
694 %package system-s390x
695 Summary: QEMU system emulator for S390x (IBM Z)
696 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
697 Group: Applications/Emulators
698 Requires: %{name}-common = %{version}-%{release}
700 Obsoletes: qemu-kvm-system-s390x < 2
702 %description system-s390x
703 QEMU is a generic and open source processor emulator which achieves a
704 good emulation speed by using dynamic translation.
706 This package provides the system emulator with S390x (IBM Z) CPU.
708 %description system-s390x -l pl.UTF-8
709 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
710 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
712 Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
715 Summary: QEMU system emulator for SH4
716 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
717 Group: Applications/Emulators
718 Requires: %{name}-common = %{version}-%{release}
720 Obsoletes: qemu-kvm-system-sh4 < 2
722 %description system-sh4
723 QEMU is a generic and open source processor emulator which achieves a
724 good emulation speed by using dynamic translation.
726 This package provides the system emulator with SH4 CPU.
728 %description system-sh4 -l pl.UTF-8
729 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
730 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
732 Ten pakiet zawiera emulator systemu z procesorem SH4.
734 %package system-sparc
735 Summary: QEMU system emulator for SPARC
736 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
737 Group: Applications/Emulators
738 Requires: %{name}-common = %{version}-%{release}
740 Obsoletes: qemu-kvm-system-sparc < 2
742 %description system-sparc
743 QEMU is a generic and open source processor emulator which achieves a
744 good emulation speed by using dynamic translation.
746 This package provides the system emulator with SPARC/SPARC64 CPU.
748 %description system-sparc -l pl.UTF-8
749 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
750 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
752 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
754 %package system-tricore
755 Summary: QEMU system emulator for TriCore
756 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
757 Group: Applications/Emulators
758 Requires: %{name}-common = %{version}-%{release}
761 %description system-tricore
762 QEMU is a generic and open source processor emulator which achieves a
763 good emulation speed by using dynamic translation.
765 This package provides the system emulator with TriCore CPU.
767 %description system-tricore -l pl.UTF-8
768 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
769 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
771 Ten pakiet zawiera emulator systemu z procesorem TriCore.
774 Summary: QEMU system emulator for x86
775 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
776 Group: Applications/Emulators
777 Requires: %{name}-common = %{version}-%{release}
778 %{?with_system_seabios:Requires: seabios}
781 Obsoletes: qemu-kvm-system-x86 < 2
783 %description system-x86
784 QEMU is a generic and open source processor emulator which achieves a
785 good emulation speed by using dynamic translation.
787 This package provides the system emulator with x86 CPU.
789 %description system-x86 -l pl.UTF-8
790 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
791 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
793 Ten pakiet zawiera emulator systemu z procesorem x86.
795 %package system-xtensa
796 Summary: QEMU system emulator for Xtensa
797 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
798 Group: Applications/Emulators
799 Requires: %{name}-common = %{version}-%{release}
801 Obsoletes: qemu-kvm-system-xtensa < 2
803 %description system-xtensa
804 QEMU is a generic and open source processor emulator which achieves a
805 good emulation speed by using dynamic translation.
807 This package provides the system emulator with Xtensa CPU.
809 %description system-xtensa -l pl.UTF-8
810 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
811 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
813 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
816 Summary: QEMU guest agent
817 Summary(pl.UTF-8): Agent gościa QEMU
819 Requires: glib2 >= 1:2.64
820 Requires: liburing >= 0.3
821 Obsoletes: qemu-kvm-guest-agent < 2
822 Conflicts: SysVinit < 2.96-2
824 %description guest-agent
825 QEMU is a generic and open source processor emulator which achieves a
826 good emulation speed by using dynamic translation.
828 This package provides an agent to run inside guests, which
829 communicates with the host over a virtio-serial channel named
830 "org.qemu.guest_agent.0".
832 This package does not need to be installed on the host OS.
834 %description guest-agent -l pl.UTF-8
835 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
836 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
838 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
839 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
840 "org.qemu.guest_agent.0".
842 Ten pakiet nie musi być zainstalowany w systemie hosta.
844 %package module-audio-jack
845 Summary: QEMU module for JACK audio output
846 Summary(pl.UTF-8): Moduł QEMU z wyjściem dźwięku JACK
847 Group: Applications/Emulators
848 Requires: %{name}-common = %{version}-%{release}
850 %description module-audio-jack
851 QEMU module for JACK audio output.
853 %description module-audio-jack -l pl.UTF-8
854 Moduł QEMU z wyjściem dźwięku JACK.
856 %package module-block-curl
857 Summary: QEMU module for 'curl' block devices
858 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
859 Group: Applications/Emulators
860 Requires: %{name}-common = %{version}-%{release}
861 Requires: curl-libs >= 7.29.0
863 %description module-block-curl
864 QEMU block device support for CURL. It allows to access remote disks
865 over http, https, ftp and other transports provided by the CURL
868 %description module-block-curl -l pl.UTF-8
869 Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
870 dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
873 %package module-block-gluster
874 Summary: QEMU module for 'gluster' block devices
875 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
876 Group: Applications/Emulators
877 Requires: %{name}-common = %{version}-%{release}
878 Requires: glusterfs-libs >= 6
880 %description module-block-gluster
881 QEMU block device support for remote Gluster storage.
883 %description module-block-gluster -l pl.UTF-8
884 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
887 %package module-block-iscsi
888 Summary: QEMU module for 'iscsi' block devices
889 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
890 Group: Applications/Emulators
891 Requires: %{name}-common = %{version}-%{release}
892 Requires: libiscsi >= 1.9.0
894 %description module-block-iscsi
895 QEMU block device support for iSCSI volumes.
897 %description module-block-iscsi -l pl.UTF-8
898 Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
900 %package module-block-nfs
901 Summary: QEMU module for 'nfs' block devices
902 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
903 Group: Applications/Emulators
904 Requires: %{name}-common = %{version}-%{release}
905 Requires: libnfs >= 1.9.3
907 %description module-block-nfs
908 QEMU block device support for remote NFS storage.
910 %description module-block-nfs -l pl.UTF-8
911 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
914 %package module-block-rbd
915 Summary: QEMU module for 'rbd' block devices
916 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
917 Group: Applications/Emulators
918 Requires: %{name}-common = %{version}-%{release}
919 Requires: ceph-libs >= 12
921 %description module-block-rbd
922 QEMU block device support for Ceph/RBD volumes.
924 %description module-block-rbd -l pl.UTF-8
925 Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
927 %package module-block-ssh
928 Summary: QEMU module for 'ssh' block devices
929 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
930 Group: Applications/Emulators
931 Requires: %{name}-common = %{version}-%{release}
932 Requires: libssh >= 0.8.7
934 %description module-block-ssh
935 QEMU block device support for accessing remote disks using the Secure
936 Shell (SSH) protocol.
938 %description module-block-ssh -l pl.UTF-8
939 Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
940 protokół SSH (Secure Shell).
942 %package module-ui-dbus
943 Summary: QEMU DBus UI driver
944 Summary(pl.UTF-8): Sterownik interfejsu użytkownika DBus dla QEMU
945 Group: Applications/Emulators
946 Requires: %{name}-common = %{version}-%{release}
948 %description module-ui-dbus
951 %description module-ui-dbus -l pl.UTF-8
952 Sterownik interfejsu użytkownika DBus dla QEMU.
954 %package module-ui-gtk
955 Summary: QEMU GTK UI driver
956 Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
957 Group: Applications/Emulators
958 Requires: %{name}-common = %{version}-%{release}
960 %description module-ui-gtk
963 %description module-ui-gtk -l pl.UTF-8
964 Sterownik interfejsu użytkownika GTK dla QEMU.
966 %package module-ui-sdl
967 Summary: QEMU SDL UI and audio driver
968 Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
969 Group: Applications/Emulators
970 Requires: %{name}-common = %{version}-%{release}
972 %description module-ui-sdl
973 QEMU SDL UI and audio driver.
975 %description module-ui-sdl -l pl.UTF-8
976 Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
978 %package -n systemtap-qemu
979 Summary: systemtap/dtrace probes for QEMU
980 Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
981 Group: Development/Tools
982 Requires: %{name}-common = %{version}-%{release}
983 Requires: systemtap-client
985 %description -n systemtap-qemu
986 systemtap/dtrace probes for QEMU.
988 %description -n systemtap-qemu -l pl.UTF-8
989 Sondy systemtap/dtrace dla QEMU.
1000 %{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
1002 %if %{with systemtap}
1003 # don't require stap binary during build
1004 %{__sed} -i -e "s/stap.found()/true/" meson.build docs/meson.build scripts/meson.build
1012 install -d build-$target
1016 --prefix=%{_prefix} \
1017 --libdir=%{_libdir} \
1018 --libexecdir=%{_libexecdir} \
1019 --sysconfdir=%{_sysconfdir} \
1020 --localstatedir=%{_localstatedir} \
1021 --interp-prefix=%{_libdir}/qemu/lib-%%M \
1024 --host-cc="%{__cc}" \
1026 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
1032 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
1038 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
1039 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
1040 --audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
1042 %{__enable_disable brlapi} \
1049 %{__enable_disable glusterfs} \
1050 %{!?with_gtk3:--disable-gtk} \
1051 %{__enable_disable iscsi libiscsi} \
1052 %{__enable_disable libnfs} \
1053 %{__enable_disable pmem libpmem} \
1055 %{__enable_disable multipath mpath} \
1059 %{__enable_disable ceph rbd} \
1060 %{__enable_disable rdma} \
1061 %{__enable_disable sdl} \
1062 %{__enable_disable seccomp} \
1063 %{__enable_disable spice} \
1064 %{__enable_disable smartcard} \
1065 %{__enable_disable snappy} \
1067 %{__enable_disable usbredir usb-redir} \
1069 %{__enable_disable virgl virglrenderer} \
1073 %{!?with_vte:--disable-vte} \
1074 %{__enable_disable xen} \
1075 %{__enable_disable xkbcommon}
1077 %if %{with user_static}
1081 --disable-capstone \
1087 --disable-guest-agent \
1088 --disable-guest-agent-msi \
1090 --disable-linux-io-uring \
1100 --disable-xkbcommon \
1105 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1108 rm -rf $RPM_BUILD_ROOT
1110 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1111 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
1113 %if %{with user_static}
1114 %{__make} -C build-static install \
1115 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1116 DESTDIR=$RPM_BUILD_ROOT
1118 # Give all QEMU user emulators a -static suffix
1119 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
1120 %{__mv} $src $src-static
1125 %{__make} -C build-dynamic install \
1126 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1127 DESTDIR=$RPM_BUILD_ROOT
1129 # let rpm generate dependencies
1130 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1132 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1134 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1135 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1140 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1142 %ifarch %{ix86} %{x8664} x32
1143 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1144 install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
1147 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1148 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1150 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1151 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1153 # For the qemu-guest-agent subpackage install the udev rules.
1154 install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
1156 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1157 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1159 %if %{with system_seabios}
1160 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1161 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1165 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1166 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1172 for t in client server; do
1173 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1177 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/accel-qtest-*.so
1178 # Windows installer icon, not used
1179 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1181 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1183 # cleanup Sphinx files
1184 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{.buildinfo,objects.inv}
1187 rm -rf $RPM_BUILD_ROOT
1190 %groupadd -g 160 kvm
1191 %groupadd -g 276 qemu
1192 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1195 if [ "$1" = "0" ]; then
1202 /sbin/chkconfig --add qemu-ga
1203 %service qemu-ga restart "qemu-ga"
1206 if [ "$1" = "0" ]; then
1207 %service qemu-ga stop
1208 /sbin/chkconfig --del qemu-ga
1212 %defattr(644,root,root,755)
1214 %files common -f %{name}.lang
1215 %defattr(644,root,root,755)
1216 %doc LICENSE README.rst pc-bios/edk2-licenses.txt
1217 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1218 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1219 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1220 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1222 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1223 %attr(755,root,root) %{_bindir}/elf2dmp
1224 %attr(755,root,root) %{_bindir}/qemu-edid
1225 %if %{with xkbcommon}
1226 %attr(755,root,root) %{_bindir}/qemu-keymap
1228 %attr(755,root,root) %{_bindir}/qemu-nbd
1229 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1230 %attr(755,root,root) %{_bindir}/qemu-storage-daemon
1231 %attr(755,root,root) %{_sbindir}/ksmctl
1232 %attr(755,root,root) %{_sbindir}/ksmtuned
1233 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1235 %attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1237 %attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
1238 %dir %{_libdir}/%{name}
1239 # modules without too many external dependencies
1240 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1241 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1242 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1244 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1246 %if %{with pulseaudio}
1247 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1250 %attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1251 %attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
1252 %attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
1254 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
1255 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so
1256 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
1257 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so
1258 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
1259 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
1260 %attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
1261 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-host.so
1262 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1263 %attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1264 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1265 %attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1267 %attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1270 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1271 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
1273 %dir %{_datadir}/%{name}
1274 %dir %{_datadir}/%{name}/firmware
1275 %{_datadir}/%{name}/keymaps
1276 %{_datadir}/%{name}/trace-events-all
1277 %dir %{_datadir}/%{name}/vhost-user
1279 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1281 %{_desktopdir}/qemu.desktop
1282 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1283 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1284 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1285 %{_mandir}/man1/qemu.1*
1286 %{_mandir}/man1/qemu-storage-daemon.1*
1287 %{_mandir}/man1/virtfs-proxy-helper.1*
1288 %{_mandir}/man7/qemu-block-drivers.7*
1289 %{_mandir}/man7/qemu-cpu-models.7*
1290 %{_mandir}/man7/qemu-qmp-ref.7*
1291 %{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
1292 %{_mandir}/man8/qemu-nbd.8*
1293 %{_mandir}/man8/qemu-pr-helper.8*
1297 %defattr(644,root,root,755)
1298 %{_includedir}/qemu-plugin.h
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/qemu-img
1303 %{_mandir}/man1/qemu-img.1*
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_bindir}/ivshmem-client
1308 %attr(755,root,root) %{_bindir}/ivshmem-server
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_bindir}/qemu-aarch64
1313 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1314 %attr(755,root,root) %{_bindir}/qemu-alpha
1315 %attr(755,root,root) %{_bindir}/qemu-arm
1316 %attr(755,root,root) %{_bindir}/qemu-armeb
1317 %attr(755,root,root) %{_bindir}/qemu-cris
1318 %attr(755,root,root) %{_bindir}/qemu-hexagon
1319 %attr(755,root,root) %{_bindir}/qemu-hppa
1320 %attr(755,root,root) %{_bindir}/qemu-i386
1321 %attr(755,root,root) %{_bindir}/qemu-io
1322 %attr(755,root,root) %{_bindir}/qemu-loongarch64
1323 %attr(755,root,root) %{_bindir}/qemu-m68k
1324 %attr(755,root,root) %{_bindir}/qemu-microblaze
1325 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1326 %attr(755,root,root) %{_bindir}/qemu-mips
1327 %attr(755,root,root) %{_bindir}/qemu-mipsel
1328 %attr(755,root,root) %{_bindir}/qemu-mips64
1329 %attr(755,root,root) %{_bindir}/qemu-mips64el
1330 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1331 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1332 %attr(755,root,root) %{_bindir}/qemu-nios2
1333 %attr(755,root,root) %{_bindir}/qemu-or1k
1334 %attr(755,root,root) %{_bindir}/qemu-ppc
1335 %attr(755,root,root) %{_bindir}/qemu-ppc64
1336 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1337 %attr(755,root,root) %{_bindir}/qemu-riscv32
1338 %attr(755,root,root) %{_bindir}/qemu-riscv64
1339 %attr(755,root,root) %{_bindir}/qemu-s390x
1340 %attr(755,root,root) %{_bindir}/qemu-sh4
1341 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1342 %attr(755,root,root) %{_bindir}/qemu-sparc
1343 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1344 %attr(755,root,root) %{_bindir}/qemu-sparc64
1345 %attr(755,root,root) %{_bindir}/qemu-x86_64
1346 %attr(755,root,root) %{_bindir}/qemu-xtensa
1347 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1349 %if %{with user_static}
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1353 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1354 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1355 %attr(755,root,root) %{_bindir}/qemu-arm-static
1356 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1357 %attr(755,root,root) %{_bindir}/qemu-cris-static
1358 %attr(755,root,root) %{_bindir}/qemu-hexagon-static
1359 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1360 %attr(755,root,root) %{_bindir}/qemu-i386-static
1361 %attr(755,root,root) %{_bindir}/qemu-loongarch64-static
1362 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1363 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1364 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1365 %attr(755,root,root) %{_bindir}/qemu-mips-static
1366 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1367 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1368 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1369 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1370 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1371 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1372 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1373 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1374 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1375 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1376 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1377 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1378 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1379 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1380 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1381 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1382 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1383 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1384 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1385 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1386 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1387 %if %{with systemtap}
1388 %attr(755,root,root) %{_bindir}/qemu-trace-stap-static
1392 %files system-aarch64
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1395 %{_datadir}/%{name}/edk2-aarch64-code.fd
1396 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1401 %{_datadir}/%{name}/palcode-clipper
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_bindir}/qemu-system-arm
1406 %{_datadir}/%{name}/edk2-arm-code.fd
1407 %{_datadir}/%{name}/edk2-arm-vars.fd
1408 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1409 %{_datadir}/%{name}/npcm7xx_bootrom.bin
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_bindir}/qemu-system-avr
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_bindir}/qemu-system-cris
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1421 %{_datadir}/%{name}/hppa-firmware.img
1423 %files system-loongarch
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_bindir}/qemu-system-loongarch64
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1431 %files system-microblaze
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1434 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_bindir}/qemu-system-mips
1439 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1440 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1441 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1454 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1455 %{_datadir}/%{name}/bamboo.dtb
1456 %{_datadir}/%{name}/canyonlands.dtb
1457 %{_datadir}/%{name}/openbios-ppc
1458 %{_datadir}/%{name}/petalogix-ml605.dtb
1459 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1460 %{_datadir}/%{name}/qemu_vga.ndrv
1461 %{_datadir}/%{name}/skiboot.lid
1462 %{_datadir}/%{name}/slof.bin
1463 %{_datadir}/%{name}/u-boot.e500
1464 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1466 %files system-riscv32
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1469 %{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1471 %files system-riscv64
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1474 %{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_bindir}/qemu-system-rx
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1483 %{_datadir}/%{name}/s390-ccw.img
1484 %{_datadir}/%{name}/s390-netboot.img
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1489 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1494 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1495 %{_datadir}/%{name}/QEMU,cgthree.bin
1496 %{_datadir}/%{name}/QEMU,tcx.bin
1497 %{_datadir}/%{name}/openbios-sparc32
1498 %{_datadir}/%{name}/openbios-sparc64
1500 %files system-tricore
1501 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_bindir}/qemu-system-i386
1507 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1508 %attr(755,root,root) %{_libdir}/%{name}/accel-tcg-i386.so
1509 %attr(755,root,root) %{_libdir}/%{name}/accel-tcg-x86_64.so
1510 %ifarch %{ix86} %{x8664} x32
1511 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1512 /lib/udev/rules.d/80-kvm.rules
1514 %{_datadir}/%{name}/bios.bin
1515 %{_datadir}/%{name}/bios-256k.bin
1516 %{_datadir}/%{name}/bios-microvm.bin
1517 %{_datadir}/%{name}/edk2-i386-code.fd
1518 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1519 %{_datadir}/%{name}/edk2-i386-vars.fd
1520 %{_datadir}/%{name}/edk2-x86_64-code.fd
1521 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1522 %{_datadir}/%{name}/efi-e1000e.rom
1523 %{_datadir}/%{name}/efi-e1000.rom
1524 %{_datadir}/%{name}/efi-eepro100.rom
1525 %{_datadir}/%{name}/efi-ne2k_pci.rom
1526 %{_datadir}/%{name}/efi-pcnet.rom
1527 %{_datadir}/%{name}/efi-rtl8139.rom
1528 %{_datadir}/%{name}/efi-virtio.rom
1529 %{_datadir}/%{name}/efi-vmxnet3.rom
1530 %{_datadir}/%{name}/kvmvapic.bin
1531 %{_datadir}/%{name}/linuxboot.bin
1532 %{_datadir}/%{name}/linuxboot_dma.bin
1533 %{_datadir}/%{name}/multiboot.bin
1534 %{_datadir}/%{name}/multiboot_dma.bin
1535 %{_datadir}/%{name}/pvh.bin
1536 %{_datadir}/%{name}/pxe-e1000.rom
1537 %{_datadir}/%{name}/pxe-eepro100.rom
1538 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1539 %{_datadir}/%{name}/pxe-pcnet.rom
1540 %{_datadir}/%{name}/pxe-rtl8139.rom
1541 %{_datadir}/%{name}/pxe-virtio.rom
1542 %{_datadir}/%{name}/qboot.rom
1543 %{_datadir}/%{name}/vgabios.bin
1544 %{_datadir}/%{name}/vgabios-ati.bin
1545 %{_datadir}/%{name}/vgabios-bochs-display.bin
1546 %{_datadir}/%{name}/vgabios-cirrus.bin
1547 %{_datadir}/%{name}/vgabios-qxl.bin
1548 %{_datadir}/%{name}/vgabios-ramfb.bin
1549 %{_datadir}/%{name}/vgabios-stdvga.bin
1550 %{_datadir}/%{name}/vgabios-virtio.bin
1551 %{_datadir}/%{name}/vgabios-vmware.bin
1552 %{_datadir}/%{name}/vof.bin
1553 %{_datadir}/%{name}/vof-nvram.bin
1554 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1555 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1556 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1557 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1559 %files system-xtensa
1560 %defattr(644,root,root,755)
1561 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1562 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1565 %defattr(644,root,root,755)
1566 %attr(755,root,root) %{_bindir}/qemu-ga
1567 /lib/udev/rules.d/99-qemu-guest-agent.rules
1568 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1569 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1570 %{_mandir}/man7/qemu-ga-ref.7*
1571 %{_mandir}/man8/qemu-ga.8*
1573 %files module-audio-jack
1574 %defattr(644,root,root,755)
1575 %attr(755,root,root) %{_libdir}/%{name}/audio-jack.so
1577 %files module-block-curl
1578 %defattr(644,root,root,755)
1579 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1581 %if %{with glusterfs}
1582 %files module-block-gluster
1583 %defattr(644,root,root,755)
1584 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1588 %files module-block-iscsi
1589 %defattr(644,root,root,755)
1590 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1594 %files module-block-nfs
1595 %defattr(644,root,root,755)
1596 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1600 %files module-block-rbd
1601 %defattr(644,root,root,755)
1602 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1605 %files module-block-ssh
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
1609 %files module-ui-dbus
1610 %defattr(644,root,root,755)
1611 %attr(755,root,root) %{_libdir}/%{name}/audio-dbus.so
1612 %attr(755,root,root) %{_libdir}/%{name}/ui-dbus.so
1615 %files module-ui-gtk
1616 %defattr(644,root,root,755)
1617 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1621 %files module-ui-sdl
1622 %defattr(644,root,root,755)
1623 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1624 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1627 %if %{with systemtap}
1628 %files -n systemtap-qemu
1629 %defattr(644,root,root,755)
1630 %attr(755,root,root) %{_bindir}/qemu-trace-stap
1631 %{_datadir}/systemtap/tapset/qemu-*.stp
1632 %{_mandir}/man1/qemu-trace-stap.1*