3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_without gtk3 # Do not build GTK+ UI
9 %bcond_without vte # VTE support in GTK+ UI
10 %bcond_without spice # SPICE support
11 %bcond_with esd # EsounD audio support
12 %bcond_without oss # OSS audio support
13 %bcond_without pulseaudio # PulseAudio audio support
14 %bcond_without xen # Xen backend driver support
15 %bcond_without bluetooth # bluetooth support
16 %bcond_with brlapi # brlapi support
17 %bcond_without smartcard # smartcard-nss support
18 %bcond_without iscsi # iscsi support
19 %bcond_without libnfs # NFS support
20 %bcond_without seccomp # seccomp support
21 %bcond_without usbredir # usb network redirection support
22 %bcond_without system_seabios # system seabios binary
23 %bcond_without snappy # snappy compression library
24 %bcond_without user_static # build linux-user static packages
25 %bcond_with lttng # lttng-ust trace backend support
26 %bcond_with systemtap # SystemTap/dtrace trace backend support
27 %bcond_with virgl # build virgl support
28 %bcond_without xkbcommon # xkbcommon support
34 # ceph >= 14.0 no longer support 32-bit archs
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: 0afeca336fd57ae3d3086ec07f59d708
48 # Loads kvm kernel modules at boot
49 Source3: kvm-modules-load.conf
53 Source6: ksm.sysconfig
56 Source10: ksmtuned.conf
57 Patch0: %{name}-cflags.patch
58 Patch1: %{name}-whitelist.patch
59 Patch2: %{name}-user-execve.patch
60 Patch3: %{name}-xattr.patch
61 Patch4: libjpeg-boolean.patch
63 URL: http://www.qemu-project.org/
64 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
65 %{?with_gl:BuildRequires: OpenGL-devel}
66 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
67 BuildRequires: alsa-lib-devel
68 BuildRequires: bcc >= 0.16.21-2
69 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
70 %{?with_brlapi:BuildRequires: brlapi-devel}
71 BuildRequires: bzip2-devel
72 %{?with_ceph:BuildRequires: ceph-devel}
73 BuildRequires: curl-devel
74 BuildRequires: cyrus-sasl-devel >= 2
75 %{?with_esd:BuildRequires: esound-devel}
76 BuildRequires: glib2-devel >= 1:2.22
77 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
78 BuildRequires: gnutls-devel >= 3.1.18
79 BuildRequires: libaio-devel
80 %{?with_smartcard:BuildRequires: libcacard-devel}
81 BuildRequires: libcap-devel
82 BuildRequires: libcap-ng-devel
83 %{?with_gl:BuildRequires: libepoxy-devel}
84 BuildRequires: libfdt-devel >= 1.4.2
85 %{?with_rdma:BuildRequires: libibverbs-devel}
86 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
87 %{?with_rdma:BuildRequires: libibumad-devel}
88 BuildRequires: libjpeg-devel
89 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
90 BuildRequires: libpng-devel
91 %{?with_rdma:BuildRequires: librdmacm-devel}
92 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.2.0}
93 BuildRequires: libssh2-devel >= 1.2.8
94 BuildRequires: libusb-devel >= 1.0.13
95 BuildRequires: libuuid-devel
96 %{?with_lttng:BuildRequires: lttng-ust-devel}
97 BuildRequires: lzo-devel >= 2
98 BuildRequires: ncurses-devel
99 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
100 BuildRequires: numactl-devel
101 BuildRequires: perl-Encode
102 BuildRequires: perl-tools-pod
103 BuildRequires: pixman-devel >= 0.21.8
104 BuildRequires: pkgconfig
105 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
106 BuildRequires: rpmbuild(macros) >= 1.644
107 %{?with_system_seabios:BuildRequires: seabios}
108 BuildRequires: sed >= 4.0
109 %{?with_snappy:BuildRequires: snappy-devel}
111 BuildRequires: spice-protocol >= 0.12.3
112 BuildRequires: spice-server-devel >= 0.12.0
114 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
115 BuildRequires: texi2html
116 BuildRequires: texinfo
117 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
118 %{?with_lttng:BuildRequires: userspace-rcu-devel}
119 BuildRequires: vde2-devel
121 %{?with_virgl:BuildRequires: virglrenderer-devel}
122 %{?with_xen:BuildRequires: xen-devel >= 3.4}
123 BuildRequires: xfsprogs-devel
124 %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
125 BuildRequires: xorg-lib-libX11-devel
126 BuildRequires: zlib-devel
128 BuildRequires: gtk+3-devel >= 3.14.0
129 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
131 %if %{with user_static}
132 BuildRequires: glib2-static
133 BuildRequires: glibc-static
134 BuildRequires: pcre-static
135 BuildRequires: zlib-static
137 Requires: %{name}-img = %{version}-%{release}
138 Requires: %{name}-system-aarch64 = %{version}-%{release}
139 Requires: %{name}-system-alpha = %{version}-%{release}
140 Requires: %{name}-system-arm = %{version}-%{release}
141 Requires: %{name}-system-cris = %{version}-%{release}
142 Requires: %{name}-system-hppa = %{version}-%{release}
143 Requires: %{name}-system-lm32 = %{version}-%{release}
144 Requires: %{name}-system-m68k = %{version}-%{release}
145 Requires: %{name}-system-microblaze = %{version}-%{release}
146 Requires: %{name}-system-mips = %{version}-%{release}
147 Requires: %{name}-system-moxie = %{version}-%{release}
148 Requires: %{name}-system-nios2 = %{version}-%{release}
149 Requires: %{name}-system-or1k = %{version}-%{release}
150 Requires: %{name}-system-ppc = %{version}-%{release}
151 Requires: %{name}-system-riscv32 = %{version}-%{release}
152 Requires: %{name}-system-riscv64 = %{version}-%{release}
153 Requires: %{name}-system-s390x = %{version}-%{release}
154 Requires: %{name}-system-sh4 = %{version}-%{release}
155 Requires: %{name}-system-sparc = %{version}-%{release}
156 Requires: %{name}-system-tricore = %{version}-%{release}
157 Requires: %{name}-system-unicore32 = %{version}-%{release}
158 Requires: %{name}-system-x86 = %{version}-%{release}
159 Requires: %{name}-system-xtensa = %{version}-%{release}
160 Requires: %{name}-user = %{version}-%{release}
162 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
164 %define systempkg_req \
168 Requires: libfdt >= 1.4.2 \
169 %if %{with seccomp} \
170 Requires: libseccomp >= 2.2.0 \
172 Requires: libusb >= 1.0.13 \
173 Requires: pixman >= 0.21.8 \
174 %if %{with usbredir} \
175 Requires: usbredir >= 0.6 \
178 Requires: gtk+3 >= 3.14.0 \
179 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
182 # don't strip/chrpath anything in there; these are boot images, roms etc
183 %define _noautostrip .*%{_datadir}/qemu/.*
184 %define _noautochrpath .*%{_datadir}/qemu/.*
187 QEMU is a FAST! processor emulator. By using dynamic translation it
188 achieves a reasonnable speed while being easy to port on new host
189 CPUs. QEMU has two operating modes:
191 - User mode emulation. In this mode, QEMU can launch Linux processes
192 compiled for one CPU on another CPU. Linux system calls are converted
193 because of endianness and 32/64 bit mismatches. Wine (Windows
194 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
196 - Full system emulation. In this mode, QEMU emulates a full system,
197 including a processor and various peripherials. It can also be used to
198 provide virtual hosting of several virtual PC on a single server.
200 %description -l pl.UTF-8
201 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
202 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
203 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
205 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
206 procesy linuksowe skompilowane dla jednego procesora na innym
207 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
208 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
209 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
212 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
213 włączając w to procesor i różne urządzenia peryferyjne. Może być także
214 używane do wirtualnego hostowania kilku wirtualnych pecetów na
215 pojedynczym serwerze.
218 Summary: QEMU common files needed by all QEMU targets
219 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
220 Group: Development/Tools
221 Requires(postun): /usr/sbin/groupdel
222 Requires(postun): /usr/sbin/userdel
223 Requires(pre): /bin/id
224 Requires(pre): /usr/bin/getgid
225 Requires(pre): /usr/sbin/groupadd
226 Requires(pre): /usr/sbin/useradd
227 Requires: glib2 >= 1:2.22
228 %{?with_libnfs:Requires: libnfs >= 1.9.3}
229 Requires: libssh2 >= 1.2.8
230 Provides: group(qemu)
232 Obsoletes: qemu-kvm-common
233 Conflicts: qemu < 1.0-2
236 QEMU is a generic and open source processor emulator which achieves a
237 good emulation speed by using dynamic translation.
239 This package provides the common files needed by all QEMU targets.
241 %description common -l pl.UTF-8
242 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
243 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
245 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
249 Summary: QEMU command line tool for manipulating disk images
250 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
251 Group: Development/Tools
252 Obsoletes: qemu-kvm-img
253 Conflicts: qemu < 1.0-2
256 This package provides a command line tool for manipulating disk
259 %description img -l pl.UTF-8
260 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
264 Summary: Client and server for QEMU ivshmem device
265 Summary(pl.UTF-8): Klient i serwer dla urządzeia ivshmem QEMU
266 Group: Development/Tools
269 This package provides client and server tools for QEMU's ivshmem
272 %description ivshmem -l pl.UTF-8
273 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
274 urządzenia ivshmem QEMU.
277 Summary: QEMU user mode emulation of qemu targets
278 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
279 Group: Development/Tools
280 Requires: %{name}-common = %{version}-%{release}
281 Obsoletes: qemu-kvm-user
284 QEMU is a generic and open source processor emulator which achieves a
285 good emulation speed by using dynamic translation.
287 This package provides the user mode emulation of QEMU targets.
289 %description user -l pl.UTF-8
290 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
291 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
293 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
296 Summary: QEMU user mode emulation of qemu targets static build
297 Group: Development/Tools
299 %description user-static
300 QEMU is a generic and open source processor emulator which achieves a
301 good emulation speed by using dynamic translation.
303 This package provides the user mode emulation of qemu targets built as
306 %package system-aarch64
307 Summary: QEMU system emulator for AArch64
308 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
309 Group: Development/Tools
310 Requires: %{name}-common = %{version}-%{release}
312 Obsoletes: qemu-kvm-system-aarch64
314 %description system-aarch64
315 QEMU is a generic and open source processor emulator which achieves a
316 good emulation speed by using dynamic translation.
318 This package provides the system emulator with AArch64 CPU.
320 %description system-aarch64 -l pl.UTF-8
321 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
322 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
324 Ten pakiet zawiera emulator systemu z procesorem AArch64.
326 %package system-alpha
327 Summary: QEMU system emulator for Alpha
328 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
329 Group: Development/Tools
330 Requires: %{name}-common = %{version}-%{release}
332 Obsoletes: qemu-kvm-system-alpha
334 %description system-alpha
335 QEMU is a generic and open source processor emulator which achieves a
336 good emulation speed by using dynamic translation.
338 This package provides the system emulator with Alpha CPU.
340 %description system-alpha -l pl.UTF-8
341 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
342 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
344 Ten pakiet zawiera emulator systemu z procesorem Alpha.
347 Summary: QEMU system emulator for ARM
348 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
349 Group: Development/Tools
350 Requires: %{name}-common = %{version}-%{release}
352 Obsoletes: qemu-kvm-system-arm
354 %description system-arm
355 QEMU is a generic and open source processor emulator which achieves a
356 good emulation speed by using dynamic translation.
358 This package provides the system emulator for ARM.
360 %description system-arm -l pl.UTF-8
361 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
362 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
364 Ten pakiet zawiera emulator systemu z procesorem ARM.
367 Summary: QEMU system emulator for CRIS
368 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
369 Group: Development/Tools
370 Requires: %{name}-common = %{version}-%{release}
372 Obsoletes: qemu-kvm-system-cris
374 %description system-cris
375 QEMU is a generic and open source processor emulator which achieves a
376 good emulation speed by using dynamic translation.
378 This package provides the system emulator with CRIS CPU.
380 %description system-cris -l pl.UTF-8
381 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
382 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
384 Ten pakiet zawiera emulator systemu z procesorem CRIS.
387 Summary: QEMU system emulator for HP/PA
388 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
389 Group: Development/Tools
390 Requires: %{name}-common = %{version}-%{release}
393 %description system-hppa
394 QEMU is a generic and open source processor emulator which achieves a
395 good emulation speed by using dynamic translation.
397 This package provides the system emulator with HP/PA CPU.
399 %description system-hppa -l pl.UTF-8
400 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
401 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
403 Ten pakiet zawiera emulator systemu z procesorem HP/PA.
406 Summary: QEMU system emulator for LM32
407 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
408 Group: Development/Tools
409 Requires: %{name}-common = %{version}-%{release}
411 Obsoletes: qemu-kvm-system-lm32
413 %description system-lm32
414 QEMU is a generic and open source processor emulator which achieves a
415 good emulation speed by using dynamic translation.
417 This package provides the system emulator with LM32 CPU.
419 %description system-lm32 -l pl.UTF-8
420 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
421 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
423 Ten pakiet zawiera emulator systemu z procesorem LM32.
426 Summary: QEMU system emulator for m68k
427 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
428 Group: Development/Tools
429 Requires: %{name}-common = %{version}-%{release}
431 Obsoletes: qemu-kvm-system-m68k
433 %description system-m68k
434 QEMU is a generic and open source processor emulator which achieves a
435 good emulation speed by using dynamic translation.
437 This package provides the system emulator with m68k CPU.
439 %description system-m68k -l pl.UTF-8
440 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
441 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
443 Ten pakiet zawiera emulator systemu z procesorem m68k.
445 %package system-microblaze
446 Summary: QEMU system emulator for MicroBlaze
447 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
448 Group: Development/Tools
449 Requires: %{name}-common = %{version}-%{release}
451 Obsoletes: qemu-kvm-system-microblaze
453 %description system-microblaze
454 QEMU is a generic and open source processor emulator which achieves a
455 good emulation speed by using dynamic translation.
457 This package provides the system emulator with MicroBlaze CPU.
459 %description system-microblaze -l pl.UTF-8
460 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
461 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
463 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
466 Summary: QEMU system emulator for MIPS
467 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
468 Group: Development/Tools
469 Requires: %{name}-common = %{version}-%{release}
471 Obsoletes: qemu-kvm-system-mips
473 %description system-mips
474 QEMU is a generic and open source processor emulator which achieves a
475 good emulation speed by using dynamic translation.
477 This package provides the system emulator with MIPS CPU.
479 %description system-mips -l pl.UTF-8
480 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
481 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
483 Ten pakiet zawiera emulator systemu z procesorem MIPS.
485 %package system-moxie
486 Summary: QEMU system emulator for Moxie
487 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
488 Group: Development/Tools
489 Requires: %{name}-common = %{version}-%{release}
492 %description system-moxie
493 QEMU is a generic and open source processor emulator which achieves a
494 good emulation speed by using dynamic translation.
496 This package provides the system emulator with Moxie CPU.
498 %description system-moxie -l pl.UTF-8
499 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
500 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
502 Ten pakiet zawiera emulator systemu z procesorem Moxie.
504 %package system-nios2
505 Summary: QEMU system emulator for Nios II
506 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
507 Group: Development/Tools
508 Requires: %{name}-common = %{version}-%{release}
511 %description system-nios2
512 QEMU is a generic and open source processor emulator which achieves a
513 good emulation speed by using dynamic translation.
515 This package provides the system emulator with Nios II CPU.
517 %description system-nios2 -l pl.UTF-8
518 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
519 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
521 Ten pakiet zawiera emulator systemu z procesorem Nios II.
524 Summary: QEMU system emulator for OpenRISC
525 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
526 Group: Development/Tools
527 Requires: %{name}-common = %{version}-%{release}
529 Obsoletes: qemu-kvm-system-or1k
530 Obsoletes: qemu-system-or32
532 %description system-or1k
533 QEMU is a generic and open source processor emulator which achieves a
534 good emulation speed by using dynamic translation.
536 This package provides the system emulator with OpenRISC CPU.
538 %description system-or1k -l pl.UTF-8
539 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
540 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
542 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
545 Summary: QEMU system emulator for PowerPC
546 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
547 Group: Development/Tools
548 Requires: %{name}-common = %{version}-%{release}
550 Obsoletes: qemu-kvm-system-ppc
552 %description system-ppc
553 QEMU is a generic and open source processor emulator which achieves a
554 good emulation speed by using dynamic translation.
556 This package provides the system emulator with PowerPC CPU.
558 %description system-ppc -l pl.UTF-8
559 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
560 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
562 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
564 %package system-riscv32
565 Summary: QEMU system emulator for RISC-V (32 bit)
566 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
567 Group: Development/Tools
568 Requires: %{name}-common = %{version}-%{release}
571 %description system-riscv32
572 QEMU is a generic and open source processor emulator which achieves a
573 good emulation speed by using dynamic translation.
575 This package provides the system emulator with RISC-V (32 bit) CPU.
577 %description system-riscv32 -l pl.UTF-8
578 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
579 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
581 Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
583 %package system-riscv64
584 Summary: QEMU system emulator for RISC-V (64 bit)
585 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
586 Group: Development/Tools
587 Requires: %{name}-common = %{version}-%{release}
590 %description system-riscv64
591 QEMU is a generic and open source processor emulator which achieves a
592 good emulation speed by using dynamic translation.
594 This package provides the system emulator with RISC-V (64 bit) CPU.
596 %description system-riscv64 -l pl.UTF-8
597 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
598 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
600 Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
602 %package system-s390x
603 Summary: QEMU system emulator for S390
604 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
605 Group: Development/Tools
606 Requires: %{name}-common = %{version}-%{release}
608 Obsoletes: qemu-kvm-system-s390x
610 %description system-s390x
611 QEMU is a generic and open source processor emulator which achieves a
612 good emulation speed by using dynamic translation.
614 This package provides the system emulator with S390 CPU.
616 %description system-s390x -l pl.UTF-8
617 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
618 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
620 Ten pakiet zawiera emulator systemu z procesorem S390.
623 Summary: QEMU system emulator for SH4
624 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
625 Group: Development/Tools
626 Requires: %{name}-common = %{version}-%{release}
628 Obsoletes: qemu-kvm-system-sh4
630 %description system-sh4
631 QEMU is a generic and open source processor emulator which achieves a
632 good emulation speed by using dynamic translation.
634 This package provides the system emulator with SH4 CPU.
636 %description system-sh4 -l pl.UTF-8
637 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
638 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
640 Ten pakiet zawiera emulator systemu z procesorem SH4.
642 %package system-sparc
643 Summary: QEMU system emulator for SPARC
644 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
645 Group: Development/Tools
646 Requires: %{name}-common = %{version}-%{release}
648 Obsoletes: qemu-kvm-system-sparc
650 %description system-sparc
651 QEMU is a generic and open source processor emulator which achieves a
652 good emulation speed by using dynamic translation.
654 This package provides the system emulator with SPARC/SPARC64 CPU.
656 %description system-sparc -l pl.UTF-8
657 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
658 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
660 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
662 %package system-tricore
663 Summary: QEMU system emulator for TriCore
664 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
665 Group: Development/Tools
666 Requires: %{name}-common = %{version}-%{release}
669 %description system-tricore
670 QEMU is a generic and open source processor emulator which achieves a
671 good emulation speed by using dynamic translation.
673 This package provides the system emulator with TriCore CPU.
675 %description system-sparc -l pl.UTF-8
676 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
677 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
679 Ten pakiet zawiera emulator systemu z procesorem TriCore.
681 %package system-unicore32
682 Summary: QEMU system emulator for UniCore32
683 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
684 Group: Development/Tools
685 Requires: %{name}-common = %{version}-%{release}
687 Obsoletes: qemu-kvm-system-unicore32
689 %description system-unicore32
690 QEMU is a generic and open source processor emulator which achieves a
691 good emulation speed by using dynamic translation.
693 This package provides the system emulator with UniCore32 CPU.
695 %description system-unicore32 -l pl.UTF-8
696 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
697 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
699 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
702 Summary: QEMU system emulator for x86
703 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
704 Group: Development/Tools
705 Requires: %{name}-common = %{version}-%{release}
706 %{?with_system_seabios:Requires: seabios}
709 Obsoletes: qemu-kvm-system-x86
711 %description system-x86
712 QEMU is a generic and open source processor emulator which achieves a
713 good emulation speed by using dynamic translation.
715 %description system-x86 -l pl.UTF-8
716 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
717 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
719 %package system-xtensa
720 Summary: QEMU system emulator for Xtensa
721 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
722 Group: Development/Tools
723 Requires: %{name}-common = %{version}-%{release}
725 Obsoletes: qemu-kvm-system-xtensa
727 %description system-xtensa
728 QEMU is a generic and open source processor emulator which achieves a
729 good emulation speed by using dynamic translation.
731 This package provides the system emulator with Xtensa CPU.
733 %description system-xtensa -l pl.UTF-8
734 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
735 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
737 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
740 Summary: QEMU guest agent
741 Summary(pl.UTF-8): Agent gościa QEMU
743 Requires: glib2 >= 1:2.22
744 Obsoletes: qemu-kvm-guest-agent
746 %description guest-agent
747 QEMU is a generic and open source processor emulator which achieves a
748 good emulation speed by using dynamic translation.
750 This package provides an agent to run inside guests, which
751 communicates with the host over a virtio-serial channel named
752 "org.qemu.guest_agent.0".
754 This package does not need to be installed on the host OS.
756 %description guest-agent -l pl.UTF-8
757 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
758 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
760 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
761 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
762 "org.qemu.guest_agent.0".
764 Ten pakiet nie musi być zainstalowany w systemie hosta.
766 %package module-block-curl
767 Summary: QEMU module for 'curl' block devices
768 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
769 Group: Development/Tools
770 Requires: %{name}-common = %{version}-%{release}
772 %description module-block-curl
773 'curl' block device support for QEMU.
775 %description module-block-curl -l pl.UTF-8
776 Moduł QEMU dla urządeń blokowych typu 'curl'.
778 %package module-block-gluster
779 Summary: QEMU module for 'gluster' block devices
780 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
781 Group: Development/Tools
782 Requires: %{name}-common = %{version}-%{release}
783 Requires: glusterfs-libs >= 3.4
785 %description module-block-gluster
786 'gluster' block device support for QEMU.
788 %description module-block-gluster -l pl.UTF-8
789 Moduł QEMU dla urządeń blokowych typu 'gluster'.
791 %package module-block-iscsi
792 Summary: QEMU module for 'iscsi' block devices
793 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
794 Group: Development/Tools
795 Requires: %{name}-common = %{version}-%{release}
796 Requires: libiscsi >= 1.9.0
798 %description module-block-iscsi
799 'iscsi' block device support for QEMU.
801 %description module-block-iscsi -l pl.UTF-8
802 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
804 %package module-block-rbd
805 Summary: QEMU module for 'rbd' block devices
806 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
807 Group: Development/Tools
808 Requires: %{name}-common = %{version}-%{release}
810 %description module-block-rbd
811 'rbd' block device support for QEMU.
813 %description module-block-rbd -l pl.UTF-8
814 Moduł QEMU dla urządeń blokowych typu 'rbd'.
816 %package module-block-ssh
817 Summary: QEMU module for 'ssh' block devices
818 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
819 Group: Development/Tools
820 Requires: %{name}-common = %{version}-%{release}
822 %description module-block-ssh
823 'ssh' block device support for QEMU.
825 %description module-block-ssh -l pl.UTF-8
826 Moduł QEMU dla urządeń blokowych typu 'ssh'.
837 # workaround for conflict with alsa/error.h
838 ln -s ../error.h qapi/error.h
846 install -d build-$target
850 --prefix=%{_prefix} \
851 --libdir=%{_libdir} \
852 --libexecdir=%{_libexecdir} \
853 --sysconfdir=%{_sysconfdir} \
854 --localstatedir=%{_localstatedir} \
855 --interp-prefix=%{_libdir}/qemu/lib-%%M \
857 --host-cc="%{__cc}" \
859 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
865 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
871 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
872 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
874 %{__enable_disable bluetooth bluez} \
875 %{__enable_disable brlapi} \
881 %{__enable_disable glusterfs} \
882 %{__enable_disable iscsi libiscsi} \
883 %{__enable_disable ceph rbd} \
884 %{__enable_disable rdma} \
885 %{__enable_disable sdl} \
886 %{__enable_disable seccomp} \
887 %{__enable_disable spice} \
888 %{__enable_disable smartcard smartcard} \
890 %{__enable_disable usbredir usb-redir} \
896 %{!?with_vte:--disable-vte} \
897 %{__enable_disable virgl virglrenderer} \
898 %{__enable_disable xen} \
901 %{__enable_disable libnfs} \
903 %{__enable_disable snappy} \
904 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
909 %if %{with user_static}
918 --disable-guest-agent \
919 --disable-guest-agent-msi \
933 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
936 rm -rf $RPM_BUILD_ROOT
938 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
939 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
941 %if %{with user_static}
942 %{__make} -C build-static install \
943 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
944 DESTDIR=$RPM_BUILD_ROOT
946 # Give all QEMU user emulators a -static suffix
947 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
953 %{__make} -C build-dynamic install \
954 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
955 DESTDIR=$RPM_BUILD_ROOT
957 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
959 install -d $RPM_BUILD_ROOT%{_sysconfdir}
960 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
965 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
967 %ifarch %{ix86} %{x8664} x32
968 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
969 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
972 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
973 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
975 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
976 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
979 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
981 %if %{with system_seabios}
982 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
983 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
984 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
986 if [ -e "/usr/share/seabios/$bn" ] ; then
987 ln -sf "/usr/share/seabios/$bn" "$f"
993 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
994 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1000 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1003 rm -rf $RPM_BUILD_ROOT
1006 %groupadd -g 160 kvm
1007 %groupadd -g 276 qemu
1008 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1011 if [ "$1" = "0" ]; then
1018 %defattr(644,root,root,755)
1020 %files common -f %{name}.lang
1021 %defattr(644,root,root,755)
1023 %doc build-dynamic/qemu-doc.html
1024 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1025 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1026 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1027 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1029 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1030 %attr(755,root,root) %{_bindir}/elf2dmp
1031 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1032 %attr(755,root,root) %{_bindir}/qemu-edid
1033 %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap}
1034 %attr(755,root,root) %{_bindir}/qemu-nbd
1035 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1036 %attr(755,root,root) %{_bindir}/qemu-tilegx
1037 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1038 %attr(755,root,root) %{_sbindir}/ksmctl
1039 %attr(755,root,root) %{_sbindir}/ksmtuned
1040 %{_mandir}/man1/qemu.1*
1041 %{_mandir}/man1/virtfs-proxy-helper.1*
1042 %{_mandir}/man7/qemu-cpu-models.7*
1043 %{_mandir}/man7/qemu-block-drivers.7*
1044 %{_mandir}/man8/qemu-nbd.8*
1046 %dir %{_datadir}/qemu
1047 %{_datadir}/%{name}/keymaps
1048 %{_datadir}/%{name}/trace-events-all
1050 # various bios images
1051 # all should be probably moved to the right system subpackage
1052 %{_datadir}/%{name}/bamboo.dtb
1053 %{_datadir}/%{name}/efi-e1000e.rom
1054 %{_datadir}/%{name}/efi-e1000.rom
1055 %{_datadir}/%{name}/efi-eepro100.rom
1056 %{_datadir}/%{name}/efi-ne2k_pci.rom
1057 %{_datadir}/%{name}/efi-pcnet.rom
1058 %{_datadir}/%{name}/efi-rtl8139.rom
1059 %{_datadir}/%{name}/efi-virtio.rom
1060 %{_datadir}/%{name}/efi-vmxnet3.rom
1061 %{_datadir}/%{name}/kvmvapic.bin
1062 %{_datadir}/%{name}/linuxboot.bin
1063 %{_datadir}/%{name}/linuxboot_dma.bin
1064 %{_datadir}/%{name}/multiboot.bin
1065 %{_datadir}/%{name}/openbios-ppc
1066 %{_datadir}/%{name}/openbios-sparc*
1067 %{_datadir}/%{name}/palcode-clipper
1068 %{_datadir}/%{name}/petalogix-ml605.dtb
1069 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1070 %{_datadir}/%{name}/ppc_rom.bin
1071 %{_datadir}/%{name}/pvh.bin
1072 %{_datadir}/%{name}/pxe-e1000.rom
1073 %{_datadir}/%{name}/pxe-eepro100.rom
1074 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1075 %{_datadir}/%{name}/pxe-pcnet.rom
1076 %{_datadir}/%{name}/pxe-rtl8139.rom
1077 %{_datadir}/%{name}/pxe-virtio.rom
1078 %{_datadir}/%{name}/QEMU,cgthree.bin
1079 %{_datadir}/%{name}/QEMU,tcx.bin
1080 %{_datadir}/%{name}/s390-ccw.img
1081 %{_datadir}/%{name}/sgabios.bin
1082 %{_datadir}/%{name}/skiboot.lid
1083 %{_datadir}/%{name}/slof.bin
1084 %{_datadir}/%{name}/spapr-rtas.bin
1085 %{_datadir}/%{name}/vgabios.bin
1086 %{_datadir}/%{name}/vgabios-bochs-display.bin
1087 %{_datadir}/%{name}/vgabios-cirrus.bin
1088 %{_datadir}/%{name}/vgabios-qxl.bin
1089 %{_datadir}/%{name}/vgabios-ramfb.bin
1090 %{_datadir}/%{name}/vgabios-stdvga.bin
1091 %{_datadir}/%{name}/vgabios-virtio.bin
1092 %{_datadir}/%{name}/vgabios-vmware.bin
1094 %dir %{_libdir}/%{name}
1096 # modules without too many external dependencies
1097 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1098 %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so}
1100 %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1101 %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
1102 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
1103 %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1105 %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1107 %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_bindir}/qemu-img
1112 %{_mandir}/man1/qemu-img.1*
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_bindir}/ivshmem-client
1117 %attr(755,root,root) %{_bindir}/ivshmem-server
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) %{_bindir}/qemu-aarch64
1122 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
1123 %attr(755,root,root) %{_bindir}/qemu-alpha
1124 %attr(755,root,root) %{_bindir}/qemu-arm
1125 %attr(755,root,root) %{_bindir}/qemu-armeb
1126 %attr(755,root,root) %{_bindir}/qemu-cris
1127 %attr(755,root,root) %{_bindir}/qemu-hppa
1128 %attr(755,root,root) %{_bindir}/qemu-i386
1129 %attr(755,root,root) %{_bindir}/qemu-io
1130 %attr(755,root,root) %{_bindir}/qemu-m68k
1131 %attr(755,root,root) %{_bindir}/qemu-microblaze
1132 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1133 %attr(755,root,root) %{_bindir}/qemu-mips
1134 %attr(755,root,root) %{_bindir}/qemu-mipsel
1135 %attr(755,root,root) %{_bindir}/qemu-mips64
1136 %attr(755,root,root) %{_bindir}/qemu-mips64el
1137 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1138 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1139 %attr(755,root,root) %{_bindir}/qemu-nios2
1140 %attr(755,root,root) %{_bindir}/qemu-or1k
1141 %attr(755,root,root) %{_bindir}/qemu-ppc
1142 %attr(755,root,root) %{_bindir}/qemu-ppc64
1143 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1144 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1145 %attr(755,root,root) %{_bindir}/qemu-riscv32
1146 %attr(755,root,root) %{_bindir}/qemu-riscv64
1147 %attr(755,root,root) %{_bindir}/qemu-s390x
1148 %attr(755,root,root) %{_bindir}/qemu-sh4
1149 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1150 %attr(755,root,root) %{_bindir}/qemu-sparc
1151 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1152 %attr(755,root,root) %{_bindir}/qemu-sparc64
1153 %attr(755,root,root) %{_bindir}/qemu-x86_64
1154 %attr(755,root,root) %{_bindir}/qemu-xtensa
1155 %attr(755,root,root) %{_bindir}/qemu-xtensaeb
1157 %if %{with user_static}
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1161 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1162 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1163 %attr(755,root,root) %{_bindir}/qemu-arm-static
1164 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1165 %attr(755,root,root) %{_bindir}/qemu-cris-static
1166 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1167 %attr(755,root,root) %{_bindir}/qemu-i386-static
1168 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1169 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1170 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1171 %attr(755,root,root) %{_bindir}/qemu-mips-static
1172 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1173 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1174 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1175 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1176 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1177 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1178 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1179 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1180 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1181 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1182 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1183 %attr(755,root,root) %{_bindir}/qemu-riscv32-static
1184 %attr(755,root,root) %{_bindir}/qemu-riscv64-static
1185 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1186 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1187 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1188 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1189 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1190 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1191 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1192 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1193 %attr(755,root,root) %{_bindir}/qemu-xtensa-static
1194 %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1197 %files system-aarch64
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_bindir}/qemu-system-arm
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_bindir}/qemu-system-cris
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_bindir}/qemu-system-hppa
1216 %{_datadir}/%{name}/hppa-firmware.img
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1226 %files system-microblaze
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1229 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_bindir}/qemu-system-mips
1234 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1235 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1236 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1253 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1254 %{_datadir}/%{name}/canyonlands.dtb
1255 %{_datadir}/%{name}/qemu_vga.ndrv
1256 %{_datadir}/%{name}/u-boot.e500
1257 %{_datadir}/%{name}/u-boot-sam460-20100605.bin
1259 %files system-riscv32
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_bindir}/qemu-system-riscv32
1263 %files system-riscv64
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_bindir}/qemu-system-riscv64
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1270 %{_datadir}/%{name}/s390-netboot.img
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1275 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1280 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1282 %files system-tricore
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1286 %files system-unicore32
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_bindir}/qemu-system-i386
1293 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1294 %ifarch %{ix86} %{x8664} x32
1295 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1296 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1298 %{_datadir}/%{name}/bios.bin
1299 %{_datadir}/%{name}/bios-256k.bin
1301 %files system-xtensa
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1304 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_bindir}/qemu-ga
1309 %{_mandir}/man7/qemu-ga-ref.7*
1310 %{_mandir}/man8/qemu-ga.8*
1312 %files module-block-curl
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1316 %if %{with glusterfs}
1317 %files module-block-gluster
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1323 %files module-block-iscsi
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1329 %files module-block-rbd
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1334 %files module-block-ssh
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so