2 # libpmem (x86_64 only?)
6 %bcond_without sdl # SDL UI and audio support
7 %bcond_without opengl # Don't require GL deps
8 %bcond_without 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_without 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_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_with systemtap # SystemTap/dtrace trace backend support
29 %bcond_without virgl # build virgl support
30 %bcond_with vxhs # Veritas HyperScale vDisk backend support (builtin; module not supported)
31 %bcond_without xkbcommon # xkbcommon support
40 Summary: QEMU CPU Emulator
41 Summary(pl.UTF-8): QEMU - emulator procesora
45 License: GPL v2, BSD (edk2 firmware files)
46 Group: Applications/Emulators
47 Source0: https://download.qemu.org/%{name}-%{version}.tar.xz
48 # Source0-md5: ede6005d7143fe994dd089d31dc2cf6c
49 # Loads kvm kernel modules at boot
50 Source3: kvm-modules-load.conf
55 Source6: ksm.sysconfig
57 Source8: ksmtuned.service
59 Source10: ksmtuned.conf
60 Source11: %{name}-guest-agent.service
61 Source12: 99-%{name}-guest-agent.rules
62 Source13: %{name}-guest-agent.init
63 Source14: %{name}-guest-agent.logrotate
64 Patch0: %{name}-cflags.patch
65 Patch1: %{name}-whitelist.patch
66 Patch2: %{name}-user-execve.patch
67 Patch3: %{name}-xattr.patch
68 Patch4: libjpeg-boolean.patch
70 Patch6: %{name}-vxhs.patch
71 URL: https://www.qemu.org/
72 %{?with_opengl:BuildRequires: Mesa-libgbm-devel}
73 %{?with_opengl:BuildRequires: OpenGL-GLX-devel}
74 %{?with_opengl:BuildRequires: OpenGL-devel}
75 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
76 %{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
77 BuildRequires: alsa-lib-devel
78 BuildRequires: bcc >= 0.16.21-2
79 %{?with_brlapi:BuildRequires: brlapi-devel}
80 BuildRequires: bzip2-devel
81 BuildRequires: capstone-devel >= 3.0.5
82 %{?with_ceph:BuildRequires: ceph-devel}
83 BuildRequires: curl-devel
84 BuildRequires: cyrus-sasl-devel >= 2
85 BuildRequires: glib2-devel >= 1:2.48
86 # minimal is 3.4 but new features are used up to 6
87 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
88 BuildRequires: gnutls-devel >= 3.1.18
89 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.16}
90 BuildRequires: libaio-devel
91 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
92 BuildRequires: libcap-ng-devel
93 %{?with_opengl:BuildRequires: libepoxy-devel}
94 BuildRequires: libfdt-devel >= 1.4.2
95 %{?with_rdma:BuildRequires: libibverbs-devel}
96 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
97 %{?with_rdma:BuildRequires: libibumad-devel}
98 BuildRequires: libjpeg-devel
99 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
100 BuildRequires: libpng-devel
101 %{?with_rdma:BuildRequires: librdmacm-devel}
102 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
103 BuildRequires: libssh-devel >= 0.8
104 BuildRequires: libslirp-devel >= 4.0.0
106 #BuildRequires: libtasn1-devel
107 BuildRequires: libusb-devel >= 1.0.22
108 BuildRequires: liburing-devel
109 BuildRequires: libuuid-devel
110 %{?with_vxhs:BuildRequires: libvxhs-devel}
111 BuildRequires: libxml2-devel >= 2.0
112 %{?with_lttng:BuildRequires: lttng-ust-devel}
113 BuildRequires: lzfse-devel
114 BuildRequires: lzo-devel >= 2
115 %{?with_multipath:BuildRequires: multipath-tools-devel}
116 BuildRequires: ncurses-devel
117 # also libgcrypt-devel >= 1.5.0 possible, but gnutls already pulls nettle
118 BuildRequires: nettle-devel >= 2.7.1
119 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
120 BuildRequires: numactl-devel
121 BuildRequires: pam-devel
122 BuildRequires: perl-Encode
123 BuildRequires: perl-tools-pod
124 BuildRequires: pixman-devel >= 0.21.8
125 BuildRequires: pkgconfig
126 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
127 BuildRequires: python3 >= 1:3.5
128 BuildRequires: rpmbuild(macros) >= 1.644
129 %{?with_system_seabios:BuildRequires: seabios}
130 BuildRequires: sed >= 4.0
131 %{?with_snappy:BuildRequires: snappy-devel}
132 BuildRequires: sphinx-pdg
134 BuildRequires: spice-protocol >= 0.12.3
135 BuildRequires: spice-server-devel >= 0.12.5
137 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
138 BuildRequires: texi2html
139 BuildRequires: texinfo
140 %{?with_multipath:BuildRequires: udev-devel}
141 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
142 %{?with_lttng:BuildRequires: userspace-rcu-devel}
143 BuildRequires: vde2-devel
145 %{?with_virgl:BuildRequires: virglrenderer-devel}
146 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
147 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel [xentoolcore for xen 4.10+]
148 %{?with_xen:BuildRequires: xen-devel >= 4.2}
149 BuildRequires: xfsprogs-devel
150 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
151 BuildRequires: xorg-lib-libX11-devel
152 BuildRequires: zlib-devel
153 BuildRequires: zstd-devel >= 1.4.0
154 %if %{with user_static}
155 BuildRequires: glib2-static >= 1:2.48
156 BuildRequires: glibc-static
157 BuildRequires: pcre-static
158 BuildRequires: zlib-static
160 Requires: %{name}-img = %{version}-%{release}
161 Requires: %{name}-system-aarch64 = %{version}-%{release}
162 Requires: %{name}-system-alpha = %{version}-%{release}
163 Requires: %{name}-system-arm = %{version}-%{release}
164 Requires: %{name}-system-cris = %{version}-%{release}
165 Requires: %{name}-system-hppa = %{version}-%{release}
166 Requires: %{name}-system-lm32 = %{version}-%{release}
167 Requires: %{name}-system-m68k = %{version}-%{release}
168 Requires: %{name}-system-microblaze = %{version}-%{release}
169 Requires: %{name}-system-mips = %{version}-%{release}
170 Requires: %{name}-system-moxie = %{version}-%{release}
171 Requires: %{name}-system-nios2 = %{version}-%{release}
172 Requires: %{name}-system-or1k = %{version}-%{release}
173 Requires: %{name}-system-ppc = %{version}-%{release}
174 Requires: %{name}-system-riscv32 = %{version}-%{release}
175 Requires: %{name}-system-riscv64 = %{version}-%{release}
176 Requires: %{name}-system-rx = %{version}-%{release}
177 Requires: %{name}-system-s390x = %{version}-%{release}
178 Requires: %{name}-system-sh4 = %{version}-%{release}
179 Requires: %{name}-system-sparc = %{version}-%{release}
180 Requires: %{name}-system-tricore = %{version}-%{release}
181 Requires: %{name}-system-unicore32 = %{version}-%{release}
182 Requires: %{name}-system-x86 = %{version}-%{release}
183 Requires: %{name}-system-xtensa = %{version}-%{release}
184 Requires: %{name}-user = %{version}-%{release}
187 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
189 %define systempkg_req \
190 Requires: capstone >= 3.0.5 \
191 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
192 Requires: libfdt >= 1.4.2 \
193 %if %{with seccomp} \
194 Requires: libseccomp >= 2.3.0 \
196 Requires: libslirp >= 4.0.0 \
197 Requires: libusb >= 1.0.22 \
198 Requires: pixman >= 0.21.8 \
200 Requires: spice-server-libs >= 0.12.5 \
202 %if %{with usbredir} \
203 Requires: usbredir >= 0.6 \
205 Requires: zstd >= 1.4.0
207 # don't strip/chrpath anything in there; these are boot images, roms etc
208 %define _noautostrip .*%{_datadir}/qemu/.*
209 %define _noautochrpath .*%{_datadir}/qemu/.*
212 QEMU is a FAST! processor emulator. By using dynamic translation it
213 achieves a reasonnable speed while being easy to port on new host
214 CPUs. QEMU has two operating modes:
216 - User mode emulation. In this mode, QEMU can launch Linux processes
217 compiled for one CPU on another CPU. Linux system calls are converted
218 because of endianness and 32/64 bit mismatches. Wine (Windows
219 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
221 - Full system emulation. In this mode, QEMU emulates a full system,
222 including a processor and various peripherials. It can also be used to
223 provide virtual hosting of several virtual PC on a single server.
225 %description -l pl.UTF-8
226 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
227 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
228 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
230 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
231 procesy linuksowe skompilowane dla jednego procesora na innym
232 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
233 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
234 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
237 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
238 włączając w to procesor i różne urządzenia peryferyjne. Może być także
239 używane do wirtualnego hostowania kilku wirtualnych pecetów na
240 pojedynczym serwerze.
243 Summary: QEMU common files needed by all QEMU targets
244 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
245 Group: Applications/Emulators
246 Requires(post,preun,postun): systemd-units >= 38
247 Requires(postun): /usr/sbin/groupdel
248 Requires(postun): /usr/sbin/userdel
249 Requires(pre): /bin/id
250 Requires(pre): /usr/bin/getgid
251 Requires(pre): /usr/sbin/groupadd
252 Requires(pre): /usr/sbin/useradd
253 Requires: glib2 >= 1:2.48
254 Requires: gnutls-libs >= 3.1.18
255 %{?with_gtk3:Requires: gtk+3 >= 3.16}
256 Requires: nettle >= 2.7.1
257 Requires: systemd-units >= 38
258 %{?with_vte:Requires: vte >= 0.32.0}
259 Provides: group(qemu)
261 Obsoletes: qemu-kvm-common
262 Obsoletes: qemu-module-block-archipelago < 2.9.0
263 Conflicts: qemu < 1.0-2
266 QEMU is a generic and open source processor emulator which achieves a
267 good emulation speed by using dynamic translation.
269 This package provides the common files needed by all QEMU targets.
271 %description common -l pl.UTF-8
272 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
273 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
275 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
279 Summary: QEMU command line tool for manipulating disk images
280 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
281 Group: Applications/Emulators
282 Obsoletes: qemu-kvm-img
283 Conflicts: qemu < 1.0-2
286 This package provides a command line tool for manipulating disk
289 %description img -l pl.UTF-8
290 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
294 Summary: QEMU user mode emulation of qemu targets
295 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
296 Group: Applications/Emulators
297 Requires: %{name}-common = %{version}-%{release}
298 Requires(post,postun): systemd-units >= 38
299 Requires: systemd-units >= 38
300 Obsoletes: qemu-kvm-user
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 user mode emulation of QEMU targets.
308 %description user -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 emulację trybu użytkownika środowisk QEMU.
315 Summary: QEMU user mode emulation of qemu targets static build
316 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
317 Group: Applications/Emulators
318 Requires(post,postun): systemd-units >= 38
319 Requires: systemd-units >= 38
321 %description user-static
322 QEMU is a generic and open source processor emulator which achieves a
323 good emulation speed by using dynamic translation.
325 This package provides the user mode emulation of qemu targets built as
328 %description user-static -l pl.UTF-8
329 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
330 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
332 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
333 oparciu o programy wykonywalne zbudowane statycznie.
335 %package system-aarch64
336 Summary: QEMU system emulator for AArch64
337 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
338 Group: Applications/Emulators
339 Requires: %{name}-common = %{version}-%{release}
341 Obsoletes: qemu-kvm-system-aarch64
343 %description system-aarch64
344 QEMU is a generic and open source processor emulator which achieves a
345 good emulation speed by using dynamic translation.
347 This package provides the system emulator with AArch64 (ARM64) CPU.
349 %description system-aarch64 -l pl.UTF-8
350 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
351 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
353 Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
355 %package system-alpha
356 Summary: QEMU system emulator for Alpha
357 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
358 Group: Applications/Emulators
359 Requires: %{name}-common = %{version}-%{release}
361 Obsoletes: qemu-kvm-system-alpha
363 %description system-alpha
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 system emulator with Alpha CPU.
369 %description system-alpha -l pl.UTF-8
370 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
371 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
373 Ten pakiet zawiera emulator systemu z procesorem Alpha.
376 Summary: QEMU system emulator for 32-bit ARM
377 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
378 Group: Applications/Emulators
379 Requires: %{name}-common = %{version}-%{release}
381 Obsoletes: qemu-kvm-system-arm
383 %description system-arm
384 QEMU is a generic and open source processor emulator which achieves a
385 good emulation speed by using dynamic translation.
387 This package provides the system emulator for 32-bit ARM.
389 %description system-arm -l pl.UTF-8
390 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
391 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
393 Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
396 Summary: QEMU system emulator for CRIS
397 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
398 Group: Applications/Emulators
399 Requires: %{name}-common = %{version}-%{release}
401 Obsoletes: qemu-kvm-system-cris
403 %description system-cris
404 QEMU is a generic and open source processor emulator which achieves a
405 good emulation speed by using dynamic translation.
407 This package provides the system emulator with CRIS CPU.
409 %description system-cris -l pl.UTF-8
410 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
411 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
413 Ten pakiet zawiera emulator systemu z procesorem CRIS.
416 Summary: QEMU system emulator for HP/PA
417 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
418 Group: Applications/Emulators
419 Requires: %{name}-common = %{version}-%{release}
422 %description system-hppa
423 QEMU is a generic and open source processor emulator which achieves a
424 good emulation speed by using dynamic translation.
426 This package provides the system emulator with HP/PA (PA-RISC) CPU.
428 %description system-hppa -l pl.UTF-8
429 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
430 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
432 Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
435 Summary: QEMU system emulator for LM32
436 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
437 Group: Applications/Emulators
438 Requires: %{name}-common = %{version}-%{release}
440 Obsoletes: qemu-kvm-system-lm32
442 %description system-lm32
443 QEMU is a generic and open source processor emulator which achieves a
444 good emulation speed by using dynamic translation.
446 This package provides the system emulator with LM32 CPU.
448 %description system-lm32 -l pl.UTF-8
449 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
450 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
452 Ten pakiet zawiera emulator systemu z procesorem LM32.
455 Summary: QEMU system emulator for m68k
456 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
457 Group: Applications/Emulators
458 Requires: %{name}-common = %{version}-%{release}
460 Obsoletes: qemu-kvm-system-m68k
462 %description system-m68k
463 QEMU is a generic and open source processor emulator which achieves a
464 good emulation speed by using dynamic translation.
466 This package provides the system emulator with m68k (Motorola 68xxx)
469 %description system-m68k -l pl.UTF-8
470 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
471 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
473 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
476 %package system-microblaze
477 Summary: QEMU system emulator for MicroBlaze
478 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
479 Group: Applications/Emulators
480 Requires: %{name}-common = %{version}-%{release}
482 Obsoletes: qemu-kvm-system-microblaze
484 %description system-microblaze
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 MicroBlaze CPU.
490 %description system-microblaze -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 MicroBlaze.
497 Summary: QEMU system emulator for MIPS
498 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
499 Group: Applications/Emulators
500 Requires: %{name}-common = %{version}-%{release}
502 Obsoletes: qemu-kvm-system-mips
504 %description system-mips
505 QEMU is a generic and open source processor emulator which achieves a
506 good emulation speed by using dynamic translation.
508 This package provides the system emulator with MIPS CPU.
510 %description system-mips -l pl.UTF-8
511 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
512 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
514 Ten pakiet zawiera emulator systemu z procesorem MIPS.
516 %package system-moxie
517 Summary: QEMU system emulator for Moxie
518 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
519 Group: Applications/Emulators
520 Requires: %{name}-common = %{version}-%{release}
523 %description system-moxie
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 Moxie CPU.
529 %description system-moxie -l pl.UTF-8
530 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
531 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
533 Ten pakiet zawiera emulator systemu z procesorem Moxie.
535 %package system-nios2
536 Summary: QEMU system emulator for Nios II
537 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
538 Group: Applications/Emulators
539 Requires: %{name}-common = %{version}-%{release}
542 %description system-nios2
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 Nios II CPU.
548 %description system-nios2 -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 Nios II.
555 Summary: QEMU system emulator for OpenRISC
556 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
557 Group: Applications/Emulators
558 Requires: %{name}-common = %{version}-%{release}
560 Obsoletes: qemu-kvm-system-or1k
561 Obsoletes: qemu-system-or32
563 %description system-or1k
564 QEMU is a generic and open source processor emulator which achieves a
565 good emulation speed by using dynamic translation.
567 This package provides the system emulator with OpenRISC CPU.
569 %description system-or1k -l pl.UTF-8
570 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
571 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
573 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
576 Summary: QEMU system emulator for PowerPC
577 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
578 Group: Applications/Emulators
579 Requires: %{name}-common = %{version}-%{release}
581 Obsoletes: qemu-kvm-system-ppc
583 %description system-ppc
584 QEMU is a generic and open source processor emulator which achieves a
585 good emulation speed by using dynamic translation.
587 This package provides the system emulator with PowerPC CPU.
589 %description system-ppc -l pl.UTF-8
590 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
591 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
593 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
595 %package system-riscv32
596 Summary: QEMU system emulator for RISC-V (32 bit)
597 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
598 Group: Applications/Emulators
599 Requires: %{name}-common = %{version}-%{release}
602 %description system-riscv32
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 RISC-V (32 bit) CPU.
608 %description system-riscv32 -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 RISC-V (32 bit).
614 %package system-riscv64
615 Summary: QEMU system emulator for RISC-V (64 bit)
616 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
617 Group: Applications/Emulators
618 Requires: %{name}-common = %{version}-%{release}
621 %description system-riscv64
622 QEMU is a generic and open source processor emulator which achieves a
623 good emulation speed by using dynamic translation.
625 This package provides the system emulator with RISC-V (64 bit) CPU.
627 %description system-riscv64 -l pl.UTF-8
628 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
629 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
631 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
634 Summary: QEMU system emulator for Renesas RX
635 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
636 Group: Applications/Emulators
637 Requires: %{name}-common = %{version}-%{release}
640 %description system-rx
641 QEMU is a generic and open source processor emulator which achieves a
642 good emulation speed by using dynamic translation.
644 This package provides the system emulator with Renesas RX CPU.
646 %description system-rx -l pl.UTF-8
647 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
648 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
650 Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
652 %package system-s390x
653 Summary: QEMU system emulator for S390x (IBM Z)
654 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
655 Group: Applications/Emulators
656 Requires: %{name}-common = %{version}-%{release}
658 Obsoletes: qemu-kvm-system-s390x
660 %description system-s390x
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 S390x (IBM Z) CPU.
666 %description system-s390x -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 S390x (IBM Z).
673 Summary: QEMU system emulator for SH4
674 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
675 Group: Applications/Emulators
676 Requires: %{name}-common = %{version}-%{release}
678 Obsoletes: qemu-kvm-system-sh4
680 %description system-sh4
681 QEMU is a generic and open source processor emulator which achieves a
682 good emulation speed by using dynamic translation.
684 This package provides the system emulator with SH4 CPU.
686 %description system-sh4 -l pl.UTF-8
687 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
688 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
690 Ten pakiet zawiera emulator systemu z procesorem SH4.
692 %package system-sparc
693 Summary: QEMU system emulator for SPARC
694 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
695 Group: Applications/Emulators
696 Requires: %{name}-common = %{version}-%{release}
698 Obsoletes: qemu-kvm-system-sparc
700 %description system-sparc
701 QEMU is a generic and open source processor emulator which achieves a
702 good emulation speed by using dynamic translation.
704 This package provides the system emulator with SPARC/SPARC64 CPU.
706 %description system-sparc -l pl.UTF-8
707 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
708 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
710 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
712 %package system-tricore
713 Summary: QEMU system emulator for TriCore
714 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
715 Group: Applications/Emulators
716 Requires: %{name}-common = %{version}-%{release}
719 %description system-tricore
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 TriCore CPU.
725 %description system-sparc -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 TriCore.
731 %package system-unicore32
732 Summary: QEMU system emulator for UniCore32
733 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
734 Group: Applications/Emulators
735 Requires: %{name}-common = %{version}-%{release}
737 Obsoletes: qemu-kvm-system-unicore32
739 %description system-unicore32
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 UniCore32 CPU.
745 %description system-unicore32 -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 UniCore32.
752 Summary: QEMU system emulator for x86
753 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
754 Group: Applications/Emulators
755 Requires: %{name}-common = %{version}-%{release}
756 %{?with_system_seabios:Requires: seabios}
759 Obsoletes: qemu-kvm-system-x86
761 %description system-x86
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 x86 CPU.
767 %description system-x86 -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 x86.
773 %package system-xtensa
774 Summary: QEMU system emulator for Xtensa
775 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
776 Group: Applications/Emulators
777 Requires: %{name}-common = %{version}-%{release}
779 Obsoletes: qemu-kvm-system-xtensa
781 %description system-xtensa
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 Xtensa CPU.
787 %description system-xtensa -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 Xtensa.
794 Summary: QEMU guest agent
795 Summary(pl.UTF-8): Agent gościa QEMU
797 Requires(post,preun,postun): systemd-units >= 38
798 Requires: glib2 >= 1:2.48
799 Requires: systemd-units >= 38
800 Obsoletes: qemu-kvm-guest-agent
801 Conflicts: SysVinit < 2.96-2
803 %description guest-agent
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 an agent to run inside guests, which
808 communicates with the host over a virtio-serial channel named
809 "org.qemu.guest_agent.0".
811 This package does not need to be installed on the host OS.
813 %description guest-agent -l pl.UTF-8
814 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
815 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
817 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
818 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
819 "org.qemu.guest_agent.0".
821 Ten pakiet nie musi być zainstalowany w systemie hosta.
823 %package module-block-curl
824 Summary: QEMU module for 'curl' block devices
825 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
826 Group: Applications/Emulators
827 Requires: %{name}-common = %{version}-%{release}
829 %description module-block-curl
830 QEMU block device support for CURL. It allows to access remote disks
831 over http, https, ftp and other transports provided by the CURL
834 %description module-block-curl -l pl.UTF-8
835 Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
836 dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
839 %package module-block-gluster
840 Summary: QEMU module for 'gluster' block devices
841 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
842 Group: Applications/Emulators
843 Requires: %{name}-common = %{version}-%{release}
844 Requires: glusterfs-libs >= 6
846 %description module-block-gluster
847 QEMU block device support for remote Gluster storage.
849 %description module-block-gluster -l pl.UTF-8
850 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
853 %package module-block-iscsi
854 Summary: QEMU module for 'iscsi' block devices
855 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
856 Group: Applications/Emulators
857 Requires: %{name}-common = %{version}-%{release}
858 Requires: libiscsi >= 1.9.0
860 %description module-block-iscsi
861 QEMU block device support for iSCSI volumes.
863 %description module-block-iscsi -l pl.UTF-8
864 Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
866 %package module-block-nfs
867 Summary: QEMU module for 'nfs' block devices
868 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
869 Group: Applications/Emulators
870 Requires: %{name}-common = %{version}-%{release}
871 Requires: libnfs >= 1.9.3
873 %description module-block-nfs
874 QEMU block device support for remote NFS storage.
876 %description module-block-nfs -l pl.UTF-8
877 Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
880 %package module-block-rbd
881 Summary: QEMU module for 'rbd' block devices
882 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
883 Group: Applications/Emulators
884 Requires: %{name}-common = %{version}-%{release}
886 %description module-block-rbd
887 QEMU block device support for Ceph/RBD volumes.
889 %description module-block-rbd -l pl.UTF-8
890 Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
892 %package module-block-ssh
893 Summary: QEMU module for 'ssh' block devices
894 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
895 Group: Applications/Emulators
896 Requires: %{name}-common = %{version}-%{release}
897 Requires: libssh >= 0.8
899 %description module-block-ssh
900 QEMU block device support for accessing remote disks using the Secure
901 Shell (SSH) protocol.
903 %description module-block-ssh -l pl.UTF-8
904 Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
905 protokół SSH (Secure Shell).
907 %package module-ui-gtk
908 Summary: QEMU GTK UI driver
909 Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
910 Group: Applications/Emulators
911 Requires: %{name}-common = %{version}-%{release}
913 %description module-ui-gtk
916 %description module-ui-gtk -l pl.UTF-8
917 Sterownik interfejsu użytkownika GTK dla QEMU.
919 %package module-ui-sdl
920 Summary: QEMU SDL UI and audio driver
921 Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
922 Group: Applications/Emulators
923 Requires: %{name}-common = %{version}-%{release}
925 %description module-ui-sdl
926 QEMU SDL UI and audio driver.
928 %description module-ui-sdl -l pl.UTF-8
929 Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
941 # workaround for conflict with alsa/error.h
942 ln -s ../error.h qapi/error.h
950 install -d build-$target
954 --prefix=%{_prefix} \
955 --libdir=%{_libdir} \
956 --libexecdir=%{_libexecdir} \
957 --sysconfdir=%{_sysconfdir} \
958 --localstatedir=%{_localstatedir} \
959 --interp-prefix=%{_libdir}/qemu/lib-%%M \
962 --host-cc="%{__cc}" \
964 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
970 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
976 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
977 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
978 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
980 %{__enable_disable brlapi} \
982 --enable-capstone=system \
987 %{__enable_disable glusterfs} \
988 %{!?with_gtk3:--disable-gtk} \
989 %{__enable_disable iscsi libiscsi} \
990 %{__enable_disable libnfs} \
992 %{__enable_disable multipath mpath} \
996 %{__enable_disable ceph rbd} \
997 %{__enable_disable rdma} \
998 %{__enable_disable sdl} \
999 %{__enable_disable seccomp} \
1000 --enable-slirp=system \
1001 %{__enable_disable spice} \
1002 %{__enable_disable smartcard} \
1003 %{__enable_disable snappy} \
1005 %{__enable_disable usbredir usb-redir} \
1007 %{__enable_disable virgl virglrenderer} \
1012 %{__enable_disable vxhs} \
1013 %{!?with_vte:--disable-vte} \
1014 %{__enable_disable xen} \
1015 %{__enable_disable xkbcommon}
1017 %if %{with user_static}
1021 --disable-capstone \
1027 --disable-guest-agent \
1028 --disable-guest-agent-msi \
1034 --enable-slirp=internal \
1037 --disable-tcmalloc \
1041 --disable-xkbcommon \
1045 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1048 rm -rf $RPM_BUILD_ROOT
1049 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
1050 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1051 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
1053 %if %{with user_static}
1054 %{__make} -C build-static install \
1055 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1056 DESTDIR=$RPM_BUILD_ROOT
1058 # Give all QEMU user emulators a -static suffix
1059 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
1060 %{__mv} $src $src-static
1065 %{__make} -C build-dynamic install \
1066 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1067 DESTDIR=$RPM_BUILD_ROOT
1069 # let rpm generate dependencies
1070 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1072 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1074 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1075 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1080 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1082 %ifarch %{ix86} %{x8664} x32
1083 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1084 install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
1087 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1088 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1089 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1091 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1092 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1093 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1095 # For the qemu-guest-agent subpackage install the systemd
1096 # service and udev rules.
1097 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1098 install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
1100 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1101 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1105 %ifnarch %{ix86} %{x8664} x32
1119 microblaze microblazeel \
1135 %ifnarch ppc ppc64 ppc64le
1138 %ifnarch sparc sparc64
1139 sparc sparc32plus sparc64 \
1150 if [ -n "$BINFMT_CPUS" ]; then
1151 for cpu in $BINFMT_CPUS; do
1152 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1154 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1155 %{__mv} $i ${i%.conf}-dynamic.conf
1158 %if %{with user_static}
1159 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1160 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1161 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1166 %if %{with system_seabios}
1167 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1168 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1169 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1171 if [ -e "/usr/share/seabios/$bn" ] ; then
1172 ln -sf "/usr/share/seabios/$bn" "$f"
1178 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1179 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1185 # Windows installer icon, not used
1186 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1188 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1190 # cleanup Sphinx files
1191 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{interop,specs,system,tools,user}/{.buildinfo,objects.inv}
1192 # leave just HTML version
1193 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{ga,qmp}-ref.txt
1196 rm -rf $RPM_BUILD_ROOT
1199 %groupadd -g 160 kvm
1200 %groupadd -g 276 qemu
1201 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1204 %systemd_post ksm.service
1205 %systemd_post ksmtuned.service
1208 %systemd_preun ksm.service
1209 %systemd_preun ksmtuned.service
1212 if [ "$1" = "0" ]; then
1219 %triggerpostun common -- qemu-common < 1.6.1-4
1220 %systemd_trigger ksm.service
1221 %systemd_trigger ksmtuned.service
1224 %systemd_service_restart systemd-binfmt.service
1227 %systemd_service_restart systemd-binfmt.service
1230 %systemd_service_restart systemd-binfmt.service
1233 %systemd_service_restart systemd-binfmt.service
1236 /sbin/chkconfig --add qemu-ga
1237 %service qemu-ga restart "qemu-ga"
1241 if [ "$1" = "0" ]; then
1242 %service qemu-ga stop
1243 /sbin/chkconfig --del qemu-ga
1245 %systemd_preun qemu-guest-agent.service
1251 %defattr(644,root,root,755)
1253 %files common -f %{name}.lang
1254 %defattr(644,root,root,755)
1255 %doc LICENSE README.rst pc-bios/edk2-licenses.txt
1256 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1257 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1258 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1259 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1261 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1262 %{systemdunitdir}/ksm.service
1263 %{systemdunitdir}/ksmtuned.service
1264 %attr(755,root,root) %{_bindir}/elf2dmp
1265 %attr(755,root,root) %{_bindir}/ivshmem-client
1266 %attr(755,root,root) %{_bindir}/ivshmem-server
1267 %attr(755,root,root) %{_bindir}/qemu-edid
1268 %if %{with xkbcommon}
1269 %attr(755,root,root) %{_bindir}/qemu-keymap
1271 %attr(755,root,root) %{_bindir}/qemu-nbd
1272 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1273 %attr(755,root,root) %{_bindir}/qemu-storage-daemon
1274 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1275 %attr(755,root,root) %{_sbindir}/ksmctl
1276 %attr(755,root,root) %{_sbindir}/ksmtuned
1277 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1279 %attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1281 %attr(755,root,root) %{_libexecdir}/virtiofsd
1282 %dir %{_libdir}/%{name}
1283 # modules without too many external dependencies
1284 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1285 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1286 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1288 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1290 %if %{with pulseaudio}
1291 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1293 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1295 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1297 %dir %{_datadir}/%{name}
1298 %dir %{_datadir}/%{name}/firmware
1299 %{_datadir}/%{name}/keymaps
1300 %{_datadir}/%{name}/trace-events-all
1301 %dir %{_datadir}/%{name}/vhost-user
1303 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1305 %{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
1306 %{_desktopdir}/qemu.desktop
1307 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1308 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1309 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1310 %{_mandir}/man1/qemu.1*
1311 %{_mandir}/man1/virtfs-proxy-helper.1*
1312 %{_mandir}/man1/virtiofsd.1*
1313 %{_mandir}/man7/qemu-block-drivers.7*
1314 %{_mandir}/man7/qemu-cpu-models.7*
1315 %{_mandir}/man7/qemu-qmp-ref.7*
1316 %{_mandir}/man8/qemu-nbd.8*
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_bindir}/qemu-img
1322 %{_mandir}/man1/qemu-img.1*
1325 %defattr(644,root,root,755)
1326 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1327 %attr(755,root,root) %{_bindir}/qemu-aarch64
1328 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1329 %attr(755,root,root) %{_bindir}/qemu-alpha
1330 %attr(755,root,root) %{_bindir}/qemu-arm
1331 %attr(755,root,root) %{_bindir}/qemu-armeb
1332 %attr(755,root,root) %{_bindir}/qemu-cris
1333 %attr(755,root,root) %{_bindir}/qemu-hppa
1334 %attr(755,root,root) %{_bindir}/qemu-i386
1335 %attr(755,root,root) %{_bindir}/qemu-io
1336 %attr(755,root,root) %{_bindir}/qemu-m68k
1337 %attr(755,root,root) %{_bindir}/qemu-microblaze
1338 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1339 %attr(755,root,root) %{_bindir}/qemu-mips
1340 %attr(755,root,root) %{_bindir}/qemu-mipsel
1341 %attr(755,root,root) %{_bindir}/qemu-mips64
1342 %attr(755,root,root) %{_bindir}/qemu-mips64el
1343 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1344 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1345 %attr(755,root,root) %{_bindir}/qemu-nios2
1346 %attr(755,root,root) %{_bindir}/qemu-or1k
1347 %attr(755,root,root) %{_bindir}/qemu-ppc
1348 %attr(755,root,root) %{_bindir}/qemu-ppc64
1349 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1350 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1351 %attr(755,root,root) %{_bindir}/qemu-riscv32
1352 %attr(755,root,root) %{_bindir}/qemu-riscv64
1353 %attr(755,root,root) %{_bindir}/qemu-s390x
1354 %attr(755,root,root) %{_bindir}/qemu-sh4
1355 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1356 %attr(755,root,root) %{_bindir}/qemu-sparc
1357 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1358 %attr(755,root,root) %{_bindir}/qemu-sparc64
1359 %attr(755,root,root) %{_bindir}/qemu-tilegx
1360 %attr(755,root,root) %{_bindir}/qemu-x86_64
1361 %attr(755,root,root) %{_bindir}/qemu-xtensa
1362 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1364 %if %{with user_static}
1366 %defattr(644,root,root,755)
1367 /usr/lib/binfmt.d/qemu-*-static.conf
1368 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1369 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1370 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1371 %attr(755,root,root) %{_bindir}/qemu-arm-static
1372 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1373 %attr(755,root,root) %{_bindir}/qemu-cris-static
1374 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1375 %attr(755,root,root) %{_bindir}/qemu-i386-static
1376 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1377 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1378 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1379 %attr(755,root,root) %{_bindir}/qemu-mips-static
1380 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1381 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1382 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1383 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1384 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1385 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1386 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1387 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1388 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1389 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1390 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1391 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1392 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1393 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1394 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1395 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1396 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1397 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1398 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1399 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1400 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1401 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1402 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1405 %files system-aarch64
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1408 %{_datadir}/%{name}/edk2-aarch64-code.fd
1409 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1414 %{_datadir}/%{name}/palcode-clipper
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_bindir}/qemu-system-arm
1419 %{_datadir}/%{name}/edk2-arm-code.fd
1420 %{_datadir}/%{name}/edk2-arm-vars.fd
1421 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_bindir}/qemu-system-cris
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1430 %{_datadir}/%{name}/hppa-firmware.img
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1440 %files system-microblaze
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1443 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_bindir}/qemu-system-mips
1448 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1449 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1450 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1457 %defattr(644,root,root,755)
1458 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1467 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1468 %{_datadir}/%{name}/bamboo.dtb
1469 %{_datadir}/%{name}/canyonlands.dtb
1470 %{_datadir}/%{name}/openbios-ppc
1471 %{_datadir}/%{name}/petalogix-ml605.dtb
1472 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1473 %{_datadir}/%{name}/qemu_vga.ndrv
1474 %{_datadir}/%{name}/skiboot.lid
1475 %{_datadir}/%{name}/slof.bin
1476 %{_datadir}/%{name}/u-boot.e500
1477 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1479 %files system-riscv32
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1482 %{_datadir}/%{name}/opensbi-riscv32-sifive_u-fw_jump.bin
1483 %{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1485 %files system-riscv64
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1488 %{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1489 %{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_bindir}/qemu-system-rx
1496 %defattr(644,root,root,755)
1497 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1498 %{_datadir}/%{name}/s390-ccw.img
1499 %{_datadir}/%{name}/s390-netboot.img
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1504 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1509 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1510 %{_datadir}/%{name}/QEMU,cgthree.bin
1511 %{_datadir}/%{name}/QEMU,tcx.bin
1512 %{_datadir}/%{name}/openbios-sparc32
1513 %{_datadir}/%{name}/openbios-sparc64
1515 %files system-tricore
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1519 %files system-unicore32
1520 %defattr(644,root,root,755)
1521 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1524 %defattr(644,root,root,755)
1525 %attr(755,root,root) %{_bindir}/qemu-system-i386
1526 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1527 %ifarch %{ix86} %{x8664} x32
1528 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1529 /lib/udev/rules.d/80-kvm.rules
1531 %{_datadir}/%{name}/bios.bin
1532 %{_datadir}/%{name}/bios-256k.bin
1533 %{_datadir}/%{name}/bios-microvm.bin
1534 %{_datadir}/%{name}/edk2-i386-code.fd
1535 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1536 %{_datadir}/%{name}/edk2-i386-vars.fd
1537 %{_datadir}/%{name}/edk2-x86_64-code.fd
1538 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1539 %{_datadir}/%{name}/efi-e1000e.rom
1540 %{_datadir}/%{name}/efi-e1000.rom
1541 %{_datadir}/%{name}/efi-eepro100.rom
1542 %{_datadir}/%{name}/efi-ne2k_pci.rom
1543 %{_datadir}/%{name}/efi-pcnet.rom
1544 %{_datadir}/%{name}/efi-rtl8139.rom
1545 %{_datadir}/%{name}/efi-virtio.rom
1546 %{_datadir}/%{name}/efi-vmxnet3.rom
1547 %{_datadir}/%{name}/kvmvapic.bin
1548 %{_datadir}/%{name}/linuxboot.bin
1549 %{_datadir}/%{name}/linuxboot_dma.bin
1550 %{_datadir}/%{name}/multiboot.bin
1551 %{_datadir}/%{name}/pvh.bin
1552 %{_datadir}/%{name}/pxe-e1000.rom
1553 %{_datadir}/%{name}/pxe-eepro100.rom
1554 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1555 %{_datadir}/%{name}/pxe-pcnet.rom
1556 %{_datadir}/%{name}/pxe-rtl8139.rom
1557 %{_datadir}/%{name}/pxe-virtio.rom
1558 %{_datadir}/%{name}/sgabios.bin
1559 %{_datadir}/%{name}/vgabios.bin
1560 %{_datadir}/%{name}/vgabios-ati.bin
1561 %{_datadir}/%{name}/vgabios-bochs-display.bin
1562 %{_datadir}/%{name}/vgabios-cirrus.bin
1563 %{_datadir}/%{name}/vgabios-qxl.bin
1564 %{_datadir}/%{name}/vgabios-ramfb.bin
1565 %{_datadir}/%{name}/vgabios-stdvga.bin
1566 %{_datadir}/%{name}/vgabios-virtio.bin
1567 %{_datadir}/%{name}/vgabios-vmware.bin
1568 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1569 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1570 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1571 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1573 %files system-xtensa
1574 %defattr(644,root,root,755)
1575 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1576 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1579 %defattr(644,root,root,755)
1580 %attr(755,root,root) %{_bindir}/qemu-ga
1581 /lib/udev/rules.d/99-qemu-guest-agent.rules
1582 %{systemdunitdir}/qemu-guest-agent.service
1583 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1584 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1585 %{_mandir}/man7/qemu-ga-ref.7*
1586 %{_mandir}/man8/qemu-ga.8*
1588 %files module-block-curl
1589 %defattr(644,root,root,755)
1590 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1592 %if %{with glusterfs}
1593 %files module-block-gluster
1594 %defattr(644,root,root,755)
1595 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1599 %files module-block-iscsi
1600 %defattr(644,root,root,755)
1601 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1605 %files module-block-nfs
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1611 %files module-block-rbd
1612 %defattr(644,root,root,755)
1613 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1616 %files module-block-ssh
1617 %defattr(644,root,root,755)
1618 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
1621 %files module-ui-gtk
1622 %defattr(644,root,root,755)
1623 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1627 %files module-ui-sdl
1628 %defattr(644,root,root,755)
1629 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1630 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so