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
37 Summary: QEMU CPU Emulator
38 Summary(pl.UTF-8): QEMU - emulator procesora
43 Group: Applications/Emulators
44 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
45 # Source0-md5: 6a5c8df583406ea24ef25b239c3243e0
46 # Loads kvm kernel modules at boot
47 Source3: kvm-modules-load.conf
51 Source6: ksm.sysconfig
54 Source10: ksmtuned.conf
55 Source12: 99-%{name}-guest-agent.rules
56 Patch0: %{name}-cflags.patch
57 Patch1: %{name}-whitelist.patch
58 Patch2: %{name}-user-execve.patch
59 Patch3: %{name}-xattr.patch
60 Patch4: libjpeg-boolean.patch
62 URL: http://www.qemu-project.org/
63 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
64 %{?with_gl:BuildRequires: OpenGL-devel}
65 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
66 BuildRequires: alsa-lib-devel
67 BuildRequires: bcc >= 0.16.21-2
68 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
69 %{?with_brlapi:BuildRequires: brlapi-devel}
70 BuildRequires: bzip2-devel
71 %{?with_ceph:BuildRequires: ceph-devel}
72 BuildRequires: curl-devel
73 BuildRequires: cyrus-sasl-devel >= 2
74 %{?with_esd:BuildRequires: esound-devel}
75 BuildRequires: glib2-devel >= 1:2.22
76 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
77 BuildRequires: gnutls-devel > 2.10.0
78 BuildRequires: libaio-devel
79 %{?with_smartcard:BuildRequires: libcacard-devel}
80 BuildRequires: libcap-devel
81 BuildRequires: libcap-ng-devel
82 %{?with_gl:BuildRequires: libepoxy-devel}
83 BuildRequires: libfdt-devel >= 1.4.2
84 %{?with_rdma:BuildRequires: libibverbs-devel}
85 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
86 %{?with_rdma:BuildRequires: libibumad-devel}
87 BuildRequires: libjpeg-devel
88 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
89 BuildRequires: libpng-devel
90 %{?with_rdma:BuildRequires: librdmacm-devel}
91 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
92 BuildRequires: libssh2-devel >= 1.2.8
93 BuildRequires: libusb-devel >= 1.0.13
94 BuildRequires: libuuid-devel
95 %{?with_lttng:BuildRequires: lttng-ust-devel}
96 BuildRequires: lzo-devel >= 2
97 BuildRequires: ncurses-devel
98 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
99 BuildRequires: numactl-devel
100 BuildRequires: perl-Encode
101 BuildRequires: perl-tools-pod
102 BuildRequires: pixman-devel >= 0.21.8
103 BuildRequires: pkgconfig
104 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
105 BuildRequires: rpmbuild(macros) >= 1.644
106 %{?with_system_seabios:BuildRequires: seabios}
107 BuildRequires: sed >= 4.0
108 %{?with_snappy:BuildRequires: snappy-devel}
110 BuildRequires: spice-protocol >= 0.12.3
111 BuildRequires: spice-server-devel >= 0.12.0
113 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
114 BuildRequires: texi2html
115 BuildRequires: texinfo
116 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
117 %{?with_lttng:BuildRequires: userspace-rcu-devel}
118 BuildRequires: vde2-devel
120 %{?with_xen:BuildRequires: xen-devel >= 3.4}
121 BuildRequires: xfsprogs-devel
122 BuildRequires: xorg-lib-libX11-devel
123 BuildRequires: zlib-devel
125 BuildRequires: gtk+2-devel >= 2:2.18.0
126 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
129 BuildRequires: gtk+3-devel >= 3.0.0
130 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
132 %if %{with user_static}
133 BuildRequires: glib2-static
134 BuildRequires: glibc-static
135 BuildRequires: pcre-static
136 BuildRequires: zlib-static
138 Requires: %{name}-img = %{version}-%{release}
139 Requires: %{name}-system-aarch64 = %{version}-%{release}
140 Requires: %{name}-system-alpha = %{version}-%{release}
141 Requires: %{name}-system-arm = %{version}-%{release}
142 Requires: %{name}-system-cris = %{version}-%{release}
143 Requires: %{name}-system-hppa = %{version}-%{release}
144 Requires: %{name}-system-lm32 = %{version}-%{release}
145 Requires: %{name}-system-m68k = %{version}-%{release}
146 Requires: %{name}-system-microblaze = %{version}-%{release}
147 Requires: %{name}-system-mips = %{version}-%{release}
148 Requires: %{name}-system-moxie = %{version}-%{release}
149 Requires: %{name}-system-nios2 = %{version}-%{release}
150 Requires: %{name}-system-or1k = %{version}-%{release}
151 Requires: %{name}-system-ppc = %{version}-%{release}
152 Requires: %{name}-system-riscv32 = %{version}-%{release}
153 Requires: %{name}-system-riscv64 = %{version}-%{release}
154 Requires: %{name}-system-s390x = %{version}-%{release}
155 Requires: %{name}-system-sh4 = %{version}-%{release}
156 Requires: %{name}-system-sparc = %{version}-%{release}
157 Requires: %{name}-system-tricore = %{version}-%{release}
158 Requires: %{name}-system-unicore32 = %{version}-%{release}
159 Requires: %{name}-system-x86 = %{version}-%{release}
160 Requires: %{name}-system-xtensa = %{version}-%{release}
161 Requires: %{name}-user = %{version}-%{release}
163 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
165 %define systempkg_req \
169 Requires: libfdt >= 1.4.2 \
170 %if %{with seccomp} \
171 Requires: libseccomp >= 2.1.0 \
173 Requires: libusb >= 1.0.13 \
174 Requires: pixman >= 0.21.8 \
175 %if %{with usbredir} \
176 Requires: usbredir >= 0.6 \
179 Requires: gtk+2 >= 2:2.18.0 \
180 %{?with_vte:Requires: vte0 >= 0.24.0} \
183 Requires: gtk+3 >= 3.0.0 \
184 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
187 # don't strip/chrpath anything in there; these are boot images, roms etc
188 %define _noautostrip .*%{_datadir}/qemu/.*
189 %define _noautochrpath .*%{_datadir}/qemu/.*
192 QEMU is a FAST! processor emulator. By using dynamic translation it
193 achieves a reasonnable speed while being easy to port on new host
194 CPUs. QEMU has two operating modes:
196 - User mode emulation. In this mode, QEMU can launch Linux processes
197 compiled for one CPU on another CPU. Linux system calls are converted
198 because of endianness and 32/64 bit mismatches. Wine (Windows
199 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
201 - Full system emulation. In this mode, QEMU emulates a full system,
202 including a processor and various peripherials. It can also be used to
203 provide virtual hosting of several virtual PC on a single server.
205 %description -l pl.UTF-8
206 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
207 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
208 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
210 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
211 procesy linuksowe skompilowane dla jednego procesora na innym
212 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
213 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
214 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
217 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
218 włączając w to procesor i różne urządzenia peryferyjne. Może być także
219 używane do wirtualnego hostowania kilku wirtualnych pecetów na
220 pojedynczym serwerze.
223 Summary: QEMU common files needed by all QEMU targets
224 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
225 Group: Development/Tools
226 Requires(postun): /usr/sbin/groupdel
227 Requires(postun): /usr/sbin/userdel
228 Requires(pre): /bin/id
229 Requires(pre): /usr/bin/getgid
230 Requires(pre): /usr/sbin/groupadd
231 Requires(pre): /usr/sbin/useradd
232 Requires: glib2 >= 1:2.22
233 %{?with_libnfs:Requires: libnfs >= 1.9.3}
234 Requires: libssh2 >= 1.2.8
235 Provides: group(qemu)
237 Obsoletes: qemu-kvm-common
238 Conflicts: qemu < 1.0-2
241 QEMU is a generic and open source processor emulator which achieves a
242 good emulation speed by using dynamic translation.
244 This package provides the common files needed by all QEMU targets.
246 %description common -l pl.UTF-8
247 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
248 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
250 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
254 Summary: QEMU command line tool for manipulating disk images
255 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
256 Group: Development/Tools
257 Obsoletes: qemu-kvm-img
258 Conflicts: qemu < 1.0-2
261 This package provides a command line tool for manipulating disk
264 %description img -l pl.UTF-8
265 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
269 Summary: Client and server for QEMU ivshmem device
270 Summary(pl.UTF-8): Klient i serwer dla urzÄ…dzeia ivshmem QEMU
271 Group: Development/Tools
274 This package provides client and server tools for QEMU's ivshmem
277 %description ivshmem -l pl.UTF-8
278 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
279 urzÄ…dzenia ivshmem QEMU.
282 Summary: QEMU user mode emulation of qemu targets
283 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
284 Group: Development/Tools
285 Requires: %{name}-common = %{version}-%{release}
286 Obsoletes: qemu-kvm-user
289 QEMU is a generic and open source processor emulator which achieves a
290 good emulation speed by using dynamic translation.
292 This package provides the user mode emulation of QEMU targets.
294 %description user -l pl.UTF-8
295 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
296 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
298 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
301 Summary: QEMU user mode emulation of qemu targets static build
302 Group: Development/Tools
304 %description user-static
305 QEMU is a generic and open source processor emulator which achieves a
306 good emulation speed by using dynamic translation.
308 This package provides the user mode emulation of qemu targets built as
311 %package system-aarch64
312 Summary: QEMU system emulator for AArch64
313 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
314 Group: Development/Tools
315 Requires: %{name}-common = %{version}-%{release}
317 Obsoletes: qemu-kvm-system-aarch64
319 %description system-aarch64
320 QEMU is a generic and open source processor emulator which achieves a
321 good emulation speed by using dynamic translation.
323 This package provides the system emulator with AArch64 CPU.
325 %description system-aarch64 -l pl.UTF-8
326 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
327 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
329 Ten pakiet zawiera emulator systemu z procesorem AArch64.
331 %package system-alpha
332 Summary: QEMU system emulator for Alpha
333 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
334 Group: Development/Tools
335 Requires: %{name}-common = %{version}-%{release}
337 Obsoletes: qemu-kvm-system-alpha
339 %description system-alpha
340 QEMU is a generic and open source processor emulator which achieves a
341 good emulation speed by using dynamic translation.
343 This package provides the system emulator with Alpha CPU.
345 %description system-alpha -l pl.UTF-8
346 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
347 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
349 Ten pakiet zawiera emulator systemu z procesorem Alpha.
352 Summary: QEMU system emulator for ARM
353 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
354 Group: Development/Tools
355 Requires: %{name}-common = %{version}-%{release}
357 Obsoletes: qemu-kvm-system-arm
359 %description system-arm
360 QEMU is a generic and open source processor emulator which achieves a
361 good emulation speed by using dynamic translation.
363 This package provides the system emulator for ARM.
365 %description system-arm -l pl.UTF-8
366 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
367 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
369 Ten pakiet zawiera emulator systemu z procesorem ARM.
372 Summary: QEMU system emulator for CRIS
373 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
374 Group: Development/Tools
375 Requires: %{name}-common = %{version}-%{release}
377 Obsoletes: qemu-kvm-system-cris
379 %description system-cris
380 QEMU is a generic and open source processor emulator which achieves a
381 good emulation speed by using dynamic translation.
383 This package provides the system emulator with CRIS CPU.
385 %description system-cris -l pl.UTF-8
386 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
387 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
389 Ten pakiet zawiera emulator systemu z procesorem CRIS.
392 Summary: QEMU system emulator for HP/PA
393 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
394 Group: Development/Tools
395 Requires: %{name}-common = %{version}-%{release}
398 %description system-hppa
399 QEMU is a generic and open source processor emulator which achieves a
400 good emulation speed by using dynamic translation.
402 This package provides the system emulator with HP/PA CPU.
404 %description system-hppa -l pl.UTF-8
405 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
406 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
408 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
411 Summary: QEMU system emulator for LM32
412 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
413 Group: Development/Tools
414 Requires: %{name}-common = %{version}-%{release}
416 Obsoletes: qemu-kvm-system-lm32
418 %description system-lm32
419 QEMU is a generic and open source processor emulator which achieves a
420 good emulation speed by using dynamic translation.
422 This package provides the system emulator with LM32 CPU.
424 %description system-lm32 -l pl.UTF-8
425 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
426 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
428 Ten pakiet zawiera emulator systemu z procesorem LM32.
431 Summary: QEMU system emulator for m68k
432 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
433 Group: Development/Tools
434 Requires: %{name}-common = %{version}-%{release}
436 Obsoletes: qemu-kvm-system-m68k
438 %description system-m68k
439 QEMU is a generic and open source processor emulator which achieves a
440 good emulation speed by using dynamic translation.
442 This package provides the system emulator with m68k CPU.
444 %description system-m68k -l pl.UTF-8
445 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
446 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
448 Ten pakiet zawiera emulator systemu z procesorem m68k.
450 %package system-microblaze
451 Summary: QEMU system emulator for MicroBlaze
452 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
453 Group: Development/Tools
454 Requires: %{name}-common = %{version}-%{release}
456 Obsoletes: qemu-kvm-system-microblaze
458 %description system-microblaze
459 QEMU is a generic and open source processor emulator which achieves a
460 good emulation speed by using dynamic translation.
462 This package provides the system emulator with MicroBlaze CPU.
464 %description system-microblaze -l pl.UTF-8
465 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
466 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
468 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
471 Summary: QEMU system emulator for MIPS
472 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
473 Group: Development/Tools
474 Requires: %{name}-common = %{version}-%{release}
476 Obsoletes: qemu-kvm-system-mips
478 %description system-mips
479 QEMU is a generic and open source processor emulator which achieves a
480 good emulation speed by using dynamic translation.
482 This package provides the system emulator with MIPS CPU.
484 %description system-mips -l pl.UTF-8
485 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
486 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
488 Ten pakiet zawiera emulator systemu z procesorem MIPS.
490 %package system-moxie
491 Summary: QEMU system emulator for Moxie
492 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
493 Group: Development/Tools
494 Requires: %{name}-common = %{version}-%{release}
497 %description system-moxie
498 QEMU is a generic and open source processor emulator which achieves a
499 good emulation speed by using dynamic translation.
501 This package provides the system emulator with Moxie CPU.
503 %description system-moxie -l pl.UTF-8
504 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
505 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
507 Ten pakiet zawiera emulator systemu z procesorem Moxie.
509 %package system-nios2
510 Summary: QEMU system emulator for Nios II
511 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
512 Group: Development/Tools
513 Requires: %{name}-common = %{version}-%{release}
516 %description system-nios2
517 QEMU is a generic and open source processor emulator which achieves a
518 good emulation speed by using dynamic translation.
520 This package provides the system emulator with Nios II CPU.
522 %description system-nios2 -l pl.UTF-8
523 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
524 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
526 Ten pakiet zawiera emulator systemu z procesorem Nios II.
529 Summary: QEMU system emulator for OpenRISC
530 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
531 Group: Development/Tools
532 Requires: %{name}-common = %{version}-%{release}
534 Obsoletes: qemu-kvm-system-or1k
535 Obsoletes: qemu-system-or32
537 %description system-or1k
538 QEMU is a generic and open source processor emulator which achieves a
539 good emulation speed by using dynamic translation.
541 This package provides the system emulator with OpenRISC CPU.
543 %description system-or1k -l pl.UTF-8
544 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
545 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
547 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
550 Summary: QEMU system emulator for PowerPC
551 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
552 Group: Development/Tools
553 Requires: %{name}-common = %{version}-%{release}
555 Obsoletes: qemu-kvm-system-ppc
557 %description system-ppc
558 QEMU is a generic and open source processor emulator which achieves a
559 good emulation speed by using dynamic translation.
561 This package provides the system emulator with PowerPC CPU.
563 %description system-ppc -l pl.UTF-8
564 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
565 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
567 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
569 %package system-riscv32
570 Summary: QEMU system emulator for RISC-V (32 bit)
571 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
572 Group: Development/Tools
573 Requires: %{name}-common = %{version}-%{release}
576 %description system-riscv32
577 QEMU is a generic and open source processor emulator which achieves a
578 good emulation speed by using dynamic translation.
580 This package provides the system emulator with RISC-V (32 bit) CPU.
582 %description system-riscv32 -l pl.UTF-8
583 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
584 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
586 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
588 %package system-riscv64
589 Summary: QEMU system emulator for RISC-V (64 bit)
590 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
591 Group: Development/Tools
592 Requires: %{name}-common = %{version}-%{release}
595 %description system-riscv64
596 QEMU is a generic and open source processor emulator which achieves a
597 good emulation speed by using dynamic translation.
599 This package provides the system emulator with RISC-V (64 bit) CPU.
601 %description system-riscv64 -l pl.UTF-8
602 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
603 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
605 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
607 %package system-s390x
608 Summary: QEMU system emulator for S390
609 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
610 Group: Development/Tools
611 Requires: %{name}-common = %{version}-%{release}
613 Obsoletes: qemu-kvm-system-s390x
615 %description system-s390x
616 QEMU is a generic and open source processor emulator which achieves a
617 good emulation speed by using dynamic translation.
619 This package provides the system emulator with S390 CPU.
621 %description system-s390x -l pl.UTF-8
622 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
623 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
625 Ten pakiet zawiera emulator systemu z procesorem S390.
628 Summary: QEMU system emulator for SH4
629 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
630 Group: Development/Tools
631 Requires: %{name}-common = %{version}-%{release}
633 Obsoletes: qemu-kvm-system-sh4
635 %description system-sh4
636 QEMU is a generic and open source processor emulator which achieves a
637 good emulation speed by using dynamic translation.
639 This package provides the system emulator with SH4 CPU.
641 %description system-sh4 -l pl.UTF-8
642 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
643 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
645 Ten pakiet zawiera emulator systemu z procesorem SH4.
647 %package system-sparc
648 Summary: QEMU system emulator for SPARC
649 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
650 Group: Development/Tools
651 Requires: %{name}-common = %{version}-%{release}
653 Obsoletes: qemu-kvm-system-sparc
655 %description system-sparc
656 QEMU is a generic and open source processor emulator which achieves a
657 good emulation speed by using dynamic translation.
659 This package provides the system emulator with SPARC/SPARC64 CPU.
661 %description system-sparc -l pl.UTF-8
662 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
663 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
665 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
667 %package system-tricore
668 Summary: QEMU system emulator for TriCore
669 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
670 Group: Development/Tools
671 Requires: %{name}-common = %{version}-%{release}
674 %description system-tricore
675 QEMU is a generic and open source processor emulator which achieves a
676 good emulation speed by using dynamic translation.
678 This package provides the system emulator with TriCore CPU.
680 %description system-sparc -l pl.UTF-8
681 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
682 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
684 Ten pakiet zawiera emulator systemu z procesorem TriCore.
686 %package system-unicore32
687 Summary: QEMU system emulator for UniCore32
688 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
689 Group: Development/Tools
690 Requires: %{name}-common = %{version}-%{release}
692 Obsoletes: qemu-kvm-system-unicore32
694 %description system-unicore32
695 QEMU is a generic and open source processor emulator which achieves a
696 good emulation speed by using dynamic translation.
698 This package provides the system emulator with UniCore32 CPU.
700 %description system-unicore32 -l pl.UTF-8
701 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
702 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
704 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
707 Summary: QEMU system emulator for x86
708 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
709 Group: Development/Tools
710 Requires: %{name}-common = %{version}-%{release}
711 %{?with_system_seabios:Requires: seabios}
714 Obsoletes: qemu-kvm-system-x86
716 %description system-x86
717 QEMU is a generic and open source processor emulator which achieves a
718 good emulation speed by using dynamic translation.
720 %description system-x86 -l pl.UTF-8
721 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
722 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
724 %package system-xtensa
725 Summary: QEMU system emulator for Xtensa
726 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
727 Group: Development/Tools
728 Requires: %{name}-common = %{version}-%{release}
730 Obsoletes: qemu-kvm-system-xtensa
732 %description system-xtensa
733 QEMU is a generic and open source processor emulator which achieves a
734 good emulation speed by using dynamic translation.
736 This package provides the system emulator with Xtensa CPU.
738 %description system-xtensa -l pl.UTF-8
739 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
740 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
742 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
745 Summary: QEMU guest agent
746 Summary(pl.UTF-8): Agent gościa QEMU
748 Requires: glib2 >= 1:2.22
749 Obsoletes: qemu-kvm-guest-agent
751 %description guest-agent
752 QEMU is a generic and open source processor emulator which achieves a
753 good emulation speed by using dynamic translation.
755 This package provides an agent to run inside guests, which
756 communicates with the host over a virtio-serial channel named
757 "org.qemu.guest_agent.0".
759 This package does not need to be installed on the host OS.
761 %description guest-agent -l pl.UTF-8
762 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
763 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
765 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
766 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
767 "org.qemu.guest_agent.0".
769 Ten pakiet nie musi być zainstalowany w systemie hosta.
771 %package module-block-curl
772 Summary: QEMU module for 'curl' block devices
773 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
774 Group: Development/Tools
775 Requires: %{name}-common = %{version}-%{release}
777 %description module-block-curl
778 'curl' block device support for QEMU.
780 %description module-block-curl -l pl.UTF-8
781 Moduł QEMU dla urządeń blokowych typu 'curl'.
783 %package module-block-gluster
784 Summary: QEMU module for 'gluster' block devices
785 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
786 Group: Development/Tools
787 Requires: %{name}-common = %{version}-%{release}
788 Requires: glusterfs-libs >= 3.4
790 %description module-block-gluster
791 'gluster' block device support for QEMU.
793 %description module-block-gluster -l pl.UTF-8
794 Moduł QEMU dla urządeń blokowych typu 'gluster'.
796 %package module-block-iscsi
797 Summary: QEMU module for 'iscsi' block devices
798 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
799 Group: Development/Tools
800 Requires: %{name}-common = %{version}-%{release}
801 Requires: libiscsi >= 1.9.0
803 %description module-block-iscsi
804 'iscsi' block device support for QEMU.
806 %description module-block-iscsi -l pl.UTF-8
807 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
809 %package module-block-rbd
810 Summary: QEMU module for 'rbd' block devices
811 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
812 Group: Development/Tools
813 Requires: %{name}-common = %{version}-%{release}
815 %description module-block-rbd
816 'rbd' block device support for QEMU.
818 %description module-block-rbd -l pl.UTF-8
819 Moduł QEMU dla urządeń blokowych typu 'rbd'.
821 %package module-block-ssh
822 Summary: QEMU module for 'ssh' block devices
823 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
824 Group: Development/Tools
825 Requires: %{name}-common = %{version}-%{release}
827 %description module-block-ssh
828 'ssh' block device support for QEMU.
830 %description module-block-ssh -l pl.UTF-8
831 Moduł QEMU dla urządeń blokowych typu 'ssh'.
842 # workaround for conflict with alsa/error.h
843 ln -s ../error.h qapi/error.h
851 install -d build-$target
855 --prefix=%{_prefix} \
856 --libdir=%{_libdir} \
857 --libexecdir=%{_libexecdir} \
858 --sysconfdir=%{_sysconfdir} \
859 --localstatedir=%{_localstatedir} \
860 --interp-prefix=%{_libdir}/qemu/lib-%%M \
862 --host-cc="%{__cc}" \
864 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
870 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
876 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
877 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
879 %{__enable_disable bluetooth bluez} \
880 %{__enable_disable brlapi} \
886 %{__enable_disable glusterfs} \
887 %{__enable_disable iscsi libiscsi} \
888 %{__enable_disable ceph rbd} \
889 %{__enable_disable rdma} \
890 %{__enable_disable sdl} \
892 %{__enable_disable seccomp} \
893 %{__enable_disable spice} \
894 %{__enable_disable smartcard smartcard} \
896 %{__enable_disable usbredir usb-redir} \
902 %{!?with_vte:--disable-vte} \
903 %{__enable_disable xen} \
906 %{__enable_disable libnfs} \
908 %{__enable_disable snappy} \
909 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
910 %if %{without gtk2} && %{without gtk3}
913 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
916 %if %{with user_static}
925 --disable-guest-agent \
926 --disable-guest-agent-msi \
940 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
943 rm -rf $RPM_BUILD_ROOT
945 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
946 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
948 %if %{with user_static}
949 %{__make} -C build-static install \
950 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
951 DESTDIR=$RPM_BUILD_ROOT
953 # Give all QEMU user emulators a -static suffix
954 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
960 %{__make} -C build-dynamic install \
961 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
962 DESTDIR=$RPM_BUILD_ROOT
964 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
966 install -d $RPM_BUILD_ROOT%{_sysconfdir}
967 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
972 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
974 %ifarch %{ix86} %{x8664} x32
975 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
976 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
979 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
980 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
982 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
983 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
985 # For the qemu-guest-agent subpackage install the udev rules.
986 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
989 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
991 %if %{with system_seabios}
992 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
993 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
994 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
996 if [ -e "/usr/share/seabios/$bn" ] ; then
997 ln -sf "/usr/share/seabios/$bn" "$f"
1002 %if %{with gtk2} || %{with gtk3}
1003 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1004 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1011 rm -rf $RPM_BUILD_ROOT
1014 %groupadd -g 160 kvm
1015 %groupadd -g 276 qemu
1016 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1019 if [ "$1" = "0" ]; then
1026 %defattr(644,root,root,755)
1028 %files common -f %{name}.lang
1029 %defattr(644,root,root,755)
1031 %doc build-dynamic/qemu-doc.html
1032 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1033 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1034 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1035 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1037 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1038 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1039 %attr(755,root,root) %{_bindir}/qemu-keymap
1040 %attr(755,root,root) %{_bindir}/qemu-nbd
1041 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1042 %attr(755,root,root) %{_bindir}/qemu-tilegx
1043 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1044 %attr(755,root,root) %{_sbindir}/ksmctl
1045 %attr(755,root,root) %{_sbindir}/ksmtuned
1046 %{_mandir}/man1/qemu.1*
1047 %{_mandir}/man1/virtfs-proxy-helper.1*
1048 %{_mandir}/man7/qemu-block-drivers.7*
1049 %{_mandir}/man8/qemu-nbd.8*
1051 %dir %{_datadir}/qemu
1052 %{_datadir}/%{name}/keymaps
1053 %{_datadir}/%{name}/qemu-icon.bmp
1054 %{_datadir}/%{name}/trace-events-all
1056 # various bios images
1057 # all should be probably moved to the right system subpackage
1058 %{_datadir}/%{name}/bamboo.dtb
1059 %{_datadir}/%{name}/efi-e1000e.rom
1060 %{_datadir}/%{name}/efi-e1000.rom
1061 %{_datadir}/%{name}/efi-eepro100.rom
1062 %{_datadir}/%{name}/efi-ne2k_pci.rom
1063 %{_datadir}/%{name}/efi-pcnet.rom
1064 %{_datadir}/%{name}/efi-rtl8139.rom
1065 %{_datadir}/%{name}/efi-virtio.rom
1066 %{_datadir}/%{name}/efi-vmxnet3.rom
1067 %{_datadir}/%{name}/kvmvapic.bin
1068 %{_datadir}/%{name}/linuxboot.bin
1069 %{_datadir}/%{name}/linuxboot_dma.bin
1070 %{_datadir}/%{name}/multiboot.bin
1071 %{_datadir}/%{name}/openbios-ppc
1072 %{_datadir}/%{name}/openbios-sparc*
1073 %{_datadir}/%{name}/palcode-clipper
1074 %{_datadir}/%{name}/petalogix-ml605.dtb
1075 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1076 %{_datadir}/%{name}/ppc_rom.bin
1077 %{_datadir}/%{name}/pxe-e1000.rom
1078 %{_datadir}/%{name}/pxe-eepro100.rom
1079 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1080 %{_datadir}/%{name}/pxe-pcnet.rom
1081 %{_datadir}/%{name}/pxe-rtl8139.rom
1082 %{_datadir}/%{name}/pxe-virtio.rom
1083 %{_datadir}/%{name}/QEMU,cgthree.bin
1084 %{_datadir}/%{name}/qemu_logo_no_text.svg
1085 %{_datadir}/%{name}/QEMU,tcx.bin
1086 %{_datadir}/%{name}/s390-ccw.img
1087 %{_datadir}/%{name}/sgabios.bin
1088 %{_datadir}/%{name}/skiboot.lid
1089 %{_datadir}/%{name}/slof.bin
1090 %{_datadir}/%{name}/spapr-rtas.bin
1091 %{_datadir}/%{name}/vgabios.bin
1092 %{_datadir}/%{name}/vgabios-cirrus.bin
1093 %{_datadir}/%{name}/vgabios-qxl.bin
1094 %{_datadir}/%{name}/vgabios-stdvga.bin
1095 %{_datadir}/%{name}/vgabios-virtio.bin
1096 %{_datadir}/%{name}/vgabios-vmware.bin
1098 %dir %{_libdir}/%{name}
1100 # modules without too many external dependencies
1101 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1102 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1104 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1105 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1106 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1107 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1108 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1109 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1112 %defattr(644,root,root,755)
1113 %attr(755,root,root) %{_bindir}/qemu-img
1114 %{_mandir}/man1/qemu-img.1*
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_bindir}/ivshmem-client
1119 %attr(755,root,root) %{_bindir}/ivshmem-server
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_bindir}/qemu-aarch64
1124 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1125 %attr(755,root,root) %{_bindir}/qemu-alpha
1126 %attr(755,root,root) %{_bindir}/qemu-arm
1127 %attr(755,root,root) %{_bindir}/qemu-armeb
1128 %attr(755,root,root) %{_bindir}/qemu-cris
1129 %attr(755,root,root) %{_bindir}/qemu-hppa
1130 %attr(755,root,root) %{_bindir}/qemu-i386
1131 %attr(755,root,root) %{_bindir}/qemu-io
1132 %attr(755,root,root) %{_bindir}/qemu-m68k
1133 %attr(755,root,root) %{_bindir}/qemu-microblaze
1134 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1135 %attr(755,root,root) %{_bindir}/qemu-mips
1136 %attr(755,root,root) %{_bindir}/qemu-mipsel
1137 %attr(755,root,root) %{_bindir}/qemu-mips64
1138 %attr(755,root,root) %{_bindir}/qemu-mips64el
1139 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1140 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1141 %attr(755,root,root) %{_bindir}/qemu-nios2
1142 %attr(755,root,root) %{_bindir}/qemu-or1k
1143 %attr(755,root,root) %{_bindir}/qemu-ppc
1144 %attr(755,root,root) %{_bindir}/qemu-ppc64
1145 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1146 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1147 %attr(755,root,root) %{_bindir}/qemu-riscv32
1148 %attr(755,root,root) %{_bindir}/qemu-riscv64
1149 %attr(755,root,root) %{_bindir}/qemu-s390x
1150 %attr(755,root,root) %{_bindir}/qemu-sh4
1151 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1152 %attr(755,root,root) %{_bindir}/qemu-sparc
1153 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1154 %attr(755,root,root) %{_bindir}/qemu-sparc64
1155 %attr(755,root,root) %{_bindir}/qemu-x86_64
1156 %attr(755,root,root) %{_bindir}/qemu-xtensa
1157 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1159 %if %{with user_static}
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1163 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1164 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1165 %attr(755,root,root) %{_bindir}/qemu-arm-static
1166 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1167 %attr(755,root,root) %{_bindir}/qemu-cris-static
1168 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1169 %attr(755,root,root) %{_bindir}/qemu-i386-static
1170 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1171 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1172 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1173 %attr(755,root,root) %{_bindir}/qemu-mips-static
1174 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1175 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1176 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1177 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1178 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1179 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1180 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1181 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1182 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1183 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1184 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1185 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1186 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1187 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1188 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1189 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1190 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1191 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1192 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1193 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1194 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1195 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1196 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1199 %files system-aarch64
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_bindir}/qemu-system-arm
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_bindir}/qemu-system-cris
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1218 %{_datadir}/%{name}/hppa-firmware.img
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1228 %files system-microblaze
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1231 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_bindir}/qemu-system-mips
1236 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1237 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1238 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1255 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1256 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1257 %{_datadir}/%{name}/canyonlands.dtb
1258 %{_datadir}/%{name}/qemu_vga.ndrv
1259 %{_datadir}/%{name}/u-boot.e500
1260 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1262 %files system-riscv32
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1266 %files system-riscv64
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1273 %{_datadir}/%{name}/s390-netboot.img
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1278 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1283 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1285 %files system-tricore
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1289 %files system-unicore32
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_bindir}/qemu-system-i386
1296 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1297 %ifarch %{ix86} %{x8664} x32
1298 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1299 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1301 %{_datadir}/%{name}/bios.bin
1302 %{_datadir}/%{name}/bios-256k.bin
1304 %files system-xtensa
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1307 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1310 %defattr(644,root,root,755)
1311 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1312 %attr(755,root,root) %{_bindir}/qemu-ga
1313 %{_mandir}/man8/qemu-ga.8*
1315 %files module-block-curl
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1319 %if %{with glusterfs}
1320 %files module-block-gluster
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1326 %files module-block-iscsi
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1332 %files module-block-rbd
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1337 %files module-block-ssh
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so