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: 6e830a88e36908d9563ed01131ce72ec
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: vgabios-widescreens.patch
58 Patch2: %{name}-whitelist.patch
59 Patch3: %{name}-user-execve.patch
60 Patch4: %{name}-xattr.patch
61 Patch5: 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 > 2.10.0
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.1.1}
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_xen:BuildRequires: xen-devel >= 3.4}
122 BuildRequires: xfsprogs-devel
123 BuildRequires: xorg-lib-libX11-devel
124 BuildRequires: zlib-devel
126 BuildRequires: gtk+2-devel >= 2:2.18.0
127 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
130 BuildRequires: gtk+3-devel >= 3.0.0
131 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
133 %if %{with user_static}
134 BuildRequires: glib2-static
135 BuildRequires: glibc-static
136 BuildRequires: pcre-static
137 BuildRequires: zlib-static
139 Requires: %{name}-img = %{version}-%{release}
140 Requires: %{name}-system-aarch64 = %{version}-%{release}
141 Requires: %{name}-system-alpha = %{version}-%{release}
142 Requires: %{name}-system-arm = %{version}-%{release}
143 Requires: %{name}-system-cris = %{version}-%{release}
144 Requires: %{name}-system-hppa = %{version}-%{release}
145 Requires: %{name}-system-lm32 = %{version}-%{release}
146 Requires: %{name}-system-m68k = %{version}-%{release}
147 Requires: %{name}-system-microblaze = %{version}-%{release}
148 Requires: %{name}-system-mips = %{version}-%{release}
149 Requires: %{name}-system-moxie = %{version}-%{release}
150 Requires: %{name}-system-nios2 = %{version}-%{release}
151 Requires: %{name}-system-or1k = %{version}-%{release}
152 Requires: %{name}-system-ppc = %{version}-%{release}
153 Requires: %{name}-system-riscv32 = %{version}-%{release}
154 Requires: %{name}-system-riscv64 = %{version}-%{release}
155 Requires: %{name}-system-s390x = %{version}-%{release}
156 Requires: %{name}-system-sh4 = %{version}-%{release}
157 Requires: %{name}-system-sparc = %{version}-%{release}
158 Requires: %{name}-system-tricore = %{version}-%{release}
159 Requires: %{name}-system-unicore32 = %{version}-%{release}
160 Requires: %{name}-system-x86 = %{version}-%{release}
161 Requires: %{name}-system-xtensa = %{version}-%{release}
162 Requires: %{name}-user = %{version}-%{release}
164 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
166 %define systempkg_req \
170 Requires: libfdt >= 1.4.2 \
171 %if %{with seccomp} \
172 Requires: libseccomp >= 2.1.0 \
174 Requires: libusb >= 1.0.13 \
175 Requires: pixman >= 0.21.8 \
176 %if %{with usbredir} \
177 Requires: usbredir >= 0.6 \
180 Requires: gtk+2 >= 2:2.18.0 \
181 %{?with_vte:Requires: vte0 >= 0.24.0} \
184 Requires: gtk+3 >= 3.0.0 \
185 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
188 # don't strip/chrpath anything in there; these are boot images, roms etc
189 %define _noautostrip .*%{_datadir}/qemu/.*
190 %define _noautochrpath .*%{_datadir}/qemu/.*
193 QEMU is a FAST! processor emulator. By using dynamic translation it
194 achieves a reasonnable speed while being easy to port on new host
195 CPUs. QEMU has two operating modes:
197 - User mode emulation. In this mode, QEMU can launch Linux processes
198 compiled for one CPU on another CPU. Linux system calls are converted
199 because of endianness and 32/64 bit mismatches. Wine (Windows
200 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
202 - Full system emulation. In this mode, QEMU emulates a full system,
203 including a processor and various peripherials. It can also be used to
204 provide virtual hosting of several virtual PC on a single server.
206 %description -l pl.UTF-8
207 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
208 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
209 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
211 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
212 procesy linuksowe skompilowane dla jednego procesora na innym
213 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
214 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
215 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
218 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
219 włączając w to procesor i różne urządzenia peryferyjne. Może być także
220 używane do wirtualnego hostowania kilku wirtualnych pecetów na
221 pojedynczym serwerze.
224 Summary: QEMU common files needed by all QEMU targets
225 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
226 Group: Development/Tools
227 Requires(postun): /usr/sbin/groupdel
228 Requires(postun): /usr/sbin/userdel
229 Requires(pre): /bin/id
230 Requires(pre): /usr/bin/getgid
231 Requires(pre): /usr/sbin/groupadd
232 Requires(pre): /usr/sbin/useradd
233 Requires: glib2 >= 1:2.22
234 %{?with_libnfs:Requires: libnfs >= 1.9.3}
235 Requires: libssh2 >= 1.2.8
236 Provides: group(qemu)
238 Obsoletes: qemu-kvm-common
239 Conflicts: qemu < 1.0-2
242 QEMU is a generic and open source processor emulator which achieves a
243 good emulation speed by using dynamic translation.
245 This package provides the common files needed by all QEMU targets.
247 %description common -l pl.UTF-8
248 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
249 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
251 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
255 Summary: QEMU command line tool for manipulating disk images
256 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
257 Group: Development/Tools
258 Obsoletes: qemu-kvm-img
259 Conflicts: qemu < 1.0-2
262 This package provides a command line tool for manipulating disk
265 %description img -l pl.UTF-8
266 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
270 Summary: Client and server for QEMU ivshmem device
271 Summary(pl.UTF-8): Klient i serwer dla urzÄ…dzeia ivshmem QEMU
272 Group: Development/Tools
275 This package provides client and server tools for QEMU's ivshmem
278 %description ivshmem -l pl.UTF-8
279 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
280 urzÄ…dzenia ivshmem QEMU.
283 Summary: QEMU user mode emulation of qemu targets
284 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
285 Group: Development/Tools
286 Requires: %{name}-common = %{version}-%{release}
287 Obsoletes: qemu-kvm-user
290 QEMU is a generic and open source processor emulator which achieves a
291 good emulation speed by using dynamic translation.
293 This package provides the user mode emulation of QEMU targets.
295 %description user -l pl.UTF-8
296 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
297 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
299 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
302 Summary: QEMU user mode emulation of qemu targets static build
303 Group: Development/Tools
305 %description user-static
306 QEMU is a generic and open source processor emulator which achieves a
307 good emulation speed by using dynamic translation.
309 This package provides the user mode emulation of qemu targets built as
312 %package system-aarch64
313 Summary: QEMU system emulator for AArch64
314 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
315 Group: Development/Tools
316 Requires: %{name}-common = %{version}-%{release}
318 Obsoletes: qemu-kvm-system-aarch64
320 %description system-aarch64
321 QEMU is a generic and open source processor emulator which achieves a
322 good emulation speed by using dynamic translation.
324 This package provides the system emulator with AArch64 CPU.
326 %description system-aarch64 -l pl.UTF-8
327 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
328 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
330 Ten pakiet zawiera emulator systemu z procesorem AArch64.
332 %package system-alpha
333 Summary: QEMU system emulator for Alpha
334 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
335 Group: Development/Tools
336 Requires: %{name}-common = %{version}-%{release}
338 Obsoletes: qemu-kvm-system-alpha
340 %description system-alpha
341 QEMU is a generic and open source processor emulator which achieves a
342 good emulation speed by using dynamic translation.
344 This package provides the system emulator with Alpha CPU.
346 %description system-alpha -l pl.UTF-8
347 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
348 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
350 Ten pakiet zawiera emulator systemu z procesorem Alpha.
353 Summary: QEMU system emulator for ARM
354 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
355 Group: Development/Tools
356 Requires: %{name}-common = %{version}-%{release}
358 Obsoletes: qemu-kvm-system-arm
360 %description system-arm
361 QEMU is a generic and open source processor emulator which achieves a
362 good emulation speed by using dynamic translation.
364 This package provides the system emulator for ARM.
366 %description system-arm -l pl.UTF-8
367 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
368 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
370 Ten pakiet zawiera emulator systemu z procesorem ARM.
373 Summary: QEMU system emulator for CRIS
374 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
375 Group: Development/Tools
376 Requires: %{name}-common = %{version}-%{release}
378 Obsoletes: qemu-kvm-system-cris
380 %description system-cris
381 QEMU is a generic and open source processor emulator which achieves a
382 good emulation speed by using dynamic translation.
384 This package provides the system emulator with CRIS CPU.
386 %description system-cris -l pl.UTF-8
387 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
388 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
390 Ten pakiet zawiera emulator systemu z procesorem CRIS.
393 Summary: QEMU system emulator for HP/PA
394 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
395 Group: Development/Tools
396 Requires: %{name}-common = %{version}-%{release}
399 %description system-hppa
400 QEMU is a generic and open source processor emulator which achieves a
401 good emulation speed by using dynamic translation.
403 This package provides the system emulator with HP/PA CPU.
405 %description system-hppa -l pl.UTF-8
406 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
407 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
409 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
412 Summary: QEMU system emulator for LM32
413 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
414 Group: Development/Tools
415 Requires: %{name}-common = %{version}-%{release}
417 Obsoletes: qemu-kvm-system-lm32
419 %description system-lm32
420 QEMU is a generic and open source processor emulator which achieves a
421 good emulation speed by using dynamic translation.
423 This package provides the system emulator with LM32 CPU.
425 %description system-lm32 -l pl.UTF-8
426 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
427 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
429 Ten pakiet zawiera emulator systemu z procesorem LM32.
432 Summary: QEMU system emulator for m68k
433 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
434 Group: Development/Tools
435 Requires: %{name}-common = %{version}-%{release}
437 Obsoletes: qemu-kvm-system-m68k
439 %description system-m68k
440 QEMU is a generic and open source processor emulator which achieves a
441 good emulation speed by using dynamic translation.
443 This package provides the system emulator with m68k CPU.
445 %description system-m68k -l pl.UTF-8
446 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
447 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
449 Ten pakiet zawiera emulator systemu z procesorem m68k.
451 %package system-microblaze
452 Summary: QEMU system emulator for MicroBlaze
453 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
454 Group: Development/Tools
455 Requires: %{name}-common = %{version}-%{release}
457 Obsoletes: qemu-kvm-system-microblaze
459 %description system-microblaze
460 QEMU is a generic and open source processor emulator which achieves a
461 good emulation speed by using dynamic translation.
463 This package provides the system emulator with MicroBlaze CPU.
465 %description system-microblaze -l pl.UTF-8
466 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
467 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
469 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
472 Summary: QEMU system emulator for MIPS
473 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
474 Group: Development/Tools
475 Requires: %{name}-common = %{version}-%{release}
477 Obsoletes: qemu-kvm-system-mips
479 %description system-mips
480 QEMU is a generic and open source processor emulator which achieves a
481 good emulation speed by using dynamic translation.
483 This package provides the system emulator with MIPS CPU.
485 %description system-mips -l pl.UTF-8
486 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
487 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
489 Ten pakiet zawiera emulator systemu z procesorem MIPS.
491 %package system-moxie
492 Summary: QEMU system emulator for Moxie
493 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
494 Group: Development/Tools
495 Requires: %{name}-common = %{version}-%{release}
498 %description system-moxie
499 QEMU is a generic and open source processor emulator which achieves a
500 good emulation speed by using dynamic translation.
502 This package provides the system emulator with Moxie CPU.
504 %description system-moxie -l pl.UTF-8
505 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
506 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
508 Ten pakiet zawiera emulator systemu z procesorem Moxie.
510 %package system-nios2
511 Summary: QEMU system emulator for Nios II
512 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
513 Group: Development/Tools
514 Requires: %{name}-common = %{version}-%{release}
517 %description system-nios2
518 QEMU is a generic and open source processor emulator which achieves a
519 good emulation speed by using dynamic translation.
521 This package provides the system emulator with Nios II CPU.
523 %description system-nios2 -l pl.UTF-8
524 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
525 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
527 Ten pakiet zawiera emulator systemu z procesorem Nios II.
530 Summary: QEMU system emulator for OpenRISC
531 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
532 Group: Development/Tools
533 Requires: %{name}-common = %{version}-%{release}
535 Obsoletes: qemu-kvm-system-or1k
536 Obsoletes: qemu-system-or32
538 %description system-or1k
539 QEMU is a generic and open source processor emulator which achieves a
540 good emulation speed by using dynamic translation.
542 This package provides the system emulator with OpenRISC CPU.
544 %description system-or1k -l pl.UTF-8
545 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
546 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
548 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
551 Summary: QEMU system emulator for PowerPC
552 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
553 Group: Development/Tools
554 Requires: %{name}-common = %{version}-%{release}
556 Obsoletes: qemu-kvm-system-ppc
558 %description system-ppc
559 QEMU is a generic and open source processor emulator which achieves a
560 good emulation speed by using dynamic translation.
562 This package provides the system emulator with PowerPC CPU.
564 %description system-ppc -l pl.UTF-8
565 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
566 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
568 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
570 %package system-riscv32
571 Summary: QEMU system emulator for RISC-V (32 bit)
572 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
573 Group: Development/Tools
574 Requires: %{name}-common = %{version}-%{release}
577 %description system-riscv32
578 QEMU is a generic and open source processor emulator which achieves a
579 good emulation speed by using dynamic translation.
581 This package provides the system emulator with RISC-V (32 bit) CPU.
583 %description system-riscv32 -l pl.UTF-8
584 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
585 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
587 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
589 %package system-riscv64
590 Summary: QEMU system emulator for RISC-V (64 bit)
591 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
592 Group: Development/Tools
593 Requires: %{name}-common = %{version}-%{release}
596 %description system-riscv64
597 QEMU is a generic and open source processor emulator which achieves a
598 good emulation speed by using dynamic translation.
600 This package provides the system emulator with RISC-V (64 bit) CPU.
602 %description system-riscv64 -l pl.UTF-8
603 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
604 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
606 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
608 %package system-s390x
609 Summary: QEMU system emulator for S390
610 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
611 Group: Development/Tools
612 Requires: %{name}-common = %{version}-%{release}
614 Obsoletes: qemu-kvm-system-s390x
616 %description system-s390x
617 QEMU is a generic and open source processor emulator which achieves a
618 good emulation speed by using dynamic translation.
620 This package provides the system emulator with S390 CPU.
622 %description system-s390x -l pl.UTF-8
623 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
624 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
626 Ten pakiet zawiera emulator systemu z procesorem S390.
629 Summary: QEMU system emulator for SH4
630 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
631 Group: Development/Tools
632 Requires: %{name}-common = %{version}-%{release}
634 Obsoletes: qemu-kvm-system-sh4
636 %description system-sh4
637 QEMU is a generic and open source processor emulator which achieves a
638 good emulation speed by using dynamic translation.
640 This package provides the system emulator with SH4 CPU.
642 %description system-sh4 -l pl.UTF-8
643 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
644 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
646 Ten pakiet zawiera emulator systemu z procesorem SH4.
648 %package system-sparc
649 Summary: QEMU system emulator for SPARC
650 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
651 Group: Development/Tools
652 Requires: %{name}-common = %{version}-%{release}
654 Obsoletes: qemu-kvm-system-sparc
656 %description system-sparc
657 QEMU is a generic and open source processor emulator which achieves a
658 good emulation speed by using dynamic translation.
660 This package provides the system emulator with SPARC/SPARC64 CPU.
662 %description system-sparc -l pl.UTF-8
663 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
664 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
666 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
668 %package system-tricore
669 Summary: QEMU system emulator for TriCore
670 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
671 Group: Development/Tools
672 Requires: %{name}-common = %{version}-%{release}
675 %description system-tricore
676 QEMU is a generic and open source processor emulator which achieves a
677 good emulation speed by using dynamic translation.
679 This package provides the system emulator with TriCore CPU.
681 %description system-sparc -l pl.UTF-8
682 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
683 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
685 Ten pakiet zawiera emulator systemu z procesorem TriCore.
687 %package system-unicore32
688 Summary: QEMU system emulator for UniCore32
689 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
690 Group: Development/Tools
691 Requires: %{name}-common = %{version}-%{release}
693 Obsoletes: qemu-kvm-system-unicore32
695 %description system-unicore32
696 QEMU is a generic and open source processor emulator which achieves a
697 good emulation speed by using dynamic translation.
699 This package provides the system emulator with UniCore32 CPU.
701 %description system-unicore32 -l pl.UTF-8
702 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
703 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
705 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
708 Summary: QEMU system emulator for x86
709 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
710 Group: Development/Tools
711 Requires: %{name}-common = %{version}-%{release}
712 %{?with_system_seabios:Requires: seabios}
715 Obsoletes: qemu-kvm-system-x86
717 %description system-x86
718 QEMU is a generic and open source processor emulator which achieves a
719 good emulation speed by using dynamic translation.
721 %description system-x86 -l pl.UTF-8
722 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
723 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
725 %package system-xtensa
726 Summary: QEMU system emulator for Xtensa
727 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
728 Group: Development/Tools
729 Requires: %{name}-common = %{version}-%{release}
731 Obsoletes: qemu-kvm-system-xtensa
733 %description system-xtensa
734 QEMU is a generic and open source processor emulator which achieves a
735 good emulation speed by using dynamic translation.
737 This package provides the system emulator with Xtensa CPU.
739 %description system-xtensa -l pl.UTF-8
740 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
741 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
743 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
746 Summary: QEMU guest agent
747 Summary(pl.UTF-8): Agent gościa QEMU
749 Requires: glib2 >= 1:2.22
750 Obsoletes: qemu-kvm-guest-agent
752 %description guest-agent
753 QEMU is a generic and open source processor emulator which achieves a
754 good emulation speed by using dynamic translation.
756 This package provides an agent to run inside guests, which
757 communicates with the host over a virtio-serial channel named
758 "org.qemu.guest_agent.0".
760 This package does not need to be installed on the host OS.
762 %description guest-agent -l pl.UTF-8
763 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
764 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
766 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
767 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
768 "org.qemu.guest_agent.0".
770 Ten pakiet nie musi być zainstalowany w systemie hosta.
772 %package module-block-curl
773 Summary: QEMU module for 'curl' block devices
774 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
775 Group: Development/Tools
776 Requires: %{name}-common = %{version}-%{release}
778 %description module-block-curl
779 'curl' block device support for QEMU.
781 %description module-block-curl -l pl.UTF-8
782 Moduł QEMU dla urządeń blokowych typu 'curl'.
784 %package module-block-gluster
785 Summary: QEMU module for 'gluster' block devices
786 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
787 Group: Development/Tools
788 Requires: %{name}-common = %{version}-%{release}
789 Requires: glusterfs-libs >= 3.4
791 %description module-block-gluster
792 'gluster' block device support for QEMU.
794 %description module-block-gluster -l pl.UTF-8
795 Moduł QEMU dla urządeń blokowych typu 'gluster'.
797 %package module-block-iscsi
798 Summary: QEMU module for 'iscsi' block devices
799 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
800 Group: Development/Tools
801 Requires: %{name}-common = %{version}-%{release}
802 Requires: libiscsi >= 1.9.0
804 %description module-block-iscsi
805 'iscsi' block device support for QEMU.
807 %description module-block-iscsi -l pl.UTF-8
808 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
810 %package module-block-rbd
811 Summary: QEMU module for 'rbd' block devices
812 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
813 Group: Development/Tools
814 Requires: %{name}-common = %{version}-%{release}
816 %description module-block-rbd
817 'rbd' block device support for QEMU.
819 %description module-block-rbd -l pl.UTF-8
820 Moduł QEMU dla urządeń blokowych typu 'rbd'.
822 %package module-block-ssh
823 Summary: QEMU module for 'ssh' block devices
824 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
825 Group: Development/Tools
826 Requires: %{name}-common = %{version}-%{release}
828 %description module-block-ssh
829 'ssh' block device support for QEMU.
831 %description module-block-ssh -l pl.UTF-8
832 Moduł QEMU dla urządeń blokowych typu 'ssh'.
844 # workaround for conflict with alsa/error.h
845 ln -s ../error.h qapi/error.h
853 install -d build-$target
857 --prefix=%{_prefix} \
858 --libdir=%{_libdir} \
859 --libexecdir=%{_libexecdir} \
860 --sysconfdir=%{_sysconfdir} \
861 --localstatedir=%{_localstatedir} \
862 --interp-prefix=%{_libdir}/qemu/lib-%%M \
864 --host-cc="%{__cc}" \
866 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
872 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
878 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
879 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
881 %{__enable_disable bluetooth bluez} \
882 %{__enable_disable brlapi} \
888 %{__enable_disable glusterfs} \
889 %{__enable_disable iscsi libiscsi} \
890 %{__enable_disable ceph rbd} \
891 %{__enable_disable rdma} \
892 %{__enable_disable sdl} \
894 %{__enable_disable seccomp} \
895 %{__enable_disable spice} \
896 %{__enable_disable smartcard smartcard} \
898 %{__enable_disable usbredir usb-redir} \
904 %{!?with_vte:--disable-vte} \
905 %{__enable_disable xen} \
908 %{__enable_disable libnfs} \
910 %{__enable_disable snappy} \
911 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
912 %if %{without gtk2} && %{without gtk3}
915 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
918 %if %{with user_static}
927 --disable-guest-agent \
928 --disable-guest-agent-msi \
942 # rebuild patched vesa tables with additional widescreen modes.
943 %{__make} -C roms/vgabios stdvga-bios
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 # install patched vesa tables with additional widescreen modes.
997 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
999 %if %{with system_seabios}
1000 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1001 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1002 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1004 if [ -e "/usr/share/seabios/$bn" ] ; then
1005 ln -sf "/usr/share/seabios/$bn" "$f"
1010 %if %{with gtk2} || %{with gtk3}
1011 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1012 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1019 rm -rf $RPM_BUILD_ROOT
1022 %groupadd -g 160 kvm
1023 %groupadd -g 276 qemu
1024 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1027 if [ "$1" = "0" ]; then
1034 %defattr(644,root,root,755)
1036 %files common -f %{name}.lang
1037 %defattr(644,root,root,755)
1039 %doc build-dynamic/qemu-doc.html
1040 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1041 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1042 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1043 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1045 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1046 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1047 %attr(755,root,root) %{_bindir}/qemu-keymap
1048 %attr(755,root,root) %{_bindir}/qemu-nbd
1049 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1050 %attr(755,root,root) %{_bindir}/qemu-tilegx
1051 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1052 %attr(755,root,root) %{_sbindir}/ksmctl
1053 %attr(755,root,root) %{_sbindir}/ksmtuned
1054 %{_mandir}/man1/qemu.1*
1055 %{_mandir}/man1/virtfs-proxy-helper.1*
1056 %{_mandir}/man7/qemu-block-drivers.7*
1057 %{_mandir}/man8/qemu-nbd.8*
1059 %dir %{_datadir}/qemu
1060 %{_datadir}/%{name}/keymaps
1061 %{_datadir}/%{name}/qemu-icon.bmp
1062 %{_datadir}/%{name}/trace-events-all
1064 # various bios images
1065 # all should be probably moved to the right system subpackage
1066 %{_datadir}/%{name}/bamboo.dtb
1067 %{_datadir}/%{name}/efi-e1000e.rom
1068 %{_datadir}/%{name}/efi-e1000.rom
1069 %{_datadir}/%{name}/efi-eepro100.rom
1070 %{_datadir}/%{name}/efi-ne2k_pci.rom
1071 %{_datadir}/%{name}/efi-pcnet.rom
1072 %{_datadir}/%{name}/efi-rtl8139.rom
1073 %{_datadir}/%{name}/efi-virtio.rom
1074 %{_datadir}/%{name}/efi-vmxnet3.rom
1075 %{_datadir}/%{name}/kvmvapic.bin
1076 %{_datadir}/%{name}/linuxboot.bin
1077 %{_datadir}/%{name}/linuxboot_dma.bin
1078 %{_datadir}/%{name}/multiboot.bin
1079 %{_datadir}/%{name}/openbios-ppc
1080 %{_datadir}/%{name}/openbios-sparc*
1081 %{_datadir}/%{name}/palcode-clipper
1082 %{_datadir}/%{name}/petalogix-ml605.dtb
1083 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1084 %{_datadir}/%{name}/ppc_rom.bin
1085 %{_datadir}/%{name}/pxe-e1000.rom
1086 %{_datadir}/%{name}/pxe-eepro100.rom
1087 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1088 %{_datadir}/%{name}/pxe-pcnet.rom
1089 %{_datadir}/%{name}/pxe-rtl8139.rom
1090 %{_datadir}/%{name}/pxe-virtio.rom
1091 %{_datadir}/%{name}/QEMU,cgthree.bin
1092 %{_datadir}/%{name}/qemu_logo_no_text.svg
1093 %{_datadir}/%{name}/QEMU,tcx.bin
1094 %{_datadir}/%{name}/s390-ccw.img
1095 %{_datadir}/%{name}/sgabios.bin
1096 %{_datadir}/%{name}/skiboot.lid
1097 %{_datadir}/%{name}/slof.bin
1098 %{_datadir}/%{name}/spapr-rtas.bin
1099 %{_datadir}/%{name}/vgabios.bin
1100 %{_datadir}/%{name}/vgabios-cirrus.bin
1101 %{_datadir}/%{name}/vgabios-qxl.bin
1102 %{_datadir}/%{name}/vgabios-stdvga.bin
1103 %{_datadir}/%{name}/vgabios-virtio.bin
1104 %{_datadir}/%{name}/vgabios-vmware.bin
1106 %dir %{_libdir}/%{name}
1108 # modules without too many external dependencies
1109 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1110 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1112 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1113 %attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1114 %attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1115 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1116 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1117 %attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) %{_bindir}/qemu-img
1122 %{_mandir}/man1/qemu-img.1*
1125 %defattr(644,root,root,755)
1126 %attr(755,root,root) %{_bindir}/ivshmem-client
1127 %attr(755,root,root) %{_bindir}/ivshmem-server
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_bindir}/qemu-aarch64
1132 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1133 %attr(755,root,root) %{_bindir}/qemu-alpha
1134 %attr(755,root,root) %{_bindir}/qemu-arm
1135 %attr(755,root,root) %{_bindir}/qemu-armeb
1136 %attr(755,root,root) %{_bindir}/qemu-cris
1137 %attr(755,root,root) %{_bindir}/qemu-hppa
1138 %attr(755,root,root) %{_bindir}/qemu-i386
1139 %attr(755,root,root) %{_bindir}/qemu-io
1140 %attr(755,root,root) %{_bindir}/qemu-m68k
1141 %attr(755,root,root) %{_bindir}/qemu-microblaze
1142 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1143 %attr(755,root,root) %{_bindir}/qemu-mips
1144 %attr(755,root,root) %{_bindir}/qemu-mipsel
1145 %attr(755,root,root) %{_bindir}/qemu-mips64
1146 %attr(755,root,root) %{_bindir}/qemu-mips64el
1147 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1148 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1149 %attr(755,root,root) %{_bindir}/qemu-nios2
1150 %attr(755,root,root) %{_bindir}/qemu-or1k
1151 %attr(755,root,root) %{_bindir}/qemu-ppc
1152 %attr(755,root,root) %{_bindir}/qemu-ppc64
1153 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1154 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1155 %attr(755,root,root) %{_bindir}/qemu-riscv32
1156 %attr(755,root,root) %{_bindir}/qemu-riscv64
1157 %attr(755,root,root) %{_bindir}/qemu-s390x
1158 %attr(755,root,root) %{_bindir}/qemu-sh4
1159 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1160 %attr(755,root,root) %{_bindir}/qemu-sparc
1161 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1162 %attr(755,root,root) %{_bindir}/qemu-sparc64
1163 %attr(755,root,root) %{_bindir}/qemu-x86_64
1164 %attr(755,root,root) %{_bindir}/qemu-xtensa
1165 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1167 %if %{with user_static}
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1171 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1172 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1173 %attr(755,root,root) %{_bindir}/qemu-arm-static
1174 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1175 %attr(755,root,root) %{_bindir}/qemu-cris-static
1176 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1177 %attr(755,root,root) %{_bindir}/qemu-i386-static
1178 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1179 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1180 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1181 %attr(755,root,root) %{_bindir}/qemu-mips-static
1182 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1183 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1184 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1185 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1186 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1187 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1188 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1189 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1190 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1191 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1192 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1193 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1194 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1195 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1196 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1197 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1198 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1199 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1200 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1201 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1202 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1203 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1204 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1207 %files system-aarch64
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_bindir}/qemu-system-arm
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_bindir}/qemu-system-cris
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1226 %{_datadir}/%{name}/hppa-firmware.img
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1236 %files system-microblaze
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1239 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_bindir}/qemu-system-mips
1244 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1245 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1246 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1261 %defattr(644,root,root,755)
1262 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1263 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1264 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1265 %{_datadir}/%{name}/canyonlands.dtb
1266 %{_datadir}/%{name}/qemu_vga.ndrv
1267 %{_datadir}/%{name}/u-boot.e500
1268 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1270 %files system-riscv32
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1274 %files system-riscv64
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1281 %{_datadir}/%{name}/s390-netboot.img
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1286 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1291 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1293 %files system-tricore
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1297 %files system-unicore32
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_bindir}/qemu-system-i386
1304 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1305 %ifarch %{ix86} %{x8664} x32
1306 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1307 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1309 %{_datadir}/%{name}/bios.bin
1310 %{_datadir}/%{name}/bios-256k.bin
1312 %files system-xtensa
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1315 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1318 %defattr(644,root,root,755)
1319 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1320 %attr(755,root,root) %{_bindir}/qemu-ga
1321 %{_mandir}/man8/qemu-ga.8*
1323 %files module-block-curl
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1327 %if %{with glusterfs}
1328 %files module-block-gluster
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1334 %files module-block-iscsi
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1340 %files module-block-rbd
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1345 %files module-block-ssh
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so