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
28 %bcond_with virgl # build virgl support
38 Summary: QEMU CPU Emulator
39 Summary(pl.UTF-8): QEMU - emulator procesora
44 Group: Applications/Emulators
45 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
46 # Source0-md5: 6a5c8df583406ea24ef25b239c3243e0
47 Source2: %{name}.binfmt
48 # Loads kvm kernel modules at boot
49 Source3: kvm-modules-load.conf
54 Source6: ksm.sysconfig
56 Source8: ksmtuned.service
58 Source10: ksmtuned.conf
59 Source11: %{name}-guest-agent.service
60 Source12: 99-%{name}-guest-agent.rules
61 Patch0: %{name}-cflags.patch
62 Patch1: %{name}-whitelist.patch
63 Patch2: %{name}-user-execve.patch
64 Patch3: %{name}-xattr.patch
65 Patch4: 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_virgl:BuildRequires: virglrenderer-devel}
126 %{?with_xen:BuildRequires: xen-devel >= 3.4}
127 BuildRequires: xfsprogs-devel
128 BuildRequires: xorg-lib-libX11-devel
129 BuildRequires: zlib-devel
131 BuildRequires: gtk+2-devel >= 2:2.18.0
132 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
135 BuildRequires: gtk+3-devel >= 3.0.0
136 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
138 %if %{with user_static}
139 BuildRequires: glib2-static
140 BuildRequires: glibc-static
141 BuildRequires: pcre-static
142 BuildRequires: zlib-static
144 Requires: %{name}-img = %{version}-%{release}
145 Requires: %{name}-system-aarch64 = %{version}-%{release}
146 Requires: %{name}-system-alpha = %{version}-%{release}
147 Requires: %{name}-system-arm = %{version}-%{release}
148 Requires: %{name}-system-cris = %{version}-%{release}
149 Requires: %{name}-system-hppa = %{version}-%{release}
150 Requires: %{name}-system-lm32 = %{version}-%{release}
151 Requires: %{name}-system-m68k = %{version}-%{release}
152 Requires: %{name}-system-microblaze = %{version}-%{release}
153 Requires: %{name}-system-mips = %{version}-%{release}
154 Requires: %{name}-system-moxie = %{version}-%{release}
155 Requires: %{name}-system-nios2 = %{version}-%{release}
156 Requires: %{name}-system-or1k = %{version}-%{release}
157 Requires: %{name}-system-ppc = %{version}-%{release}
158 Requires: %{name}-system-riscv32 = %{version}-%{release}
159 Requires: %{name}-system-riscv64 = %{version}-%{release}
160 Requires: %{name}-system-s390x = %{version}-%{release}
161 Requires: %{name}-system-sh4 = %{version}-%{release}
162 Requires: %{name}-system-sparc = %{version}-%{release}
163 Requires: %{name}-system-tricore = %{version}-%{release}
164 Requires: %{name}-system-unicore32 = %{version}-%{release}
165 Requires: %{name}-system-x86 = %{version}-%{release}
166 Requires: %{name}-system-xtensa = %{version}-%{release}
167 Requires: %{name}-user = %{version}-%{release}
169 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
171 %define systempkg_req \
175 Requires: libfdt >= 1.4.2 \
176 %if %{with seccomp} \
177 Requires: libseccomp >= 2.1.0 \
179 Requires: libusb >= 1.0.13 \
180 Requires: pixman >= 0.21.8 \
181 %if %{with usbredir} \
182 Requires: usbredir >= 0.6 \
185 Requires: gtk+2 >= 2:2.18.0 \
186 %{?with_vte:Requires: vte0 >= 0.24.0} \
189 Requires: gtk+3 >= 3.0.0 \
190 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
193 # don't strip/chrpath anything in there; these are boot images, roms etc
194 %define _noautostrip .*%{_datadir}/qemu/.*
195 %define _noautochrpath .*%{_datadir}/qemu/.*
198 QEMU is a FAST! processor emulator. By using dynamic translation it
199 achieves a reasonnable speed while being easy to port on new host
200 CPUs. QEMU has two operating modes:
202 - User mode emulation. In this mode, QEMU can launch Linux processes
203 compiled for one CPU on another CPU. Linux system calls are converted
204 because of endianness and 32/64 bit mismatches. Wine (Windows
205 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
207 - Full system emulation. In this mode, QEMU emulates a full system,
208 including a processor and various peripherials. It can also be used to
209 provide virtual hosting of several virtual PC on a single server.
211 %description -l pl.UTF-8
212 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
213 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
214 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
216 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
217 procesy linuksowe skompilowane dla jednego procesora na innym
218 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
219 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
220 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
223 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
224 włączając w to procesor i różne urządzenia peryferyjne. Może być także
225 używane do wirtualnego hostowania kilku wirtualnych pecetów na
226 pojedynczym serwerze.
229 Summary: QEMU common files needed by all QEMU targets
230 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
231 Group: Development/Tools
232 Requires(post,preun,postun): systemd-units >= 38
233 Requires(postun): /usr/sbin/groupdel
234 Requires(postun): /usr/sbin/userdel
235 Requires(pre): /bin/id
236 Requires(pre): /usr/bin/getgid
237 Requires(pre): /usr/sbin/groupadd
238 Requires(pre): /usr/sbin/useradd
239 Requires: glib2 >= 1:2.22
240 %{?with_libnfs:Requires: libnfs >= 1.9.3}
241 Requires: libssh2 >= 1.2.8
242 Requires: systemd-units >= 38
243 Provides: group(qemu)
245 Obsoletes: qemu-kvm-common
246 Conflicts: qemu < 1.0-2
249 QEMU is a generic and open source processor emulator which achieves a
250 good emulation speed by using dynamic translation.
252 This package provides the common files needed by all QEMU targets.
254 %description common -l pl.UTF-8
255 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
256 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
258 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
262 Summary: QEMU command line tool for manipulating disk images
263 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
264 Group: Development/Tools
265 Obsoletes: qemu-kvm-img
266 Conflicts: qemu < 1.0-2
269 This package provides a command line tool for manipulating disk
272 %description img -l pl.UTF-8
273 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
277 Summary: QEMU user mode emulation of qemu targets
278 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
279 Group: Development/Tools
280 Requires: %{name}-common = %{version}-%{release}
281 Requires(post,postun): systemd-units >= 38
282 Requires: systemd-units >= 38
283 Obsoletes: qemu-kvm-user
286 QEMU is a generic and open source processor emulator which achieves a
287 good emulation speed by using dynamic translation.
289 This package provides the user mode emulation of QEMU targets.
291 %description user -l pl.UTF-8
292 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
293 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
295 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
298 Summary: QEMU user mode emulation of qemu targets static build
299 Group: Development/Tools
300 Requires(post,postun): systemd-units >= 38
301 Requires: systemd-units >= 38
303 %description user-static
304 QEMU is a generic and open source processor emulator which achieves a
305 good emulation speed by using dynamic translation.
307 This package provides the user mode emulation of qemu targets built as
310 %package system-aarch64
311 Summary: QEMU system emulator for AArch64
312 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
313 Group: Development/Tools
314 Requires: %{name}-common = %{version}-%{release}
316 Obsoletes: qemu-kvm-system-aarch64
318 %description system-aarch64
319 QEMU is a generic and open source processor emulator which achieves a
320 good emulation speed by using dynamic translation.
322 This package provides the system emulator with AArch64 CPU.
324 %description system-aarch64 -l pl.UTF-8
325 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
326 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
328 Ten pakiet zawiera emulator systemu z procesorem AArch64.
330 %package system-alpha
331 Summary: QEMU system emulator for Alpha
332 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
333 Group: Development/Tools
334 Requires: %{name}-common = %{version}-%{release}
336 Obsoletes: qemu-kvm-system-alpha
338 %description system-alpha
339 QEMU is a generic and open source processor emulator which achieves a
340 good emulation speed by using dynamic translation.
342 This package provides the system emulator with Alpha CPU.
344 %description system-alpha -l pl.UTF-8
345 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
346 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
348 Ten pakiet zawiera emulator systemu z procesorem Alpha.
351 Summary: QEMU system emulator for ARM
352 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
353 Group: Development/Tools
354 Requires: %{name}-common = %{version}-%{release}
356 Obsoletes: qemu-kvm-system-arm
358 %description system-arm
359 QEMU is a generic and open source processor emulator which achieves a
360 good emulation speed by using dynamic translation.
362 This package provides the system emulator for ARM.
364 %description system-arm -l pl.UTF-8
365 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
366 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
368 Ten pakiet zawiera emulator systemu z procesorem ARM.
371 Summary: QEMU system emulator for CRIS
372 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
373 Group: Development/Tools
374 Requires: %{name}-common = %{version}-%{release}
376 Obsoletes: qemu-kvm-system-cris
378 %description system-cris
379 QEMU is a generic and open source processor emulator which achieves a
380 good emulation speed by using dynamic translation.
382 This package provides the system emulator with CRIS CPU.
384 %description system-cris -l pl.UTF-8
385 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
386 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
388 Ten pakiet zawiera emulator systemu z procesorem CRIS.
391 Summary: QEMU system emulator for HP/PA
392 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
393 Group: Development/Tools
394 Requires: %{name}-common = %{version}-%{release}
397 %description system-hppa
398 QEMU is a generic and open source processor emulator which achieves a
399 good emulation speed by using dynamic translation.
401 This package provides the system emulator with HP/PA CPU.
403 %description system-hppa -l pl.UTF-8
404 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
405 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
407 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
410 Summary: QEMU system emulator for LM32
411 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
412 Group: Development/Tools
413 Requires: %{name}-common = %{version}-%{release}
415 Obsoletes: qemu-kvm-system-lm32
417 %description system-lm32
418 QEMU is a generic and open source processor emulator which achieves a
419 good emulation speed by using dynamic translation.
421 This package provides the system emulator with LM32 CPU.
423 %description system-lm32 -l pl.UTF-8
424 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
425 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
427 Ten pakiet zawiera emulator systemu z procesorem LM32.
430 Summary: QEMU system emulator for m68k
431 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
432 Group: Development/Tools
433 Requires: %{name}-common = %{version}-%{release}
435 Obsoletes: qemu-kvm-system-m68k
437 %description system-m68k
438 QEMU is a generic and open source processor emulator which achieves a
439 good emulation speed by using dynamic translation.
441 This package provides the system emulator with m68k CPU.
443 %description system-m68k -l pl.UTF-8
444 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
445 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
447 Ten pakiet zawiera emulator systemu z procesorem m68k.
449 %package system-microblaze
450 Summary: QEMU system emulator for MicroBlaze
451 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
452 Group: Development/Tools
453 Requires: %{name}-common = %{version}-%{release}
455 Obsoletes: qemu-kvm-system-microblaze
457 %description system-microblaze
458 QEMU is a generic and open source processor emulator which achieves a
459 good emulation speed by using dynamic translation.
461 This package provides the system emulator with MicroBlaze CPU.
463 %description system-microblaze -l pl.UTF-8
464 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
465 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
467 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
470 Summary: QEMU system emulator for MIPS
471 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
472 Group: Development/Tools
473 Requires: %{name}-common = %{version}-%{release}
475 Obsoletes: qemu-kvm-system-mips
477 %description system-mips
478 QEMU is a generic and open source processor emulator which achieves a
479 good emulation speed by using dynamic translation.
481 This package provides the system emulator with MIPS CPU.
483 %description system-mips -l pl.UTF-8
484 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
485 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
487 Ten pakiet zawiera emulator systemu z procesorem MIPS.
489 %package system-moxie
490 Summary: QEMU system emulator for Moxie
491 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
492 Group: Development/Tools
493 Requires: %{name}-common = %{version}-%{release}
496 %description system-moxie
497 QEMU is a generic and open source processor emulator which achieves a
498 good emulation speed by using dynamic translation.
500 This package provides the system emulator with Moxie CPU.
502 %description system-moxie -l pl.UTF-8
503 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
504 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
506 Ten pakiet zawiera emulator systemu z procesorem Moxie.
508 %package system-nios2
509 Summary: QEMU system emulator for Nios II
510 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
511 Group: Development/Tools
512 Requires: %{name}-common = %{version}-%{release}
515 %description system-nios2
516 QEMU is a generic and open source processor emulator which achieves a
517 good emulation speed by using dynamic translation.
519 This package provides the system emulator with Nios II CPU.
521 %description system-nios2 -l pl.UTF-8
522 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
523 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
525 Ten pakiet zawiera emulator systemu z procesorem Nios II.
528 Summary: QEMU system emulator for OpenRISC
529 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
530 Group: Development/Tools
531 Requires: %{name}-common = %{version}-%{release}
533 Obsoletes: qemu-kvm-system-or1k
534 Obsoletes: qemu-system-or32
536 %description system-or1k
537 QEMU is a generic and open source processor emulator which achieves a
538 good emulation speed by using dynamic translation.
540 This package provides the system emulator with OpenRISC CPU.
542 %description system-or1k -l pl.UTF-8
543 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
544 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
546 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
549 Summary: QEMU system emulator for PowerPC
550 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
551 Group: Development/Tools
552 Requires: %{name}-common = %{version}-%{release}
554 Obsoletes: qemu-kvm-system-ppc
556 %description system-ppc
557 QEMU is a generic and open source processor emulator which achieves a
558 good emulation speed by using dynamic translation.
560 This package provides the system emulator with PowerPC CPU.
562 %description system-ppc -l pl.UTF-8
563 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
564 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
566 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
568 %package system-riscv32
569 Summary: QEMU system emulator for RISC-V (32 bit)
570 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
571 Group: Development/Tools
572 Requires: %{name}-common = %{version}-%{release}
575 %description system-riscv32
576 QEMU is a generic and open source processor emulator which achieves a
577 good emulation speed by using dynamic translation.
579 This package provides the system emulator with RISC-V (32 bit) CPU.
581 %description system-riscv32 -l pl.UTF-8
582 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
583 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
585 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
587 %package system-riscv64
588 Summary: QEMU system emulator for RISC-V (64 bit)
589 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
590 Group: Development/Tools
591 Requires: %{name}-common = %{version}-%{release}
594 %description system-riscv64
595 QEMU is a generic and open source processor emulator which achieves a
596 good emulation speed by using dynamic translation.
598 This package provides the system emulator with RISC-V (64 bit) CPU.
600 %description system-riscv64 -l pl.UTF-8
601 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
602 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
604 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
606 %package system-s390x
607 Summary: QEMU system emulator for S390
608 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
609 Group: Development/Tools
610 Requires: %{name}-common = %{version}-%{release}
612 Obsoletes: qemu-kvm-system-s390x
614 %description system-s390x
615 QEMU is a generic and open source processor emulator which achieves a
616 good emulation speed by using dynamic translation.
618 This package provides the system emulator with S390 CPU.
620 %description system-s390x -l pl.UTF-8
621 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
622 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
624 Ten pakiet zawiera emulator systemu z procesorem S390.
627 Summary: QEMU system emulator for SH4
628 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
629 Group: Development/Tools
630 Requires: %{name}-common = %{version}-%{release}
632 Obsoletes: qemu-kvm-system-sh4
634 %description system-sh4
635 QEMU is a generic and open source processor emulator which achieves a
636 good emulation speed by using dynamic translation.
638 This package provides the system emulator with SH4 CPU.
640 %description system-sh4 -l pl.UTF-8
641 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
642 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
644 Ten pakiet zawiera emulator systemu z procesorem SH4.
646 %package system-sparc
647 Summary: QEMU system emulator for SPARC
648 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
649 Group: Development/Tools
650 Requires: %{name}-common = %{version}-%{release}
652 Obsoletes: qemu-kvm-system-sparc
654 %description system-sparc
655 QEMU is a generic and open source processor emulator which achieves a
656 good emulation speed by using dynamic translation.
658 This package provides the system emulator with SPARC/SPARC64 CPU.
660 %description system-sparc -l pl.UTF-8
661 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
662 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
664 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
666 %package system-tricore
667 Summary: QEMU system emulator for TriCore
668 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
669 Group: Development/Tools
670 Requires: %{name}-common = %{version}-%{release}
673 %description system-tricore
674 QEMU is a generic and open source processor emulator which achieves a
675 good emulation speed by using dynamic translation.
677 This package provides the system emulator with TriCore CPU.
679 %description system-sparc -l pl.UTF-8
680 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
681 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
683 Ten pakiet zawiera emulator systemu z procesorem TriCore.
685 %package system-unicore32
686 Summary: QEMU system emulator for UniCore32
687 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
688 Group: Development/Tools
689 Requires: %{name}-common = %{version}-%{release}
691 Obsoletes: qemu-kvm-system-unicore32
693 %description system-unicore32
694 QEMU is a generic and open source processor emulator which achieves a
695 good emulation speed by using dynamic translation.
697 This package provides the system emulator with UniCore32 CPU.
699 %description system-unicore32 -l pl.UTF-8
700 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
701 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
703 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
706 Summary: QEMU system emulator for x86
707 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
708 Group: Development/Tools
709 Requires: %{name}-common = %{version}-%{release}
710 %{?with_system_seabios:Requires: seabios}
713 Obsoletes: qemu-kvm-system-x86
715 %description system-x86
716 QEMU is a generic and open source processor emulator which achieves a
717 good emulation speed by using dynamic translation.
719 %description system-x86 -l pl.UTF-8
720 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
721 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
723 %package system-xtensa
724 Summary: QEMU system emulator for Xtensa
725 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
726 Group: Development/Tools
727 Requires: %{name}-common = %{version}-%{release}
729 Obsoletes: qemu-kvm-system-xtensa
731 %description system-xtensa
732 QEMU is a generic and open source processor emulator which achieves a
733 good emulation speed by using dynamic translation.
735 This package provides the system emulator with Xtensa CPU.
737 %description system-xtensa -l pl.UTF-8
738 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
739 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
741 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
744 Summary: QEMU guest agent
745 Summary(pl.UTF-8): Agent gościa QEMU
747 Requires(post,preun,postun): systemd-units >= 38
748 Requires: glib2 >= 1:2.22
749 Requires: systemd-units >= 38
750 Obsoletes: qemu-kvm-guest-agent
752 %description guest-agent
753 QEMU is a generic and open source processor emulator which achieves a
754 good emulation speed by using dynamic translation.
756 This package provides an agent to run inside guests, which
757 communicates with the host over a virtio-serial channel named
758 "org.qemu.guest_agent.0".
760 This package does not need to be installed on the host OS.
762 %description guest-agent -l pl.UTF-8
763 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
764 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
766 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
767 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
768 "org.qemu.guest_agent.0".
770 Ten pakiet nie musi być zainstalowany w systemie hosta.
772 %package module-block-curl
773 Summary: QEMU module for 'curl' block devices
774 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
775 Group: Development/Tools
776 Requires: %{name}-common = %{version}-%{release}
778 %description module-block-curl
779 'curl' block device support for QEMU.
781 %description module-block-curl -l pl.UTF-8
782 Moduł QEMU dla urządeń blokowych typu 'curl'.
784 %package module-block-gluster
785 Summary: QEMU module for 'gluster' block devices
786 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
787 Group: Development/Tools
788 Requires: %{name}-common = %{version}-%{release}
789 Requires: glusterfs-libs >= 3.4
791 %description module-block-gluster
792 'gluster' block device support for QEMU.
794 %description module-block-gluster -l pl.UTF-8
795 Moduł QEMU dla urządeń blokowych typu 'gluster'.
797 %package module-block-iscsi
798 Summary: QEMU module for 'iscsi' block devices
799 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
800 Group: Development/Tools
801 Requires: %{name}-common = %{version}-%{release}
802 Requires: libiscsi >= 1.9.0
804 %description module-block-iscsi
805 'iscsi' block device support for QEMU.
807 %description module-block-iscsi -l pl.UTF-8
808 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
810 %package module-block-rbd
811 Summary: QEMU module for 'rbd' block devices
812 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
813 Group: Development/Tools
814 Requires: %{name}-common = %{version}-%{release}
816 %description module-block-rbd
817 'rbd' block device support for QEMU.
819 %description module-block-rbd -l pl.UTF-8
820 Moduł QEMU dla urządeń blokowych typu 'rbd'.
822 %package module-block-ssh
823 Summary: QEMU module for 'ssh' block devices
824 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
825 Group: Development/Tools
826 Requires: %{name}-common = %{version}-%{release}
828 %description module-block-ssh
829 'ssh' block device support for QEMU.
831 %description module-block-ssh -l pl.UTF-8
832 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 virgl virglrenderer} \
905 %{__enable_disable xen} \
908 %{__enable_disable libnfs} \
910 %{__enable_disable snappy} \
911 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
912 %if %{without gtk2} && %{without gtk3}
915 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
918 %if %{with user_static}
927 --disable-guest-agent \
928 --disable-guest-agent-msi \
942 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
945 rm -rf $RPM_BUILD_ROOT
946 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
947 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
948 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
950 %if %{with user_static}
951 %{__make} -C build-static install \
952 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
953 DESTDIR=$RPM_BUILD_ROOT
955 # Give all QEMU user emulators a -static suffix
956 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
962 %{__make} -C build-dynamic install \
963 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
964 DESTDIR=$RPM_BUILD_ROOT
966 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
968 install -d $RPM_BUILD_ROOT%{_sysconfdir}
969 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
974 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
976 %ifarch %{ix86} %{x8664} x32
977 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
978 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
981 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
982 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
983 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
985 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
986 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
987 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
989 # For the qemu-guest-agent subpackage install the systemd
990 # service and udev rules.
991 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
992 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
996 %ifnarch %{ix86} %{x8664} x32
1007 qemu-microblaze qemu-microblazeel \
1023 %ifnarch ppc ppc64 ppc64le
1024 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1026 %ifnarch sparc sparc64
1027 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1037 test $i = dummy && continue
1038 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1040 %if %{with user_static}
1041 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1042 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1047 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1049 %if %{with system_seabios}
1050 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1051 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1052 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1054 if [ -e "/usr/share/seabios/$bn" ] ; then
1055 ln -sf "/usr/share/seabios/$bn" "$f"
1060 %if %{with gtk2} || %{with gtk3}
1061 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1062 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1069 rm -rf $RPM_BUILD_ROOT
1072 %groupadd -g 160 kvm
1073 %groupadd -g 276 qemu
1074 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1077 %systemd_post ksm.service
1078 %systemd_post ksmtuned.service
1081 %systemd_preun ksm.service
1082 %systemd_preun ksmtuned.service
1085 if [ "$1" = "0" ]; then
1092 %triggerpostun common -- qemu-common < 1.6.1-4
1093 %systemd_trigger ksm.service
1094 %systemd_trigger ksmtuned.service
1097 %systemd_service_restart systemd-binfmt.service
1100 %systemd_service_restart systemd-binfmt.service
1103 %systemd_service_restart systemd-binfmt.service
1106 %systemd_service_restart systemd-binfmt.service
1112 %systemd_preun qemu-guest-agent.service
1118 %defattr(644,root,root,755)
1120 %files common -f %{name}.lang
1121 %defattr(644,root,root,755)
1123 %doc build-dynamic/qemu-doc.html
1124 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1125 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1126 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1127 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1129 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1130 %{systemdunitdir}/ksm.service
1131 %{systemdunitdir}/ksmtuned.service
1132 %attr(755,root,root) %{_bindir}/ivshmem-client
1133 %attr(755,root,root) %{_bindir}/ivshmem-server
1134 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1135 %attr(755,root,root) %{_bindir}/qemu-keymap
1136 %attr(755,root,root) %{_bindir}/qemu-nbd
1137 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1138 %attr(755,root,root) %{_bindir}/qemu-tilegx
1139 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1140 %attr(755,root,root) %{_sbindir}/ksmctl
1141 %attr(755,root,root) %{_sbindir}/ksmtuned
1142 %{_mandir}/man1/qemu.1*
1143 %{_mandir}/man1/virtfs-proxy-helper.1*
1144 %{_mandir}/man7/qemu-block-drivers.7*
1145 %{_mandir}/man8/qemu-nbd.8*
1147 %dir %{_datadir}/qemu
1148 %{_datadir}/%{name}/keymaps
1149 %{_datadir}/%{name}/qemu-icon.bmp
1150 %{_datadir}/%{name}/trace-events-all
1152 # various bios images
1153 # all should be probably moved to the right system subpackage
1154 %{_datadir}/%{name}/bamboo.dtb
1155 %{_datadir}/%{name}/efi-e1000e.rom
1156 %{_datadir}/%{name}/efi-e1000.rom
1157 %{_datadir}/%{name}/efi-eepro100.rom
1158 %{_datadir}/%{name}/efi-ne2k_pci.rom
1159 %{_datadir}/%{name}/efi-pcnet.rom
1160 %{_datadir}/%{name}/efi-rtl8139.rom
1161 %{_datadir}/%{name}/efi-virtio.rom
1162 %{_datadir}/%{name}/efi-vmxnet3.rom
1163 %{_datadir}/%{name}/kvmvapic.bin
1164 %{_datadir}/%{name}/linuxboot.bin
1165 %{_datadir}/%{name}/linuxboot_dma.bin
1166 %{_datadir}/%{name}/multiboot.bin
1167 %{_datadir}/%{name}/openbios-ppc
1168 %{_datadir}/%{name}/openbios-sparc*
1169 %{_datadir}/%{name}/palcode-clipper
1170 %{_datadir}/%{name}/petalogix-ml605.dtb
1171 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1172 %{_datadir}/%{name}/ppc_rom.bin
1173 %{_datadir}/%{name}/pxe-e1000.rom
1174 %{_datadir}/%{name}/pxe-eepro100.rom
1175 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1176 %{_datadir}/%{name}/pxe-pcnet.rom
1177 %{_datadir}/%{name}/pxe-rtl8139.rom
1178 %{_datadir}/%{name}/pxe-virtio.rom
1179 %{_datadir}/%{name}/QEMU,cgthree.bin
1180 %{_datadir}/%{name}/qemu_logo_no_text.svg
1181 %{_datadir}/%{name}/QEMU,tcx.bin
1182 %{_datadir}/%{name}/s390-ccw.img
1183 %{_datadir}/%{name}/sgabios.bin
1184 %{_datadir}/%{name}/skiboot.lid
1185 %{_datadir}/%{name}/slof.bin
1186 %{_datadir}/%{name}/spapr-rtas.bin
1187 %{_datadir}/%{name}/vgabios.bin
1188 %{_datadir}/%{name}/vgabios-cirrus.bin
1189 %{_datadir}/%{name}/vgabios-qxl.bin
1190 %{_datadir}/%{name}/vgabios-stdvga.bin
1191 %{_datadir}/%{name}/vgabios-virtio.bin
1192 %{_datadir}/%{name}/vgabios-vmware.bin
1194 %dir %{_libdir}/%{name}
1196 # modules without too many external dependencies
1197 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1198 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1200 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1201 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1202 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1203 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1204 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1205 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_bindir}/qemu-img
1210 %{_mandir}/man1/qemu-img.1*
1213 %defattr(644,root,root,755)
1214 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1215 %attr(755,root,root) %{_bindir}/qemu-aarch64
1216 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1217 %attr(755,root,root) %{_bindir}/qemu-alpha
1218 %attr(755,root,root) %{_bindir}/qemu-arm
1219 %attr(755,root,root) %{_bindir}/qemu-armeb
1220 %attr(755,root,root) %{_bindir}/qemu-cris
1221 %attr(755,root,root) %{_bindir}/qemu-hppa
1222 %attr(755,root,root) %{_bindir}/qemu-i386
1223 %attr(755,root,root) %{_bindir}/qemu-io
1224 %attr(755,root,root) %{_bindir}/qemu-m68k
1225 %attr(755,root,root) %{_bindir}/qemu-microblaze
1226 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1227 %attr(755,root,root) %{_bindir}/qemu-mips
1228 %attr(755,root,root) %{_bindir}/qemu-mipsel
1229 %attr(755,root,root) %{_bindir}/qemu-mips64
1230 %attr(755,root,root) %{_bindir}/qemu-mips64el
1231 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1232 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1233 %attr(755,root,root) %{_bindir}/qemu-nios2
1234 %attr(755,root,root) %{_bindir}/qemu-or1k
1235 %attr(755,root,root) %{_bindir}/qemu-ppc
1236 %attr(755,root,root) %{_bindir}/qemu-ppc64
1237 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1238 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1239 %attr(755,root,root) %{_bindir}/qemu-riscv32
1240 %attr(755,root,root) %{_bindir}/qemu-riscv64
1241 %attr(755,root,root) %{_bindir}/qemu-s390x
1242 %attr(755,root,root) %{_bindir}/qemu-sh4
1243 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1244 %attr(755,root,root) %{_bindir}/qemu-sparc
1245 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1246 %attr(755,root,root) %{_bindir}/qemu-sparc64
1247 %attr(755,root,root) %{_bindir}/qemu-x86_64
1248 %attr(755,root,root) %{_bindir}/qemu-xtensa
1249 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1251 %if %{with user_static}
1253 %defattr(644,root,root,755)
1254 /usr/lib/binfmt.d/qemu-*-static.conf
1255 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1256 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1257 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1258 %attr(755,root,root) %{_bindir}/qemu-arm-static
1259 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1260 %attr(755,root,root) %{_bindir}/qemu-cris-static
1261 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1262 %attr(755,root,root) %{_bindir}/qemu-i386-static
1263 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1264 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1265 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1266 %attr(755,root,root) %{_bindir}/qemu-mips-static
1267 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1268 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1269 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1270 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1271 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1272 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1273 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1274 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1275 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1276 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1277 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1278 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1279 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1280 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1281 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1282 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1283 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1284 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1285 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1286 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1287 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1288 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1289 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1292 %files system-aarch64
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/qemu-system-arm
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_bindir}/qemu-system-cris
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1311 %{_datadir}/%{name}/hppa-firmware.img
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1321 %files system-microblaze
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1324 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/qemu-system-mips
1329 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1330 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1331 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1348 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1349 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1350 %{_datadir}/%{name}/canyonlands.dtb
1351 %{_datadir}/%{name}/qemu_vga.ndrv
1352 %{_datadir}/%{name}/u-boot.e500
1353 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1355 %files system-riscv32
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1359 %files system-riscv64
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1366 %{_datadir}/%{name}/s390-netboot.img
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1371 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1376 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1378 %files system-tricore
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1382 %files system-unicore32
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_bindir}/qemu-system-i386
1389 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1390 %ifarch %{ix86} %{x8664} x32
1391 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1392 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1394 %{_datadir}/%{name}/bios.bin
1395 %{_datadir}/%{name}/bios-256k.bin
1397 %files system-xtensa
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1400 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1403 %defattr(644,root,root,755)
1404 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1405 %{systemdunitdir}/qemu-guest-agent.service
1406 %attr(755,root,root) %{_bindir}/qemu-ga
1407 %{_mandir}/man8/qemu-ga.8*
1409 %files module-block-curl
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1413 %if %{with glusterfs}
1414 %files module-block-gluster
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1420 %files module-block-iscsi
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1426 %files module-block-rbd
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1431 %files module-block-ssh
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so