2 # libvxhs/libqnio (Veritas HyperScale block driver VxHS)
4 # libpmem (x86_64 only?)
8 %bcond_without sdl # SDL UI and audio support
9 %bcond_without opengl # Don't require GL deps
10 %bcond_without ceph # Ceph/RBD support
11 %bcond_without glusterfs # GlusterFS backend
12 %bcond_without rdma # RDMA-based migration support
13 %bcond_without gtk3 # Do not build GTK+ UI
14 %bcond_without vte # VTE support in GTK+ UI
15 %bcond_without spice # SPICE support
16 %bcond_without oss # OSS audio support
17 %bcond_without pulseaudio # PulseAudio audio support
18 %bcond_without xen # Xen backend driver support
19 %bcond_without bluetooth # bluetooth support
20 %bcond_without brlapi # brlapi support
21 %bcond_without smartcard # smartcard-nss support
22 %bcond_without iscsi # iscsi support
23 %bcond_without libnfs # NFS support
24 %bcond_without multipath # Multipath support
25 %bcond_without seccomp # seccomp support
26 %bcond_without usbredir # usb network redirection support
27 %bcond_without system_seabios # system seabios binary
28 %bcond_without snappy # snappy compression library
29 %bcond_without user_static # build linux-user static packages
30 %bcond_with lttng # lttng-ust trace backend support
31 %bcond_with systemtap # SystemTap/dtrace trace backend support
32 %bcond_with virgl # build virgl support
33 %bcond_without xkbcommon # xkbcommon support
42 Summary: QEMU CPU Emulator
43 Summary(pl.UTF-8): QEMU - emulator procesora
47 License: GPL v2, BSD (edk2 firmware files)
48 Group: Applications/Emulators
49 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
50 # Source0-md5: 278eeb294e4b497e79af7a57e660cb9a
51 # Loads kvm kernel modules at boot
52 Source3: kvm-modules-load.conf
57 Source6: ksm.sysconfig
59 Source8: ksmtuned.service
61 Source10: ksmtuned.conf
62 Source11: %{name}-guest-agent.service
63 Source12: 99-%{name}-guest-agent.rules
64 Source13: %{name}-guest-agent.init
65 Source14: %{name}-guest-agent.logrotate
66 Patch0: %{name}-cflags.patch
67 Patch1: %{name}-whitelist.patch
68 Patch2: %{name}-user-execve.patch
69 Patch3: %{name}-xattr.patch
70 Patch4: libjpeg-boolean.patch
72 URL: http://www.qemu-project.org/
73 %{?with_opengl:BuildRequires: Mesa-libgbm-devel}
74 %{?with_opengl:BuildRequires: OpenGL-GLX-devel}
75 %{?with_opengl:BuildRequires: OpenGL-devel}
76 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
77 %{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
78 BuildRequires: alsa-lib-devel
79 BuildRequires: bcc >= 0.16.21-2
80 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
81 %{?with_brlapi:BuildRequires: brlapi-devel}
82 BuildRequires: bzip2-devel
83 %{?with_ceph:BuildRequires: ceph-devel}
84 BuildRequires: curl-devel
85 BuildRequires: cyrus-sasl-devel >= 2
86 BuildRequires: glib2-devel >= 1:2.48
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.1.18
90 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.16}
91 BuildRequires: libaio-devel
92 %{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
93 BuildRequires: libcap-devel
94 BuildRequires: libcap-ng-devel
95 %{?with_opengl:BuildRequires: libepoxy-devel}
96 BuildRequires: libfdt-devel >= 1.4.2
97 %{?with_rdma:BuildRequires: libibverbs-devel}
98 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
99 %{?with_rdma:BuildRequires: libibumad-devel}
100 BuildRequires: libjpeg-devel
101 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
102 BuildRequires: libpng-devel
103 %{?with_rdma:BuildRequires: librdmacm-devel}
104 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
105 BuildRequires: libssh-devel >= 0.8
106 BuildRequires: libslirp-devel >= 4.0.0
108 #BuildRequires: libtasn1-devel
109 BuildRequires: libusb-devel >= 1.0.22
110 BuildRequires: libuuid-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: rpmbuild(macros) >= 1.644
128 %{?with_system_seabios:BuildRequires: seabios}
129 BuildRequires: sed >= 4.0
130 %{?with_snappy:BuildRequires: snappy-devel}
131 BuildRequires: sphinx-pdg
133 BuildRequires: spice-protocol >= 0.12.3
134 BuildRequires: spice-server-devel >= 0.12.5
136 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
137 BuildRequires: texi2html
138 BuildRequires: texinfo
139 %{?with_multipath:BuildRequires: udev-devel}
140 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
141 %{?with_lttng:BuildRequires: userspace-rcu-devel}
142 BuildRequires: vde2-devel
144 %{?with_virgl:BuildRequires: virglrenderer-devel}
145 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
146 # xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel [xentoolcore for xen 4.10+]
147 %{?with_xen:BuildRequires: xen-devel >= 4.2}
148 BuildRequires: xfsprogs-devel
149 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
150 BuildRequires: xorg-lib-libX11-devel
151 BuildRequires: zlib-devel
152 %if %{with user_static}
153 BuildRequires: glib2-static >= 1:2.48
154 BuildRequires: glibc-static
155 BuildRequires: pcre-static
156 BuildRequires: zlib-static
158 Requires: %{name}-img = %{version}-%{release}
159 Requires: %{name}-system-aarch64 = %{version}-%{release}
160 Requires: %{name}-system-alpha = %{version}-%{release}
161 Requires: %{name}-system-arm = %{version}-%{release}
162 Requires: %{name}-system-cris = %{version}-%{release}
163 Requires: %{name}-system-hppa = %{version}-%{release}
164 Requires: %{name}-system-lm32 = %{version}-%{release}
165 Requires: %{name}-system-m68k = %{version}-%{release}
166 Requires: %{name}-system-microblaze = %{version}-%{release}
167 Requires: %{name}-system-mips = %{version}-%{release}
168 Requires: %{name}-system-moxie = %{version}-%{release}
169 Requires: %{name}-system-nios2 = %{version}-%{release}
170 Requires: %{name}-system-or1k = %{version}-%{release}
171 Requires: %{name}-system-ppc = %{version}-%{release}
172 Requires: %{name}-system-riscv32 = %{version}-%{release}
173 Requires: %{name}-system-riscv64 = %{version}-%{release}
174 Requires: %{name}-system-s390x = %{version}-%{release}
175 Requires: %{name}-system-sh4 = %{version}-%{release}
176 Requires: %{name}-system-sparc = %{version}-%{release}
177 Requires: %{name}-system-tricore = %{version}-%{release}
178 Requires: %{name}-system-unicore32 = %{version}-%{release}
179 Requires: %{name}-system-x86 = %{version}-%{release}
180 Requires: %{name}-system-xtensa = %{version}-%{release}
181 Requires: %{name}-user = %{version}-%{release}
184 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
186 %define systempkg_req \
187 %{?with_smartcard:Requires: libcacard >= 2.5.1} \
188 Requires: libfdt >= 1.4.2 \
189 %if %{with seccomp} \
190 Requires: libseccomp >= 2.3.0 \
192 Requires: libslirp >= 4.0.0 \
193 Requires: libusb >= 1.0.22 \
194 Requires: pixman >= 0.21.8 \
196 Requires: spice-server-libs >= 0.12.5 \
198 %if %{with usbredir} \
199 Requires: usbredir >= 0.6 \
202 # don't strip/chrpath anything in there; these are boot images, roms etc
203 %define _noautostrip .*%{_datadir}/qemu/.*
204 %define _noautochrpath .*%{_datadir}/qemu/.*
207 QEMU is a FAST! processor emulator. By using dynamic translation it
208 achieves a reasonnable speed while being easy to port on new host
209 CPUs. QEMU has two operating modes:
211 - User mode emulation. In this mode, QEMU can launch Linux processes
212 compiled for one CPU on another CPU. Linux system calls are converted
213 because of endianness and 32/64 bit mismatches. Wine (Windows
214 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
216 - Full system emulation. In this mode, QEMU emulates a full system,
217 including a processor and various peripherials. It can also be used to
218 provide virtual hosting of several virtual PC on a single server.
220 %description -l pl.UTF-8
221 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
222 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
223 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
225 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
226 procesy linuksowe skompilowane dla jednego procesora na innym
227 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
228 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
229 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
232 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
233 włączając w to procesor i różne urządzenia peryferyjne. Może być także
234 używane do wirtualnego hostowania kilku wirtualnych pecetów na
235 pojedynczym serwerze.
238 Summary: QEMU common files needed by all QEMU targets
239 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
240 Group: Development/Tools
241 Requires(post,preun,postun): systemd-units >= 38
242 Requires(postun): /usr/sbin/groupdel
243 Requires(postun): /usr/sbin/userdel
244 Requires(pre): /bin/id
245 Requires(pre): /usr/bin/getgid
246 Requires(pre): /usr/sbin/groupadd
247 Requires(pre): /usr/sbin/useradd
248 Requires: glib2 >= 1:2.48
249 Requires: gnutls-libs >= 3.1.18
250 %{?with_gtk3:Requires: gtk+3 >= 3.16}
251 %{?with_libnfs:Requires: libnfs >= 1.9.3}
252 Requires: nettle >= 2.7.1
253 Requires: systemd-units >= 38
254 %{?with_vte:Requires: vte >= 0.32.0}
255 Provides: group(qemu)
257 Obsoletes: qemu-kvm-common
258 Obsoletes: qemu-module-block-archipelago < 2.9.0
259 Conflicts: qemu < 1.0-2
262 QEMU is a generic and open source processor emulator which achieves a
263 good emulation speed by using dynamic translation.
265 This package provides the common files needed by all QEMU targets.
267 %description common -l pl.UTF-8
268 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
269 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
271 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
275 Summary: QEMU command line tool for manipulating disk images
276 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
277 Group: Development/Tools
278 Obsoletes: qemu-kvm-img
279 Conflicts: qemu < 1.0-2
282 This package provides a command line tool for manipulating disk
285 %description img -l pl.UTF-8
286 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
290 Summary: QEMU user mode emulation of qemu targets
291 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
292 Group: Development/Tools
293 Requires: %{name}-common = %{version}-%{release}
294 Requires(post,postun): systemd-units >= 38
295 Requires: systemd-units >= 38
296 Obsoletes: qemu-kvm-user
299 QEMU is a generic and open source processor emulator which achieves a
300 good emulation speed by using dynamic translation.
302 This package provides the user mode emulation of QEMU targets.
304 %description user -l pl.UTF-8
305 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
306 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
308 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
311 Summary: QEMU user mode emulation of qemu targets static build
312 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
313 Group: Development/Tools
314 Requires(post,postun): systemd-units >= 38
315 Requires: systemd-units >= 38
317 %description user-static
318 QEMU is a generic and open source processor emulator which achieves a
319 good emulation speed by using dynamic translation.
321 This package provides the user mode emulation of qemu targets built as
324 %description user-static -l pl.UTF-8
325 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
326 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
328 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
329 oparciu o programy wykonywalne zbudowane statycznie.
331 %package system-aarch64
332 Summary: QEMU system emulator for AArch64
333 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
334 Group: Development/Tools
335 Requires: %{name}-common = %{version}-%{release}
337 Obsoletes: qemu-kvm-system-aarch64
339 %description system-aarch64
340 QEMU is a generic and open source processor emulator which achieves a
341 good emulation speed by using dynamic translation.
343 This package provides the system emulator with AArch64 (ARM64) CPU.
345 %description system-aarch64 -l pl.UTF-8
346 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
347 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
349 Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
351 %package system-alpha
352 Summary: QEMU system emulator for Alpha
353 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
354 Group: Development/Tools
355 Requires: %{name}-common = %{version}-%{release}
357 Obsoletes: qemu-kvm-system-alpha
359 %description system-alpha
360 QEMU is a generic and open source processor emulator which achieves a
361 good emulation speed by using dynamic translation.
363 This package provides the system emulator with Alpha CPU.
365 %description system-alpha -l pl.UTF-8
366 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
367 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
369 Ten pakiet zawiera emulator systemu z procesorem Alpha.
372 Summary: QEMU system emulator for 32-bit ARM
373 Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
374 Group: Development/Tools
375 Requires: %{name}-common = %{version}-%{release}
377 Obsoletes: qemu-kvm-system-arm
379 %description system-arm
380 QEMU is a generic and open source processor emulator which achieves a
381 good emulation speed by using dynamic translation.
383 This package provides the system emulator for 32-bit ARM.
385 %description system-arm -l pl.UTF-8
386 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
387 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
389 Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
392 Summary: QEMU system emulator for CRIS
393 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
394 Group: Development/Tools
395 Requires: %{name}-common = %{version}-%{release}
397 Obsoletes: qemu-kvm-system-cris
399 %description system-cris
400 QEMU is a generic and open source processor emulator which achieves a
401 good emulation speed by using dynamic translation.
403 This package provides the system emulator with CRIS CPU.
405 %description system-cris -l pl.UTF-8
406 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
407 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
409 Ten pakiet zawiera emulator systemu z procesorem CRIS.
412 Summary: QEMU system emulator for HP/PA
413 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
414 Group: Development/Tools
415 Requires: %{name}-common = %{version}-%{release}
418 %description system-hppa
419 QEMU is a generic and open source processor emulator which achieves a
420 good emulation speed by using dynamic translation.
422 This package provides the system emulator with HP/PA (PA-RISC) CPU.
424 %description system-hppa -l pl.UTF-8
425 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
426 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
428 Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
431 Summary: QEMU system emulator for LM32
432 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
433 Group: Development/Tools
434 Requires: %{name}-common = %{version}-%{release}
436 Obsoletes: qemu-kvm-system-lm32
438 %description system-lm32
439 QEMU is a generic and open source processor emulator which achieves a
440 good emulation speed by using dynamic translation.
442 This package provides the system emulator with LM32 CPU.
444 %description system-lm32 -l pl.UTF-8
445 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
446 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
448 Ten pakiet zawiera emulator systemu z procesorem LM32.
451 Summary: QEMU system emulator for m68k
452 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
453 Group: Development/Tools
454 Requires: %{name}-common = %{version}-%{release}
456 Obsoletes: qemu-kvm-system-m68k
458 %description system-m68k
459 QEMU is a generic and open source processor emulator which achieves a
460 good emulation speed by using dynamic translation.
462 This package provides the system emulator with m68k (Motorola 68xxx)
465 %description system-m68k -l pl.UTF-8
466 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
467 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
469 Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
472 %package system-microblaze
473 Summary: QEMU system emulator for MicroBlaze
474 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
475 Group: Development/Tools
476 Requires: %{name}-common = %{version}-%{release}
478 Obsoletes: qemu-kvm-system-microblaze
480 %description system-microblaze
481 QEMU is a generic and open source processor emulator which achieves a
482 good emulation speed by using dynamic translation.
484 This package provides the system emulator with MicroBlaze CPU.
486 %description system-microblaze -l pl.UTF-8
487 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
488 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
490 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
493 Summary: QEMU system emulator for MIPS
494 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
495 Group: Development/Tools
496 Requires: %{name}-common = %{version}-%{release}
498 Obsoletes: qemu-kvm-system-mips
500 %description system-mips
501 QEMU is a generic and open source processor emulator which achieves a
502 good emulation speed by using dynamic translation.
504 This package provides the system emulator with MIPS CPU.
506 %description system-mips -l pl.UTF-8
507 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
508 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
510 Ten pakiet zawiera emulator systemu z procesorem MIPS.
512 %package system-moxie
513 Summary: QEMU system emulator for Moxie
514 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
515 Group: Development/Tools
516 Requires: %{name}-common = %{version}-%{release}
519 %description system-moxie
520 QEMU is a generic and open source processor emulator which achieves a
521 good emulation speed by using dynamic translation.
523 This package provides the system emulator with Moxie CPU.
525 %description system-moxie -l pl.UTF-8
526 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
527 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
529 Ten pakiet zawiera emulator systemu z procesorem Moxie.
531 %package system-nios2
532 Summary: QEMU system emulator for Nios II
533 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
534 Group: Development/Tools
535 Requires: %{name}-common = %{version}-%{release}
538 %description system-nios2
539 QEMU is a generic and open source processor emulator which achieves a
540 good emulation speed by using dynamic translation.
542 This package provides the system emulator with Nios II CPU.
544 %description system-nios2 -l pl.UTF-8
545 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
546 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
548 Ten pakiet zawiera emulator systemu z procesorem Nios II.
551 Summary: QEMU system emulator for OpenRISC
552 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
553 Group: Development/Tools
554 Requires: %{name}-common = %{version}-%{release}
556 Obsoletes: qemu-kvm-system-or1k
557 Obsoletes: qemu-system-or32
559 %description system-or1k
560 QEMU is a generic and open source processor emulator which achieves a
561 good emulation speed by using dynamic translation.
563 This package provides the system emulator with OpenRISC CPU.
565 %description system-or1k -l pl.UTF-8
566 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
567 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
569 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
572 Summary: QEMU system emulator for PowerPC
573 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
574 Group: Development/Tools
575 Requires: %{name}-common = %{version}-%{release}
577 Obsoletes: qemu-kvm-system-ppc
579 %description system-ppc
580 QEMU is a generic and open source processor emulator which achieves a
581 good emulation speed by using dynamic translation.
583 This package provides the system emulator with PowerPC CPU.
585 %description system-ppc -l pl.UTF-8
586 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
587 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
589 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
591 %package system-riscv32
592 Summary: QEMU system emulator for RISC-V (32 bit)
593 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
594 Group: Development/Tools
595 Requires: %{name}-common = %{version}-%{release}
598 %description system-riscv32
599 QEMU is a generic and open source processor emulator which achieves a
600 good emulation speed by using dynamic translation.
602 This package provides the system emulator with RISC-V (32 bit) CPU.
604 %description system-riscv32 -l pl.UTF-8
605 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
606 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
608 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
610 %package system-riscv64
611 Summary: QEMU system emulator for RISC-V (64 bit)
612 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
613 Group: Development/Tools
614 Requires: %{name}-common = %{version}-%{release}
617 %description system-riscv64
618 QEMU is a generic and open source processor emulator which achieves a
619 good emulation speed by using dynamic translation.
621 This package provides the system emulator with RISC-V (64 bit) CPU.
623 %description system-riscv64 -l pl.UTF-8
624 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
625 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
627 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
629 %package system-s390x
630 Summary: QEMU system emulator for S390x (IBM Z)
631 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
632 Group: Development/Tools
633 Requires: %{name}-common = %{version}-%{release}
635 Obsoletes: qemu-kvm-system-s390x
637 %description system-s390x
638 QEMU is a generic and open source processor emulator which achieves a
639 good emulation speed by using dynamic translation.
641 This package provides the system emulator with S390x (IBM Z) CPU.
643 %description system-s390x -l pl.UTF-8
644 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
645 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
647 Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
650 Summary: QEMU system emulator for SH4
651 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
652 Group: Development/Tools
653 Requires: %{name}-common = %{version}-%{release}
655 Obsoletes: qemu-kvm-system-sh4
657 %description system-sh4
658 QEMU is a generic and open source processor emulator which achieves a
659 good emulation speed by using dynamic translation.
661 This package provides the system emulator with SH4 CPU.
663 %description system-sh4 -l pl.UTF-8
664 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
665 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
667 Ten pakiet zawiera emulator systemu z procesorem SH4.
669 %package system-sparc
670 Summary: QEMU system emulator for SPARC
671 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
672 Group: Development/Tools
673 Requires: %{name}-common = %{version}-%{release}
675 Obsoletes: qemu-kvm-system-sparc
677 %description system-sparc
678 QEMU is a generic and open source processor emulator which achieves a
679 good emulation speed by using dynamic translation.
681 This package provides the system emulator with SPARC/SPARC64 CPU.
683 %description system-sparc -l pl.UTF-8
684 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
685 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
687 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
689 %package system-tricore
690 Summary: QEMU system emulator for TriCore
691 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
692 Group: Development/Tools
693 Requires: %{name}-common = %{version}-%{release}
696 %description system-tricore
697 QEMU is a generic and open source processor emulator which achieves a
698 good emulation speed by using dynamic translation.
700 This package provides the system emulator with TriCore CPU.
702 %description system-sparc -l pl.UTF-8
703 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
704 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
706 Ten pakiet zawiera emulator systemu z procesorem TriCore.
708 %package system-unicore32
709 Summary: QEMU system emulator for UniCore32
710 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
711 Group: Development/Tools
712 Requires: %{name}-common = %{version}-%{release}
714 Obsoletes: qemu-kvm-system-unicore32
716 %description system-unicore32
717 QEMU is a generic and open source processor emulator which achieves a
718 good emulation speed by using dynamic translation.
720 This package provides the system emulator with UniCore32 CPU.
722 %description system-unicore32 -l pl.UTF-8
723 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
724 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
726 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
729 Summary: QEMU system emulator for x86
730 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
731 Group: Development/Tools
732 Requires: %{name}-common = %{version}-%{release}
733 %{?with_system_seabios:Requires: seabios}
736 Obsoletes: qemu-kvm-system-x86
738 %description system-x86
739 QEMU is a generic and open source processor emulator which achieves a
740 good emulation speed by using dynamic translation.
742 This package provides the system emulator with x86 CPU.
744 %description system-x86 -l pl.UTF-8
745 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
746 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
748 Ten pakiet zawiera emulator systemu z procesorem x86.
750 %package system-xtensa
751 Summary: QEMU system emulator for Xtensa
752 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
753 Group: Development/Tools
754 Requires: %{name}-common = %{version}-%{release}
756 Obsoletes: qemu-kvm-system-xtensa
758 %description system-xtensa
759 QEMU is a generic and open source processor emulator which achieves a
760 good emulation speed by using dynamic translation.
762 This package provides the system emulator with Xtensa CPU.
764 %description system-xtensa -l pl.UTF-8
765 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
766 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
768 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
771 Summary: QEMU guest agent
772 Summary(pl.UTF-8): Agent gościa QEMU
774 Requires(post,preun,postun): systemd-units >= 38
775 Requires: glib2 >= 1:2.48
776 Requires: systemd-units >= 38
777 Obsoletes: qemu-kvm-guest-agent
778 Conflicts: SysVinit < 2.96-2
780 %description guest-agent
781 QEMU is a generic and open source processor emulator which achieves a
782 good emulation speed by using dynamic translation.
784 This package provides an agent to run inside guests, which
785 communicates with the host over a virtio-serial channel named
786 "org.qemu.guest_agent.0".
788 This package does not need to be installed on the host OS.
790 %description guest-agent -l pl.UTF-8
791 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
792 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
794 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
795 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
796 "org.qemu.guest_agent.0".
798 Ten pakiet nie musi być zainstalowany w systemie hosta.
800 %package module-block-curl
801 Summary: QEMU module for 'curl' block devices
802 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
803 Group: Development/Tools
804 Requires: %{name}-common = %{version}-%{release}
806 %description module-block-curl
807 'curl' block device support for QEMU.
809 %description module-block-curl -l pl.UTF-8
810 Moduł QEMU dla urządeń blokowych typu 'curl'.
812 %package module-block-gluster
813 Summary: QEMU module for 'gluster' block devices
814 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
815 Group: Development/Tools
816 Requires: %{name}-common = %{version}-%{release}
817 Requires: glusterfs-libs >= 6
819 %description module-block-gluster
820 'gluster' block device support for QEMU.
822 %description module-block-gluster -l pl.UTF-8
823 Moduł QEMU dla urządeń blokowych typu 'gluster'.
825 %package module-block-iscsi
826 Summary: QEMU module for 'iscsi' block devices
827 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
828 Group: Development/Tools
829 Requires: %{name}-common = %{version}-%{release}
830 Requires: libiscsi >= 1.9.0
832 %description module-block-iscsi
833 'iscsi' block device support for QEMU.
835 %description module-block-iscsi -l pl.UTF-8
836 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
838 %package module-block-rbd
839 Summary: QEMU module for 'rbd' block devices
840 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
841 Group: Development/Tools
842 Requires: %{name}-common = %{version}-%{release}
844 %description module-block-rbd
845 'rbd' block device support for QEMU.
847 %description module-block-rbd -l pl.UTF-8
848 Moduł QEMU dla urządeń blokowych typu 'rbd'.
850 %package module-block-ssh
851 Summary: QEMU module for 'ssh' block devices
852 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
853 Group: Development/Tools
854 Requires: %{name}-common = %{version}-%{release}
855 Requires: libssh >= 0.8
857 %description module-block-ssh
858 'ssh' block device support for QEMU.
860 %description module-block-ssh -l pl.UTF-8
861 Moduł QEMU dla urządeń blokowych typu 'ssh'.
872 # workaround for conflict with alsa/error.h
873 ln -s ../error.h qapi/error.h
881 install -d build-$target
885 --prefix=%{_prefix} \
886 --libdir=%{_libdir} \
887 --libexecdir=%{_libexecdir} \
888 --sysconfdir=%{_sysconfdir} \
889 --localstatedir=%{_localstatedir} \
890 --interp-prefix=%{_libdir}/qemu/lib-%%M \
892 --host-cc="%{__cc}" \
894 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
900 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
906 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
907 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
908 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
910 %{__enable_disable bluetooth bluez} \
911 %{__enable_disable brlapi} \
917 %{__enable_disable glusterfs} \
918 %{!?with_gtk3:--disable-gtk} \
919 %{__enable_disable iscsi libiscsi} \
920 %{__enable_disable libnfs} \
922 %{__enable_disable multipath mpath} \
926 %{__enable_disable ceph rbd} \
927 %{__enable_disable rdma} \
928 %{__enable_disable sdl} \
929 %{__enable_disable seccomp} \
930 --enable-slirp=system \
931 %{__enable_disable spice} \
932 %{__enable_disable smartcard} \
933 %{__enable_disable snappy} \
935 %{__enable_disable usbredir usb-redir} \
937 %{__enable_disable virgl virglrenderer} \
942 %{!?with_vte:--disable-vte} \
943 %{__enable_disable xen} \
944 %{__enable_disable xkbcommon}
946 %if %{with user_static}
955 --disable-guest-agent \
956 --disable-guest-agent-msi \
962 --enable-slirp=internal \
968 --disable-xkbcommon \
972 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
975 rm -rf $RPM_BUILD_ROOT
976 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
977 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d,rc.d/init.d,logrotate.d} \
978 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
980 %if %{with user_static}
981 %{__make} -C build-static install \
982 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
983 DESTDIR=$RPM_BUILD_ROOT
985 # Give all QEMU user emulators a -static suffix
986 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
987 %{__mv} $src $src-static
992 %{__make} -C build-dynamic install \
993 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
994 DESTDIR=$RPM_BUILD_ROOT
996 # let rpm generate dependencies
997 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
999 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1001 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1002 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
1007 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1009 %ifarch %{ix86} %{x8664} x32
1010 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
1011 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1014 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1015 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1016 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1018 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1019 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1020 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1022 # For the qemu-guest-agent subpackage install the systemd
1023 # service and udev rules.
1024 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1025 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1027 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1028 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1032 %ifnarch %{ix86} %{x8664} x32
1046 microblaze microblazeel \
1062 %ifnarch ppc ppc64 ppc64le
1065 %ifnarch sparc sparc64
1066 sparc sparc32plus sparc64 \
1077 if [ -n "$BINFMT_CPUS" ]; then
1078 for cpu in $BINFMT_CPUS; do
1079 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1081 for i in /$RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1082 mv $i ${i%.conf}-dynamic.conf
1085 %if %{with user_static}
1086 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1087 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1088 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1094 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1096 %if %{with system_seabios}
1097 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1098 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1099 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1101 if [ -e "/usr/share/seabios/$bn" ] ; then
1102 ln -sf "/usr/share/seabios/$bn" "$f"
1108 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1109 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1115 # Windows installer icon, not used
1116 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1118 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1119 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1122 rm -rf $RPM_BUILD_ROOT
1125 %groupadd -g 160 kvm
1126 %groupadd -g 276 qemu
1127 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1130 %systemd_post ksm.service
1131 %systemd_post ksmtuned.service
1134 %systemd_preun ksm.service
1135 %systemd_preun ksmtuned.service
1138 if [ "$1" = "0" ]; then
1145 %triggerpostun common -- qemu-common < 1.6.1-4
1146 %systemd_trigger ksm.service
1147 %systemd_trigger ksmtuned.service
1150 %systemd_service_restart systemd-binfmt.service
1153 %systemd_service_restart systemd-binfmt.service
1156 %systemd_service_restart systemd-binfmt.service
1159 %systemd_service_restart systemd-binfmt.service
1162 /sbin/chkconfig --add qemu-ga
1163 %service qemu-ga restart "qemu-ga"
1167 if [ "$1" = "0" ]; then
1168 %service qemu-ga stop
1169 /sbin/chkconfig --del qemu-ga
1171 %systemd_preun qemu-guest-agent.service
1177 %defattr(644,root,root,755)
1179 %files common -f %{name}.lang
1180 %defattr(644,root,root,755)
1181 %doc LICENSE README.rst build-dynamic/qemu-doc.html pc-bios/edk2-licenses.txt
1182 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1183 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1184 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1185 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1187 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1188 %{systemdunitdir}/ksm.service
1189 %{systemdunitdir}/ksmtuned.service
1190 %attr(755,root,root) %{_bindir}/elf2dmp
1191 %attr(755,root,root) %{_bindir}/ivshmem-client
1192 %attr(755,root,root) %{_bindir}/ivshmem-server
1193 %attr(755,root,root) %{_bindir}/qemu-edid
1194 %if %{with xkbcommon}
1195 %attr(755,root,root) %{_bindir}/qemu-keymap
1197 %attr(755,root,root) %{_bindir}/qemu-nbd
1198 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1199 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1200 %attr(755,root,root) %{_sbindir}/ksmctl
1201 %attr(755,root,root) %{_sbindir}/ksmtuned
1202 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1203 %{_mandir}/man1/qemu.1*
1204 %{_mandir}/man1/virtfs-proxy-helper.1*
1205 %{_mandir}/man7/qemu-block-drivers.7*
1206 %{_mandir}/man7/qemu-cpu-models.7*
1207 %{_mandir}/man7/qemu-qmp-ref.7*
1208 %{_mandir}/man8/qemu-nbd.8*
1210 %dir %{_datadir}/%{name}
1211 %dir %{_datadir}/%{name}/firmware
1212 %{_datadir}/%{name}/keymaps
1213 %{_datadir}/%{name}/trace-events-all
1214 %{_desktopdir}/qemu.desktop
1215 %{_iconsdir}/hicolor/*x*/apps/qemu.png
1216 %{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1217 %{_iconsdir}/hicolor/scalable/apps/qemu.svg
1219 %dir %{_libdir}/%{name}
1221 # modules without too many external dependencies
1222 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1223 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1225 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1228 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1230 %attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1232 %if %{with pulseaudio}
1233 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1236 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1238 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1241 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1242 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1245 %attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_bindir}/qemu-img
1251 %{_mandir}/man1/qemu-img.1*
1254 %defattr(644,root,root,755)
1255 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1256 %attr(755,root,root) %{_bindir}/qemu-aarch64
1257 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1258 %attr(755,root,root) %{_bindir}/qemu-alpha
1259 %attr(755,root,root) %{_bindir}/qemu-arm
1260 %attr(755,root,root) %{_bindir}/qemu-armeb
1261 %attr(755,root,root) %{_bindir}/qemu-cris
1262 %attr(755,root,root) %{_bindir}/qemu-hppa
1263 %attr(755,root,root) %{_bindir}/qemu-i386
1264 %attr(755,root,root) %{_bindir}/qemu-io
1265 %attr(755,root,root) %{_bindir}/qemu-m68k
1266 %attr(755,root,root) %{_bindir}/qemu-microblaze
1267 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1268 %attr(755,root,root) %{_bindir}/qemu-mips
1269 %attr(755,root,root) %{_bindir}/qemu-mipsel
1270 %attr(755,root,root) %{_bindir}/qemu-mips64
1271 %attr(755,root,root) %{_bindir}/qemu-mips64el
1272 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1273 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1274 %attr(755,root,root) %{_bindir}/qemu-nios2
1275 %attr(755,root,root) %{_bindir}/qemu-or1k
1276 %attr(755,root,root) %{_bindir}/qemu-ppc
1277 %attr(755,root,root) %{_bindir}/qemu-ppc64
1278 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1279 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1280 %attr(755,root,root) %{_bindir}/qemu-riscv32
1281 %attr(755,root,root) %{_bindir}/qemu-riscv64
1282 %attr(755,root,root) %{_bindir}/qemu-s390x
1283 %attr(755,root,root) %{_bindir}/qemu-sh4
1284 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1285 %attr(755,root,root) %{_bindir}/qemu-sparc
1286 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1287 %attr(755,root,root) %{_bindir}/qemu-sparc64
1288 %attr(755,root,root) %{_bindir}/qemu-tilegx
1289 %attr(755,root,root) %{_bindir}/qemu-x86_64
1290 %attr(755,root,root) %{_bindir}/qemu-xtensa
1291 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1293 %if %{with user_static}
1295 %defattr(644,root,root,755)
1296 /usr/lib/binfmt.d/qemu-*-static.conf
1297 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1298 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1299 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1300 %attr(755,root,root) %{_bindir}/qemu-arm-static
1301 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1302 %attr(755,root,root) %{_bindir}/qemu-cris-static
1303 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1304 %attr(755,root,root) %{_bindir}/qemu-i386-static
1305 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1306 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1307 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1308 %attr(755,root,root) %{_bindir}/qemu-mips-static
1309 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1310 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1311 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1312 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1313 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1314 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1315 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1316 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1317 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1318 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1319 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1320 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1321 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1322 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1323 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1324 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1325 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1326 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1327 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1328 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1329 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1330 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1331 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1334 %files system-aarch64
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1337 %{_datadir}/%{name}/edk2-aarch64-code.fd
1338 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1343 %{_datadir}/%{name}/palcode-clipper
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/qemu-system-arm
1348 %{_datadir}/%{name}/edk2-arm-code.fd
1349 %{_datadir}/%{name}/edk2-arm-vars.fd
1350 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_bindir}/qemu-system-cris
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1359 %{_datadir}/%{name}/hppa-firmware.img
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1369 %files system-microblaze
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1372 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_bindir}/qemu-system-mips
1377 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1378 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1379 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1396 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1397 %{_datadir}/%{name}/bamboo.dtb
1398 %{_datadir}/%{name}/canyonlands.dtb
1399 %{_datadir}/%{name}/openbios-ppc
1400 %{_datadir}/%{name}/petalogix-ml605.dtb
1401 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1402 %{_datadir}/%{name}/ppc_rom.bin
1403 %{_datadir}/%{name}/qemu_vga.ndrv
1404 %{_datadir}/%{name}/skiboot.lid
1405 %{_datadir}/%{name}/slof.bin
1406 %{_datadir}/%{name}/u-boot.e500
1407 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1409 %files system-riscv32
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1412 %{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1414 %files system-riscv64
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1417 %{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1418 %{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1423 %{_datadir}/%{name}/s390-ccw.img
1424 %{_datadir}/%{name}/s390-netboot.img
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1429 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1434 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1435 %{_datadir}/%{name}/QEMU,cgthree.bin
1436 %{_datadir}/%{name}/QEMU,tcx.bin
1437 %{_datadir}/%{name}/openbios-sparc32
1438 %{_datadir}/%{name}/openbios-sparc64
1440 %files system-tricore
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1444 %files system-unicore32
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1449 %defattr(644,root,root,755)
1450 %attr(755,root,root) %{_bindir}/qemu-system-i386
1451 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1452 %ifarch %{ix86} %{x8664} x32
1453 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1454 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1456 %{_datadir}/%{name}/bios.bin
1457 %{_datadir}/%{name}/bios-256k.bin
1458 %{_datadir}/%{name}/bios-microvm.bin
1459 %{_datadir}/%{name}/edk2-i386-code.fd
1460 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1461 %{_datadir}/%{name}/edk2-i386-vars.fd
1462 %{_datadir}/%{name}/edk2-x86_64-code.fd
1463 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1464 %{_datadir}/%{name}/efi-e1000e.rom
1465 %{_datadir}/%{name}/efi-e1000.rom
1466 %{_datadir}/%{name}/efi-eepro100.rom
1467 %{_datadir}/%{name}/efi-ne2k_pci.rom
1468 %{_datadir}/%{name}/efi-pcnet.rom
1469 %{_datadir}/%{name}/efi-rtl8139.rom
1470 %{_datadir}/%{name}/efi-virtio.rom
1471 %{_datadir}/%{name}/efi-vmxnet3.rom
1472 %{_datadir}/%{name}/kvmvapic.bin
1473 %{_datadir}/%{name}/linuxboot.bin
1474 %{_datadir}/%{name}/linuxboot_dma.bin
1475 %{_datadir}/%{name}/multiboot.bin
1476 %{_datadir}/%{name}/pvh.bin
1477 %{_datadir}/%{name}/pxe-e1000.rom
1478 %{_datadir}/%{name}/pxe-eepro100.rom
1479 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1480 %{_datadir}/%{name}/pxe-pcnet.rom
1481 %{_datadir}/%{name}/pxe-rtl8139.rom
1482 %{_datadir}/%{name}/pxe-virtio.rom
1483 %{_datadir}/%{name}/sgabios.bin
1484 %{_datadir}/%{name}/vgabios.bin
1485 %{_datadir}/%{name}/vgabios-ati.bin
1486 %{_datadir}/%{name}/vgabios-bochs-display.bin
1487 %{_datadir}/%{name}/vgabios-cirrus.bin
1488 %{_datadir}/%{name}/vgabios-qxl.bin
1489 %{_datadir}/%{name}/vgabios-ramfb.bin
1490 %{_datadir}/%{name}/vgabios-stdvga.bin
1491 %{_datadir}/%{name}/vgabios-virtio.bin
1492 %{_datadir}/%{name}/vgabios-vmware.bin
1493 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1494 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1495 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1496 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1498 %files system-xtensa
1499 %defattr(644,root,root,755)
1500 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1501 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1504 %defattr(644,root,root,755)
1505 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1506 %{systemdunitdir}/qemu-guest-agent.service
1507 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1508 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1509 %attr(755,root,root) %{_bindir}/qemu-ga
1510 %{_mandir}/man7/qemu-ga-ref.7*
1511 %{_mandir}/man8/qemu-ga.8*
1513 %files module-block-curl
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1517 %if %{with glusterfs}
1518 %files module-block-gluster
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1524 %files module-block-iscsi
1525 %defattr(644,root,root,755)
1526 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1530 %files module-block-rbd
1531 %defattr(644,root,root,755)
1532 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1535 %files module-block-ssh
1536 %defattr(644,root,root,755)
1537 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so