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_with 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
29 %bcond_without xkbcommon # xkbcommon support
39 Summary: QEMU CPU Emulator
40 Summary(pl.UTF-8): QEMU - emulator procesora
45 Group: Applications/Emulators
46 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
47 # Source0-md5: 6a5c8df583406ea24ef25b239c3243e0
48 # Loads kvm kernel modules at boot
49 Source3: kvm-modules-load.conf
53 Source6: ksm.sysconfig
56 Source10: ksmtuned.conf
57 Source12: 99-%{name}-guest-agent.rules
58 Patch0: %{name}-cflags.patch
59 Patch1: %{name}-whitelist.patch
60 Patch2: %{name}-user-execve.patch
61 Patch3: %{name}-xattr.patch
62 Patch4: libjpeg-boolean.patch
64 URL: http://www.qemu-project.org/
65 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
66 %{?with_gl:BuildRequires: OpenGL-devel}
67 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
68 BuildRequires: alsa-lib-devel
69 BuildRequires: bcc >= 0.16.21-2
70 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
71 %{?with_brlapi:BuildRequires: brlapi-devel}
72 BuildRequires: bzip2-devel
73 %{?with_ceph:BuildRequires: ceph-devel}
74 BuildRequires: curl-devel
75 BuildRequires: cyrus-sasl-devel >= 2
76 %{?with_esd:BuildRequires: esound-devel}
77 BuildRequires: glib2-devel >= 1:2.22
78 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
79 BuildRequires: gnutls-devel > 2.10.0
80 BuildRequires: libaio-devel
81 %{?with_smartcard:BuildRequires: libcacard-devel}
82 BuildRequires: libcap-devel
83 BuildRequires: libcap-ng-devel
84 %{?with_gl:BuildRequires: libepoxy-devel}
85 BuildRequires: libfdt-devel >= 1.4.2
86 %{?with_rdma:BuildRequires: libibverbs-devel}
87 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
88 %{?with_rdma:BuildRequires: libibumad-devel}
89 BuildRequires: libjpeg-devel
90 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
91 BuildRequires: libpng-devel
92 %{?with_rdma:BuildRequires: librdmacm-devel}
93 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
94 BuildRequires: libssh2-devel >= 1.2.8
95 BuildRequires: libusb-devel >= 1.0.13
96 BuildRequires: libuuid-devel
97 %{?with_lttng:BuildRequires: lttng-ust-devel}
98 BuildRequires: lzo-devel >= 2
99 BuildRequires: ncurses-devel
100 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
101 BuildRequires: numactl-devel
102 BuildRequires: perl-Encode
103 BuildRequires: perl-tools-pod
104 BuildRequires: pixman-devel >= 0.21.8
105 BuildRequires: pkgconfig
106 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
107 BuildRequires: rpmbuild(macros) >= 1.644
108 %{?with_system_seabios:BuildRequires: seabios}
109 BuildRequires: sed >= 4.0
110 %{?with_snappy:BuildRequires: snappy-devel}
112 BuildRequires: spice-protocol >= 0.12.3
113 BuildRequires: spice-server-devel >= 0.12.0
115 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
116 BuildRequires: texi2html
117 BuildRequires: texinfo
118 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
119 %{?with_lttng:BuildRequires: userspace-rcu-devel}
120 BuildRequires: vde2-devel
122 %{?with_virgl:BuildRequires: virglrenderer-devel}
123 %{?with_xen:BuildRequires: xen-devel >= 3.4}
124 BuildRequires: xfsprogs-devel
125 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
126 BuildRequires: xorg-lib-libX11-devel
127 BuildRequires: zlib-devel
129 BuildRequires: gtk+2-devel >= 2:2.18.0
130 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
133 BuildRequires: gtk+3-devel >= 3.0.0
134 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
136 %if %{with user_static}
137 BuildRequires: glib2-static
138 BuildRequires: glibc-static
139 BuildRequires: pcre-static
140 BuildRequires: zlib-static
142 Requires: %{name}-img = %{version}-%{release}
143 Requires: %{name}-system-aarch64 = %{version}-%{release}
144 Requires: %{name}-system-alpha = %{version}-%{release}
145 Requires: %{name}-system-arm = %{version}-%{release}
146 Requires: %{name}-system-cris = %{version}-%{release}
147 Requires: %{name}-system-hppa = %{version}-%{release}
148 Requires: %{name}-system-lm32 = %{version}-%{release}
149 Requires: %{name}-system-m68k = %{version}-%{release}
150 Requires: %{name}-system-microblaze = %{version}-%{release}
151 Requires: %{name}-system-mips = %{version}-%{release}
152 Requires: %{name}-system-moxie = %{version}-%{release}
153 Requires: %{name}-system-nios2 = %{version}-%{release}
154 Requires: %{name}-system-or1k = %{version}-%{release}
155 Requires: %{name}-system-ppc = %{version}-%{release}
156 Requires: %{name}-system-riscv32 = %{version}-%{release}
157 Requires: %{name}-system-riscv64 = %{version}-%{release}
158 Requires: %{name}-system-s390x = %{version}-%{release}
159 Requires: %{name}-system-sh4 = %{version}-%{release}
160 Requires: %{name}-system-sparc = %{version}-%{release}
161 Requires: %{name}-system-tricore = %{version}-%{release}
162 Requires: %{name}-system-unicore32 = %{version}-%{release}
163 Requires: %{name}-system-x86 = %{version}-%{release}
164 Requires: %{name}-system-xtensa = %{version}-%{release}
165 Requires: %{name}-user = %{version}-%{release}
167 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
169 %define systempkg_req \
173 Requires: libfdt >= 1.4.2 \
174 %if %{with seccomp} \
175 Requires: libseccomp >= 2.1.0 \
177 Requires: libusb >= 1.0.13 \
178 Requires: pixman >= 0.21.8 \
179 %if %{with usbredir} \
180 Requires: usbredir >= 0.6 \
183 Requires: gtk+2 >= 2:2.18.0 \
184 %{?with_vte:Requires: vte0 >= 0.24.0} \
187 Requires: gtk+3 >= 3.0.0 \
188 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
191 # don't strip/chrpath anything in there; these are boot images, roms etc
192 %define _noautostrip .*%{_datadir}/qemu/.*
193 %define _noautochrpath .*%{_datadir}/qemu/.*
196 QEMU is a FAST! processor emulator. By using dynamic translation it
197 achieves a reasonnable speed while being easy to port on new host
198 CPUs. QEMU has two operating modes:
200 - User mode emulation. In this mode, QEMU can launch Linux processes
201 compiled for one CPU on another CPU. Linux system calls are converted
202 because of endianness and 32/64 bit mismatches. Wine (Windows
203 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
205 - Full system emulation. In this mode, QEMU emulates a full system,
206 including a processor and various peripherials. It can also be used to
207 provide virtual hosting of several virtual PC on a single server.
209 %description -l pl.UTF-8
210 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
211 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
212 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
214 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
215 procesy linuksowe skompilowane dla jednego procesora na innym
216 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
217 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
218 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
221 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
222 włączając w to procesor i różne urządzenia peryferyjne. Może być także
223 używane do wirtualnego hostowania kilku wirtualnych pecetów na
224 pojedynczym serwerze.
227 Summary: QEMU common files needed by all QEMU targets
228 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
229 Group: Development/Tools
230 Requires(postun): /usr/sbin/groupdel
231 Requires(postun): /usr/sbin/userdel
232 Requires(pre): /bin/id
233 Requires(pre): /usr/bin/getgid
234 Requires(pre): /usr/sbin/groupadd
235 Requires(pre): /usr/sbin/useradd
236 Requires: glib2 >= 1:2.22
237 %{?with_libnfs:Requires: libnfs >= 1.9.3}
238 Requires: libssh2 >= 1.2.8
239 Provides: group(qemu)
241 Obsoletes: qemu-kvm-common
242 Conflicts: qemu < 1.0-2
245 QEMU is a generic and open source processor emulator which achieves a
246 good emulation speed by using dynamic translation.
248 This package provides the common files needed by all QEMU targets.
250 %description common -l pl.UTF-8
251 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
252 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
254 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
258 Summary: QEMU command line tool for manipulating disk images
259 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
260 Group: Development/Tools
261 Obsoletes: qemu-kvm-img
262 Conflicts: qemu < 1.0-2
265 This package provides a command line tool for manipulating disk
268 %description img -l pl.UTF-8
269 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
273 Summary: Client and server for QEMU ivshmem device
274 Summary(pl.UTF-8): Klient i serwer dla urządzeia ivshmem QEMU
275 Group: Development/Tools
278 This package provides client and server tools for QEMU's ivshmem
281 %description ivshmem -l pl.UTF-8
282 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
283 urządzenia ivshmem QEMU.
286 Summary: QEMU user mode emulation of qemu targets
287 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
288 Group: Development/Tools
289 Requires: %{name}-common = %{version}-%{release}
290 Obsoletes: qemu-kvm-user
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.
298 %description user -l pl.UTF-8
299 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
300 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
302 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
305 Summary: QEMU user mode emulation of qemu targets static build
306 Group: Development/Tools
308 %description user-static
309 QEMU is a generic and open source processor emulator which achieves a
310 good emulation speed by using dynamic translation.
312 This package provides the user mode emulation of qemu targets built as
315 %package system-aarch64
316 Summary: QEMU system emulator for AArch64
317 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
318 Group: Development/Tools
319 Requires: %{name}-common = %{version}-%{release}
321 Obsoletes: qemu-kvm-system-aarch64
323 %description system-aarch64
324 QEMU is a generic and open source processor emulator which achieves a
325 good emulation speed by using dynamic translation.
327 This package provides the system emulator with AArch64 CPU.
329 %description system-aarch64 -l pl.UTF-8
330 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
331 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
333 Ten pakiet zawiera emulator systemu z procesorem AArch64.
335 %package system-alpha
336 Summary: QEMU system emulator for Alpha
337 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
338 Group: Development/Tools
339 Requires: %{name}-common = %{version}-%{release}
341 Obsoletes: qemu-kvm-system-alpha
343 %description system-alpha
344 QEMU is a generic and open source processor emulator which achieves a
345 good emulation speed by using dynamic translation.
347 This package provides the system emulator with Alpha CPU.
349 %description system-alpha -l pl.UTF-8
350 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
351 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
353 Ten pakiet zawiera emulator systemu z procesorem Alpha.
356 Summary: QEMU system emulator for ARM
357 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
358 Group: Development/Tools
359 Requires: %{name}-common = %{version}-%{release}
361 Obsoletes: qemu-kvm-system-arm
363 %description system-arm
364 QEMU is a generic and open source processor emulator which achieves a
365 good emulation speed by using dynamic translation.
367 This package provides the system emulator for ARM.
369 %description system-arm -l pl.UTF-8
370 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
371 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
373 Ten pakiet zawiera emulator systemu z procesorem ARM.
376 Summary: QEMU system emulator for CRIS
377 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
378 Group: Development/Tools
379 Requires: %{name}-common = %{version}-%{release}
381 Obsoletes: qemu-kvm-system-cris
383 %description system-cris
384 QEMU is a generic and open source processor emulator which achieves a
385 good emulation speed by using dynamic translation.
387 This package provides the system emulator with CRIS CPU.
389 %description system-cris -l pl.UTF-8
390 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
391 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
393 Ten pakiet zawiera emulator systemu z procesorem CRIS.
396 Summary: QEMU system emulator for HP/PA
397 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
398 Group: Development/Tools
399 Requires: %{name}-common = %{version}-%{release}
402 %description system-hppa
403 QEMU is a generic and open source processor emulator which achieves a
404 good emulation speed by using dynamic translation.
406 This package provides the system emulator with HP/PA CPU.
408 %description system-hppa -l pl.UTF-8
409 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
410 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
412 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
415 Summary: QEMU system emulator for LM32
416 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
417 Group: Development/Tools
418 Requires: %{name}-common = %{version}-%{release}
420 Obsoletes: qemu-kvm-system-lm32
422 %description system-lm32
423 QEMU is a generic and open source processor emulator which achieves a
424 good emulation speed by using dynamic translation.
426 This package provides the system emulator with LM32 CPU.
428 %description system-lm32 -l pl.UTF-8
429 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
430 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
432 Ten pakiet zawiera emulator systemu z procesorem LM32.
435 Summary: QEMU system emulator for m68k
436 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
437 Group: Development/Tools
438 Requires: %{name}-common = %{version}-%{release}
440 Obsoletes: qemu-kvm-system-m68k
442 %description system-m68k
443 QEMU is a generic and open source processor emulator which achieves a
444 good emulation speed by using dynamic translation.
446 This package provides the system emulator with m68k CPU.
448 %description system-m68k -l pl.UTF-8
449 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
450 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
452 Ten pakiet zawiera emulator systemu z procesorem m68k.
454 %package system-microblaze
455 Summary: QEMU system emulator for MicroBlaze
456 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
457 Group: Development/Tools
458 Requires: %{name}-common = %{version}-%{release}
460 Obsoletes: qemu-kvm-system-microblaze
462 %description system-microblaze
463 QEMU is a generic and open source processor emulator which achieves a
464 good emulation speed by using dynamic translation.
466 This package provides the system emulator with MicroBlaze CPU.
468 %description system-microblaze -l pl.UTF-8
469 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
470 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
472 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
475 Summary: QEMU system emulator for MIPS
476 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
477 Group: Development/Tools
478 Requires: %{name}-common = %{version}-%{release}
480 Obsoletes: qemu-kvm-system-mips
482 %description system-mips
483 QEMU is a generic and open source processor emulator which achieves a
484 good emulation speed by using dynamic translation.
486 This package provides the system emulator with MIPS CPU.
488 %description system-mips -l pl.UTF-8
489 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
490 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
492 Ten pakiet zawiera emulator systemu z procesorem MIPS.
494 %package system-moxie
495 Summary: QEMU system emulator for Moxie
496 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
497 Group: Development/Tools
498 Requires: %{name}-common = %{version}-%{release}
501 %description system-moxie
502 QEMU is a generic and open source processor emulator which achieves a
503 good emulation speed by using dynamic translation.
505 This package provides the system emulator with Moxie CPU.
507 %description system-moxie -l pl.UTF-8
508 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
509 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
511 Ten pakiet zawiera emulator systemu z procesorem Moxie.
513 %package system-nios2
514 Summary: QEMU system emulator for Nios II
515 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
516 Group: Development/Tools
517 Requires: %{name}-common = %{version}-%{release}
520 %description system-nios2
521 QEMU is a generic and open source processor emulator which achieves a
522 good emulation speed by using dynamic translation.
524 This package provides the system emulator with Nios II CPU.
526 %description system-nios2 -l pl.UTF-8
527 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
528 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
530 Ten pakiet zawiera emulator systemu z procesorem Nios II.
533 Summary: QEMU system emulator for OpenRISC
534 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
535 Group: Development/Tools
536 Requires: %{name}-common = %{version}-%{release}
538 Obsoletes: qemu-kvm-system-or1k
539 Obsoletes: qemu-system-or32
541 %description system-or1k
542 QEMU is a generic and open source processor emulator which achieves a
543 good emulation speed by using dynamic translation.
545 This package provides the system emulator with OpenRISC CPU.
547 %description system-or1k -l pl.UTF-8
548 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
549 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
551 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
554 Summary: QEMU system emulator for PowerPC
555 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
556 Group: Development/Tools
557 Requires: %{name}-common = %{version}-%{release}
559 Obsoletes: qemu-kvm-system-ppc
561 %description system-ppc
562 QEMU is a generic and open source processor emulator which achieves a
563 good emulation speed by using dynamic translation.
565 This package provides the system emulator with PowerPC CPU.
567 %description system-ppc -l pl.UTF-8
568 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
569 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
571 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
573 %package system-riscv32
574 Summary: QEMU system emulator for RISC-V (32 bit)
575 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
576 Group: Development/Tools
577 Requires: %{name}-common = %{version}-%{release}
580 %description system-riscv32
581 QEMU is a generic and open source processor emulator which achieves a
582 good emulation speed by using dynamic translation.
584 This package provides the system emulator with RISC-V (32 bit) CPU.
586 %description system-riscv32 -l pl.UTF-8
587 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
588 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
590 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
592 %package system-riscv64
593 Summary: QEMU system emulator for RISC-V (64 bit)
594 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
595 Group: Development/Tools
596 Requires: %{name}-common = %{version}-%{release}
599 %description system-riscv64
600 QEMU is a generic and open source processor emulator which achieves a
601 good emulation speed by using dynamic translation.
603 This package provides the system emulator with RISC-V (64 bit) CPU.
605 %description system-riscv64 -l pl.UTF-8
606 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
607 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
609 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
611 %package system-s390x
612 Summary: QEMU system emulator for S390
613 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
614 Group: Development/Tools
615 Requires: %{name}-common = %{version}-%{release}
617 Obsoletes: qemu-kvm-system-s390x
619 %description system-s390x
620 QEMU is a generic and open source processor emulator which achieves a
621 good emulation speed by using dynamic translation.
623 This package provides the system emulator with S390 CPU.
625 %description system-s390x -l pl.UTF-8
626 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
627 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
629 Ten pakiet zawiera emulator systemu z procesorem S390.
632 Summary: QEMU system emulator for SH4
633 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
634 Group: Development/Tools
635 Requires: %{name}-common = %{version}-%{release}
637 Obsoletes: qemu-kvm-system-sh4
639 %description system-sh4
640 QEMU is a generic and open source processor emulator which achieves a
641 good emulation speed by using dynamic translation.
643 This package provides the system emulator with SH4 CPU.
645 %description system-sh4 -l pl.UTF-8
646 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
647 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
649 Ten pakiet zawiera emulator systemu z procesorem SH4.
651 %package system-sparc
652 Summary: QEMU system emulator for SPARC
653 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
654 Group: Development/Tools
655 Requires: %{name}-common = %{version}-%{release}
657 Obsoletes: qemu-kvm-system-sparc
659 %description system-sparc
660 QEMU is a generic and open source processor emulator which achieves a
661 good emulation speed by using dynamic translation.
663 This package provides the system emulator with SPARC/SPARC64 CPU.
665 %description system-sparc -l pl.UTF-8
666 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
667 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
669 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
671 %package system-tricore
672 Summary: QEMU system emulator for TriCore
673 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
674 Group: Development/Tools
675 Requires: %{name}-common = %{version}-%{release}
678 %description system-tricore
679 QEMU is a generic and open source processor emulator which achieves a
680 good emulation speed by using dynamic translation.
682 This package provides the system emulator with TriCore CPU.
684 %description system-sparc -l pl.UTF-8
685 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
686 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
688 Ten pakiet zawiera emulator systemu z procesorem TriCore.
690 %package system-unicore32
691 Summary: QEMU system emulator for UniCore32
692 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
693 Group: Development/Tools
694 Requires: %{name}-common = %{version}-%{release}
696 Obsoletes: qemu-kvm-system-unicore32
698 %description system-unicore32
699 QEMU is a generic and open source processor emulator which achieves a
700 good emulation speed by using dynamic translation.
702 This package provides the system emulator with UniCore32 CPU.
704 %description system-unicore32 -l pl.UTF-8
705 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
706 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
708 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
711 Summary: QEMU system emulator for x86
712 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
713 Group: Development/Tools
714 Requires: %{name}-common = %{version}-%{release}
715 %{?with_system_seabios:Requires: seabios}
718 Obsoletes: qemu-kvm-system-x86
720 %description system-x86
721 QEMU is a generic and open source processor emulator which achieves a
722 good emulation speed by using dynamic translation.
724 %description system-x86 -l pl.UTF-8
725 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
726 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
728 %package system-xtensa
729 Summary: QEMU system emulator for Xtensa
730 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
731 Group: Development/Tools
732 Requires: %{name}-common = %{version}-%{release}
734 Obsoletes: qemu-kvm-system-xtensa
736 %description system-xtensa
737 QEMU is a generic and open source processor emulator which achieves a
738 good emulation speed by using dynamic translation.
740 This package provides the system emulator with Xtensa CPU.
742 %description system-xtensa -l pl.UTF-8
743 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
744 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
746 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
749 Summary: QEMU guest agent
750 Summary(pl.UTF-8): Agent gościa QEMU
752 Requires: glib2 >= 1:2.22
753 Obsoletes: qemu-kvm-guest-agent
755 %description guest-agent
756 QEMU is a generic and open source processor emulator which achieves a
757 good emulation speed by using dynamic translation.
759 This package provides an agent to run inside guests, which
760 communicates with the host over a virtio-serial channel named
761 "org.qemu.guest_agent.0".
763 This package does not need to be installed on the host OS.
765 %description guest-agent -l pl.UTF-8
766 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
767 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
769 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
770 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
771 "org.qemu.guest_agent.0".
773 Ten pakiet nie musi być zainstalowany w systemie hosta.
775 %package module-block-curl
776 Summary: QEMU module for 'curl' block devices
777 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
778 Group: Development/Tools
779 Requires: %{name}-common = %{version}-%{release}
781 %description module-block-curl
782 'curl' block device support for QEMU.
784 %description module-block-curl -l pl.UTF-8
785 Moduł QEMU dla urządeń blokowych typu 'curl'.
787 %package module-block-gluster
788 Summary: QEMU module for 'gluster' block devices
789 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
790 Group: Development/Tools
791 Requires: %{name}-common = %{version}-%{release}
792 Requires: glusterfs-libs >= 3.4
794 %description module-block-gluster
795 'gluster' block device support for QEMU.
797 %description module-block-gluster -l pl.UTF-8
798 Moduł QEMU dla urządeń blokowych typu 'gluster'.
800 %package module-block-iscsi
801 Summary: QEMU module for 'iscsi' block devices
802 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
803 Group: Development/Tools
804 Requires: %{name}-common = %{version}-%{release}
805 Requires: libiscsi >= 1.9.0
807 %description module-block-iscsi
808 'iscsi' block device support for QEMU.
810 %description module-block-iscsi -l pl.UTF-8
811 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
813 %package module-block-rbd
814 Summary: QEMU module for 'rbd' block devices
815 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
816 Group: Development/Tools
817 Requires: %{name}-common = %{version}-%{release}
819 %description module-block-rbd
820 'rbd' block device support for QEMU.
822 %description module-block-rbd -l pl.UTF-8
823 Moduł QEMU dla urządeń blokowych typu 'rbd'.
825 %package module-block-ssh
826 Summary: QEMU module for 'ssh' block devices
827 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
828 Group: Development/Tools
829 Requires: %{name}-common = %{version}-%{release}
831 %description module-block-ssh
832 'ssh' block device support for QEMU.
834 %description module-block-ssh -l pl.UTF-8
835 Moduł QEMU dla urządeń blokowych typu 'ssh'.
846 # workaround for conflict with alsa/error.h
847 ln -s ../error.h qapi/error.h
855 install -d build-$target
859 --prefix=%{_prefix} \
860 --libdir=%{_libdir} \
861 --libexecdir=%{_libexecdir} \
862 --sysconfdir=%{_sysconfdir} \
863 --localstatedir=%{_localstatedir} \
864 --interp-prefix=%{_libdir}/qemu/lib-%%M \
866 --host-cc="%{__cc}" \
868 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
874 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
880 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
881 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
883 %{__enable_disable bluetooth bluez} \
884 %{__enable_disable brlapi} \
890 %{__enable_disable glusterfs} \
891 %{__enable_disable iscsi libiscsi} \
892 %{__enable_disable ceph rbd} \
893 %{__enable_disable rdma} \
894 %{__enable_disable sdl} \
896 %{__enable_disable seccomp} \
897 %{__enable_disable spice} \
898 %{__enable_disable smartcard smartcard} \
900 %{__enable_disable usbredir usb-redir} \
906 %{!?with_vte:--disable-vte} \
907 %{__enable_disable virgl virglrenderer} \
908 %{__enable_disable xen} \
911 %{__enable_disable libnfs} \
913 %{__enable_disable snappy} \
914 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
915 %if %{without gtk2} && %{without gtk3}
918 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
921 %if %{with user_static}
930 --disable-guest-agent \
931 --disable-guest-agent-msi \
945 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
948 rm -rf $RPM_BUILD_ROOT
950 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
951 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
953 %if %{with user_static}
954 %{__make} -C build-static install \
955 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
956 DESTDIR=$RPM_BUILD_ROOT
958 # Give all QEMU user emulators a -static suffix
959 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
965 %{__make} -C build-dynamic install \
966 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
967 DESTDIR=$RPM_BUILD_ROOT
969 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
971 install -d $RPM_BUILD_ROOT%{_sysconfdir}
972 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
977 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
979 %ifarch %{ix86} %{x8664} x32
980 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
981 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
984 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
985 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
987 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
988 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
990 # For the qemu-guest-agent subpackage install the udev rules.
991 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
994 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
996 %if %{with system_seabios}
997 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
998 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
999 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1001 if [ -e "/usr/share/seabios/$bn" ] ; then
1002 ln -sf "/usr/share/seabios/$bn" "$f"
1007 %if %{with gtk2} || %{with gtk3}
1008 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1009 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1016 rm -rf $RPM_BUILD_ROOT
1019 %groupadd -g 160 kvm
1020 %groupadd -g 276 qemu
1021 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1024 if [ "$1" = "0" ]; then
1031 %defattr(644,root,root,755)
1033 %files common -f %{name}.lang
1034 %defattr(644,root,root,755)
1036 %doc build-dynamic/qemu-doc.html
1037 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1038 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1039 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1040 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1042 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1043 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1044 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1045 %attr(755,root,root) %{_bindir}/qemu-nbd
1046 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1047 %attr(755,root,root) %{_bindir}/qemu-tilegx
1048 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1049 %attr(755,root,root) %{_sbindir}/ksmctl
1050 %attr(755,root,root) %{_sbindir}/ksmtuned
1051 %{_mandir}/man1/qemu.1*
1052 %{_mandir}/man1/virtfs-proxy-helper.1*
1053 %{_mandir}/man7/qemu-block-drivers.7*
1054 %{_mandir}/man8/qemu-nbd.8*
1056 %dir %{_datadir}/qemu
1057 %{_datadir}/%{name}/keymaps
1058 %{_datadir}/%{name}/qemu-icon.bmp
1059 %{_datadir}/%{name}/trace-events-all
1061 # various bios images
1062 # all should be probably moved to the right system subpackage
1063 %{_datadir}/%{name}/bamboo.dtb
1064 %{_datadir}/%{name}/efi-e1000e.rom
1065 %{_datadir}/%{name}/efi-e1000.rom
1066 %{_datadir}/%{name}/efi-eepro100.rom
1067 %{_datadir}/%{name}/efi-ne2k_pci.rom
1068 %{_datadir}/%{name}/efi-pcnet.rom
1069 %{_datadir}/%{name}/efi-rtl8139.rom
1070 %{_datadir}/%{name}/efi-virtio.rom
1071 %{_datadir}/%{name}/efi-vmxnet3.rom
1072 %{_datadir}/%{name}/kvmvapic.bin
1073 %{_datadir}/%{name}/linuxboot.bin
1074 %{_datadir}/%{name}/linuxboot_dma.bin
1075 %{_datadir}/%{name}/multiboot.bin
1076 %{_datadir}/%{name}/openbios-ppc
1077 %{_datadir}/%{name}/openbios-sparc*
1078 %{_datadir}/%{name}/palcode-clipper
1079 %{_datadir}/%{name}/petalogix-ml605.dtb
1080 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1081 %{_datadir}/%{name}/ppc_rom.bin
1082 %{_datadir}/%{name}/pxe-e1000.rom
1083 %{_datadir}/%{name}/pxe-eepro100.rom
1084 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1085 %{_datadir}/%{name}/pxe-pcnet.rom
1086 %{_datadir}/%{name}/pxe-rtl8139.rom
1087 %{_datadir}/%{name}/pxe-virtio.rom
1088 %{_datadir}/%{name}/QEMU,cgthree.bin
1089 %{_datadir}/%{name}/qemu_logo_no_text.svg
1090 %{_datadir}/%{name}/QEMU,tcx.bin
1091 %{_datadir}/%{name}/s390-ccw.img
1092 %{_datadir}/%{name}/sgabios.bin
1093 %{_datadir}/%{name}/skiboot.lid
1094 %{_datadir}/%{name}/slof.bin
1095 %{_datadir}/%{name}/spapr-rtas.bin
1096 %{_datadir}/%{name}/vgabios.bin
1097 %{_datadir}/%{name}/vgabios-cirrus.bin
1098 %{_datadir}/%{name}/vgabios-qxl.bin
1099 %{_datadir}/%{name}/vgabios-stdvga.bin
1100 %{_datadir}/%{name}/vgabios-virtio.bin
1101 %{_datadir}/%{name}/vgabios-vmware.bin
1103 %dir %{_libdir}/%{name}
1105 # modules without too many external dependencies
1106 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1107 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1109 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1110 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1111 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1112 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1113 %if %{with gtk2} || %{with gtk3}
1114 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1116 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_bindir}/qemu-img
1121 %{_mandir}/man1/qemu-img.1*
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) %{_bindir}/ivshmem-client
1126 %attr(755,root,root) %{_bindir}/ivshmem-server
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_bindir}/qemu-aarch64
1131 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1132 %attr(755,root,root) %{_bindir}/qemu-alpha
1133 %attr(755,root,root) %{_bindir}/qemu-arm
1134 %attr(755,root,root) %{_bindir}/qemu-armeb
1135 %attr(755,root,root) %{_bindir}/qemu-cris
1136 %attr(755,root,root) %{_bindir}/qemu-hppa
1137 %attr(755,root,root) %{_bindir}/qemu-i386
1138 %attr(755,root,root) %{_bindir}/qemu-io
1139 %attr(755,root,root) %{_bindir}/qemu-m68k
1140 %attr(755,root,root) %{_bindir}/qemu-microblaze
1141 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1142 %attr(755,root,root) %{_bindir}/qemu-mips
1143 %attr(755,root,root) %{_bindir}/qemu-mipsel
1144 %attr(755,root,root) %{_bindir}/qemu-mips64
1145 %attr(755,root,root) %{_bindir}/qemu-mips64el
1146 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1147 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1148 %attr(755,root,root) %{_bindir}/qemu-nios2
1149 %attr(755,root,root) %{_bindir}/qemu-or1k
1150 %attr(755,root,root) %{_bindir}/qemu-ppc
1151 %attr(755,root,root) %{_bindir}/qemu-ppc64
1152 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1153 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1154 %attr(755,root,root) %{_bindir}/qemu-riscv32
1155 %attr(755,root,root) %{_bindir}/qemu-riscv64
1156 %attr(755,root,root) %{_bindir}/qemu-s390x
1157 %attr(755,root,root) %{_bindir}/qemu-sh4
1158 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1159 %attr(755,root,root) %{_bindir}/qemu-sparc
1160 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1161 %attr(755,root,root) %{_bindir}/qemu-sparc64
1162 %attr(755,root,root) %{_bindir}/qemu-x86_64
1163 %attr(755,root,root) %{_bindir}/qemu-xtensa
1164 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1166 %if %{with user_static}
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1170 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1171 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1172 %attr(755,root,root) %{_bindir}/qemu-arm-static
1173 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1174 %attr(755,root,root) %{_bindir}/qemu-cris-static
1175 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1176 %attr(755,root,root) %{_bindir}/qemu-i386-static
1177 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1178 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1179 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1180 %attr(755,root,root) %{_bindir}/qemu-mips-static
1181 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1182 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1183 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1184 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1185 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1186 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1187 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1188 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1189 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1190 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1191 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1192 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1193 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1194 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1195 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1196 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1197 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1198 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1199 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1200 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1201 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1202 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1203 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1206 %files system-aarch64
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_bindir}/qemu-system-arm
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_bindir}/qemu-system-cris
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1225 %{_datadir}/%{name}/hppa-firmware.img
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1235 %files system-microblaze
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1238 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_bindir}/qemu-system-mips
1243 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1244 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1245 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1248 %defattr(644,root,root,755)
1249 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1262 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1263 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1264 %{_datadir}/%{name}/canyonlands.dtb
1265 %{_datadir}/%{name}/qemu_vga.ndrv
1266 %{_datadir}/%{name}/u-boot.e500
1267 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1269 %files system-riscv32
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1273 %files system-riscv64
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1280 %{_datadir}/%{name}/s390-netboot.img
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1285 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1290 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1292 %files system-tricore
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1296 %files system-unicore32
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/qemu-system-i386
1303 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1304 %ifarch %{ix86} %{x8664} x32
1305 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1306 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1308 %{_datadir}/%{name}/bios.bin
1309 %{_datadir}/%{name}/bios-256k.bin
1311 %files system-xtensa
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1314 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1317 %defattr(644,root,root,755)
1318 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1319 %attr(755,root,root) %{_bindir}/qemu-ga
1320 %{_mandir}/man8/qemu-ga.8*
1322 %files module-block-curl
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1326 %if %{with glusterfs}
1327 %files module-block-gluster
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1333 %files module-block-iscsi
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1339 %files module-block-rbd
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1344 %files module-block-ssh
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so