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: 6a5c8df583406ea24ef25b239c3243e0
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: %{name}-whitelist.patch
62 Patch2: %{name}-user-execve.patch
63 Patch3: %{name}-xattr.patch
64 Patch4: libjpeg-boolean.patch
66 URL: http://www.qemu-project.org/
67 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
68 %{?with_gl:BuildRequires: OpenGL-devel}
69 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
70 BuildRequires: alsa-lib-devel
71 BuildRequires: bcc >= 0.16.21-2
72 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
73 %{?with_brlapi:BuildRequires: brlapi-devel}
74 BuildRequires: bzip2-devel
75 %{?with_ceph:BuildRequires: ceph-devel}
76 BuildRequires: curl-devel
77 BuildRequires: cyrus-sasl-devel >= 2
78 %{?with_esd:BuildRequires: esound-devel}
79 BuildRequires: glib2-devel >= 1:2.22
80 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
81 BuildRequires: gnutls-devel > 2.10.0
82 BuildRequires: libaio-devel
83 %{?with_smartcard:BuildRequires: libcacard-devel}
84 BuildRequires: libcap-devel
85 BuildRequires: libcap-ng-devel
86 %{?with_gl:BuildRequires: libepoxy-devel}
87 BuildRequires: libfdt-devel >= 1.4.2
88 %{?with_rdma:BuildRequires: libibverbs-devel}
89 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
90 %{?with_rdma:BuildRequires: libibumad-devel}
91 BuildRequires: libjpeg-devel
92 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
93 BuildRequires: libpng-devel
94 %{?with_rdma:BuildRequires: librdmacm-devel}
95 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
96 BuildRequires: libssh2-devel >= 1.2.8
97 BuildRequires: libusb-devel >= 1.0.13
98 BuildRequires: libuuid-devel
99 %{?with_lttng:BuildRequires: lttng-ust-devel}
100 BuildRequires: lzo-devel >= 2
101 BuildRequires: ncurses-devel
102 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
103 BuildRequires: numactl-devel
104 BuildRequires: perl-Encode
105 BuildRequires: perl-tools-pod
106 BuildRequires: pixman-devel >= 0.21.8
107 BuildRequires: pkgconfig
108 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
109 BuildRequires: rpmbuild(macros) >= 1.644
110 %{?with_system_seabios:BuildRequires: seabios}
111 BuildRequires: sed >= 4.0
112 %{?with_snappy:BuildRequires: snappy-devel}
114 BuildRequires: spice-protocol >= 0.12.3
115 BuildRequires: spice-server-devel >= 0.12.0
117 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
118 BuildRequires: texi2html
119 BuildRequires: texinfo
120 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
121 %{?with_lttng:BuildRequires: userspace-rcu-devel}
122 BuildRequires: vde2-devel
124 %{?with_xen:BuildRequires: xen-devel >= 3.4}
125 BuildRequires: xfsprogs-devel
126 BuildRequires: xorg-lib-libX11-devel
127 BuildRequires: zlib-devel
129 BuildRequires: gtk+2-devel >= 2:2.18.0
130 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
133 BuildRequires: gtk+3-devel >= 3.0.0
134 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
136 %if %{with user_static}
137 BuildRequires: glib2-static
138 BuildRequires: glibc-static
139 BuildRequires: pcre-static
140 BuildRequires: zlib-static
142 Requires: %{name}-img = %{version}-%{release}
143 Requires: %{name}-system-aarch64 = %{version}-%{release}
144 Requires: %{name}-system-alpha = %{version}-%{release}
145 Requires: %{name}-system-arm = %{version}-%{release}
146 Requires: %{name}-system-cris = %{version}-%{release}
147 Requires: %{name}-system-hppa = %{version}-%{release}
148 Requires: %{name}-system-lm32 = %{version}-%{release}
149 Requires: %{name}-system-m68k = %{version}-%{release}
150 Requires: %{name}-system-microblaze = %{version}-%{release}
151 Requires: %{name}-system-mips = %{version}-%{release}
152 Requires: %{name}-system-moxie = %{version}-%{release}
153 Requires: %{name}-system-nios2 = %{version}-%{release}
154 Requires: %{name}-system-or1k = %{version}-%{release}
155 Requires: %{name}-system-ppc = %{version}-%{release}
156 Requires: %{name}-system-riscv32 = %{version}-%{release}
157 Requires: %{name}-system-riscv64 = %{version}-%{release}
158 Requires: %{name}-system-s390x = %{version}-%{release}
159 Requires: %{name}-system-sh4 = %{version}-%{release}
160 Requires: %{name}-system-sparc = %{version}-%{release}
161 Requires: %{name}-system-tricore = %{version}-%{release}
162 Requires: %{name}-system-unicore32 = %{version}-%{release}
163 Requires: %{name}-system-x86 = %{version}-%{release}
164 Requires: %{name}-system-xtensa = %{version}-%{release}
165 Requires: %{name}-user = %{version}-%{release}
167 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
169 %define systempkg_req \
173 Requires: libfdt >= 1.4.2 \
174 %if %{with seccomp} \
175 Requires: libseccomp >= 2.1.0 \
177 Requires: libusb >= 1.0.13 \
178 Requires: pixman >= 0.21.8 \
179 %if %{with usbredir} \
180 Requires: usbredir >= 0.6 \
183 Requires: gtk+2 >= 2:2.18.0 \
184 %{?with_vte:Requires: vte0 >= 0.24.0} \
187 Requires: gtk+3 >= 3.0.0 \
188 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
191 # don't strip/chrpath anything in there; these are boot images, roms etc
192 %define _noautostrip .*%{_datadir}/qemu/.*
193 %define _noautochrpath .*%{_datadir}/qemu/.*
196 QEMU is a FAST! processor emulator. By using dynamic translation it
197 achieves a reasonnable speed while being easy to port on new host
198 CPUs. QEMU has two operating modes:
200 - User mode emulation. In this mode, QEMU can launch Linux processes
201 compiled for one CPU on another CPU. Linux system calls are converted
202 because of endianness and 32/64 bit mismatches. Wine (Windows
203 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
205 - Full system emulation. In this mode, QEMU emulates a full system,
206 including a processor and various peripherials. It can also be used to
207 provide virtual hosting of several virtual PC on a single server.
209 %description -l pl.UTF-8
210 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
211 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
212 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
214 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
215 procesy linuksowe skompilowane dla jednego procesora na innym
216 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
217 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
218 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
221 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
222 włączając w to procesor i różne urządzenia peryferyjne. Może być także
223 używane do wirtualnego hostowania kilku wirtualnych pecetów na
224 pojedynczym serwerze.
227 Summary: QEMU common files needed by all QEMU targets
228 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
229 Group: Development/Tools
230 Requires(post,preun,postun): systemd-units >= 38
231 Requires(postun): /usr/sbin/groupdel
232 Requires(postun): /usr/sbin/userdel
233 Requires(pre): /bin/id
234 Requires(pre): /usr/bin/getgid
235 Requires(pre): /usr/sbin/groupadd
236 Requires(pre): /usr/sbin/useradd
237 Requires: glib2 >= 1:2.22
238 %{?with_libnfs:Requires: libnfs >= 1.9.3}
239 Requires: libssh2 >= 1.2.8
240 Requires: systemd-units >= 38
241 Provides: group(qemu)
243 Obsoletes: qemu-kvm-common
244 Conflicts: qemu < 1.0-2
247 QEMU is a generic and open source processor emulator which achieves a
248 good emulation speed by using dynamic translation.
250 This package provides the common files needed by all QEMU targets.
252 %description common -l pl.UTF-8
253 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
254 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
256 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
260 Summary: QEMU command line tool for manipulating disk images
261 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
262 Group: Development/Tools
263 Obsoletes: qemu-kvm-img
264 Conflicts: qemu < 1.0-2
267 This package provides a command line tool for manipulating disk
270 %description img -l pl.UTF-8
271 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
275 Summary: QEMU user mode emulation of qemu targets
276 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
277 Group: Development/Tools
278 Requires: %{name}-common = %{version}-%{release}
279 Requires(post,postun): systemd-units >= 38
280 Requires: systemd-units >= 38
281 Obsoletes: qemu-kvm-user
284 QEMU is a generic and open source processor emulator which achieves a
285 good emulation speed by using dynamic translation.
287 This package provides the user mode emulation of QEMU targets.
289 %description user -l pl.UTF-8
290 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
291 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
293 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
296 Summary: QEMU user mode emulation of qemu targets static build
297 Group: Development/Tools
298 Requires(post,postun): systemd-units >= 38
299 Requires: systemd-units >= 38
301 %description user-static
302 QEMU is a generic and open source processor emulator which achieves a
303 good emulation speed by using dynamic translation.
305 This package provides the user mode emulation of qemu targets built as
308 %package system-aarch64
309 Summary: QEMU system emulator for AArch64
310 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
311 Group: Development/Tools
312 Requires: %{name}-common = %{version}-%{release}
314 Obsoletes: qemu-kvm-system-aarch64
316 %description system-aarch64
317 QEMU is a generic and open source processor emulator which achieves a
318 good emulation speed by using dynamic translation.
320 This package provides the system emulator with AArch64 CPU.
322 %description system-aarch64 -l pl.UTF-8
323 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
324 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
326 Ten pakiet zawiera emulator systemu z procesorem AArch64.
328 %package system-alpha
329 Summary: QEMU system emulator for Alpha
330 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
331 Group: Development/Tools
332 Requires: %{name}-common = %{version}-%{release}
334 Obsoletes: qemu-kvm-system-alpha
336 %description system-alpha
337 QEMU is a generic and open source processor emulator which achieves a
338 good emulation speed by using dynamic translation.
340 This package provides the system emulator with Alpha CPU.
342 %description system-alpha -l pl.UTF-8
343 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
344 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
346 Ten pakiet zawiera emulator systemu z procesorem Alpha.
349 Summary: QEMU system emulator for ARM
350 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
351 Group: Development/Tools
352 Requires: %{name}-common = %{version}-%{release}
354 Obsoletes: qemu-kvm-system-arm
356 %description system-arm
357 QEMU is a generic and open source processor emulator which achieves a
358 good emulation speed by using dynamic translation.
360 This package provides the system emulator for ARM.
362 %description system-arm -l pl.UTF-8
363 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
364 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
366 Ten pakiet zawiera emulator systemu z procesorem ARM.
369 Summary: QEMU system emulator for CRIS
370 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
371 Group: Development/Tools
372 Requires: %{name}-common = %{version}-%{release}
374 Obsoletes: qemu-kvm-system-cris
376 %description system-cris
377 QEMU is a generic and open source processor emulator which achieves a
378 good emulation speed by using dynamic translation.
380 This package provides the system emulator with CRIS CPU.
382 %description system-cris -l pl.UTF-8
383 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
384 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
386 Ten pakiet zawiera emulator systemu z procesorem CRIS.
389 Summary: QEMU system emulator for HP/PA
390 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
391 Group: Development/Tools
392 Requires: %{name}-common = %{version}-%{release}
395 %description system-hppa
396 QEMU is a generic and open source processor emulator which achieves a
397 good emulation speed by using dynamic translation.
399 This package provides the system emulator with HP/PA CPU.
401 %description system-hppa -l pl.UTF-8
402 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
403 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
405 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
408 Summary: QEMU system emulator for LM32
409 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
410 Group: Development/Tools
411 Requires: %{name}-common = %{version}-%{release}
413 Obsoletes: qemu-kvm-system-lm32
415 %description system-lm32
416 QEMU is a generic and open source processor emulator which achieves a
417 good emulation speed by using dynamic translation.
419 This package provides the system emulator with LM32 CPU.
421 %description system-lm32 -l pl.UTF-8
422 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
423 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
425 Ten pakiet zawiera emulator systemu z procesorem LM32.
428 Summary: QEMU system emulator for m68k
429 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
430 Group: Development/Tools
431 Requires: %{name}-common = %{version}-%{release}
433 Obsoletes: qemu-kvm-system-m68k
435 %description system-m68k
436 QEMU is a generic and open source processor emulator which achieves a
437 good emulation speed by using dynamic translation.
439 This package provides the system emulator with m68k CPU.
441 %description system-m68k -l pl.UTF-8
442 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
443 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
445 Ten pakiet zawiera emulator systemu z procesorem m68k.
447 %package system-microblaze
448 Summary: QEMU system emulator for MicroBlaze
449 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
450 Group: Development/Tools
451 Requires: %{name}-common = %{version}-%{release}
453 Obsoletes: qemu-kvm-system-microblaze
455 %description system-microblaze
456 QEMU is a generic and open source processor emulator which achieves a
457 good emulation speed by using dynamic translation.
459 This package provides the system emulator with MicroBlaze CPU.
461 %description system-microblaze -l pl.UTF-8
462 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
463 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
465 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
468 Summary: QEMU system emulator for MIPS
469 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
470 Group: Development/Tools
471 Requires: %{name}-common = %{version}-%{release}
473 Obsoletes: qemu-kvm-system-mips
475 %description system-mips
476 QEMU is a generic and open source processor emulator which achieves a
477 good emulation speed by using dynamic translation.
479 This package provides the system emulator with MIPS CPU.
481 %description system-mips -l pl.UTF-8
482 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
483 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
485 Ten pakiet zawiera emulator systemu z procesorem MIPS.
487 %package system-moxie
488 Summary: QEMU system emulator for Moxie
489 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
490 Group: Development/Tools
491 Requires: %{name}-common = %{version}-%{release}
494 %description system-moxie
495 QEMU is a generic and open source processor emulator which achieves a
496 good emulation speed by using dynamic translation.
498 This package provides the system emulator with Moxie CPU.
500 %description system-moxie -l pl.UTF-8
501 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
502 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
504 Ten pakiet zawiera emulator systemu z procesorem Moxie.
506 %package system-nios2
507 Summary: QEMU system emulator for Nios II
508 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
509 Group: Development/Tools
510 Requires: %{name}-common = %{version}-%{release}
513 %description system-nios2
514 QEMU is a generic and open source processor emulator which achieves a
515 good emulation speed by using dynamic translation.
517 This package provides the system emulator with Nios II CPU.
519 %description system-nios2 -l pl.UTF-8
520 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
521 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
523 Ten pakiet zawiera emulator systemu z procesorem Nios II.
526 Summary: QEMU system emulator for OpenRISC
527 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
528 Group: Development/Tools
529 Requires: %{name}-common = %{version}-%{release}
531 Obsoletes: qemu-kvm-system-or1k
532 Obsoletes: qemu-system-or32
534 %description system-or1k
535 QEMU is a generic and open source processor emulator which achieves a
536 good emulation speed by using dynamic translation.
538 This package provides the system emulator with OpenRISC CPU.
540 %description system-or1k -l pl.UTF-8
541 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
542 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
544 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
547 Summary: QEMU system emulator for PowerPC
548 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
549 Group: Development/Tools
550 Requires: %{name}-common = %{version}-%{release}
552 Obsoletes: qemu-kvm-system-ppc
554 %description system-ppc
555 QEMU is a generic and open source processor emulator which achieves a
556 good emulation speed by using dynamic translation.
558 This package provides the system emulator with PowerPC CPU.
560 %description system-ppc -l pl.UTF-8
561 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
562 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
564 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
566 %package system-riscv32
567 Summary: QEMU system emulator for RISC-V (32 bit)
568 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
569 Group: Development/Tools
570 Requires: %{name}-common = %{version}-%{release}
573 %description system-riscv32
574 QEMU is a generic and open source processor emulator which achieves a
575 good emulation speed by using dynamic translation.
577 This package provides the system emulator with RISC-V (32 bit) CPU.
579 %description system-riscv32 -l pl.UTF-8
580 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
581 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
583 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
585 %package system-riscv64
586 Summary: QEMU system emulator for RISC-V (64 bit)
587 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
588 Group: Development/Tools
589 Requires: %{name}-common = %{version}-%{release}
592 %description system-riscv64
593 QEMU is a generic and open source processor emulator which achieves a
594 good emulation speed by using dynamic translation.
596 This package provides the system emulator with RISC-V (64 bit) CPU.
598 %description system-riscv64 -l pl.UTF-8
599 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
600 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
602 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
604 %package system-s390x
605 Summary: QEMU system emulator for S390
606 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
607 Group: Development/Tools
608 Requires: %{name}-common = %{version}-%{release}
610 Obsoletes: qemu-kvm-system-s390x
612 %description system-s390x
613 QEMU is a generic and open source processor emulator which achieves a
614 good emulation speed by using dynamic translation.
616 This package provides the system emulator with S390 CPU.
618 %description system-s390x -l pl.UTF-8
619 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
620 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
622 Ten pakiet zawiera emulator systemu z procesorem S390.
625 Summary: QEMU system emulator for SH4
626 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
627 Group: Development/Tools
628 Requires: %{name}-common = %{version}-%{release}
630 Obsoletes: qemu-kvm-system-sh4
632 %description system-sh4
633 QEMU is a generic and open source processor emulator which achieves a
634 good emulation speed by using dynamic translation.
636 This package provides the system emulator with SH4 CPU.
638 %description system-sh4 -l pl.UTF-8
639 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
640 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
642 Ten pakiet zawiera emulator systemu z procesorem SH4.
644 %package system-sparc
645 Summary: QEMU system emulator for SPARC
646 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
647 Group: Development/Tools
648 Requires: %{name}-common = %{version}-%{release}
650 Obsoletes: qemu-kvm-system-sparc
652 %description system-sparc
653 QEMU is a generic and open source processor emulator which achieves a
654 good emulation speed by using dynamic translation.
656 This package provides the system emulator with SPARC/SPARC64 CPU.
658 %description system-sparc -l pl.UTF-8
659 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
660 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
662 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
664 %package system-tricore
665 Summary: QEMU system emulator for TriCore
666 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
667 Group: Development/Tools
668 Requires: %{name}-common = %{version}-%{release}
671 %description system-tricore
672 QEMU is a generic and open source processor emulator which achieves a
673 good emulation speed by using dynamic translation.
675 This package provides the system emulator with TriCore CPU.
677 %description system-sparc -l pl.UTF-8
678 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
679 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
681 Ten pakiet zawiera emulator systemu z procesorem TriCore.
683 %package system-unicore32
684 Summary: QEMU system emulator for UniCore32
685 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
686 Group: Development/Tools
687 Requires: %{name}-common = %{version}-%{release}
689 Obsoletes: qemu-kvm-system-unicore32
691 %description system-unicore32
692 QEMU is a generic and open source processor emulator which achieves a
693 good emulation speed by using dynamic translation.
695 This package provides the system emulator with UniCore32 CPU.
697 %description system-unicore32 -l pl.UTF-8
698 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
699 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
701 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
704 Summary: QEMU system emulator for x86
705 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
706 Group: Development/Tools
707 Requires: %{name}-common = %{version}-%{release}
708 %{?with_system_seabios:Requires: seabios}
711 Obsoletes: qemu-kvm-system-x86
713 %description system-x86
714 QEMU is a generic and open source processor emulator which achieves a
715 good emulation speed by using dynamic translation.
717 %description system-x86 -l pl.UTF-8
718 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
719 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
721 %package system-xtensa
722 Summary: QEMU system emulator for Xtensa
723 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
724 Group: Development/Tools
725 Requires: %{name}-common = %{version}-%{release}
727 Obsoletes: qemu-kvm-system-xtensa
729 %description system-xtensa
730 QEMU is a generic and open source processor emulator which achieves a
731 good emulation speed by using dynamic translation.
733 This package provides the system emulator with Xtensa CPU.
735 %description system-xtensa -l pl.UTF-8
736 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
737 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
739 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
742 Summary: QEMU guest agent
743 Summary(pl.UTF-8): Agent gościa QEMU
745 Requires(post,preun,postun): systemd-units >= 38
746 Requires: glib2 >= 1:2.22
747 Requires: systemd-units >= 38
748 Obsoletes: qemu-kvm-guest-agent
750 %description guest-agent
751 QEMU is a generic and open source processor emulator which achieves a
752 good emulation speed by using dynamic translation.
754 This package provides an agent to run inside guests, which
755 communicates with the host over a virtio-serial channel named
756 "org.qemu.guest_agent.0".
758 This package does not need to be installed on the host OS.
760 %description guest-agent -l pl.UTF-8
761 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
762 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
764 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
765 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
766 "org.qemu.guest_agent.0".
768 Ten pakiet nie musi być zainstalowany w systemie hosta.
770 %package module-block-curl
771 Summary: QEMU module for 'curl' block devices
772 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
773 Group: Development/Tools
774 Requires: %{name}-common = %{version}-%{release}
776 %description module-block-curl
777 'curl' block device support for QEMU.
779 %description module-block-curl -l pl.UTF-8
780 Moduł QEMU dla urządeń blokowych typu 'curl'.
782 %package module-block-gluster
783 Summary: QEMU module for 'gluster' block devices
784 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
785 Group: Development/Tools
786 Requires: %{name}-common = %{version}-%{release}
787 Requires: glusterfs-libs >= 3.4
789 %description module-block-gluster
790 'gluster' block device support for QEMU.
792 %description module-block-gluster -l pl.UTF-8
793 Moduł QEMU dla urządeń blokowych typu 'gluster'.
795 %package module-block-iscsi
796 Summary: QEMU module for 'iscsi' block devices
797 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
798 Group: Development/Tools
799 Requires: %{name}-common = %{version}-%{release}
800 Requires: libiscsi >= 1.9.0
802 %description module-block-iscsi
803 'iscsi' block device support for QEMU.
805 %description module-block-iscsi -l pl.UTF-8
806 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
808 %package module-block-rbd
809 Summary: QEMU module for 'rbd' block devices
810 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
811 Group: Development/Tools
812 Requires: %{name}-common = %{version}-%{release}
814 %description module-block-rbd
815 'rbd' block device support for QEMU.
817 %description module-block-rbd -l pl.UTF-8
818 Moduł QEMU dla urządeń blokowych typu 'rbd'.
820 %package module-block-ssh
821 Summary: QEMU module for 'ssh' block devices
822 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
823 Group: Development/Tools
824 Requires: %{name}-common = %{version}-%{release}
826 %description module-block-ssh
827 'ssh' block device support for QEMU.
829 %description module-block-ssh -l pl.UTF-8
830 Moduł QEMU dla urządeń blokowych typu 'ssh'.
841 # workaround for conflict with alsa/error.h
842 ln -s ../error.h qapi/error.h
850 install -d build-$target
854 --prefix=%{_prefix} \
855 --libdir=%{_libdir} \
856 --libexecdir=%{_libexecdir} \
857 --sysconfdir=%{_sysconfdir} \
858 --localstatedir=%{_localstatedir} \
859 --interp-prefix=%{_libdir}/qemu/lib-%%M \
861 --host-cc="%{__cc}" \
863 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
869 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
875 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
876 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
878 %{__enable_disable bluetooth bluez} \
879 %{__enable_disable brlapi} \
885 %{__enable_disable glusterfs} \
886 %{__enable_disable iscsi libiscsi} \
887 %{__enable_disable ceph rbd} \
888 %{__enable_disable rdma} \
889 %{__enable_disable sdl} \
891 %{__enable_disable seccomp} \
892 %{__enable_disable spice} \
893 %{__enable_disable smartcard smartcard} \
895 %{__enable_disable usbredir usb-redir} \
901 %{!?with_vte:--disable-vte} \
902 %{__enable_disable xen} \
905 %{__enable_disable libnfs} \
907 %{__enable_disable snappy} \
908 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
909 %if %{without gtk2} && %{without gtk3}
912 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
915 %if %{with user_static}
924 --disable-guest-agent \
925 --disable-guest-agent-msi \
939 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
942 rm -rf $RPM_BUILD_ROOT
943 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
944 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
945 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
947 %if %{with user_static}
948 %{__make} -C build-static install \
949 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
950 DESTDIR=$RPM_BUILD_ROOT
952 # Give all QEMU user emulators a -static suffix
953 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
959 %{__make} -C build-dynamic install \
960 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
961 DESTDIR=$RPM_BUILD_ROOT
963 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
965 install -d $RPM_BUILD_ROOT%{_sysconfdir}
966 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
971 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
973 %ifarch %{ix86} %{x8664} x32
974 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
975 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
978 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
979 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
980 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
982 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
983 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
984 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
986 # For the qemu-guest-agent subpackage install the systemd
987 # service and udev rules.
988 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
989 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
993 %ifnarch %{ix86} %{x8664} x32
1004 qemu-microblaze qemu-microblazeel \
1020 %ifnarch ppc ppc64 ppc64le
1021 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1023 %ifnarch sparc sparc64
1024 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1034 test $i = dummy && continue
1035 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1037 %if %{with user_static}
1038 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1039 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1044 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1046 %if %{with system_seabios}
1047 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1048 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1049 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1051 if [ -e "/usr/share/seabios/$bn" ] ; then
1052 ln -sf "/usr/share/seabios/$bn" "$f"
1057 %if %{with gtk2} || %{with gtk3}
1058 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1059 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1066 rm -rf $RPM_BUILD_ROOT
1069 %groupadd -g 160 kvm
1070 %groupadd -g 276 qemu
1071 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1074 %systemd_post ksm.service
1075 %systemd_post ksmtuned.service
1078 %systemd_preun ksm.service
1079 %systemd_preun ksmtuned.service
1082 if [ "$1" = "0" ]; then
1089 %triggerpostun common -- qemu-common < 1.6.1-4
1090 %systemd_trigger ksm.service
1091 %systemd_trigger ksmtuned.service
1094 %systemd_service_restart systemd-binfmt.service
1097 %systemd_service_restart systemd-binfmt.service
1100 %systemd_service_restart systemd-binfmt.service
1103 %systemd_service_restart systemd-binfmt.service
1109 %systemd_preun qemu-guest-agent.service
1115 %defattr(644,root,root,755)
1117 %files common -f %{name}.lang
1118 %defattr(644,root,root,755)
1120 %doc build-dynamic/qemu-doc.html
1121 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1122 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1123 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1124 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1126 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1127 %{systemdunitdir}/ksm.service
1128 %{systemdunitdir}/ksmtuned.service
1129 %attr(755,root,root) %{_bindir}/ivshmem-client
1130 %attr(755,root,root) %{_bindir}/ivshmem-server
1131 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1132 %attr(755,root,root) %{_bindir}/qemu-keymap
1133 %attr(755,root,root) %{_bindir}/qemu-nbd
1134 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1135 %attr(755,root,root) %{_bindir}/qemu-tilegx
1136 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1137 %attr(755,root,root) %{_sbindir}/ksmctl
1138 %attr(755,root,root) %{_sbindir}/ksmtuned
1139 %{_mandir}/man1/qemu.1*
1140 %{_mandir}/man1/virtfs-proxy-helper.1*
1141 %{_mandir}/man7/qemu-block-drivers.7*
1142 %{_mandir}/man8/qemu-nbd.8*
1144 %dir %{_datadir}/qemu
1145 %{_datadir}/%{name}/keymaps
1146 %{_datadir}/%{name}/qemu-icon.bmp
1147 %{_datadir}/%{name}/trace-events-all
1149 # various bios images
1150 # all should be probably moved to the right system subpackage
1151 %{_datadir}/%{name}/bamboo.dtb
1152 %{_datadir}/%{name}/efi-e1000e.rom
1153 %{_datadir}/%{name}/efi-e1000.rom
1154 %{_datadir}/%{name}/efi-eepro100.rom
1155 %{_datadir}/%{name}/efi-ne2k_pci.rom
1156 %{_datadir}/%{name}/efi-pcnet.rom
1157 %{_datadir}/%{name}/efi-rtl8139.rom
1158 %{_datadir}/%{name}/efi-virtio.rom
1159 %{_datadir}/%{name}/efi-vmxnet3.rom
1160 %{_datadir}/%{name}/kvmvapic.bin
1161 %{_datadir}/%{name}/linuxboot.bin
1162 %{_datadir}/%{name}/linuxboot_dma.bin
1163 %{_datadir}/%{name}/multiboot.bin
1164 %{_datadir}/%{name}/openbios-ppc
1165 %{_datadir}/%{name}/openbios-sparc*
1166 %{_datadir}/%{name}/palcode-clipper
1167 %{_datadir}/%{name}/petalogix-ml605.dtb
1168 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1169 %{_datadir}/%{name}/ppc_rom.bin
1170 %{_datadir}/%{name}/pxe-e1000.rom
1171 %{_datadir}/%{name}/pxe-eepro100.rom
1172 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1173 %{_datadir}/%{name}/pxe-pcnet.rom
1174 %{_datadir}/%{name}/pxe-rtl8139.rom
1175 %{_datadir}/%{name}/pxe-virtio.rom
1176 %{_datadir}/%{name}/QEMU,cgthree.bin
1177 %{_datadir}/%{name}/qemu_logo_no_text.svg
1178 %{_datadir}/%{name}/QEMU,tcx.bin
1179 %{_datadir}/%{name}/s390-ccw.img
1180 %{_datadir}/%{name}/sgabios.bin
1181 %{_datadir}/%{name}/skiboot.lid
1182 %{_datadir}/%{name}/slof.bin
1183 %{_datadir}/%{name}/spapr-rtas.bin
1184 %{_datadir}/%{name}/vgabios.bin
1185 %{_datadir}/%{name}/vgabios-cirrus.bin
1186 %{_datadir}/%{name}/vgabios-qxl.bin
1187 %{_datadir}/%{name}/vgabios-stdvga.bin
1188 %{_datadir}/%{name}/vgabios-virtio.bin
1189 %{_datadir}/%{name}/vgabios-vmware.bin
1191 %dir %{_libdir}/%{name}
1193 # modules without too many external dependencies
1194 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1195 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1197 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1198 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1199 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1200 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1201 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1202 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_bindir}/qemu-img
1207 %{_mandir}/man1/qemu-img.1*
1210 %defattr(644,root,root,755)
1211 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1212 %attr(755,root,root) %{_bindir}/qemu-aarch64
1213 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1214 %attr(755,root,root) %{_bindir}/qemu-alpha
1215 %attr(755,root,root) %{_bindir}/qemu-arm
1216 %attr(755,root,root) %{_bindir}/qemu-armeb
1217 %attr(755,root,root) %{_bindir}/qemu-cris
1218 %attr(755,root,root) %{_bindir}/qemu-hppa
1219 %attr(755,root,root) %{_bindir}/qemu-i386
1220 %attr(755,root,root) %{_bindir}/qemu-io
1221 %attr(755,root,root) %{_bindir}/qemu-m68k
1222 %attr(755,root,root) %{_bindir}/qemu-microblaze
1223 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1224 %attr(755,root,root) %{_bindir}/qemu-mips
1225 %attr(755,root,root) %{_bindir}/qemu-mipsel
1226 %attr(755,root,root) %{_bindir}/qemu-mips64
1227 %attr(755,root,root) %{_bindir}/qemu-mips64el
1228 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1229 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1230 %attr(755,root,root) %{_bindir}/qemu-nios2
1231 %attr(755,root,root) %{_bindir}/qemu-or1k
1232 %attr(755,root,root) %{_bindir}/qemu-ppc
1233 %attr(755,root,root) %{_bindir}/qemu-ppc64
1234 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1235 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1236 %attr(755,root,root) %{_bindir}/qemu-riscv32
1237 %attr(755,root,root) %{_bindir}/qemu-riscv64
1238 %attr(755,root,root) %{_bindir}/qemu-s390x
1239 %attr(755,root,root) %{_bindir}/qemu-sh4
1240 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1241 %attr(755,root,root) %{_bindir}/qemu-sparc
1242 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1243 %attr(755,root,root) %{_bindir}/qemu-sparc64
1244 %attr(755,root,root) %{_bindir}/qemu-x86_64
1245 %attr(755,root,root) %{_bindir}/qemu-xtensa
1246 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1248 %if %{with user_static}
1250 %defattr(644,root,root,755)
1251 /usr/lib/binfmt.d/qemu-*-static.conf
1252 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1253 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1254 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1255 %attr(755,root,root) %{_bindir}/qemu-arm-static
1256 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1257 %attr(755,root,root) %{_bindir}/qemu-cris-static
1258 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1259 %attr(755,root,root) %{_bindir}/qemu-i386-static
1260 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1261 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1262 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1263 %attr(755,root,root) %{_bindir}/qemu-mips-static
1264 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1265 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1266 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1267 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1268 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1269 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1270 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1271 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1272 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1273 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1274 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1275 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1276 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1277 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1278 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1279 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1280 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1281 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1282 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1283 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1284 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1285 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1286 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1289 %files system-aarch64
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_bindir}/qemu-system-arm
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_bindir}/qemu-system-cris
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1308 %{_datadir}/%{name}/hppa-firmware.img
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1318 %files system-microblaze
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1321 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_bindir}/qemu-system-mips
1326 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1327 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1328 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1345 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1346 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1347 %{_datadir}/%{name}/canyonlands.dtb
1348 %{_datadir}/%{name}/qemu_vga.ndrv
1349 %{_datadir}/%{name}/u-boot.e500
1350 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1352 %files system-riscv32
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1356 %files system-riscv64
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1363 %{_datadir}/%{name}/s390-netboot.img
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1368 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1373 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1375 %files system-tricore
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1379 %files system-unicore32
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_bindir}/qemu-system-i386
1386 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1387 %ifarch %{ix86} %{x8664} x32
1388 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1389 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1391 %{_datadir}/%{name}/bios.bin
1392 %{_datadir}/%{name}/bios-256k.bin
1394 %files system-xtensa
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1397 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1400 %defattr(644,root,root,755)
1401 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1402 %{systemdunitdir}/qemu-guest-agent.service
1403 %attr(755,root,root) %{_bindir}/qemu-ga
1404 %{_mandir}/man8/qemu-ga.8*
1406 %files module-block-curl
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1410 %if %{with glusterfs}
1411 %files module-block-gluster
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1417 %files module-block-iscsi
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1423 %files module-block-rbd
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1428 %files module-block-ssh
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so