3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_without gtk3 # Do not build GTK+ UI
9 %bcond_without vte # VTE support in GTK+ UI
10 %bcond_without spice # SPICE support
11 %bcond_with esd # EsounD audio support
12 %bcond_without oss # OSS audio support
13 %bcond_without pulseaudio # PulseAudio audio support
14 %bcond_without xen # Xen backend driver support
15 %bcond_without bluetooth # bluetooth support
16 %bcond_without brlapi # brlapi support
17 %bcond_without smartcard # smartcard-nss support
18 %bcond_without iscsi # iscsi support
19 %bcond_without libnfs # NFS support
20 %bcond_without seccomp # seccomp support
21 %bcond_without usbredir # usb network redirection support
22 %bcond_without system_seabios # system seabios binary
23 %bcond_without snappy # snappy compression library
24 %bcond_without user_static # build linux-user static packages
25 %bcond_with lttng # lttng-ust trace backend support
26 %bcond_with systemtap # SystemTap/dtrace trace backend support
27 %bcond_with virgl # build virgl support
28 %bcond_without xkbcommon # xkbcommon support
34 Summary: QEMU CPU Emulator
35 Summary(pl.UTF-8): QEMU - emulator procesora
39 License: GPL v2, BSD (edk2 firmware files)
40 Group: Applications/Emulators
41 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
42 # Source0-md5: 53879f792ef2675c6c5e6cbf5cc1ac6c
43 Source2: %{name}.binfmt
44 # Loads kvm kernel modules at boot
45 Source3: kvm-modules-load.conf
50 Source6: ksm.sysconfig
52 Source8: ksmtuned.service
54 Source10: ksmtuned.conf
55 Source11: %{name}-guest-agent.service
56 Source12: 99-%{name}-guest-agent.rules
57 Source13: %{name}-guest-agent.init
58 Source14: %{name}-guest-agent.logrotate
59 Patch0: %{name}-cflags.patch
60 Patch1: %{name}-whitelist.patch
61 Patch2: %{name}-user-execve.patch
62 Patch3: %{name}-xattr.patch
63 Patch4: libjpeg-boolean.patch
65 URL: http://www.qemu-project.org/
66 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
67 %{?with_gl:BuildRequires: OpenGL-devel}
68 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
69 BuildRequires: alsa-lib-devel
70 BuildRequires: bcc >= 0.16.21-2
71 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
72 %{?with_brlapi:BuildRequires: brlapi-devel}
73 BuildRequires: bzip2-devel
74 %{?with_ceph:BuildRequires: ceph-devel}
75 BuildRequires: curl-devel
76 BuildRequires: cyrus-sasl-devel >= 2
77 %{?with_esd:BuildRequires: esound-devel}
78 BuildRequires: glib2-devel >= 1:2.22
79 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
80 BuildRequires: gnutls-devel >= 3.1.18
81 BuildRequires: libaio-devel
82 %{?with_smartcard:BuildRequires: libcacard-devel}
83 BuildRequires: libcap-devel
84 BuildRequires: libcap-ng-devel
85 %{?with_gl:BuildRequires: libepoxy-devel}
86 BuildRequires: libfdt-devel >= 1.4.2
87 %{?with_rdma:BuildRequires: libibverbs-devel}
88 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
89 %{?with_rdma:BuildRequires: libibumad-devel}
90 BuildRequires: libjpeg-devel
91 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
92 BuildRequires: libpng-devel
93 %{?with_rdma:BuildRequires: librdmacm-devel}
94 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
95 BuildRequires: libssh2-devel >= 1.2.8
96 BuildRequires: libusb-devel >= 1.0.13
97 BuildRequires: libuuid-devel
98 %{?with_lttng:BuildRequires: lttng-ust-devel}
99 BuildRequires: lzo-devel >= 2
100 BuildRequires: ncurses-devel
101 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
102 BuildRequires: numactl-devel
103 BuildRequires: perl-Encode
104 BuildRequires: perl-tools-pod
105 BuildRequires: pixman-devel >= 0.21.8
106 BuildRequires: pkgconfig
107 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
108 BuildRequires: rpmbuild(macros) >= 1.644
109 %{?with_system_seabios:BuildRequires: seabios}
110 BuildRequires: sed >= 4.0
111 %{?with_snappy:BuildRequires: snappy-devel}
113 BuildRequires: spice-protocol >= 0.12.3
114 BuildRequires: spice-server-devel >= 0.12.0
116 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
117 BuildRequires: texi2html
118 BuildRequires: texinfo
119 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
120 %{?with_lttng:BuildRequires: userspace-rcu-devel}
121 BuildRequires: vde2-devel
123 %{?with_virgl:BuildRequires: virglrenderer-devel}
124 %{?with_xen:BuildRequires: xen-devel >= 3.4}
125 BuildRequires: xfsprogs-devel
126 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
127 BuildRequires: xorg-lib-libX11-devel
128 BuildRequires: zlib-devel
130 BuildRequires: gtk+3-devel >= 3.14.0
131 %{?with_vte:BuildRequires: vte-devel >= 0.32.0}
133 %if %{with user_static}
134 BuildRequires: glib2-static
135 BuildRequires: glibc-static
136 BuildRequires: pcre-static
137 BuildRequires: zlib-static
139 BuildConflicts: libslirp-devel
140 Requires: %{name}-img = %{version}-%{release}
141 Requires: %{name}-system-aarch64 = %{version}-%{release}
142 Requires: %{name}-system-alpha = %{version}-%{release}
143 Requires: %{name}-system-arm = %{version}-%{release}
144 Requires: %{name}-system-cris = %{version}-%{release}
145 Requires: %{name}-system-hppa = %{version}-%{release}
146 Requires: %{name}-system-lm32 = %{version}-%{release}
147 Requires: %{name}-system-m68k = %{version}-%{release}
148 Requires: %{name}-system-microblaze = %{version}-%{release}
149 Requires: %{name}-system-mips = %{version}-%{release}
150 Requires: %{name}-system-moxie = %{version}-%{release}
151 Requires: %{name}-system-nios2 = %{version}-%{release}
152 Requires: %{name}-system-or1k = %{version}-%{release}
153 Requires: %{name}-system-ppc = %{version}-%{release}
154 Requires: %{name}-system-riscv32 = %{version}-%{release}
155 Requires: %{name}-system-riscv64 = %{version}-%{release}
156 Requires: %{name}-system-s390x = %{version}-%{release}
157 Requires: %{name}-system-sh4 = %{version}-%{release}
158 Requires: %{name}-system-sparc = %{version}-%{release}
159 Requires: %{name}-system-tricore = %{version}-%{release}
160 Requires: %{name}-system-unicore32 = %{version}-%{release}
161 Requires: %{name}-system-x86 = %{version}-%{release}
162 Requires: %{name}-system-xtensa = %{version}-%{release}
163 Requires: %{name}-user = %{version}-%{release}
165 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
167 %define systempkg_req \
171 Requires: libfdt >= 1.4.2 \
172 %if %{with seccomp} \
173 Requires: libseccomp >= 2.3.0 \
175 Requires: libusb >= 1.0.22 \
176 Requires: pixman >= 0.21.8 \
177 %if %{with usbredir} \
178 Requires: usbredir >= 0.6 \
181 Requires: gtk+3 >= 3.14.0 \
182 %{?with_vte:Requires: vte >= 0.32.0} \
185 # don't strip/chrpath anything in there; these are boot images, roms etc
186 %define _noautostrip .*%{_datadir}/qemu/.*
187 %define _noautochrpath .*%{_datadir}/qemu/.*
190 QEMU is a FAST! processor emulator. By using dynamic translation it
191 achieves a reasonnable speed while being easy to port on new host
192 CPUs. QEMU has two operating modes:
194 - User mode emulation. In this mode, QEMU can launch Linux processes
195 compiled for one CPU on another CPU. Linux system calls are converted
196 because of endianness and 32/64 bit mismatches. Wine (Windows
197 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
199 - Full system emulation. In this mode, QEMU emulates a full system,
200 including a processor and various peripherials. It can also be used to
201 provide virtual hosting of several virtual PC on a single server.
203 %description -l pl.UTF-8
204 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
205 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
206 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
208 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
209 procesy linuksowe skompilowane dla jednego procesora na innym
210 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
211 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
212 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
215 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
216 włączając w to procesor i różne urządzenia peryferyjne. Może być także
217 używane do wirtualnego hostowania kilku wirtualnych pecetów na
218 pojedynczym serwerze.
221 Summary: QEMU common files needed by all QEMU targets
222 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
223 Group: Development/Tools
224 Requires(post,preun,postun): systemd-units >= 38
225 Requires(postun): /usr/sbin/groupdel
226 Requires(postun): /usr/sbin/userdel
227 Requires(pre): /bin/id
228 Requires(pre): /usr/bin/getgid
229 Requires(pre): /usr/sbin/groupadd
230 Requires(pre): /usr/sbin/useradd
231 Requires: glib2 >= 1:2.22
232 %{?with_libnfs:Requires: libnfs >= 1.9.3}
233 Requires: libssh2 >= 1.2.8
234 Requires: systemd-units >= 38
235 Provides: group(qemu)
237 Obsoletes: qemu-kvm-common
238 Conflicts: qemu < 1.0-2
241 QEMU is a generic and open source processor emulator which achieves a
242 good emulation speed by using dynamic translation.
244 This package provides the common files needed by all QEMU targets.
246 %description common -l pl.UTF-8
247 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
248 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
250 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
254 Summary: QEMU command line tool for manipulating disk images
255 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
256 Group: Development/Tools
257 Obsoletes: qemu-kvm-img
258 Conflicts: qemu < 1.0-2
261 This package provides a command line tool for manipulating disk
264 %description img -l pl.UTF-8
265 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
269 Summary: QEMU user mode emulation of qemu targets
270 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
271 Group: Development/Tools
272 Requires: %{name}-common = %{version}-%{release}
273 Requires(post,postun): systemd-units >= 38
274 Requires: systemd-units >= 38
275 Obsoletes: qemu-kvm-user
278 QEMU is a generic and open source processor emulator which achieves a
279 good emulation speed by using dynamic translation.
281 This package provides the user mode emulation of QEMU targets.
283 %description user -l pl.UTF-8
284 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
285 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
287 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
290 Summary: QEMU user mode emulation of qemu targets static build
291 Group: Development/Tools
292 Requires(post,postun): systemd-units >= 38
293 Requires: systemd-units >= 38
295 %description user-static
296 QEMU is a generic and open source processor emulator which achieves a
297 good emulation speed by using dynamic translation.
299 This package provides the user mode emulation of qemu targets built as
302 %package system-aarch64
303 Summary: QEMU system emulator for AArch64
304 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
305 Group: Development/Tools
306 Requires: %{name}-common = %{version}-%{release}
308 Obsoletes: qemu-kvm-system-aarch64
310 %description system-aarch64
311 QEMU is a generic and open source processor emulator which achieves a
312 good emulation speed by using dynamic translation.
314 This package provides the system emulator with AArch64 CPU.
316 %description system-aarch64 -l pl.UTF-8
317 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
318 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
320 Ten pakiet zawiera emulator systemu z procesorem AArch64.
322 %package system-alpha
323 Summary: QEMU system emulator for Alpha
324 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
325 Group: Development/Tools
326 Requires: %{name}-common = %{version}-%{release}
328 Obsoletes: qemu-kvm-system-alpha
330 %description system-alpha
331 QEMU is a generic and open source processor emulator which achieves a
332 good emulation speed by using dynamic translation.
334 This package provides the system emulator with Alpha CPU.
336 %description system-alpha -l pl.UTF-8
337 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
338 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
340 Ten pakiet zawiera emulator systemu z procesorem Alpha.
343 Summary: QEMU system emulator for ARM
344 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
345 Group: Development/Tools
346 Requires: %{name}-common = %{version}-%{release}
348 Obsoletes: qemu-kvm-system-arm
350 %description system-arm
351 QEMU is a generic and open source processor emulator which achieves a
352 good emulation speed by using dynamic translation.
354 This package provides the system emulator for ARM.
356 %description system-arm -l pl.UTF-8
357 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
358 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
360 Ten pakiet zawiera emulator systemu z procesorem ARM.
363 Summary: QEMU system emulator for CRIS
364 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
365 Group: Development/Tools
366 Requires: %{name}-common = %{version}-%{release}
368 Obsoletes: qemu-kvm-system-cris
370 %description system-cris
371 QEMU is a generic and open source processor emulator which achieves a
372 good emulation speed by using dynamic translation.
374 This package provides the system emulator with CRIS CPU.
376 %description system-cris -l pl.UTF-8
377 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
378 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
380 Ten pakiet zawiera emulator systemu z procesorem CRIS.
383 Summary: QEMU system emulator for HP/PA
384 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
385 Group: Development/Tools
386 Requires: %{name}-common = %{version}-%{release}
389 %description system-hppa
390 QEMU is a generic and open source processor emulator which achieves a
391 good emulation speed by using dynamic translation.
393 This package provides the system emulator with HP/PA CPU.
395 %description system-hppa -l pl.UTF-8
396 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
397 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
399 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
402 Summary: QEMU system emulator for LM32
403 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
404 Group: Development/Tools
405 Requires: %{name}-common = %{version}-%{release}
407 Obsoletes: qemu-kvm-system-lm32
409 %description system-lm32
410 QEMU is a generic and open source processor emulator which achieves a
411 good emulation speed by using dynamic translation.
413 This package provides the system emulator with LM32 CPU.
415 %description system-lm32 -l pl.UTF-8
416 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
417 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
419 Ten pakiet zawiera emulator systemu z procesorem LM32.
422 Summary: QEMU system emulator for m68k
423 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
424 Group: Development/Tools
425 Requires: %{name}-common = %{version}-%{release}
427 Obsoletes: qemu-kvm-system-m68k
429 %description system-m68k
430 QEMU is a generic and open source processor emulator which achieves a
431 good emulation speed by using dynamic translation.
433 This package provides the system emulator with m68k CPU.
435 %description system-m68k -l pl.UTF-8
436 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
437 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
439 Ten pakiet zawiera emulator systemu z procesorem m68k.
441 %package system-microblaze
442 Summary: QEMU system emulator for MicroBlaze
443 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
444 Group: Development/Tools
445 Requires: %{name}-common = %{version}-%{release}
447 Obsoletes: qemu-kvm-system-microblaze
449 %description system-microblaze
450 QEMU is a generic and open source processor emulator which achieves a
451 good emulation speed by using dynamic translation.
453 This package provides the system emulator with MicroBlaze CPU.
455 %description system-microblaze -l pl.UTF-8
456 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
457 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
459 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
462 Summary: QEMU system emulator for MIPS
463 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
464 Group: Development/Tools
465 Requires: %{name}-common = %{version}-%{release}
467 Obsoletes: qemu-kvm-system-mips
469 %description system-mips
470 QEMU is a generic and open source processor emulator which achieves a
471 good emulation speed by using dynamic translation.
473 This package provides the system emulator with MIPS CPU.
475 %description system-mips -l pl.UTF-8
476 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
477 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
479 Ten pakiet zawiera emulator systemu z procesorem MIPS.
481 %package system-moxie
482 Summary: QEMU system emulator for Moxie
483 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
484 Group: Development/Tools
485 Requires: %{name}-common = %{version}-%{release}
488 %description system-moxie
489 QEMU is a generic and open source processor emulator which achieves a
490 good emulation speed by using dynamic translation.
492 This package provides the system emulator with Moxie CPU.
494 %description system-moxie -l pl.UTF-8
495 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
496 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
498 Ten pakiet zawiera emulator systemu z procesorem Moxie.
500 %package system-nios2
501 Summary: QEMU system emulator for Nios II
502 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
503 Group: Development/Tools
504 Requires: %{name}-common = %{version}-%{release}
507 %description system-nios2
508 QEMU is a generic and open source processor emulator which achieves a
509 good emulation speed by using dynamic translation.
511 This package provides the system emulator with Nios II CPU.
513 %description system-nios2 -l pl.UTF-8
514 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
515 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
517 Ten pakiet zawiera emulator systemu z procesorem Nios II.
520 Summary: QEMU system emulator for OpenRISC
521 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
522 Group: Development/Tools
523 Requires: %{name}-common = %{version}-%{release}
525 Obsoletes: qemu-kvm-system-or1k
526 Obsoletes: qemu-system-or32
528 %description system-or1k
529 QEMU is a generic and open source processor emulator which achieves a
530 good emulation speed by using dynamic translation.
532 This package provides the system emulator with OpenRISC CPU.
534 %description system-or1k -l pl.UTF-8
535 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
536 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
538 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
541 Summary: QEMU system emulator for PowerPC
542 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
543 Group: Development/Tools
544 Requires: %{name}-common = %{version}-%{release}
546 Obsoletes: qemu-kvm-system-ppc
548 %description system-ppc
549 QEMU is a generic and open source processor emulator which achieves a
550 good emulation speed by using dynamic translation.
552 This package provides the system emulator with PowerPC CPU.
554 %description system-ppc -l pl.UTF-8
555 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
556 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
558 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
560 %package system-riscv32
561 Summary: QEMU system emulator for RISC-V (32 bit)
562 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
563 Group: Development/Tools
564 Requires: %{name}-common = %{version}-%{release}
567 %description system-riscv32
568 QEMU is a generic and open source processor emulator which achieves a
569 good emulation speed by using dynamic translation.
571 This package provides the system emulator with RISC-V (32 bit) CPU.
573 %description system-riscv32 -l pl.UTF-8
574 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
575 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
577 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
579 %package system-riscv64
580 Summary: QEMU system emulator for RISC-V (64 bit)
581 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
582 Group: Development/Tools
583 Requires: %{name}-common = %{version}-%{release}
586 %description system-riscv64
587 QEMU is a generic and open source processor emulator which achieves a
588 good emulation speed by using dynamic translation.
590 This package provides the system emulator with RISC-V (64 bit) CPU.
592 %description system-riscv64 -l pl.UTF-8
593 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
594 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
596 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
598 %package system-s390x
599 Summary: QEMU system emulator for S390
600 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
601 Group: Development/Tools
602 Requires: %{name}-common = %{version}-%{release}
604 Obsoletes: qemu-kvm-system-s390x
606 %description system-s390x
607 QEMU is a generic and open source processor emulator which achieves a
608 good emulation speed by using dynamic translation.
610 This package provides the system emulator with S390 CPU.
612 %description system-s390x -l pl.UTF-8
613 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
614 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
616 Ten pakiet zawiera emulator systemu z procesorem S390.
619 Summary: QEMU system emulator for SH4
620 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
621 Group: Development/Tools
622 Requires: %{name}-common = %{version}-%{release}
624 Obsoletes: qemu-kvm-system-sh4
626 %description system-sh4
627 QEMU is a generic and open source processor emulator which achieves a
628 good emulation speed by using dynamic translation.
630 This package provides the system emulator with SH4 CPU.
632 %description system-sh4 -l pl.UTF-8
633 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
634 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
636 Ten pakiet zawiera emulator systemu z procesorem SH4.
638 %package system-sparc
639 Summary: QEMU system emulator for SPARC
640 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
641 Group: Development/Tools
642 Requires: %{name}-common = %{version}-%{release}
644 Obsoletes: qemu-kvm-system-sparc
646 %description system-sparc
647 QEMU is a generic and open source processor emulator which achieves a
648 good emulation speed by using dynamic translation.
650 This package provides the system emulator with SPARC/SPARC64 CPU.
652 %description system-sparc -l pl.UTF-8
653 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
654 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
656 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
658 %package system-tricore
659 Summary: QEMU system emulator for TriCore
660 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
661 Group: Development/Tools
662 Requires: %{name}-common = %{version}-%{release}
665 %description system-tricore
666 QEMU is a generic and open source processor emulator which achieves a
667 good emulation speed by using dynamic translation.
669 This package provides the system emulator with TriCore CPU.
671 %description system-sparc -l pl.UTF-8
672 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
673 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
675 Ten pakiet zawiera emulator systemu z procesorem TriCore.
677 %package system-unicore32
678 Summary: QEMU system emulator for UniCore32
679 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
680 Group: Development/Tools
681 Requires: %{name}-common = %{version}-%{release}
683 Obsoletes: qemu-kvm-system-unicore32
685 %description system-unicore32
686 QEMU is a generic and open source processor emulator which achieves a
687 good emulation speed by using dynamic translation.
689 This package provides the system emulator with UniCore32 CPU.
691 %description system-unicore32 -l pl.UTF-8
692 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
693 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
695 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
698 Summary: QEMU system emulator for x86
699 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
700 Group: Development/Tools
701 Requires: %{name}-common = %{version}-%{release}
702 %{?with_system_seabios:Requires: seabios}
705 Obsoletes: qemu-kvm-system-x86
707 %description system-x86
708 QEMU is a generic and open source processor emulator which achieves a
709 good emulation speed by using dynamic translation.
711 This package provides the system emulator with x86 CPU.
713 %description system-x86 -l pl.UTF-8
714 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
715 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
717 Ten pakiet zawiera emulator systemu z procesorem x86.
719 %package system-xtensa
720 Summary: QEMU system emulator for Xtensa
721 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
722 Group: Development/Tools
723 Requires: %{name}-common = %{version}-%{release}
725 Obsoletes: qemu-kvm-system-xtensa
727 %description system-xtensa
728 QEMU is a generic and open source processor emulator which achieves a
729 good emulation speed by using dynamic translation.
731 This package provides the system emulator with Xtensa CPU.
733 %description system-xtensa -l pl.UTF-8
734 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
735 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
737 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
740 Summary: QEMU guest agent
741 Summary(pl.UTF-8): Agent gościa QEMU
743 Requires(post,preun,postun): systemd-units >= 38
744 Requires: glib2 >= 1:2.22
745 Requires: systemd-units >= 38
746 Obsoletes: qemu-kvm-guest-agent
748 %description guest-agent
749 QEMU is a generic and open source processor emulator which achieves a
750 good emulation speed by using dynamic translation.
752 This package provides an agent to run inside guests, which
753 communicates with the host over a virtio-serial channel named
754 "org.qemu.guest_agent.0".
756 This package does not need to be installed on the host OS.
758 %description guest-agent -l pl.UTF-8
759 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
760 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
762 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
763 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
764 "org.qemu.guest_agent.0".
766 Ten pakiet nie musi być zainstalowany w systemie hosta.
768 %package module-block-curl
769 Summary: QEMU module for 'curl' block devices
770 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
771 Group: Development/Tools
772 Requires: %{name}-common = %{version}-%{release}
774 %description module-block-curl
775 'curl' block device support for QEMU.
777 %description module-block-curl -l pl.UTF-8
778 Moduł QEMU dla urządeń blokowych typu 'curl'.
780 %package module-block-gluster
781 Summary: QEMU module for 'gluster' block devices
782 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
783 Group: Development/Tools
784 Requires: %{name}-common = %{version}-%{release}
785 Requires: glusterfs-libs >= 3.4
787 %description module-block-gluster
788 'gluster' block device support for QEMU.
790 %description module-block-gluster -l pl.UTF-8
791 Moduł QEMU dla urządeń blokowych typu 'gluster'.
793 %package module-block-iscsi
794 Summary: QEMU module for 'iscsi' block devices
795 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
796 Group: Development/Tools
797 Requires: %{name}-common = %{version}-%{release}
798 Requires: libiscsi >= 1.9.0
800 %description module-block-iscsi
801 'iscsi' block device support for QEMU.
803 %description module-block-iscsi -l pl.UTF-8
804 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
806 %package module-block-rbd
807 Summary: QEMU module for 'rbd' block devices
808 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
809 Group: Development/Tools
810 Requires: %{name}-common = %{version}-%{release}
812 %description module-block-rbd
813 'rbd' block device support for QEMU.
815 %description module-block-rbd -l pl.UTF-8
816 Moduł QEMU dla urządeń blokowych typu 'rbd'.
818 %package module-block-ssh
819 Summary: QEMU module for 'ssh' block devices
820 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
821 Group: Development/Tools
822 Requires: %{name}-common = %{version}-%{release}
824 %description module-block-ssh
825 'ssh' block device support for QEMU.
827 %description module-block-ssh -l pl.UTF-8
828 Moduł QEMU dla urządeń blokowych typu 'ssh'.
839 # workaround for conflict with alsa/error.h
840 ln -s ../error.h qapi/error.h
848 install -d build-$target
852 --prefix=%{_prefix} \
853 --libdir=%{_libdir} \
854 --libexecdir=%{_libexecdir} \
855 --sysconfdir=%{_sysconfdir} \
856 --localstatedir=%{_localstatedir} \
857 --interp-prefix=%{_libdir}/qemu/lib-%%M \
859 --host-cc="%{__cc}" \
861 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
867 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
873 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
874 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
876 %{__enable_disable bluetooth bluez} \
877 %{__enable_disable brlapi} \
883 %{__enable_disable glusterfs} \
884 %{__enable_disable iscsi libiscsi} \
885 %{__enable_disable ceph rbd} \
886 %{__enable_disable rdma} \
887 %{__enable_disable sdl} \
888 %{__enable_disable seccomp} \
889 %{__enable_disable spice} \
890 %{__enable_disable smartcard smartcard} \
892 %{__enable_disable usbredir usb-redir} \
898 %{!?with_vte:--disable-vte} \
899 %{__enable_disable virgl virglrenderer} \
900 %{__enable_disable xen} \
903 %{__enable_disable libnfs} \
905 %{__enable_disable snappy} \
906 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
911 %if %{with user_static}
920 --disable-guest-agent \
921 --disable-guest-agent-msi \
935 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
938 rm -rf $RPM_BUILD_ROOT
939 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
940 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d,rc.d/init.d,logrotate.d} \
941 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
943 %if %{with user_static}
944 %{__make} -C build-static install \
945 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
946 DESTDIR=$RPM_BUILD_ROOT
948 # Give all QEMU user emulators a -static suffix
949 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
955 %{__make} -C build-dynamic install \
956 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
957 DESTDIR=$RPM_BUILD_ROOT
959 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
961 install -d $RPM_BUILD_ROOT%{_sysconfdir}
962 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
967 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
969 %ifarch %{ix86} %{x8664} x32
970 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
971 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
974 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
975 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
976 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
978 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
979 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
980 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
982 # For the qemu-guest-agent subpackage install the systemd
983 # service and udev rules.
984 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
985 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
987 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
988 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
992 %ifnarch %{ix86} %{x8664} x32
1003 qemu-microblaze qemu-microblazeel \
1019 %ifnarch ppc ppc64 ppc64le
1020 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1022 %ifnarch sparc sparc64
1023 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1033 test $i = dummy && continue
1034 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1036 %if %{with user_static}
1037 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1038 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1043 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1045 %if %{with system_seabios}
1046 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1047 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1048 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1050 if [ -e "/usr/share/seabios/$bn" ] ; then
1051 ln -sf "/usr/share/seabios/$bn" "$f"
1057 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1058 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1064 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1067 rm -rf $RPM_BUILD_ROOT
1070 %groupadd -g 160 kvm
1071 %groupadd -g 276 qemu
1072 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1075 %systemd_post ksm.service
1076 %systemd_post ksmtuned.service
1079 %systemd_preun ksm.service
1080 %systemd_preun ksmtuned.service
1083 if [ "$1" = "0" ]; then
1090 %triggerpostun common -- qemu-common < 1.6.1-4
1091 %systemd_trigger ksm.service
1092 %systemd_trigger ksmtuned.service
1095 %systemd_service_restart systemd-binfmt.service
1098 %systemd_service_restart systemd-binfmt.service
1101 %systemd_service_restart systemd-binfmt.service
1104 %systemd_service_restart systemd-binfmt.service
1107 /sbin/chkconfig --add qemu-ga
1108 %service qemu-ga restart "qemu-ga"
1112 if [ "$1" = "0" ]; then
1113 %service qemu-ga stop
1114 /sbin/chkconfig --del qemu-ga
1116 %systemd_preun qemu-guest-agent.service
1122 %defattr(644,root,root,755)
1124 %files common -f %{name}.lang
1125 %defattr(644,root,root,755)
1127 %doc build-dynamic/qemu-doc.html
1128 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1129 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1130 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1131 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1133 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1134 %{systemdunitdir}/ksm.service
1135 %{systemdunitdir}/ksmtuned.service
1136 %attr(755,root,root) %{_bindir}/elf2dmp
1137 %attr(755,root,root) %{_bindir}/ivshmem-client
1138 %attr(755,root,root) %{_bindir}/ivshmem-server
1139 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1140 %attr(755,root,root) %{_bindir}/qemu-edid
1141 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1142 %attr(755,root,root) %{_bindir}/qemu-nbd
1143 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1144 %attr(755,root,root) %{_bindir}/qemu-tilegx
1145 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1146 %attr(755,root,root) %{_sbindir}/ksmctl
1147 %attr(755,root,root) %{_sbindir}/ksmtuned
1148 %{_mandir}/man1/qemu.1*
1149 %{_mandir}/man1/virtfs-proxy-helper.1*
1150 %{_mandir}/man7/qemu-cpu-models.7*
1151 %{_mandir}/man7/qemu-block-drivers.7*
1152 %{_mandir}/man8/qemu-nbd.8*
1154 %dir %{_datadir}/qemu
1155 %dir %{_datadir}/%{name}/firmware
1156 %{_datadir}/%{name}/keymaps
1157 %{_datadir}/%{name}/trace-events-all
1159 # various bios images
1160 # all should be probably moved to the right system subpackage
1161 %{_datadir}/%{name}/bamboo.dtb
1162 %{_datadir}/%{name}/efi-e1000e.rom
1163 %{_datadir}/%{name}/efi-e1000.rom
1164 %{_datadir}/%{name}/efi-eepro100.rom
1165 %{_datadir}/%{name}/efi-ne2k_pci.rom
1166 %{_datadir}/%{name}/efi-pcnet.rom
1167 %{_datadir}/%{name}/efi-rtl8139.rom
1168 %{_datadir}/%{name}/efi-virtio.rom
1169 %{_datadir}/%{name}/efi-vmxnet3.rom
1170 %{_datadir}/%{name}/kvmvapic.bin
1171 %{_datadir}/%{name}/linuxboot.bin
1172 %{_datadir}/%{name}/linuxboot_dma.bin
1173 %{_datadir}/%{name}/multiboot.bin
1174 %{_datadir}/%{name}/openbios-ppc
1175 %{_datadir}/%{name}/openbios-sparc*
1176 %{_datadir}/%{name}/palcode-clipper
1177 %{_datadir}/%{name}/petalogix-ml605.dtb
1178 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1179 %{_datadir}/%{name}/ppc_rom.bin
1180 %{_datadir}/%{name}/pvh.bin
1181 %{_datadir}/%{name}/pxe-e1000.rom
1182 %{_datadir}/%{name}/pxe-eepro100.rom
1183 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1184 %{_datadir}/%{name}/pxe-pcnet.rom
1185 %{_datadir}/%{name}/pxe-rtl8139.rom
1186 %{_datadir}/%{name}/pxe-virtio.rom
1187 %{_datadir}/%{name}/QEMU,cgthree.bin
1188 %{_datadir}/%{name}/QEMU,tcx.bin
1189 %{_datadir}/%{name}/s390-ccw.img
1190 %{_datadir}/%{name}/sgabios.bin
1191 %{_datadir}/%{name}/skiboot.lid
1192 %{_datadir}/%{name}/slof.bin
1193 %{_datadir}/%{name}/spapr-rtas.bin
1194 %{_datadir}/%{name}/vgabios.bin
1195 %{_datadir}/%{name}/vgabios-ati.bin
1196 %{_datadir}/%{name}/vgabios-bochs-display.bin
1197 %{_datadir}/%{name}/vgabios-cirrus.bin
1198 %{_datadir}/%{name}/vgabios-qxl.bin
1199 %{_datadir}/%{name}/vgabios-ramfb.bin
1200 %{_datadir}/%{name}/vgabios-stdvga.bin
1201 %{_datadir}/%{name}/vgabios-virtio.bin
1202 %{_datadir}/%{name}/vgabios-vmware.bin
1204 %dir %{_libdir}/%{name}
1206 # modules without too many external dependencies
1207 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1208 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1210 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1211 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1212 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1213 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1215 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1217 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_bindir}/qemu-img
1222 %{_mandir}/man1/qemu-img.1*
1225 %defattr(644,root,root,755)
1226 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1227 %attr(755,root,root) %{_bindir}/qemu-aarch64
1228 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1229 %attr(755,root,root) %{_bindir}/qemu-alpha
1230 %attr(755,root,root) %{_bindir}/qemu-arm
1231 %attr(755,root,root) %{_bindir}/qemu-armeb
1232 %attr(755,root,root) %{_bindir}/qemu-cris
1233 %attr(755,root,root) %{_bindir}/qemu-hppa
1234 %attr(755,root,root) %{_bindir}/qemu-i386
1235 %attr(755,root,root) %{_bindir}/qemu-io
1236 %attr(755,root,root) %{_bindir}/qemu-m68k
1237 %attr(755,root,root) %{_bindir}/qemu-microblaze
1238 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1239 %attr(755,root,root) %{_bindir}/qemu-mips
1240 %attr(755,root,root) %{_bindir}/qemu-mipsel
1241 %attr(755,root,root) %{_bindir}/qemu-mips64
1242 %attr(755,root,root) %{_bindir}/qemu-mips64el
1243 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1244 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1245 %attr(755,root,root) %{_bindir}/qemu-nios2
1246 %attr(755,root,root) %{_bindir}/qemu-or1k
1247 %attr(755,root,root) %{_bindir}/qemu-ppc
1248 %attr(755,root,root) %{_bindir}/qemu-ppc64
1249 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1250 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1251 %attr(755,root,root) %{_bindir}/qemu-riscv32
1252 %attr(755,root,root) %{_bindir}/qemu-riscv64
1253 %attr(755,root,root) %{_bindir}/qemu-s390x
1254 %attr(755,root,root) %{_bindir}/qemu-sh4
1255 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1256 %attr(755,root,root) %{_bindir}/qemu-sparc
1257 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1258 %attr(755,root,root) %{_bindir}/qemu-sparc64
1259 %attr(755,root,root) %{_bindir}/qemu-x86_64
1260 %attr(755,root,root) %{_bindir}/qemu-xtensa
1261 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1263 %if %{with user_static}
1265 %defattr(644,root,root,755)
1266 /usr/lib/binfmt.d/qemu-*-static.conf
1267 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1268 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1269 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1270 %attr(755,root,root) %{_bindir}/qemu-arm-static
1271 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1272 %attr(755,root,root) %{_bindir}/qemu-cris-static
1273 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1274 %attr(755,root,root) %{_bindir}/qemu-i386-static
1275 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1276 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1277 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1278 %attr(755,root,root) %{_bindir}/qemu-mips-static
1279 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1280 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1281 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1282 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1283 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1284 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1285 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1286 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1287 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1288 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1289 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1290 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1291 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1292 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1293 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1294 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1295 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1296 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1297 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1298 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1299 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1300 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1301 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1304 %files system-aarch64
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1307 %{_datadir}/%{name}/edk2-aarch64-code.fd
1308 %{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_bindir}/qemu-system-arm
1317 %{_datadir}/%{name}/edk2-arm-code.fd
1318 %{_datadir}/%{name}/edk2-arm-vars.fd
1319 %{_datadir}/%{name}/firmware/60-edk2-arm.json
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_bindir}/qemu-system-cris
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1328 %{_datadir}/%{name}/hppa-firmware.img
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1338 %files system-microblaze
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1341 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_bindir}/qemu-system-mips
1346 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1347 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1348 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1365 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1366 %{_datadir}/%{name}/canyonlands.dtb
1367 %{_datadir}/%{name}/qemu_vga.ndrv
1368 %{_datadir}/%{name}/u-boot.e500
1369 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1371 %files system-riscv32
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1374 %{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1376 %files system-riscv64
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1379 %{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1380 %{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1385 %{_datadir}/%{name}/s390-netboot.img
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1390 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1395 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1397 %files system-tricore
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1401 %files system-unicore32
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_bindir}/qemu-system-i386
1408 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1409 %ifarch %{ix86} %{x8664} x32
1410 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1411 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1413 %{_datadir}/%{name}/bios.bin
1414 %{_datadir}/%{name}/bios-256k.bin
1415 %{_datadir}/%{name}/edk2-i386-code.fd
1416 %{_datadir}/%{name}/edk2-i386-secure-code.fd
1417 %{_datadir}/%{name}/edk2-i386-vars.fd
1418 %{_datadir}/%{name}/edk2-x86_64-code.fd
1419 %{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1420 %{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1421 %{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1422 %{_datadir}/%{name}/firmware/60-edk2-i386.json
1423 %{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1425 %files system-xtensa
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1428 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1431 %defattr(644,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1433 %{systemdunitdir}/qemu-guest-agent.service
1434 %attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1435 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1436 %attr(755,root,root) %{_bindir}/qemu-ga
1437 %{_mandir}/man7/qemu-ga-ref.7*
1438 %{_mandir}/man8/qemu-ga.8*
1440 %files module-block-curl
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1444 %if %{with glusterfs}
1445 %files module-block-gluster
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1451 %files module-block-iscsi
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1457 %files module-block-rbd
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1462 %files module-block-ssh
1463 %defattr(644,root,root,755)
1464 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so