3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_without gtk3 # Do not build GTK+ UI
9 %bcond_without vte # VTE support in GTK+ UI
10 %bcond_without spice # SPICE support
11 %bcond_with esd # EsounD audio support
12 %bcond_without oss # OSS audio support
13 %bcond_without pulseaudio # PulseAudio audio support
14 %bcond_without xen # Xen backend driver support
15 %bcond_without bluetooth # bluetooth support
16 %bcond_without brlapi # brlapi support
17 %bcond_without smartcard # smartcard-nss support
18 %bcond_without iscsi # iscsi support
19 %bcond_without libnfs # NFS support
20 %bcond_without seccomp # seccomp support
21 %bcond_without usbredir # usb network redirection support
22 %bcond_without system_seabios # system seabios binary
23 %bcond_without snappy # snappy compression library
24 %bcond_without user_static # build linux-user static packages
25 %bcond_with lttng # lttng-ust trace backend support
26 %bcond_with systemtap # SystemTap/dtrace trace backend support
27 %bcond_with virgl # build virgl support
28 %bcond_without xkbcommon # xkbcommon support
34 Summary: QEMU CPU Emulator
35 Summary(pl.UTF-8): QEMU - emulator procesora
40 Group: Applications/Emulators
41 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
42 # Source0-md5: fb687ce0b02d3bf4327e36d3b99427a8
43 Source2: %{name}.binfmt
44 # Loads kvm kernel modules at boot
45 Source3: kvm-modules-load.conf
50 Source6: ksm.sysconfig
52 Source8: ksmtuned.service
54 Source10: ksmtuned.conf
55 Source11: %{name}-guest-agent.service
56 Source12: 99-%{name}-guest-agent.rules
57 Patch0: %{name}-cflags.patch
58 Patch1: %{name}-whitelist.patch
59 Patch2: %{name}-user-execve.patch
60 Patch3: %{name}-xattr.patch
61 Patch4: libjpeg-boolean.patch
63 URL: http://www.qemu-project.org/
64 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
65 %{?with_gl:BuildRequires: OpenGL-devel}
66 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
67 BuildRequires: alsa-lib-devel
68 BuildRequires: bcc >= 0.16.21-2
69 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
70 %{?with_brlapi:BuildRequires: brlapi-devel}
71 BuildRequires: bzip2-devel
72 %{?with_ceph:BuildRequires: ceph-devel}
73 BuildRequires: curl-devel
74 BuildRequires: cyrus-sasl-devel >= 2
75 %{?with_esd:BuildRequires: esound-devel}
76 BuildRequires: glib2-devel >= 1:2.22
77 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
78 BuildRequires: gnutls-devel >= 3.1.18
79 BuildRequires: libaio-devel
80 %{?with_smartcard:BuildRequires: libcacard-devel}
81 BuildRequires: libcap-devel
82 BuildRequires: libcap-ng-devel
83 %{?with_gl:BuildRequires: libepoxy-devel}
84 BuildRequires: libfdt-devel >= 1.4.2
85 %{?with_rdma:BuildRequires: libibverbs-devel}
86 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
87 %{?with_rdma:BuildRequires: libibumad-devel}
88 BuildRequires: libjpeg-devel
89 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
90 BuildRequires: libpng-devel
91 %{?with_rdma:BuildRequires: librdmacm-devel}
92 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.2.0}
93 BuildRequires: libssh2-devel >= 1.2.8
94 BuildRequires: libusb-devel >= 1.0.13
95 BuildRequires: libuuid-devel
96 %{?with_lttng:BuildRequires: lttng-ust-devel}
97 BuildRequires: lzo-devel >= 2
98 BuildRequires: ncurses-devel
99 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
100 BuildRequires: numactl-devel
101 BuildRequires: perl-Encode
102 BuildRequires: perl-tools-pod
103 BuildRequires: pixman-devel >= 0.21.8
104 BuildRequires: pkgconfig
105 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
106 BuildRequires: rpmbuild(macros) >= 1.644
107 %{?with_system_seabios:BuildRequires: seabios}
108 BuildRequires: sed >= 4.0
109 %{?with_snappy:BuildRequires: snappy-devel}
111 BuildRequires: spice-protocol >= 0.12.3
112 BuildRequires: spice-server-devel >= 0.12.0
114 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
115 BuildRequires: texi2html
116 BuildRequires: texinfo
117 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
118 %{?with_lttng:BuildRequires: userspace-rcu-devel}
119 BuildRequires: vde2-devel
121 %{?with_virgl:BuildRequires: virglrenderer-devel}
122 %{?with_xen:BuildRequires: xen-devel >= 3.4}
123 BuildRequires: xfsprogs-devel
124 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
125 BuildRequires: xorg-lib-libX11-devel
126 BuildRequires: zlib-devel
128 BuildRequires: gtk+3-devel >= 3.14.0
129 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
131 %if %{with user_static}
132 BuildRequires: glib2-static
133 BuildRequires: glibc-static
134 BuildRequires: pcre-static
135 BuildRequires: zlib-static
137 Requires: %{name}-img = %{version}-%{release}
138 Requires: %{name}-system-aarch64 = %{version}-%{release}
139 Requires: %{name}-system-alpha = %{version}-%{release}
140 Requires: %{name}-system-arm = %{version}-%{release}
141 Requires: %{name}-system-cris = %{version}-%{release}
142 Requires: %{name}-system-hppa = %{version}-%{release}
143 Requires: %{name}-system-lm32 = %{version}-%{release}
144 Requires: %{name}-system-m68k = %{version}-%{release}
145 Requires: %{name}-system-microblaze = %{version}-%{release}
146 Requires: %{name}-system-mips = %{version}-%{release}
147 Requires: %{name}-system-moxie = %{version}-%{release}
148 Requires: %{name}-system-nios2 = %{version}-%{release}
149 Requires: %{name}-system-or1k = %{version}-%{release}
150 Requires: %{name}-system-ppc = %{version}-%{release}
151 Requires: %{name}-system-riscv32 = %{version}-%{release}
152 Requires: %{name}-system-riscv64 = %{version}-%{release}
153 Requires: %{name}-system-s390x = %{version}-%{release}
154 Requires: %{name}-system-sh4 = %{version}-%{release}
155 Requires: %{name}-system-sparc = %{version}-%{release}
156 Requires: %{name}-system-tricore = %{version}-%{release}
157 Requires: %{name}-system-unicore32 = %{version}-%{release}
158 Requires: %{name}-system-x86 = %{version}-%{release}
159 Requires: %{name}-system-xtensa = %{version}-%{release}
160 Requires: %{name}-user = %{version}-%{release}
162 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
164 %define systempkg_req \
168 Requires: libfdt >= 1.4.2 \
169 %if %{with seccomp} \
170 Requires: libseccomp >= 2.2.0 \
172 Requires: libusb >= 1.0.13 \
173 Requires: pixman >= 0.21.8 \
174 %if %{with usbredir} \
175 Requires: usbredir >= 0.6 \
178 Requires: gtk+3 >= 3.14.0 \
179 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
182 # don't strip/chrpath anything in there; these are boot images, roms etc
183 %define _noautostrip .*%{_datadir}/qemu/.*
184 %define _noautochrpath .*%{_datadir}/qemu/.*
187 QEMU is a FAST! processor emulator. By using dynamic translation it
188 achieves a reasonnable speed while being easy to port on new host
189 CPUs. QEMU has two operating modes:
191 - User mode emulation. In this mode, QEMU can launch Linux processes
192 compiled for one CPU on another CPU. Linux system calls are converted
193 because of endianness and 32/64 bit mismatches. Wine (Windows
194 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
196 - Full system emulation. In this mode, QEMU emulates a full system,
197 including a processor and various peripherials. It can also be used to
198 provide virtual hosting of several virtual PC on a single server.
200 %description -l pl.UTF-8
201 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
202 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
203 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
205 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
206 procesy linuksowe skompilowane dla jednego procesora na innym
207 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
208 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
209 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
212 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
213 włączając w to procesor i różne urządzenia peryferyjne. Może być także
214 używane do wirtualnego hostowania kilku wirtualnych pecetów na
215 pojedynczym serwerze.
218 Summary: QEMU common files needed by all QEMU targets
219 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
220 Group: Development/Tools
221 Requires(post,preun,postun): systemd-units >= 38
222 Requires(postun): /usr/sbin/groupdel
223 Requires(postun): /usr/sbin/userdel
224 Requires(pre): /bin/id
225 Requires(pre): /usr/bin/getgid
226 Requires(pre): /usr/sbin/groupadd
227 Requires(pre): /usr/sbin/useradd
228 Requires: glib2 >= 1:2.22
229 %{?with_libnfs:Requires: libnfs >= 1.9.3}
230 Requires: libssh2 >= 1.2.8
231 Requires: systemd-units >= 38
232 Provides: group(qemu)
234 Obsoletes: qemu-kvm-common
235 Conflicts: qemu < 1.0-2
238 QEMU is a generic and open source processor emulator which achieves a
239 good emulation speed by using dynamic translation.
241 This package provides the common files needed by all QEMU targets.
243 %description common -l pl.UTF-8
244 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
245 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
247 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
251 Summary: QEMU command line tool for manipulating disk images
252 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
253 Group: Development/Tools
254 Obsoletes: qemu-kvm-img
255 Conflicts: qemu < 1.0-2
258 This package provides a command line tool for manipulating disk
261 %description img -l pl.UTF-8
262 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
266 Summary: QEMU user mode emulation of qemu targets
267 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
268 Group: Development/Tools
269 Requires: %{name}-common = %{version}-%{release}
270 Requires(post,postun): systemd-units >= 38
271 Requires: systemd-units >= 38
272 Obsoletes: qemu-kvm-user
275 QEMU is a generic and open source processor emulator which achieves a
276 good emulation speed by using dynamic translation.
278 This package provides the user mode emulation of QEMU targets.
280 %description user -l pl.UTF-8
281 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
282 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
284 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
287 Summary: QEMU user mode emulation of qemu targets static build
288 Group: Development/Tools
289 Requires(post,postun): systemd-units >= 38
290 Requires: systemd-units >= 38
292 %description user-static
293 QEMU is a generic and open source processor emulator which achieves a
294 good emulation speed by using dynamic translation.
296 This package provides the user mode emulation of qemu targets built as
299 %package system-aarch64
300 Summary: QEMU system emulator for AArch64
301 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
302 Group: Development/Tools
303 Requires: %{name}-common = %{version}-%{release}
305 Obsoletes: qemu-kvm-system-aarch64
307 %description system-aarch64
308 QEMU is a generic and open source processor emulator which achieves a
309 good emulation speed by using dynamic translation.
311 This package provides the system emulator with AArch64 CPU.
313 %description system-aarch64 -l pl.UTF-8
314 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
315 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
317 Ten pakiet zawiera emulator systemu z procesorem AArch64.
319 %package system-alpha
320 Summary: QEMU system emulator for Alpha
321 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
322 Group: Development/Tools
323 Requires: %{name}-common = %{version}-%{release}
325 Obsoletes: qemu-kvm-system-alpha
327 %description system-alpha
328 QEMU is a generic and open source processor emulator which achieves a
329 good emulation speed by using dynamic translation.
331 This package provides the system emulator with Alpha CPU.
333 %description system-alpha -l pl.UTF-8
334 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
335 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
337 Ten pakiet zawiera emulator systemu z procesorem Alpha.
340 Summary: QEMU system emulator for ARM
341 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
342 Group: Development/Tools
343 Requires: %{name}-common = %{version}-%{release}
345 Obsoletes: qemu-kvm-system-arm
347 %description system-arm
348 QEMU is a generic and open source processor emulator which achieves a
349 good emulation speed by using dynamic translation.
351 This package provides the system emulator for ARM.
353 %description system-arm -l pl.UTF-8
354 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
355 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
357 Ten pakiet zawiera emulator systemu z procesorem ARM.
360 Summary: QEMU system emulator for CRIS
361 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
362 Group: Development/Tools
363 Requires: %{name}-common = %{version}-%{release}
365 Obsoletes: qemu-kvm-system-cris
367 %description system-cris
368 QEMU is a generic and open source processor emulator which achieves a
369 good emulation speed by using dynamic translation.
371 This package provides the system emulator with CRIS CPU.
373 %description system-cris -l pl.UTF-8
374 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
375 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
377 Ten pakiet zawiera emulator systemu z procesorem CRIS.
380 Summary: QEMU system emulator for HP/PA
381 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
382 Group: Development/Tools
383 Requires: %{name}-common = %{version}-%{release}
386 %description system-hppa
387 QEMU is a generic and open source processor emulator which achieves a
388 good emulation speed by using dynamic translation.
390 This package provides the system emulator with HP/PA CPU.
392 %description system-hppa -l pl.UTF-8
393 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
394 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
396 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
399 Summary: QEMU system emulator for LM32
400 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
401 Group: Development/Tools
402 Requires: %{name}-common = %{version}-%{release}
404 Obsoletes: qemu-kvm-system-lm32
406 %description system-lm32
407 QEMU is a generic and open source processor emulator which achieves a
408 good emulation speed by using dynamic translation.
410 This package provides the system emulator with LM32 CPU.
412 %description system-lm32 -l pl.UTF-8
413 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
414 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
416 Ten pakiet zawiera emulator systemu z procesorem LM32.
419 Summary: QEMU system emulator for m68k
420 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
421 Group: Development/Tools
422 Requires: %{name}-common = %{version}-%{release}
424 Obsoletes: qemu-kvm-system-m68k
426 %description system-m68k
427 QEMU is a generic and open source processor emulator which achieves a
428 good emulation speed by using dynamic translation.
430 This package provides the system emulator with m68k CPU.
432 %description system-m68k -l pl.UTF-8
433 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
434 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
436 Ten pakiet zawiera emulator systemu z procesorem m68k.
438 %package system-microblaze
439 Summary: QEMU system emulator for MicroBlaze
440 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
441 Group: Development/Tools
442 Requires: %{name}-common = %{version}-%{release}
444 Obsoletes: qemu-kvm-system-microblaze
446 %description system-microblaze
447 QEMU is a generic and open source processor emulator which achieves a
448 good emulation speed by using dynamic translation.
450 This package provides the system emulator with MicroBlaze CPU.
452 %description system-microblaze -l pl.UTF-8
453 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
454 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
456 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
459 Summary: QEMU system emulator for MIPS
460 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
461 Group: Development/Tools
462 Requires: %{name}-common = %{version}-%{release}
464 Obsoletes: qemu-kvm-system-mips
466 %description system-mips
467 QEMU is a generic and open source processor emulator which achieves a
468 good emulation speed by using dynamic translation.
470 This package provides the system emulator with MIPS CPU.
472 %description system-mips -l pl.UTF-8
473 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
474 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
476 Ten pakiet zawiera emulator systemu z procesorem MIPS.
478 %package system-moxie
479 Summary: QEMU system emulator for Moxie
480 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
481 Group: Development/Tools
482 Requires: %{name}-common = %{version}-%{release}
485 %description system-moxie
486 QEMU is a generic and open source processor emulator which achieves a
487 good emulation speed by using dynamic translation.
489 This package provides the system emulator with Moxie CPU.
491 %description system-moxie -l pl.UTF-8
492 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
493 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
495 Ten pakiet zawiera emulator systemu z procesorem Moxie.
497 %package system-nios2
498 Summary: QEMU system emulator for Nios II
499 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
500 Group: Development/Tools
501 Requires: %{name}-common = %{version}-%{release}
504 %description system-nios2
505 QEMU is a generic and open source processor emulator which achieves a
506 good emulation speed by using dynamic translation.
508 This package provides the system emulator with Nios II CPU.
510 %description system-nios2 -l pl.UTF-8
511 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
512 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
514 Ten pakiet zawiera emulator systemu z procesorem Nios II.
517 Summary: QEMU system emulator for OpenRISC
518 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
519 Group: Development/Tools
520 Requires: %{name}-common = %{version}-%{release}
522 Obsoletes: qemu-kvm-system-or1k
523 Obsoletes: qemu-system-or32
525 %description system-or1k
526 QEMU is a generic and open source processor emulator which achieves a
527 good emulation speed by using dynamic translation.
529 This package provides the system emulator with OpenRISC CPU.
531 %description system-or1k -l pl.UTF-8
532 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
533 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
535 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
538 Summary: QEMU system emulator for PowerPC
539 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
540 Group: Development/Tools
541 Requires: %{name}-common = %{version}-%{release}
543 Obsoletes: qemu-kvm-system-ppc
545 %description system-ppc
546 QEMU is a generic and open source processor emulator which achieves a
547 good emulation speed by using dynamic translation.
549 This package provides the system emulator with PowerPC CPU.
551 %description system-ppc -l pl.UTF-8
552 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
553 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
555 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
557 %package system-riscv32
558 Summary: QEMU system emulator for RISC-V (32 bit)
559 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
560 Group: Development/Tools
561 Requires: %{name}-common = %{version}-%{release}
564 %description system-riscv32
565 QEMU is a generic and open source processor emulator which achieves a
566 good emulation speed by using dynamic translation.
568 This package provides the system emulator with RISC-V (32 bit) CPU.
570 %description system-riscv32 -l pl.UTF-8
571 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
572 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
574 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
576 %package system-riscv64
577 Summary: QEMU system emulator for RISC-V (64 bit)
578 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
579 Group: Development/Tools
580 Requires: %{name}-common = %{version}-%{release}
583 %description system-riscv64
584 QEMU is a generic and open source processor emulator which achieves a
585 good emulation speed by using dynamic translation.
587 This package provides the system emulator with RISC-V (64 bit) CPU.
589 %description system-riscv64 -l pl.UTF-8
590 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
591 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
593 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
595 %package system-s390x
596 Summary: QEMU system emulator for S390
597 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
598 Group: Development/Tools
599 Requires: %{name}-common = %{version}-%{release}
601 Obsoletes: qemu-kvm-system-s390x
603 %description system-s390x
604 QEMU is a generic and open source processor emulator which achieves a
605 good emulation speed by using dynamic translation.
607 This package provides the system emulator with S390 CPU.
609 %description system-s390x -l pl.UTF-8
610 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
611 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
613 Ten pakiet zawiera emulator systemu z procesorem S390.
616 Summary: QEMU system emulator for SH4
617 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
618 Group: Development/Tools
619 Requires: %{name}-common = %{version}-%{release}
621 Obsoletes: qemu-kvm-system-sh4
623 %description system-sh4
624 QEMU is a generic and open source processor emulator which achieves a
625 good emulation speed by using dynamic translation.
627 This package provides the system emulator with SH4 CPU.
629 %description system-sh4 -l pl.UTF-8
630 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
631 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
633 Ten pakiet zawiera emulator systemu z procesorem SH4.
635 %package system-sparc
636 Summary: QEMU system emulator for SPARC
637 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
638 Group: Development/Tools
639 Requires: %{name}-common = %{version}-%{release}
641 Obsoletes: qemu-kvm-system-sparc
643 %description system-sparc
644 QEMU is a generic and open source processor emulator which achieves a
645 good emulation speed by using dynamic translation.
647 This package provides the system emulator with SPARC/SPARC64 CPU.
649 %description system-sparc -l pl.UTF-8
650 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
651 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
653 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
655 %package system-tricore
656 Summary: QEMU system emulator for TriCore
657 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
658 Group: Development/Tools
659 Requires: %{name}-common = %{version}-%{release}
662 %description system-tricore
663 QEMU is a generic and open source processor emulator which achieves a
664 good emulation speed by using dynamic translation.
666 This package provides the system emulator with TriCore CPU.
668 %description system-sparc -l pl.UTF-8
669 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
670 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
672 Ten pakiet zawiera emulator systemu z procesorem TriCore.
674 %package system-unicore32
675 Summary: QEMU system emulator for UniCore32
676 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
677 Group: Development/Tools
678 Requires: %{name}-common = %{version}-%{release}
680 Obsoletes: qemu-kvm-system-unicore32
682 %description system-unicore32
683 QEMU is a generic and open source processor emulator which achieves a
684 good emulation speed by using dynamic translation.
686 This package provides the system emulator with UniCore32 CPU.
688 %description system-unicore32 -l pl.UTF-8
689 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
690 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
692 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
695 Summary: QEMU system emulator for x86
696 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
697 Group: Development/Tools
698 Requires: %{name}-common = %{version}-%{release}
699 %{?with_system_seabios:Requires: seabios}
702 Obsoletes: qemu-kvm-system-x86
704 %description system-x86
705 QEMU is a generic and open source processor emulator which achieves a
706 good emulation speed by using dynamic translation.
708 %description system-x86 -l pl.UTF-8
709 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
710 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
712 %package system-xtensa
713 Summary: QEMU system emulator for Xtensa
714 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
715 Group: Development/Tools
716 Requires: %{name}-common = %{version}-%{release}
718 Obsoletes: qemu-kvm-system-xtensa
720 %description system-xtensa
721 QEMU is a generic and open source processor emulator which achieves a
722 good emulation speed by using dynamic translation.
724 This package provides the system emulator with Xtensa CPU.
726 %description system-xtensa -l pl.UTF-8
727 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
728 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
730 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
733 Summary: QEMU guest agent
734 Summary(pl.UTF-8): Agent gościa QEMU
736 Requires(post,preun,postun): systemd-units >= 38
737 Requires: glib2 >= 1:2.22
738 Requires: systemd-units >= 38
739 Obsoletes: qemu-kvm-guest-agent
741 %description guest-agent
742 QEMU is a generic and open source processor emulator which achieves a
743 good emulation speed by using dynamic translation.
745 This package provides an agent to run inside guests, which
746 communicates with the host over a virtio-serial channel named
747 "org.qemu.guest_agent.0".
749 This package does not need to be installed on the host OS.
751 %description guest-agent -l pl.UTF-8
752 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
753 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
755 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
756 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
757 "org.qemu.guest_agent.0".
759 Ten pakiet nie musi być zainstalowany w systemie hosta.
761 %package module-block-curl
762 Summary: QEMU module for 'curl' block devices
763 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
764 Group: Development/Tools
765 Requires: %{name}-common = %{version}-%{release}
767 %description module-block-curl
768 'curl' block device support for QEMU.
770 %description module-block-curl -l pl.UTF-8
771 Moduł QEMU dla urządeń blokowych typu 'curl'.
773 %package module-block-gluster
774 Summary: QEMU module for 'gluster' block devices
775 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
776 Group: Development/Tools
777 Requires: %{name}-common = %{version}-%{release}
778 Requires: glusterfs-libs >= 3.4
780 %description module-block-gluster
781 'gluster' block device support for QEMU.
783 %description module-block-gluster -l pl.UTF-8
784 Moduł QEMU dla urządeń blokowych typu 'gluster'.
786 %package module-block-iscsi
787 Summary: QEMU module for 'iscsi' block devices
788 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
789 Group: Development/Tools
790 Requires: %{name}-common = %{version}-%{release}
791 Requires: libiscsi >= 1.9.0
793 %description module-block-iscsi
794 'iscsi' block device support for QEMU.
796 %description module-block-iscsi -l pl.UTF-8
797 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
799 %package module-block-rbd
800 Summary: QEMU module for 'rbd' block devices
801 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
802 Group: Development/Tools
803 Requires: %{name}-common = %{version}-%{release}
805 %description module-block-rbd
806 'rbd' block device support for QEMU.
808 %description module-block-rbd -l pl.UTF-8
809 Moduł QEMU dla urządeń blokowych typu 'rbd'.
811 %package module-block-ssh
812 Summary: QEMU module for 'ssh' block devices
813 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
814 Group: Development/Tools
815 Requires: %{name}-common = %{version}-%{release}
817 %description module-block-ssh
818 'ssh' block device support for QEMU.
820 %description module-block-ssh -l pl.UTF-8
821 Moduł QEMU dla urządeń blokowych typu 'ssh'.
832 # workaround for conflict with alsa/error.h
833 ln -s ../error.h qapi/error.h
841 install -d build-$target
845 --prefix=%{_prefix} \
846 --libdir=%{_libdir} \
847 --libexecdir=%{_libexecdir} \
848 --sysconfdir=%{_sysconfdir} \
849 --localstatedir=%{_localstatedir} \
850 --interp-prefix=%{_libdir}/qemu/lib-%%M \
852 --host-cc="%{__cc}" \
854 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
860 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
866 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
867 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
869 %{__enable_disable bluetooth bluez} \
870 %{__enable_disable brlapi} \
876 %{__enable_disable glusterfs} \
877 %{__enable_disable iscsi libiscsi} \
878 %{__enable_disable ceph rbd} \
879 %{__enable_disable rdma} \
880 %{__enable_disable sdl} \
882 %{__enable_disable seccomp} \
883 %{__enable_disable spice} \
884 %{__enable_disable smartcard smartcard} \
886 %{__enable_disable usbredir usb-redir} \
892 %{!?with_vte:--disable-vte} \
893 %{__enable_disable virgl virglrenderer} \
894 %{__enable_disable xen} \
897 %{__enable_disable libnfs} \
899 %{__enable_disable snappy} \
900 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
905 %if %{with user_static}
914 --disable-guest-agent \
915 --disable-guest-agent-msi \
929 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
932 rm -rf $RPM_BUILD_ROOT
933 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
934 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
935 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
937 %if %{with user_static}
938 %{__make} -C build-static install \
939 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
940 DESTDIR=$RPM_BUILD_ROOT
942 # Give all QEMU user emulators a -static suffix
943 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
949 %{__make} -C build-dynamic install \
950 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
951 DESTDIR=$RPM_BUILD_ROOT
953 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
955 install -d $RPM_BUILD_ROOT%{_sysconfdir}
956 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
961 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
963 %ifarch %{ix86} %{x8664} x32
964 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
965 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
968 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
969 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
970 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
972 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
973 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
974 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
976 # For the qemu-guest-agent subpackage install the systemd
977 # service and udev rules.
978 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
979 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
983 %ifnarch %{ix86} %{x8664} x32
994 qemu-microblaze qemu-microblazeel \
1010 %ifnarch ppc ppc64 ppc64le
1011 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1013 %ifnarch sparc sparc64
1014 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1024 test $i = dummy && continue
1025 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1027 %if %{with user_static}
1028 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1029 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1034 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1036 %if %{with system_seabios}
1037 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1038 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1039 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1041 if [ -e "/usr/share/seabios/$bn" ] ; then
1042 ln -sf "/usr/share/seabios/$bn" "$f"
1048 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1049 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1056 rm -rf $RPM_BUILD_ROOT
1059 %groupadd -g 160 kvm
1060 %groupadd -g 276 qemu
1061 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1064 %systemd_post ksm.service
1065 %systemd_post ksmtuned.service
1068 %systemd_preun ksm.service
1069 %systemd_preun ksmtuned.service
1072 if [ "$1" = "0" ]; then
1079 %triggerpostun common -- qemu-common < 1.6.1-4
1080 %systemd_trigger ksm.service
1081 %systemd_trigger ksmtuned.service
1084 %systemd_service_restart systemd-binfmt.service
1087 %systemd_service_restart systemd-binfmt.service
1090 %systemd_service_restart systemd-binfmt.service
1093 %systemd_service_restart systemd-binfmt.service
1099 %systemd_preun qemu-guest-agent.service
1105 %defattr(644,root,root,755)
1107 %files common -f %{name}.lang
1108 %defattr(644,root,root,755)
1110 %doc build-dynamic/qemu-doc.html
1111 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1112 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1113 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1114 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1116 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1117 %{systemdunitdir}/ksm.service
1118 %{systemdunitdir}/ksmtuned.service
1119 %attr(755,root,root) %{_bindir}/ivshmem-client
1120 %attr(755,root,root) %{_bindir}/ivshmem-server
1121 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1122 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1123 %attr(755,root,root) %{_bindir}/qemu-nbd
1124 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1125 %attr(755,root,root) %{_bindir}/qemu-tilegx
1126 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1127 %attr(755,root,root) %{_sbindir}/ksmctl
1128 %attr(755,root,root) %{_sbindir}/ksmtuned
1129 %{_mandir}/man1/qemu.1*
1130 %{_mandir}/man1/virtfs-proxy-helper.1*
1131 %{_mandir}/man7/qemu-block-drivers.7*
1132 %{_mandir}/man8/qemu-nbd.8*
1134 %dir %{_datadir}/qemu
1135 %{_datadir}/%{name}/keymaps
1136 %{_datadir}/%{name}/qemu-icon.bmp
1137 %{_datadir}/%{name}/trace-events-all
1139 # various bios images
1140 # all should be probably moved to the right system subpackage
1141 %{_datadir}/%{name}/bamboo.dtb
1142 %{_datadir}/%{name}/efi-e1000e.rom
1143 %{_datadir}/%{name}/efi-e1000.rom
1144 %{_datadir}/%{name}/efi-eepro100.rom
1145 %{_datadir}/%{name}/efi-ne2k_pci.rom
1146 %{_datadir}/%{name}/efi-pcnet.rom
1147 %{_datadir}/%{name}/efi-rtl8139.rom
1148 %{_datadir}/%{name}/efi-virtio.rom
1149 %{_datadir}/%{name}/efi-vmxnet3.rom
1150 %{_datadir}/%{name}/kvmvapic.bin
1151 %{_datadir}/%{name}/linuxboot.bin
1152 %{_datadir}/%{name}/linuxboot_dma.bin
1153 %{_datadir}/%{name}/multiboot.bin
1154 %{_datadir}/%{name}/openbios-ppc
1155 %{_datadir}/%{name}/openbios-sparc*
1156 %{_datadir}/%{name}/palcode-clipper
1157 %{_datadir}/%{name}/petalogix-ml605.dtb
1158 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1159 %{_datadir}/%{name}/ppc_rom.bin
1160 %{_datadir}/%{name}/pxe-e1000.rom
1161 %{_datadir}/%{name}/pxe-eepro100.rom
1162 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1163 %{_datadir}/%{name}/pxe-pcnet.rom
1164 %{_datadir}/%{name}/pxe-rtl8139.rom
1165 %{_datadir}/%{name}/pxe-virtio.rom
1166 %{_datadir}/%{name}/QEMU,cgthree.bin
1167 %{_datadir}/%{name}/qemu_logo_no_text.svg
1168 %{_datadir}/%{name}/QEMU,tcx.bin
1169 %{_datadir}/%{name}/s390-ccw.img
1170 %{_datadir}/%{name}/sgabios.bin
1171 %{_datadir}/%{name}/skiboot.lid
1172 %{_datadir}/%{name}/slof.bin
1173 %{_datadir}/%{name}/spapr-rtas.bin
1174 %{_datadir}/%{name}/vgabios.bin
1175 %{_datadir}/%{name}/vgabios-bochs-display.bin
1176 %{_datadir}/%{name}/vgabios-cirrus.bin
1177 %{_datadir}/%{name}/vgabios-qxl.bin
1178 %{_datadir}/%{name}/vgabios-ramfb.bin
1179 %{_datadir}/%{name}/vgabios-stdvga.bin
1180 %{_datadir}/%{name}/vgabios-virtio.bin
1181 %{_datadir}/%{name}/vgabios-vmware.bin
1183 %dir %{_libdir}/%{name}
1185 # modules without too many external dependencies
1186 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1187 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1189 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1190 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1191 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1192 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1194 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1196 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_bindir}/qemu-img
1201 %{_mandir}/man1/qemu-img.1*
1204 %defattr(644,root,root,755)
1205 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1206 %attr(755,root,root) %{_bindir}/qemu-aarch64
1207 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1208 %attr(755,root,root) %{_bindir}/qemu-alpha
1209 %attr(755,root,root) %{_bindir}/qemu-arm
1210 %attr(755,root,root) %{_bindir}/qemu-armeb
1211 %attr(755,root,root) %{_bindir}/qemu-cris
1212 %attr(755,root,root) %{_bindir}/qemu-hppa
1213 %attr(755,root,root) %{_bindir}/qemu-i386
1214 %attr(755,root,root) %{_bindir}/qemu-io
1215 %attr(755,root,root) %{_bindir}/qemu-m68k
1216 %attr(755,root,root) %{_bindir}/qemu-microblaze
1217 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1218 %attr(755,root,root) %{_bindir}/qemu-mips
1219 %attr(755,root,root) %{_bindir}/qemu-mipsel
1220 %attr(755,root,root) %{_bindir}/qemu-mips64
1221 %attr(755,root,root) %{_bindir}/qemu-mips64el
1222 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1223 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1224 %attr(755,root,root) %{_bindir}/qemu-nios2
1225 %attr(755,root,root) %{_bindir}/qemu-or1k
1226 %attr(755,root,root) %{_bindir}/qemu-ppc
1227 %attr(755,root,root) %{_bindir}/qemu-ppc64
1228 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1229 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1230 %attr(755,root,root) %{_bindir}/qemu-riscv32
1231 %attr(755,root,root) %{_bindir}/qemu-riscv64
1232 %attr(755,root,root) %{_bindir}/qemu-s390x
1233 %attr(755,root,root) %{_bindir}/qemu-sh4
1234 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1235 %attr(755,root,root) %{_bindir}/qemu-sparc
1236 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1237 %attr(755,root,root) %{_bindir}/qemu-sparc64
1238 %attr(755,root,root) %{_bindir}/qemu-x86_64
1239 %attr(755,root,root) %{_bindir}/qemu-xtensa
1240 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1242 %if %{with user_static}
1244 %defattr(644,root,root,755)
1245 /usr/lib/binfmt.d/qemu-*-static.conf
1246 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1247 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1248 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1249 %attr(755,root,root) %{_bindir}/qemu-arm-static
1250 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1251 %attr(755,root,root) %{_bindir}/qemu-cris-static
1252 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1253 %attr(755,root,root) %{_bindir}/qemu-i386-static
1254 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1255 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1256 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1257 %attr(755,root,root) %{_bindir}/qemu-mips-static
1258 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1259 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1260 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1261 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1262 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1263 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1264 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1265 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1266 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1267 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1268 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1269 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1270 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1271 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1272 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1273 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1274 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1275 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1276 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1277 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1278 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1279 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1280 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1283 %files system-aarch64
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_bindir}/qemu-system-arm
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_bindir}/qemu-system-cris
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1302 %{_datadir}/%{name}/hppa-firmware.img
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1312 %files system-microblaze
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1315 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_bindir}/qemu-system-mips
1320 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1321 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1322 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1339 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1340 %{_datadir}/%{name}/canyonlands.dtb
1341 %{_datadir}/%{name}/qemu_vga.ndrv
1342 %{_datadir}/%{name}/u-boot.e500
1343 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1345 %files system-riscv32
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1349 %files system-riscv64
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1356 %{_datadir}/%{name}/s390-netboot.img
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1361 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1366 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1368 %files system-tricore
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1372 %files system-unicore32
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_bindir}/qemu-system-i386
1379 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1380 %ifarch %{ix86} %{x8664} x32
1381 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1382 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1384 %{_datadir}/%{name}/bios.bin
1385 %{_datadir}/%{name}/bios-256k.bin
1387 %files system-xtensa
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1390 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1393 %defattr(644,root,root,755)
1394 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1395 %{systemdunitdir}/qemu-guest-agent.service
1396 %attr(755,root,root) %{_bindir}/qemu-ga
1397 %{_mandir}/man8/qemu-ga.8*
1399 %files module-block-curl
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1403 %if %{with glusterfs}
1404 %files module-block-gluster
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1410 %files module-block-iscsi
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1416 %files module-block-rbd
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1421 %files module-block-ssh
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so