3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_with gtk2 # GTK+ 2.x instead of 3.x
9 %bcond_without gtk3 # Do not build GTK+ UI
10 %bcond_without vte # VTE support in GTK+ UI
11 %bcond_without spice # SPICE support
12 %bcond_with esd # EsounD audio support
13 %bcond_without oss # OSS audio support
14 %bcond_without pulseaudio # PulseAudio audio support
15 %bcond_without xen # Xen backend driver support
16 %bcond_without bluetooth # bluetooth support
17 %bcond_without brlapi # brlapi support
18 %bcond_without smartcard # smartcard-nss support
19 %bcond_without iscsi # iscsi support
20 %bcond_without libnfs # NFS support
21 %bcond_without seccomp # seccomp support
22 %bcond_without usbredir # usb network redirection support
23 %bcond_without system_seabios # system seabios binary
24 %bcond_without snappy # snappy compression library
25 %bcond_without user_static # build linux-user static packages
26 %bcond_with lttng # lttng-ust trace backend support
27 %bcond_with systemtap # SystemTap/dtrace trace backend support
28 %bcond_with virgl # build virgl support
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 Source2: %{name}.binfmt
49 # Loads kvm kernel modules at boot
50 Source3: kvm-modules-load.conf
55 Source6: ksm.sysconfig
57 Source8: ksmtuned.service
59 Source10: ksmtuned.conf
60 Source11: %{name}-guest-agent.service
61 Source12: 99-%{name}-guest-agent.rules
62 Patch0: %{name}-cflags.patch
63 Patch1: %{name}-whitelist.patch
64 Patch2: %{name}-user-execve.patch
65 Patch3: %{name}-xattr.patch
66 Patch4: libjpeg-boolean.patch
68 URL: http://www.qemu-project.org/
69 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
70 %{?with_gl:BuildRequires: OpenGL-devel}
71 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
72 BuildRequires: alsa-lib-devel
73 BuildRequires: bcc >= 0.16.21-2
74 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
75 %{?with_brlapi:BuildRequires: brlapi-devel}
76 BuildRequires: bzip2-devel
77 %{?with_ceph:BuildRequires: ceph-devel}
78 BuildRequires: curl-devel
79 BuildRequires: cyrus-sasl-devel >= 2
80 %{?with_esd:BuildRequires: esound-devel}
81 BuildRequires: glib2-devel >= 1:2.22
82 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
83 BuildRequires: gnutls-devel > 2.10.0
84 BuildRequires: libaio-devel
85 %{?with_smartcard:BuildRequires: libcacard-devel}
86 BuildRequires: libcap-devel
87 BuildRequires: libcap-ng-devel
88 %{?with_gl:BuildRequires: libepoxy-devel}
89 BuildRequires: libfdt-devel >= 1.4.2
90 %{?with_rdma:BuildRequires: libibverbs-devel}
91 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
92 %{?with_rdma:BuildRequires: libibumad-devel}
93 BuildRequires: libjpeg-devel
94 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
95 BuildRequires: libpng-devel
96 %{?with_rdma:BuildRequires: librdmacm-devel}
97 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
98 BuildRequires: libssh2-devel >= 1.2.8
99 BuildRequires: libusb-devel >= 1.0.13
100 BuildRequires: libuuid-devel
101 %{?with_lttng:BuildRequires: lttng-ust-devel}
102 BuildRequires: lzo-devel >= 2
103 BuildRequires: ncurses-devel
104 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
105 BuildRequires: numactl-devel
106 BuildRequires: perl-Encode
107 BuildRequires: perl-tools-pod
108 BuildRequires: pixman-devel >= 0.21.8
109 BuildRequires: pkgconfig
110 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
111 BuildRequires: rpmbuild(macros) >= 1.644
112 %{?with_system_seabios:BuildRequires: seabios}
113 BuildRequires: sed >= 4.0
114 %{?with_snappy:BuildRequires: snappy-devel}
116 BuildRequires: spice-protocol >= 0.12.3
117 BuildRequires: spice-server-devel >= 0.12.0
119 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
120 BuildRequires: texi2html
121 BuildRequires: texinfo
122 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
123 %{?with_lttng:BuildRequires: userspace-rcu-devel}
124 BuildRequires: vde2-devel
126 %{?with_virgl:BuildRequires: virglrenderer-devel}
127 %{?with_xen:BuildRequires: xen-devel >= 3.4}
128 BuildRequires: xfsprogs-devel
129 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
130 BuildRequires: xorg-lib-libX11-devel
131 BuildRequires: zlib-devel
133 BuildRequires: gtk+2-devel >= 2:2.18.0
134 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
137 BuildRequires: gtk+3-devel >= 3.0.0
138 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
140 %if %{with user_static}
141 BuildRequires: glib2-static
142 BuildRequires: glibc-static
143 BuildRequires: pcre-static
144 BuildRequires: zlib-static
146 Requires: %{name}-img = %{version}-%{release}
147 Requires: %{name}-system-aarch64 = %{version}-%{release}
148 Requires: %{name}-system-alpha = %{version}-%{release}
149 Requires: %{name}-system-arm = %{version}-%{release}
150 Requires: %{name}-system-cris = %{version}-%{release}
151 Requires: %{name}-system-hppa = %{version}-%{release}
152 Requires: %{name}-system-lm32 = %{version}-%{release}
153 Requires: %{name}-system-m68k = %{version}-%{release}
154 Requires: %{name}-system-microblaze = %{version}-%{release}
155 Requires: %{name}-system-mips = %{version}-%{release}
156 Requires: %{name}-system-moxie = %{version}-%{release}
157 Requires: %{name}-system-nios2 = %{version}-%{release}
158 Requires: %{name}-system-or1k = %{version}-%{release}
159 Requires: %{name}-system-ppc = %{version}-%{release}
160 Requires: %{name}-system-riscv32 = %{version}-%{release}
161 Requires: %{name}-system-riscv64 = %{version}-%{release}
162 Requires: %{name}-system-s390x = %{version}-%{release}
163 Requires: %{name}-system-sh4 = %{version}-%{release}
164 Requires: %{name}-system-sparc = %{version}-%{release}
165 Requires: %{name}-system-tricore = %{version}-%{release}
166 Requires: %{name}-system-unicore32 = %{version}-%{release}
167 Requires: %{name}-system-x86 = %{version}-%{release}
168 Requires: %{name}-system-xtensa = %{version}-%{release}
169 Requires: %{name}-user = %{version}-%{release}
171 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
173 %define systempkg_req \
177 Requires: libfdt >= 1.4.2 \
178 %if %{with seccomp} \
179 Requires: libseccomp >= 2.1.0 \
181 Requires: libusb >= 1.0.13 \
182 Requires: pixman >= 0.21.8 \
183 %if %{with usbredir} \
184 Requires: usbredir >= 0.6 \
187 Requires: gtk+2 >= 2:2.18.0 \
188 %{?with_vte:Requires: vte0 >= 0.24.0} \
191 Requires: gtk+3 >= 3.0.0 \
192 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
195 # don't strip/chrpath anything in there; these are boot images, roms etc
196 %define _noautostrip .*%{_datadir}/qemu/.*
197 %define _noautochrpath .*%{_datadir}/qemu/.*
200 QEMU is a FAST! processor emulator. By using dynamic translation it
201 achieves a reasonnable speed while being easy to port on new host
202 CPUs. QEMU has two operating modes:
204 - User mode emulation. In this mode, QEMU can launch Linux processes
205 compiled for one CPU on another CPU. Linux system calls are converted
206 because of endianness and 32/64 bit mismatches. Wine (Windows
207 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
209 - Full system emulation. In this mode, QEMU emulates a full system,
210 including a processor and various peripherials. It can also be used to
211 provide virtual hosting of several virtual PC on a single server.
213 %description -l pl.UTF-8
214 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
215 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
216 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
218 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
219 procesy linuksowe skompilowane dla jednego procesora na innym
220 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
221 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
222 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
225 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
226 włączając w to procesor i różne urządzenia peryferyjne. Może być także
227 używane do wirtualnego hostowania kilku wirtualnych pecetów na
228 pojedynczym serwerze.
231 Summary: QEMU common files needed by all QEMU targets
232 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
233 Group: Development/Tools
234 Requires(post,preun,postun): systemd-units >= 38
235 Requires(postun): /usr/sbin/groupdel
236 Requires(postun): /usr/sbin/userdel
237 Requires(pre): /bin/id
238 Requires(pre): /usr/bin/getgid
239 Requires(pre): /usr/sbin/groupadd
240 Requires(pre): /usr/sbin/useradd
241 Requires: glib2 >= 1:2.22
242 %{?with_libnfs:Requires: libnfs >= 1.9.3}
243 Requires: libssh2 >= 1.2.8
244 Requires: systemd-units >= 38
245 Provides: group(qemu)
247 Obsoletes: qemu-kvm-common
248 Conflicts: qemu < 1.0-2
251 QEMU is a generic and open source processor emulator which achieves a
252 good emulation speed by using dynamic translation.
254 This package provides the common files needed by all QEMU targets.
256 %description common -l pl.UTF-8
257 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
258 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
260 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
264 Summary: QEMU command line tool for manipulating disk images
265 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
266 Group: Development/Tools
267 Obsoletes: qemu-kvm-img
268 Conflicts: qemu < 1.0-2
271 This package provides a command line tool for manipulating disk
274 %description img -l pl.UTF-8
275 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
279 Summary: QEMU user mode emulation of qemu targets
280 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
281 Group: Development/Tools
282 Requires: %{name}-common = %{version}-%{release}
283 Requires(post,postun): systemd-units >= 38
284 Requires: systemd-units >= 38
285 Obsoletes: qemu-kvm-user
288 QEMU is a generic and open source processor emulator which achieves a
289 good emulation speed by using dynamic translation.
291 This package provides the user mode emulation of QEMU targets.
293 %description user -l pl.UTF-8
294 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
295 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
297 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
300 Summary: QEMU user mode emulation of qemu targets static build
301 Group: Development/Tools
302 Requires(post,postun): systemd-units >= 38
303 Requires: systemd-units >= 38
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(post,preun,postun): systemd-units >= 38
750 Requires: glib2 >= 1:2.22
751 Requires: systemd-units >= 38
752 Obsoletes: qemu-kvm-guest-agent
754 %description guest-agent
755 QEMU is a generic and open source processor emulator which achieves a
756 good emulation speed by using dynamic translation.
758 This package provides an agent to run inside guests, which
759 communicates with the host over a virtio-serial channel named
760 "org.qemu.guest_agent.0".
762 This package does not need to be installed on the host OS.
764 %description guest-agent -l pl.UTF-8
765 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
766 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
768 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
769 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
770 "org.qemu.guest_agent.0".
772 Ten pakiet nie musi być zainstalowany w systemie hosta.
774 %package module-block-curl
775 Summary: QEMU module for 'curl' block devices
776 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
777 Group: Development/Tools
778 Requires: %{name}-common = %{version}-%{release}
780 %description module-block-curl
781 'curl' block device support for QEMU.
783 %description module-block-curl -l pl.UTF-8
784 Moduł QEMU dla urządeń blokowych typu 'curl'.
786 %package module-block-gluster
787 Summary: QEMU module for 'gluster' block devices
788 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
789 Group: Development/Tools
790 Requires: %{name}-common = %{version}-%{release}
791 Requires: glusterfs-libs >= 3.4
793 %description module-block-gluster
794 'gluster' block device support for QEMU.
796 %description module-block-gluster -l pl.UTF-8
797 Moduł QEMU dla urządeń blokowych typu 'gluster'.
799 %package module-block-iscsi
800 Summary: QEMU module for 'iscsi' block devices
801 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
802 Group: Development/Tools
803 Requires: %{name}-common = %{version}-%{release}
804 Requires: libiscsi >= 1.9.0
806 %description module-block-iscsi
807 'iscsi' block device support for QEMU.
809 %description module-block-iscsi -l pl.UTF-8
810 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
812 %package module-block-rbd
813 Summary: QEMU module for 'rbd' block devices
814 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
815 Group: Development/Tools
816 Requires: %{name}-common = %{version}-%{release}
818 %description module-block-rbd
819 'rbd' block device support for QEMU.
821 %description module-block-rbd -l pl.UTF-8
822 Moduł QEMU dla urządeń blokowych typu 'rbd'.
824 %package module-block-ssh
825 Summary: QEMU module for 'ssh' block devices
826 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
827 Group: Development/Tools
828 Requires: %{name}-common = %{version}-%{release}
830 %description module-block-ssh
831 'ssh' block device support for QEMU.
833 %description module-block-ssh -l pl.UTF-8
834 Moduł QEMU dla urządeń blokowych typu 'ssh'.
845 # workaround for conflict with alsa/error.h
846 ln -s ../error.h qapi/error.h
854 install -d build-$target
858 --prefix=%{_prefix} \
859 --libdir=%{_libdir} \
860 --libexecdir=%{_libexecdir} \
861 --sysconfdir=%{_sysconfdir} \
862 --localstatedir=%{_localstatedir} \
863 --interp-prefix=%{_libdir}/qemu/lib-%%M \
865 --host-cc="%{__cc}" \
867 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
873 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
879 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
880 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
882 %{__enable_disable bluetooth bluez} \
883 %{__enable_disable brlapi} \
889 %{__enable_disable glusterfs} \
890 %{__enable_disable iscsi libiscsi} \
891 %{__enable_disable ceph rbd} \
892 %{__enable_disable rdma} \
893 %{__enable_disable sdl} \
895 %{__enable_disable seccomp} \
896 %{__enable_disable spice} \
897 %{__enable_disable smartcard smartcard} \
899 %{__enable_disable usbredir usb-redir} \
905 %{!?with_vte:--disable-vte} \
906 %{__enable_disable virgl virglrenderer} \
907 %{__enable_disable xen} \
910 %{__enable_disable libnfs} \
912 %{__enable_disable snappy} \
913 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
914 %if %{without gtk2} && %{without gtk3}
917 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
920 %if %{with user_static}
929 --disable-guest-agent \
930 --disable-guest-agent-msi \
944 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
947 rm -rf $RPM_BUILD_ROOT
948 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
949 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
950 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
952 %if %{with user_static}
953 %{__make} -C build-static install \
954 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
955 DESTDIR=$RPM_BUILD_ROOT
957 # Give all QEMU user emulators a -static suffix
958 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
964 %{__make} -C build-dynamic install \
965 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
966 DESTDIR=$RPM_BUILD_ROOT
968 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
970 install -d $RPM_BUILD_ROOT%{_sysconfdir}
971 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
976 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
978 %ifarch %{ix86} %{x8664} x32
979 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
980 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
983 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
984 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
985 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
987 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
988 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
989 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
991 # For the qemu-guest-agent subpackage install the systemd
992 # service and udev rules.
993 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
994 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
998 %ifnarch %{ix86} %{x8664} x32
1009 qemu-microblaze qemu-microblazeel \
1025 %ifnarch ppc ppc64 ppc64le
1026 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
1028 %ifnarch sparc sparc64
1029 qemu-sparc qemu-sparc32plus qemu-sparc64 \
1039 test $i = dummy && continue
1040 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
1042 %if %{with user_static}
1043 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1044 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
1049 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1051 %if %{with system_seabios}
1052 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1053 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1054 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1056 if [ -e "/usr/share/seabios/$bn" ] ; then
1057 ln -sf "/usr/share/seabios/$bn" "$f"
1062 %if %{with gtk2} || %{with gtk3}
1063 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1064 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1071 rm -rf $RPM_BUILD_ROOT
1074 %groupadd -g 160 kvm
1075 %groupadd -g 276 qemu
1076 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1079 %systemd_post ksm.service
1080 %systemd_post ksmtuned.service
1083 %systemd_preun ksm.service
1084 %systemd_preun ksmtuned.service
1087 if [ "$1" = "0" ]; then
1094 %triggerpostun common -- qemu-common < 1.6.1-4
1095 %systemd_trigger ksm.service
1096 %systemd_trigger ksmtuned.service
1099 %systemd_service_restart systemd-binfmt.service
1102 %systemd_service_restart systemd-binfmt.service
1105 %systemd_service_restart systemd-binfmt.service
1108 %systemd_service_restart systemd-binfmt.service
1114 %systemd_preun qemu-guest-agent.service
1120 %defattr(644,root,root,755)
1122 %files common -f %{name}.lang
1123 %defattr(644,root,root,755)
1125 %doc build-dynamic/qemu-doc.html
1126 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1127 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1128 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1129 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1131 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1132 %{systemdunitdir}/ksm.service
1133 %{systemdunitdir}/ksmtuned.service
1134 %attr(755,root,root) %{_bindir}/ivshmem-client
1135 %attr(755,root,root) %{_bindir}/ivshmem-server
1136 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1137 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1138 %attr(755,root,root) %{_bindir}/qemu-nbd
1139 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1140 %attr(755,root,root) %{_bindir}/qemu-tilegx
1141 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1142 %attr(755,root,root) %{_sbindir}/ksmctl
1143 %attr(755,root,root) %{_sbindir}/ksmtuned
1144 %{_mandir}/man1/qemu.1*
1145 %{_mandir}/man1/virtfs-proxy-helper.1*
1146 %{_mandir}/man7/qemu-block-drivers.7*
1147 %{_mandir}/man8/qemu-nbd.8*
1149 %dir %{_datadir}/qemu
1150 %{_datadir}/%{name}/keymaps
1151 %{_datadir}/%{name}/qemu-icon.bmp
1152 %{_datadir}/%{name}/trace-events-all
1154 # various bios images
1155 # all should be probably moved to the right system subpackage
1156 %{_datadir}/%{name}/bamboo.dtb
1157 %{_datadir}/%{name}/efi-e1000e.rom
1158 %{_datadir}/%{name}/efi-e1000.rom
1159 %{_datadir}/%{name}/efi-eepro100.rom
1160 %{_datadir}/%{name}/efi-ne2k_pci.rom
1161 %{_datadir}/%{name}/efi-pcnet.rom
1162 %{_datadir}/%{name}/efi-rtl8139.rom
1163 %{_datadir}/%{name}/efi-virtio.rom
1164 %{_datadir}/%{name}/efi-vmxnet3.rom
1165 %{_datadir}/%{name}/kvmvapic.bin
1166 %{_datadir}/%{name}/linuxboot.bin
1167 %{_datadir}/%{name}/linuxboot_dma.bin
1168 %{_datadir}/%{name}/multiboot.bin
1169 %{_datadir}/%{name}/openbios-ppc
1170 %{_datadir}/%{name}/openbios-sparc*
1171 %{_datadir}/%{name}/palcode-clipper
1172 %{_datadir}/%{name}/petalogix-ml605.dtb
1173 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1174 %{_datadir}/%{name}/ppc_rom.bin
1175 %{_datadir}/%{name}/pxe-e1000.rom
1176 %{_datadir}/%{name}/pxe-eepro100.rom
1177 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1178 %{_datadir}/%{name}/pxe-pcnet.rom
1179 %{_datadir}/%{name}/pxe-rtl8139.rom
1180 %{_datadir}/%{name}/pxe-virtio.rom
1181 %{_datadir}/%{name}/QEMU,cgthree.bin
1182 %{_datadir}/%{name}/qemu_logo_no_text.svg
1183 %{_datadir}/%{name}/QEMU,tcx.bin
1184 %{_datadir}/%{name}/s390-ccw.img
1185 %{_datadir}/%{name}/sgabios.bin
1186 %{_datadir}/%{name}/skiboot.lid
1187 %{_datadir}/%{name}/slof.bin
1188 %{_datadir}/%{name}/spapr-rtas.bin
1189 %{_datadir}/%{name}/vgabios.bin
1190 %{_datadir}/%{name}/vgabios-cirrus.bin
1191 %{_datadir}/%{name}/vgabios-qxl.bin
1192 %{_datadir}/%{name}/vgabios-stdvga.bin
1193 %{_datadir}/%{name}/vgabios-virtio.bin
1194 %{_datadir}/%{name}/vgabios-vmware.bin
1196 %dir %{_libdir}/%{name}
1198 # modules without too many external dependencies
1199 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1200 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1202 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1203 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1204 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1205 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1206 %if %{with gtk2} || %{with gtk3}
1207 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1209 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_bindir}/qemu-img
1214 %{_mandir}/man1/qemu-img.1*
1217 %defattr(644,root,root,755)
1218 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1219 %attr(755,root,root) %{_bindir}/qemu-aarch64
1220 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1221 %attr(755,root,root) %{_bindir}/qemu-alpha
1222 %attr(755,root,root) %{_bindir}/qemu-arm
1223 %attr(755,root,root) %{_bindir}/qemu-armeb
1224 %attr(755,root,root) %{_bindir}/qemu-cris
1225 %attr(755,root,root) %{_bindir}/qemu-hppa
1226 %attr(755,root,root) %{_bindir}/qemu-i386
1227 %attr(755,root,root) %{_bindir}/qemu-io
1228 %attr(755,root,root) %{_bindir}/qemu-m68k
1229 %attr(755,root,root) %{_bindir}/qemu-microblaze
1230 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1231 %attr(755,root,root) %{_bindir}/qemu-mips
1232 %attr(755,root,root) %{_bindir}/qemu-mipsel
1233 %attr(755,root,root) %{_bindir}/qemu-mips64
1234 %attr(755,root,root) %{_bindir}/qemu-mips64el
1235 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1236 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1237 %attr(755,root,root) %{_bindir}/qemu-nios2
1238 %attr(755,root,root) %{_bindir}/qemu-or1k
1239 %attr(755,root,root) %{_bindir}/qemu-ppc
1240 %attr(755,root,root) %{_bindir}/qemu-ppc64
1241 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1242 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1243 %attr(755,root,root) %{_bindir}/qemu-riscv32
1244 %attr(755,root,root) %{_bindir}/qemu-riscv64
1245 %attr(755,root,root) %{_bindir}/qemu-s390x
1246 %attr(755,root,root) %{_bindir}/qemu-sh4
1247 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1248 %attr(755,root,root) %{_bindir}/qemu-sparc
1249 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1250 %attr(755,root,root) %{_bindir}/qemu-sparc64
1251 %attr(755,root,root) %{_bindir}/qemu-x86_64
1252 %attr(755,root,root) %{_bindir}/qemu-xtensa
1253 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1255 %if %{with user_static}
1257 %defattr(644,root,root,755)
1258 /usr/lib/binfmt.d/qemu-*-static.conf
1259 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1260 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1261 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1262 %attr(755,root,root) %{_bindir}/qemu-arm-static
1263 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1264 %attr(755,root,root) %{_bindir}/qemu-cris-static
1265 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1266 %attr(755,root,root) %{_bindir}/qemu-i386-static
1267 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1268 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1269 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1270 %attr(755,root,root) %{_bindir}/qemu-mips-static
1271 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1272 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1273 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1274 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1275 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1276 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1277 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1278 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1279 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1280 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1281 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1282 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1283 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1284 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1285 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1286 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1287 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1288 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1289 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1290 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1291 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1292 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1293 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1296 %files system-aarch64
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_bindir}/qemu-system-arm
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_bindir}/qemu-system-cris
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1315 %{_datadir}/%{name}/hppa-firmware.img
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1325 %files system-microblaze
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1328 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_bindir}/qemu-system-mips
1333 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1334 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1335 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1352 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1353 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1354 %{_datadir}/%{name}/canyonlands.dtb
1355 %{_datadir}/%{name}/qemu_vga.ndrv
1356 %{_datadir}/%{name}/u-boot.e500
1357 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1359 %files system-riscv32
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1363 %files system-riscv64
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1370 %{_datadir}/%{name}/s390-netboot.img
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1375 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1380 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1382 %files system-tricore
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1386 %files system-unicore32
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_bindir}/qemu-system-i386
1393 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1394 %ifarch %{ix86} %{x8664} x32
1395 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1396 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1398 %{_datadir}/%{name}/bios.bin
1399 %{_datadir}/%{name}/bios-256k.bin
1401 %files system-xtensa
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1404 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1407 %defattr(644,root,root,755)
1408 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1409 %{systemdunitdir}/qemu-guest-agent.service
1410 %attr(755,root,root) %{_bindir}/qemu-ga
1411 %{_mandir}/man8/qemu-ga.8*
1413 %files module-block-curl
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1417 %if %{with glusterfs}
1418 %files module-block-gluster
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1424 %files module-block-iscsi
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1430 %files module-block-rbd
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1435 %files module-block-ssh
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so