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_with gtk2 # GTK+ 2.x instead of 3.x
9 %bcond_without gtk3 # Do not build GTK+ UI
10 %bcond_without vte # VTE support in GTK+ UI
11 %bcond_without spice # SPICE support
12 %bcond_with esd # EsounD audio support
13 %bcond_without oss # OSS audio support
14 %bcond_without pulseaudio # PulseAudio audio support
15 %bcond_without xen # Xen backend driver support
16 %bcond_without bluetooth # bluetooth support
17 %bcond_without brlapi # brlapi support
18 %bcond_without smartcard # smartcard-nss support
19 %bcond_without iscsi # iscsi support
20 %bcond_without libnfs # NFS support
21 %bcond_without seccomp # seccomp support
22 %bcond_without usbredir # usb network redirection support
23 %bcond_without system_seabios # system seabios binary
24 %bcond_without snappy # snappy compression library
25 %bcond_without user_static # build linux-user static packages
26 %bcond_with lttng # lttng-ust trace backend support
27 %bcond_with systemtap # SystemTap/dtrace trace backend support
37 Summary: QEMU CPU Emulator
38 Summary(pl.UTF-8): QEMU - emulator procesora
43 Group: Applications/Emulators
44 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
45 # Source0-md5: ca553eb04c933f58111c304452fc4cc5
46 Source2: %{name}.binfmt
47 # Loads kvm kernel modules at boot
48 Source3: kvm-modules-load.conf
53 Source6: ksm.sysconfig
55 Source8: ksmtuned.service
57 Source10: ksmtuned.conf
58 Source11: %{name}-guest-agent.service
59 Source12: 99-%{name}-guest-agent.rules
60 Patch0: %{name}-cflags.patch
61 Patch1: vgabios-widescreens.patch
62 Patch2: %{name}-whitelist.patch
63 Patch3: %{name}-user-execve.patch
64 Patch4: %{name}-xattr.patch
65 Patch5: libjpeg-boolean.patch
67 URL: http://www.qemu-project.org/
68 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
69 %{?with_gl:BuildRequires: OpenGL-devel}
70 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
71 BuildRequires: alsa-lib-devel
72 BuildRequires: bcc >= 0.16.21-2
73 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
74 %{?with_brlapi:BuildRequires: brlapi-devel}
75 BuildRequires: bzip2-devel
76 %{?with_ceph:BuildRequires: ceph-devel}
77 BuildRequires: curl-devel
78 BuildRequires: cyrus-sasl-devel >= 2
79 %{?with_esd:BuildRequires: esound-devel}
80 BuildRequires: glib2-devel >= 1:2.22
81 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
82 BuildRequires: gnutls-devel > 2.10.0
83 BuildRequires: libaio-devel
84 %{?with_smartcard:BuildRequires: libcacard-devel}
85 BuildRequires: libcap-devel
86 BuildRequires: libcap-ng-devel
87 %{?with_gl:BuildRequires: libepoxy-devel}
88 BuildRequires: libfdt-devel >= 1.4.2
89 %{?with_rdma:BuildRequires: libibverbs-devel}
90 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
91 %{?with_rdma:BuildRequires: libibumad-devel}
92 BuildRequires: libjpeg-devel
93 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
94 BuildRequires: libpng-devel
95 %{?with_rdma:BuildRequires: librdmacm-devel}
96 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
97 BuildRequires: libssh2-devel >= 1.2.8
98 BuildRequires: libusb-devel >= 1.0.13
99 BuildRequires: libuuid-devel
100 %{?with_lttng:BuildRequires: lttng-ust-devel}
101 BuildRequires: lzo-devel >= 2
102 BuildRequires: ncurses-devel
103 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
104 BuildRequires: numactl-devel
105 BuildRequires: perl-Encode
106 BuildRequires: perl-tools-pod
107 BuildRequires: pixman-devel >= 0.21.8
108 BuildRequires: pkgconfig
109 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
110 BuildRequires: rpmbuild(macros) >= 1.644
111 %{?with_system_seabios:BuildRequires: seabios}
112 BuildRequires: sed >= 4.0
113 %{?with_snappy:BuildRequires: snappy-devel}
115 BuildRequires: spice-protocol >= 0.12.3
116 BuildRequires: spice-server-devel >= 0.12.0
118 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
119 BuildRequires: texi2html
120 BuildRequires: texinfo
121 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
122 %{?with_lttng:BuildRequires: userspace-rcu-devel}
123 BuildRequires: vde2-devel
125 %{?with_xen:BuildRequires: xen-devel >= 3.4}
126 BuildRequires: xfsprogs-devel
127 BuildRequires: xorg-lib-libX11-devel
128 BuildRequires: zlib-devel
130 BuildRequires: gtk+2-devel >= 2:2.18.0
131 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
134 BuildRequires: gtk+3-devel >= 3.0.0
135 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
137 %if %{with user_static}
138 BuildRequires: glib2-static
139 BuildRequires: glibc-static
140 BuildRequires: pcre-static
141 BuildRequires: zlib-static
143 Requires: %{name}-img = %{version}-%{release}
144 Requires: %{name}-system-aarch64 = %{version}-%{release}
145 Requires: %{name}-system-alpha = %{version}-%{release}
146 Requires: %{name}-system-arm = %{version}-%{release}
147 Requires: %{name}-system-cris = %{version}-%{release}
148 Requires: %{name}-system-hppa = %{version}-%{release}
149 Requires: %{name}-system-lm32 = %{version}-%{release}
150 Requires: %{name}-system-m68k = %{version}-%{release}
151 Requires: %{name}-system-microblaze = %{version}-%{release}
152 Requires: %{name}-system-mips = %{version}-%{release}
153 Requires: %{name}-system-moxie = %{version}-%{release}
154 Requires: %{name}-system-nios2 = %{version}-%{release}
155 Requires: %{name}-system-or1k = %{version}-%{release}
156 Requires: %{name}-system-ppc = %{version}-%{release}
157 Requires: %{name}-system-riscv32 = %{version}-%{release}
158 Requires: %{name}-system-riscv64 = %{version}-%{release}
159 Requires: %{name}-system-s390x = %{version}-%{release}
160 Requires: %{name}-system-sh4 = %{version}-%{release}
161 Requires: %{name}-system-sparc = %{version}-%{release}
162 Requires: %{name}-system-tricore = %{version}-%{release}
163 Requires: %{name}-system-unicore32 = %{version}-%{release}
164 Requires: %{name}-system-x86 = %{version}-%{release}
165 Requires: %{name}-system-xtensa = %{version}-%{release}
166 Requires: %{name}-user = %{version}-%{release}
168 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
170 %define systempkg_req \
174 Requires: libfdt >= 1.4.2 \
175 %if %{with seccomp} \
176 Requires: libseccomp >= 2.1.0 \
178 Requires: libusb >= 1.0.13 \
179 Requires: pixman >= 0.21.8 \
180 %if %{with usbredir} \
181 Requires: usbredir >= 0.6 \
184 Requires: gtk+2 >= 2:2.18.0 \
185 %{?with_vte:Requires: vte0 >= 0.24.0} \
188 Requires: gtk+3 >= 3.0.0 \
189 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
192 # don't strip/chrpath anything in there; these are boot images, roms etc
193 %define _noautostrip .*%{_datadir}/qemu/.*
194 %define _noautochrpath .*%{_datadir}/qemu/.*
197 QEMU is a FAST! processor emulator. By using dynamic translation it
198 achieves a reasonnable speed while being easy to port on new host
199 CPUs. QEMU has two operating modes:
201 - User mode emulation. In this mode, QEMU can launch Linux processes
202 compiled for one CPU on another CPU. Linux system calls are converted
203 because of endianness and 32/64 bit mismatches. Wine (Windows
204 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
206 - Full system emulation. In this mode, QEMU emulates a full system,
207 including a processor and various peripherials. It can also be used to
208 provide virtual hosting of several virtual PC on a single server.
210 %description -l pl.UTF-8
211 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
212 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
213 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
215 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
216 procesy linuksowe skompilowane dla jednego procesora na innym
217 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
218 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
219 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
222 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
223 włączając w to procesor i różne urządzenia peryferyjne. Może być także
224 używane do wirtualnego hostowania kilku wirtualnych pecetów na
225 pojedynczym serwerze.
228 Summary: QEMU common files needed by all QEMU targets
229 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
230 Group: Development/Tools
231 Requires(post,preun,postun): systemd-units >= 38
232 Requires(postun): /usr/sbin/groupdel
233 Requires(postun): /usr/sbin/userdel
234 Requires(pre): /bin/id
235 Requires(pre): /usr/bin/getgid
236 Requires(pre): /usr/sbin/groupadd
237 Requires(pre): /usr/sbin/useradd
238 Requires: glib2 >= 1:2.22
239 %{?with_libnfs:Requires: libnfs >= 1.9.3}
240 Requires: libssh2 >= 1.2.8
241 Requires: systemd-units >= 38
242 Provides: group(qemu)
244 Obsoletes: qemu-kvm-common
245 Conflicts: qemu < 1.0-2
248 QEMU is a generic and open source processor emulator which achieves a
249 good emulation speed by using dynamic translation.
251 This package provides the common files needed by all QEMU targets.
253 %description common -l pl.UTF-8
254 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
255 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
257 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
261 Summary: QEMU command line tool for manipulating disk images
262 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
263 Group: Development/Tools
264 Obsoletes: qemu-kvm-img
265 Conflicts: qemu < 1.0-2
268 This package provides a command line tool for manipulating disk
271 %description img -l pl.UTF-8
272 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
276 Summary: QEMU user mode emulation of qemu targets
277 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
278 Group: Development/Tools
279 Requires: %{name}-common = %{version}-%{release}
280 Requires(post,postun): systemd-units >= 38
281 Requires: systemd-units >= 38
282 Obsoletes: qemu-kvm-user
285 QEMU is a generic and open source processor emulator which achieves a
286 good emulation speed by using dynamic translation.
288 This package provides the user mode emulation of QEMU targets.
290 %description user -l pl.UTF-8
291 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
292 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
294 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
297 Summary: QEMU user mode emulation of qemu targets static build
298 Group: Development/Tools
299 Requires(post,postun): systemd-units >= 38
300 Requires: systemd-units >= 38
302 %description user-static
303 QEMU is a generic and open source processor emulator which achieves a
304 good emulation speed by using dynamic translation.
306 This package provides the user mode emulation of qemu targets built as
309 %package system-aarch64
310 Summary: QEMU system emulator for AArch64
311 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
312 Group: Development/Tools
313 Requires: %{name}-common = %{version}-%{release}
315 Obsoletes: qemu-kvm-system-aarch64
317 %description system-aarch64
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 system emulator with AArch64 CPU.
323 %description system-aarch64 -l pl.UTF-8
324 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
325 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
327 Ten pakiet zawiera emulator systemu z procesorem AArch64.
329 %package system-alpha
330 Summary: QEMU system emulator for Alpha
331 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
332 Group: Development/Tools
333 Requires: %{name}-common = %{version}-%{release}
335 Obsoletes: qemu-kvm-system-alpha
337 %description system-alpha
338 QEMU is a generic and open source processor emulator which achieves a
339 good emulation speed by using dynamic translation.
341 This package provides the system emulator with Alpha CPU.
343 %description system-alpha -l pl.UTF-8
344 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
345 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
347 Ten pakiet zawiera emulator systemu z procesorem Alpha.
350 Summary: QEMU system emulator for ARM
351 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
352 Group: Development/Tools
353 Requires: %{name}-common = %{version}-%{release}
355 Obsoletes: qemu-kvm-system-arm
357 %description system-arm
358 QEMU is a generic and open source processor emulator which achieves a
359 good emulation speed by using dynamic translation.
361 This package provides the system emulator for ARM.
363 %description system-arm -l pl.UTF-8
364 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
365 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
367 Ten pakiet zawiera emulator systemu z procesorem ARM.
370 Summary: QEMU system emulator for CRIS
371 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
372 Group: Development/Tools
373 Requires: %{name}-common = %{version}-%{release}
375 Obsoletes: qemu-kvm-system-cris
377 %description system-cris
378 QEMU is a generic and open source processor emulator which achieves a
379 good emulation speed by using dynamic translation.
381 This package provides the system emulator with CRIS CPU.
383 %description system-cris -l pl.UTF-8
384 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
385 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
387 Ten pakiet zawiera emulator systemu z procesorem CRIS.
390 Summary: QEMU system emulator for HP/PA
391 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
392 Group: Development/Tools
393 Requires: %{name}-common = %{version}-%{release}
396 %description system-hppa
397 QEMU is a generic and open source processor emulator which achieves a
398 good emulation speed by using dynamic translation.
400 This package provides the system emulator with HP/PA CPU.
402 %description system-hppa -l pl.UTF-8
403 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
404 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
406 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
409 Summary: QEMU system emulator for LM32
410 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
411 Group: Development/Tools
412 Requires: %{name}-common = %{version}-%{release}
414 Obsoletes: qemu-kvm-system-lm32
416 %description system-lm32
417 QEMU is a generic and open source processor emulator which achieves a
418 good emulation speed by using dynamic translation.
420 This package provides the system emulator with LM32 CPU.
422 %description system-lm32 -l pl.UTF-8
423 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
424 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
426 Ten pakiet zawiera emulator systemu z procesorem LM32.
429 Summary: QEMU system emulator for m68k
430 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
431 Group: Development/Tools
432 Requires: %{name}-common = %{version}-%{release}
434 Obsoletes: qemu-kvm-system-m68k
436 %description system-m68k
437 QEMU is a generic and open source processor emulator which achieves a
438 good emulation speed by using dynamic translation.
440 This package provides the system emulator with m68k CPU.
442 %description system-m68k -l pl.UTF-8
443 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
444 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
446 Ten pakiet zawiera emulator systemu z procesorem m68k.
448 %package system-microblaze
449 Summary: QEMU system emulator for MicroBlaze
450 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
451 Group: Development/Tools
452 Requires: %{name}-common = %{version}-%{release}
454 Obsoletes: qemu-kvm-system-microblaze
456 %description system-microblaze
457 QEMU is a generic and open source processor emulator which achieves a
458 good emulation speed by using dynamic translation.
460 This package provides the system emulator with MicroBlaze CPU.
462 %description system-microblaze -l pl.UTF-8
463 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
464 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
466 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
469 Summary: QEMU system emulator for MIPS
470 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
471 Group: Development/Tools
472 Requires: %{name}-common = %{version}-%{release}
474 Obsoletes: qemu-kvm-system-mips
476 %description system-mips
477 QEMU is a generic and open source processor emulator which achieves a
478 good emulation speed by using dynamic translation.
480 This package provides the system emulator with MIPS CPU.
482 %description system-mips -l pl.UTF-8
483 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
484 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
486 Ten pakiet zawiera emulator systemu z procesorem MIPS.
488 %package system-moxie
489 Summary: QEMU system emulator for Moxie
490 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
491 Group: Development/Tools
492 Requires: %{name}-common = %{version}-%{release}
495 %description system-moxie
496 QEMU is a generic and open source processor emulator which achieves a
497 good emulation speed by using dynamic translation.
499 This package provides the system emulator with Moxie CPU.
501 %description system-moxie -l pl.UTF-8
502 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
503 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
505 Ten pakiet zawiera emulator systemu z procesorem Moxie.
507 %package system-nios2
508 Summary: QEMU system emulator for Nios II
509 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
510 Group: Development/Tools
511 Requires: %{name}-common = %{version}-%{release}
514 %description system-nios2
515 QEMU is a generic and open source processor emulator which achieves a
516 good emulation speed by using dynamic translation.
518 This package provides the system emulator with Nios II CPU.
520 %description system-nios2 -l pl.UTF-8
521 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
522 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
524 Ten pakiet zawiera emulator systemu z procesorem Nios II.
527 Summary: QEMU system emulator for OpenRISC
528 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
529 Group: Development/Tools
530 Requires: %{name}-common = %{version}-%{release}
532 Obsoletes: qemu-kvm-system-or1k
533 Obsoletes: qemu-system-or32
535 %description system-or1k
536 QEMU is a generic and open source processor emulator which achieves a
537 good emulation speed by using dynamic translation.
539 This package provides the system emulator with OpenRISC CPU.
541 %description system-or1k -l pl.UTF-8
542 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
543 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
545 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
548 Summary: QEMU system emulator for PowerPC
549 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
550 Group: Development/Tools
551 Requires: %{name}-common = %{version}-%{release}
553 Obsoletes: qemu-kvm-system-ppc
555 %description system-ppc
556 QEMU is a generic and open source processor emulator which achieves a
557 good emulation speed by using dynamic translation.
559 This package provides the system emulator with PowerPC CPU.
561 %description system-ppc -l pl.UTF-8
562 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
563 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
565 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
567 %package system-riscv32
568 Summary: QEMU system emulator for RISC-V (32 bit)
569 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
570 Group: Development/Tools
571 Requires: %{name}-common = %{version}-%{release}
574 %description system-riscv32
575 QEMU is a generic and open source processor emulator which achieves a
576 good emulation speed by using dynamic translation.
578 This package provides the system emulator with RISC-V (32 bit) CPU.
580 %description system-riscv32 -l pl.UTF-8
581 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
582 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
584 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
586 %package system-riscv64
587 Summary: QEMU system emulator for RISC-V (64 bit)
588 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
589 Group: Development/Tools
590 Requires: %{name}-common = %{version}-%{release}
593 %description system-riscv64
594 QEMU is a generic and open source processor emulator which achieves a
595 good emulation speed by using dynamic translation.
597 This package provides the system emulator with RISC-V (64 bit) CPU.
599 %description system-riscv64 -l pl.UTF-8
600 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
601 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
603 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
605 %package system-s390x
606 Summary: QEMU system emulator for S390
607 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
608 Group: Development/Tools
609 Requires: %{name}-common = %{version}-%{release}
611 Obsoletes: qemu-kvm-system-s390x
613 %description system-s390x
614 QEMU is a generic and open source processor emulator which achieves a
615 good emulation speed by using dynamic translation.
617 This package provides the system emulator with S390 CPU.
619 %description system-s390x -l pl.UTF-8
620 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
621 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
623 Ten pakiet zawiera emulator systemu z procesorem S390.
626 Summary: QEMU system emulator for SH4
627 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
628 Group: Development/Tools
629 Requires: %{name}-common = %{version}-%{release}
631 Obsoletes: qemu-kvm-system-sh4
633 %description system-sh4
634 QEMU is a generic and open source processor emulator which achieves a
635 good emulation speed by using dynamic translation.
637 This package provides the system emulator with SH4 CPU.
639 %description system-sh4 -l pl.UTF-8
640 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
641 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
643 Ten pakiet zawiera emulator systemu z procesorem SH4.
645 %package system-sparc
646 Summary: QEMU system emulator for SPARC
647 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
648 Group: Development/Tools
649 Requires: %{name}-common = %{version}-%{release}
651 Obsoletes: qemu-kvm-system-sparc
653 %description system-sparc
654 QEMU is a generic and open source processor emulator which achieves a
655 good emulation speed by using dynamic translation.
657 This package provides the system emulator with SPARC/SPARC64 CPU.
659 %description system-sparc -l pl.UTF-8
660 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
661 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
663 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
665 %package system-tricore
666 Summary: QEMU system emulator for TriCore
667 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
668 Group: Development/Tools
669 Requires: %{name}-common = %{version}-%{release}
672 %description system-tricore
673 QEMU is a generic and open source processor emulator which achieves a
674 good emulation speed by using dynamic translation.
676 This package provides the system emulator with TriCore CPU.
678 %description system-sparc -l pl.UTF-8
679 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
680 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
682 Ten pakiet zawiera emulator systemu z procesorem TriCore.
684 %package system-unicore32
685 Summary: QEMU system emulator for UniCore32
686 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
687 Group: Development/Tools
688 Requires: %{name}-common = %{version}-%{release}
690 Obsoletes: qemu-kvm-system-unicore32
692 %description system-unicore32
693 QEMU is a generic and open source processor emulator which achieves a
694 good emulation speed by using dynamic translation.
696 This package provides the system emulator with UniCore32 CPU.
698 %description system-unicore32 -l pl.UTF-8
699 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
700 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
702 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
705 Summary: QEMU system emulator for x86
706 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
707 Group: Development/Tools
708 Requires: %{name}-common = %{version}-%{release}
709 %{?with_system_seabios:Requires: seabios}
712 Obsoletes: qemu-kvm-system-x86
714 %description system-x86
715 QEMU is a generic and open source processor emulator which achieves a
716 good emulation speed by using dynamic translation.
718 %description system-x86 -l pl.UTF-8
719 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
720 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
722 %package system-xtensa
723 Summary: QEMU system emulator for Xtensa
724 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
725 Group: Development/Tools
726 Requires: %{name}-common = %{version}-%{release}
728 Obsoletes: qemu-kvm-system-xtensa
730 %description system-xtensa
731 QEMU is a generic and open source processor emulator which achieves a
732 good emulation speed by using dynamic translation.
734 This package provides the system emulator with Xtensa CPU.
736 %description system-xtensa -l pl.UTF-8
737 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
738 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
740 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
743 Summary: QEMU guest agent
744 Summary(pl.UTF-8): Agent gościa QEMU
746 Requires(post,preun,postun): systemd-units >= 38
747 Requires: glib2 >= 1:2.22
748 Requires: systemd-units >= 38
749 Obsoletes: qemu-kvm-guest-agent
751 %description guest-agent
752 QEMU is a generic and open source processor emulator which achieves a
753 good emulation speed by using dynamic translation.
755 This package provides an agent to run inside guests, which
756 communicates with the host over a virtio-serial channel named
757 "org.qemu.guest_agent.0".
759 This package does not need to be installed on the host OS.
761 %description guest-agent -l pl.UTF-8
762 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
763 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
765 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
766 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
767 "org.qemu.guest_agent.0".
769 Ten pakiet nie musi być zainstalowany w systemie hosta.
771 %package module-block-curl
772 Summary: QEMU module for 'curl' block devices
773 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
774 Group: Development/Tools
775 Requires: %{name}-common = %{version}-%{release}
777 %description module-block-curl
778 'curl' block device support for QEMU.
780 %description module-block-curl -l pl.UTF-8
781 Moduł QEMU dla urządeń blokowych typu 'curl'.
783 %package module-block-gluster
784 Summary: QEMU module for 'gluster' block devices
785 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
786 Group: Development/Tools
787 Requires: %{name}-common = %{version}-%{release}
788 Requires: glusterfs-libs >= 3.4
790 %description module-block-gluster
791 'gluster' block device support for QEMU.
793 %description module-block-gluster -l pl.UTF-8
794 Moduł QEMU dla urządeń blokowych typu 'gluster'.
796 %package module-block-iscsi
797 Summary: QEMU module for 'iscsi' block devices
798 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
799 Group: Development/Tools
800 Requires: %{name}-common = %{version}-%{release}
801 Requires: libiscsi >= 1.9.0
803 %description module-block-iscsi
804 'iscsi' block device support for QEMU.
806 %description module-block-iscsi -l pl.UTF-8
807 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
809 %package module-block-rbd
810 Summary: QEMU module for 'rbd' block devices
811 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
812 Group: Development/Tools
813 Requires: %{name}-common = %{version}-%{release}
815 %description module-block-rbd
816 'rbd' block device support for QEMU.
818 %description module-block-rbd -l pl.UTF-8
819 Moduł QEMU dla urządeń blokowych typu 'rbd'.
821 %package module-block-ssh
822 Summary: QEMU module for 'ssh' block devices
823 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
824 Group: Development/Tools
825 Requires: %{name}-common = %{version}-%{release}
827 %description module-block-ssh
828 'ssh' block device support for QEMU.
830 %description module-block-ssh -l pl.UTF-8
831 Moduł QEMU dla urządeń blokowych typu 'ssh'.
843 # workaround for conflict with alsa/error.h
844 ln -s ../error.h qapi/error.h
852 install -d build-$target
856 --prefix=%{_prefix} \
857 --libdir=%{_libdir} \
858 --libexecdir=%{_libexecdir} \
859 --sysconfdir=%{_sysconfdir} \
860 --localstatedir=%{_localstatedir} \
861 --interp-prefix=%{_libdir}/qemu/lib-%%M \
863 --host-cc="%{__cc}" \
865 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
871 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
877 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
878 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
880 %{__enable_disable bluetooth bluez} \
881 %{__enable_disable brlapi} \
887 %{__enable_disable glusterfs} \
888 %{__enable_disable iscsi libiscsi} \
889 %{__enable_disable ceph rbd} \
890 %{__enable_disable rdma} \
891 %{__enable_disable sdl} \
893 %{__enable_disable seccomp} \
894 %{__enable_disable spice} \
895 %{__enable_disable smartcard smartcard} \
897 %{__enable_disable usbredir usb-redir} \
903 %{!?with_vte:--disable-vte} \
904 %{__enable_disable xen} \
907 %{__enable_disable libnfs} \
909 %{__enable_disable snappy} \
910 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
911 %if %{without gtk2} && %{without gtk3}
914 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
917 %if %{with user_static}
926 --disable-guest-agent \
927 --disable-guest-agent-msi \
941 # rebuild patched vesa tables with additional widescreen modes.
942 %{__make} -C roms/vgabios stdvga-bios
944 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
947 rm -rf $RPM_BUILD_ROOT
948 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
949 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
950 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
952 %if %{with user_static}
953 %{__make} -C build-static install \
954 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
955 DESTDIR=$RPM_BUILD_ROOT
957 # Give all QEMU user emulators a -static suffix
958 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
964 %{__make} -C build-dynamic install \
965 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
966 DESTDIR=$RPM_BUILD_ROOT
968 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
970 install -d $RPM_BUILD_ROOT%{_sysconfdir}
971 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
976 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
978 %ifarch %{ix86} %{x8664} x32
979 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
980 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
983 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
984 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
985 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
987 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
988 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
989 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
991 # For the qemu-guest-agent subpackage install the systemd
992 # service and udev rules.
993 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
994 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
998 %ifnarch %{ix86} %{x8664} x32
1009 qemu-microblaze qemu-microblazeel \
1025 %ifnarch ppc ppc64 ppc64le
1026 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1028 %ifnarch sparc sparc64
1029 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1039 test $i = dummy && continue
1040 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1042 %if %{with user_static}
1043 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1044 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1049 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1051 # install patched vesa tables with additional widescreen modes.
1052 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
1054 %if %{with system_seabios}
1055 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1056 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1057 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1059 if [ -e "/usr/share/seabios/$bn" ] ; then
1060 ln -sf "/usr/share/seabios/$bn" "$f"
1065 %if %{with gtk2} || %{with gtk3}
1066 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1067 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1074 rm -rf $RPM_BUILD_ROOT
1077 %groupadd -g 160 kvm
1078 %groupadd -g 276 qemu
1079 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1082 %systemd_post ksm.service
1083 %systemd_post ksmtuned.service
1086 %systemd_preun ksm.service
1087 %systemd_preun ksmtuned.service
1090 if [ "$1" = "0" ]; then
1097 %triggerpostun common -- qemu-common < 1.6.1-4
1098 %systemd_trigger ksm.service
1099 %systemd_trigger ksmtuned.service
1102 %systemd_service_restart systemd-binfmt.service
1105 %systemd_service_restart systemd-binfmt.service
1108 %systemd_service_restart systemd-binfmt.service
1111 %systemd_service_restart systemd-binfmt.service
1117 %systemd_preun qemu-guest-agent.service
1123 %defattr(644,root,root,755)
1125 %files common -f %{name}.lang
1126 %defattr(644,root,root,755)
1128 %doc build-dynamic/qemu-doc.html
1129 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1130 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1131 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1132 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1134 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1135 %{systemdunitdir}/ksm.service
1136 %{systemdunitdir}/ksmtuned.service
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-keymap
1141 %attr(755,root,root) %{_bindir}/qemu-nbd
1142 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1143 %attr(755,root,root) %{_bindir}/qemu-tilegx
1144 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1145 %attr(755,root,root) %{_sbindir}/ksmctl
1146 %attr(755,root,root) %{_sbindir}/ksmtuned
1147 %{_mandir}/man1/qemu.1*
1148 %{_mandir}/man1/virtfs-proxy-helper.1*
1149 %{_mandir}/man7/qemu-block-drivers.7*
1150 %{_mandir}/man8/qemu-nbd.8*
1152 %dir %{_datadir}/qemu
1153 %{_datadir}/%{name}/keymaps
1154 %{_datadir}/%{name}/qemu-icon.bmp
1155 %{_datadir}/%{name}/trace-events-all
1157 # various bios images
1158 # all should be probably moved to the right system subpackage
1159 %{_datadir}/%{name}/bamboo.dtb
1160 %{_datadir}/%{name}/efi-e1000e.rom
1161 %{_datadir}/%{name}/efi-e1000.rom
1162 %{_datadir}/%{name}/efi-eepro100.rom
1163 %{_datadir}/%{name}/efi-ne2k_pci.rom
1164 %{_datadir}/%{name}/efi-pcnet.rom
1165 %{_datadir}/%{name}/efi-rtl8139.rom
1166 %{_datadir}/%{name}/efi-virtio.rom
1167 %{_datadir}/%{name}/efi-vmxnet3.rom
1168 %{_datadir}/%{name}/kvmvapic.bin
1169 %{_datadir}/%{name}/linuxboot.bin
1170 %{_datadir}/%{name}/linuxboot_dma.bin
1171 %{_datadir}/%{name}/multiboot.bin
1172 %{_datadir}/%{name}/openbios-ppc
1173 %{_datadir}/%{name}/openbios-sparc*
1174 %{_datadir}/%{name}/palcode-clipper
1175 %{_datadir}/%{name}/petalogix-ml605.dtb
1176 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1177 %{_datadir}/%{name}/ppc_rom.bin
1178 %{_datadir}/%{name}/pxe-e1000.rom
1179 %{_datadir}/%{name}/pxe-eepro100.rom
1180 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1181 %{_datadir}/%{name}/pxe-pcnet.rom
1182 %{_datadir}/%{name}/pxe-rtl8139.rom
1183 %{_datadir}/%{name}/pxe-virtio.rom
1184 %{_datadir}/%{name}/QEMU,cgthree.bin
1185 %{_datadir}/%{name}/qemu_logo_no_text.svg
1186 %{_datadir}/%{name}/QEMU,tcx.bin
1187 %{_datadir}/%{name}/s390-ccw.img
1188 %{_datadir}/%{name}/sgabios.bin
1189 %{_datadir}/%{name}/skiboot.lid
1190 %{_datadir}/%{name}/slof.bin
1191 %{_datadir}/%{name}/spapr-rtas.bin
1192 %{_datadir}/%{name}/vgabios.bin
1193 %{_datadir}/%{name}/vgabios-cirrus.bin
1194 %{_datadir}/%{name}/vgabios-qxl.bin
1195 %{_datadir}/%{name}/vgabios-stdvga.bin
1196 %{_datadir}/%{name}/vgabios-virtio.bin
1197 %{_datadir}/%{name}/vgabios-vmware.bin
1199 %dir %{_libdir}/%{name}
1201 # modules without too many external dependencies
1202 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1203 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1205 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1206 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1207 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1208 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1209 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1210 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_bindir}/qemu-img
1215 %{_mandir}/man1/qemu-img.1*
1218 %defattr(644,root,root,755)
1219 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1220 %attr(755,root,root) %{_bindir}/qemu-aarch64
1221 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1222 %attr(755,root,root) %{_bindir}/qemu-alpha
1223 %attr(755,root,root) %{_bindir}/qemu-arm
1224 %attr(755,root,root) %{_bindir}/qemu-armeb
1225 %attr(755,root,root) %{_bindir}/qemu-cris
1226 %attr(755,root,root) %{_bindir}/qemu-hppa
1227 %attr(755,root,root) %{_bindir}/qemu-i386
1228 %attr(755,root,root) %{_bindir}/qemu-io
1229 %attr(755,root,root) %{_bindir}/qemu-m68k
1230 %attr(755,root,root) %{_bindir}/qemu-microblaze
1231 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1232 %attr(755,root,root) %{_bindir}/qemu-mips
1233 %attr(755,root,root) %{_bindir}/qemu-mipsel
1234 %attr(755,root,root) %{_bindir}/qemu-mips64
1235 %attr(755,root,root) %{_bindir}/qemu-mips64el
1236 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1237 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1238 %attr(755,root,root) %{_bindir}/qemu-nios2
1239 %attr(755,root,root) %{_bindir}/qemu-or1k
1240 %attr(755,root,root) %{_bindir}/qemu-ppc
1241 %attr(755,root,root) %{_bindir}/qemu-ppc64
1242 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1243 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1244 %attr(755,root,root) %{_bindir}/qemu-riscv32
1245 %attr(755,root,root) %{_bindir}/qemu-riscv64
1246 %attr(755,root,root) %{_bindir}/qemu-s390x
1247 %attr(755,root,root) %{_bindir}/qemu-sh4
1248 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1249 %attr(755,root,root) %{_bindir}/qemu-sparc
1250 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1251 %attr(755,root,root) %{_bindir}/qemu-sparc64
1252 %attr(755,root,root) %{_bindir}/qemu-x86_64
1253 %attr(755,root,root) %{_bindir}/qemu-xtensa
1254 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1256 %if %{with user_static}
1258 %defattr(644,root,root,755)
1259 /usr/lib/binfmt.d/qemu-*-static.conf
1260 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1261 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1262 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1263 %attr(755,root,root) %{_bindir}/qemu-arm-static
1264 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1265 %attr(755,root,root) %{_bindir}/qemu-cris-static
1266 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1267 %attr(755,root,root) %{_bindir}/qemu-i386-static
1268 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1269 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1270 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1271 %attr(755,root,root) %{_bindir}/qemu-mips-static
1272 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1273 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1274 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1275 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1276 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1277 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1278 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1279 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1280 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1281 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1282 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1283 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1284 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1285 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1286 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1287 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1288 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1289 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1290 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1291 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1292 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1293 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1294 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1297 %files system-aarch64
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_bindir}/qemu-system-arm
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_bindir}/qemu-system-cris
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1316 %{_datadir}/%{name}/hppa-firmware.img
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1326 %files system-microblaze
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1329 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_bindir}/qemu-system-mips
1334 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1335 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1336 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1353 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1354 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1355 %{_datadir}/%{name}/canyonlands.dtb
1356 %{_datadir}/%{name}/qemu_vga.ndrv
1357 %{_datadir}/%{name}/u-boot.e500
1358 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1360 %files system-riscv32
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1364 %files system-riscv64
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1371 %{_datadir}/%{name}/s390-netboot.img
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1376 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1381 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1383 %files system-tricore
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1387 %files system-unicore32
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_bindir}/qemu-system-i386
1394 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1395 %ifarch %{ix86} %{x8664} x32
1396 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1397 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1399 %{_datadir}/%{name}/bios.bin
1400 %{_datadir}/%{name}/bios-256k.bin
1402 %files system-xtensa
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1405 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1408 %defattr(644,root,root,755)
1409 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1410 %{systemdunitdir}/qemu-guest-agent.service
1411 %attr(755,root,root) %{_bindir}/qemu-ga
1412 %{_mandir}/man8/qemu-ga.8*
1414 %files module-block-curl
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1418 %if %{with glusterfs}
1419 %files module-block-gluster
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1425 %files module-block-iscsi
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1431 %files module-block-rbd
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1436 %files module-block-ssh
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so