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
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: 0ee48c0f0cae47cc5d05408e03cd199e
46 Source2: %{name}.binfmt
47 # Loads kvm kernel modules at boot
48 Source3: kvm-modules-load.conf
53 Source6: ksm.sysconfig
55 Source8: ksmtuned.service
57 Source10: ksmtuned.conf
58 Source11: %{name}-guest-agent.service
59 Source12: 99-%{name}-guest-agent.rules
60 Patch0: %{name}-cflags.patch
61 Patch1: vgabios-widescreens.patch
62 Patch2: %{name}-whitelist.patch
63 Patch3: %{name}-user-execve.patch
64 Patch4: %{name}-xattr.patch
65 Patch5: libjpeg-boolean.patch
67 Patch7: %{name}-glibc2_27.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 BuildRequires: libjpeg-devel
93 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
94 BuildRequires: libpng-devel
95 %{?with_rdma:BuildRequires: librdmacm-devel}
96 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
97 BuildRequires: libssh2-devel >= 1.2.8
98 BuildRequires: libusb-devel >= 1.0.13
99 BuildRequires: libuuid-devel
100 %{?with_lttng:BuildRequires: lttng-ust-devel}
101 BuildRequires: lzo-devel >= 2
102 BuildRequires: ncurses-devel
103 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
104 BuildRequires: numactl-devel
105 BuildRequires: perl-Encode
106 BuildRequires: perl-tools-pod
107 BuildRequires: pixman-devel >= 0.21.8
108 BuildRequires: pkgconfig
109 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
110 BuildRequires: rpmbuild(macros) >= 1.644
111 %{?with_system_seabios:BuildRequires: seabios}
112 BuildRequires: sed >= 4.0
113 %{?with_snappy:BuildRequires: snappy-devel}
115 BuildRequires: spice-protocol >= 0.12.3
116 BuildRequires: spice-server-devel >= 0.12.0
118 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
119 BuildRequires: texi2html
120 BuildRequires: texinfo
121 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
122 %{?with_lttng:BuildRequires: userspace-rcu-devel}
123 BuildRequires: vde2-devel
125 %{?with_xen:BuildRequires: xen-devel >= 3.4}
126 BuildRequires: xfsprogs-devel
127 BuildRequires: xorg-lib-libX11-devel
128 BuildRequires: zlib-devel
130 BuildRequires: gtk+2-devel >= 2:2.18.0
131 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
134 BuildRequires: gtk+3-devel >= 3.0.0
135 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
137 %if %{with user_static}
138 BuildRequires: glib2-static
139 BuildRequires: glibc-static
140 BuildRequires: pcre-static
141 BuildRequires: zlib-static
143 Requires: %{name}-img = %{version}-%{release}
144 Requires: %{name}-system-aarch64 = %{version}-%{release}
145 Requires: %{name}-system-alpha = %{version}-%{release}
146 Requires: %{name}-system-arm = %{version}-%{release}
147 Requires: %{name}-system-cris = %{version}-%{release}
148 Requires: %{name}-system-lm32 = %{version}-%{release}
149 Requires: %{name}-system-m68k = %{version}-%{release}
150 Requires: %{name}-system-microblaze = %{version}-%{release}
151 Requires: %{name}-system-mips = %{version}-%{release}
152 Requires: %{name}-system-moxie = %{version}-%{release}
153 Requires: %{name}-system-nios2 = %{version}-%{release}
154 Requires: %{name}-system-or1k = %{version}-%{release}
155 Requires: %{name}-system-ppc = %{version}-%{release}
156 Requires: %{name}-system-s390x = %{version}-%{release}
157 Requires: %{name}-system-sh4 = %{version}-%{release}
158 Requires: %{name}-system-sparc = %{version}-%{release}
159 Requires: %{name}-system-tricore = %{version}-%{release}
160 Requires: %{name}-system-unicore32 = %{version}-%{release}
161 Requires: %{name}-system-x86 = %{version}-%{release}
162 Requires: %{name}-system-xtensa = %{version}-%{release}
163 Requires: %{name}-user = %{version}-%{release}
165 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
167 %define systempkg_req \
171 Requires: libfdt >= 1.4.2 \
172 %if %{with seccomp} \
173 Requires: libseccomp >= 2.1.0 \
175 Requires: libusb >= 1.0.13 \
176 Requires: pixman >= 0.21.8 \
177 %if %{with usbredir} \
178 Requires: usbredir >= 0.6 \
181 Requires: gtk+2 >= 2:2.18.0 \
182 %{?with_vte:Requires: vte0 >= 0.24.0} \
185 Requires: gtk+3 >= 3.0.0 \
186 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
189 # don't strip/chrpath anything in there; these are boot images, roms etc
190 %define _noautostrip .*%{_datadir}/qemu/.*
191 %define _noautochrpath .*%{_datadir}/qemu/.*
194 QEMU is a FAST! processor emulator. By using dynamic translation it
195 achieves a reasonnable speed while being easy to port on new host
196 CPUs. QEMU has two operating modes:
198 - User mode emulation. In this mode, QEMU can launch Linux processes
199 compiled for one CPU on another CPU. Linux system calls are converted
200 because of endianness and 32/64 bit mismatches. Wine (Windows
201 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
203 - Full system emulation. In this mode, QEMU emulates a full system,
204 including a processor and various peripherials. It can also be used to
205 provide virtual hosting of several virtual PC on a single server.
207 %description -l pl.UTF-8
208 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
209 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
210 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
212 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
213 procesy linuksowe skompilowane dla jednego procesora na innym
214 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
215 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
216 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
219 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
220 włączając w to procesor i różne urządzenia peryferyjne. Może być także
221 używane do wirtualnego hostowania kilku wirtualnych pecetów na
222 pojedynczym serwerze.
225 Summary: QEMU common files needed by all QEMU targets
226 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
227 Group: Development/Tools
228 Requires(post,preun,postun): systemd-units >= 38
229 Requires(postun): /usr/sbin/groupdel
230 Requires(postun): /usr/sbin/userdel
231 Requires(pre): /bin/id
232 Requires(pre): /usr/bin/getgid
233 Requires(pre): /usr/sbin/groupadd
234 Requires(pre): /usr/sbin/useradd
235 Requires: glib2 >= 1:2.22
236 %{?with_libnfs:Requires: libnfs >= 1.9.3}
237 Requires: libssh2 >= 1.2.8
238 Requires: systemd-units >= 38
239 Provides: group(qemu)
241 Obsoletes: qemu-kvm-common
242 Conflicts: qemu < 1.0-2
245 QEMU is a generic and open source processor emulator which achieves a
246 good emulation speed by using dynamic translation.
248 This package provides the common files needed by all QEMU targets.
250 %description common -l pl.UTF-8
251 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
252 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
254 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
258 Summary: QEMU command line tool for manipulating disk images
259 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
260 Group: Development/Tools
261 Obsoletes: qemu-kvm-img
262 Conflicts: qemu < 1.0-2
265 This package provides a command line tool for manipulating disk
268 %description img -l pl.UTF-8
269 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
273 Summary: QEMU user mode emulation of qemu targets
274 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
275 Group: Development/Tools
276 Requires: %{name}-common = %{version}-%{release}
277 Requires(post,postun): systemd-units >= 38
278 Requires: systemd-units >= 38
279 Obsoletes: qemu-kvm-user
282 QEMU is a generic and open source processor emulator which achieves a
283 good emulation speed by using dynamic translation.
285 This package provides the user mode emulation of QEMU targets.
287 %description user -l pl.UTF-8
288 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
289 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
291 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
294 Summary: QEMU user mode emulation of qemu targets static build
295 Group: Development/Tools
296 Requires(post,postun): systemd-units >= 38
297 Requires: systemd-units >= 38
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 LM32
388 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
389 Group: Development/Tools
390 Requires: %{name}-common = %{version}-%{release}
392 Obsoletes: qemu-kvm-system-lm32
394 %description system-lm32
395 QEMU is a generic and open source processor emulator which achieves a
396 good emulation speed by using dynamic translation.
398 This package provides the system emulator with LM32 CPU.
400 %description system-lm32 -l pl.UTF-8
401 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
402 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
404 Ten pakiet zawiera emulator systemu z procesorem LM32.
407 Summary: QEMU system emulator for m68k
408 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
409 Group: Development/Tools
410 Requires: %{name}-common = %{version}-%{release}
412 Obsoletes: qemu-kvm-system-m68k
414 %description system-m68k
415 QEMU is a generic and open source processor emulator which achieves a
416 good emulation speed by using dynamic translation.
418 This package provides the system emulator with m68k CPU.
420 %description system-m68k -l pl.UTF-8
421 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
422 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
424 Ten pakiet zawiera emulator systemu z procesorem m68k.
426 %package system-microblaze
427 Summary: QEMU system emulator for MicroBlaze
428 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
429 Group: Development/Tools
430 Requires: %{name}-common = %{version}-%{release}
432 Obsoletes: qemu-kvm-system-microblaze
434 %description system-microblaze
435 QEMU is a generic and open source processor emulator which achieves a
436 good emulation speed by using dynamic translation.
438 This package provides the system emulator with MicroBlaze CPU.
440 %description system-microblaze -l pl.UTF-8
441 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
442 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
444 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
447 Summary: QEMU system emulator for MIPS
448 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
449 Group: Development/Tools
450 Requires: %{name}-common = %{version}-%{release}
452 Obsoletes: qemu-kvm-system-mips
454 %description system-mips
455 QEMU is a generic and open source processor emulator which achieves a
456 good emulation speed by using dynamic translation.
458 This package provides the system emulator with MIPS CPU.
460 %description system-mips -l pl.UTF-8
461 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
462 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
464 Ten pakiet zawiera emulator systemu z procesorem MIPS.
466 %package system-moxie
467 Summary: QEMU system emulator for Moxie
468 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
469 Group: Development/Tools
470 Requires: %{name}-common = %{version}-%{release}
473 %description system-moxie
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 Moxie CPU.
479 %description system-moxie -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 Moxie.
485 %package system-nios2
486 Summary: QEMU system emulator for Nios II
487 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
488 Group: Development/Tools
489 Requires: %{name}-common = %{version}-%{release}
492 %description system-nios2
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 Nios II CPU.
498 %description system-nios2 -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 Nios II.
505 Summary: QEMU system emulator for OpenRISC
506 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
507 Group: Development/Tools
508 Requires: %{name}-common = %{version}-%{release}
510 Obsoletes: qemu-kvm-system-or1k
511 Obsoletes: qemu-system-or32
513 %description system-or1k
514 QEMU is a generic and open source processor emulator which achieves a
515 good emulation speed by using dynamic translation.
517 This package provides the system emulator with OpenRISC CPU.
519 %description system-or1k -l pl.UTF-8
520 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
521 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
523 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
526 Summary: QEMU system emulator for PowerPC
527 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
528 Group: Development/Tools
529 Requires: %{name}-common = %{version}-%{release}
531 Obsoletes: qemu-kvm-system-ppc
533 %description system-ppc
534 QEMU is a generic and open source processor emulator which achieves a
535 good emulation speed by using dynamic translation.
537 This package provides the system emulator with PowerPC CPU.
539 %description system-ppc -l pl.UTF-8
540 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
541 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
543 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
545 %package system-s390x
546 Summary: QEMU system emulator for S390
547 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
548 Group: Development/Tools
549 Requires: %{name}-common = %{version}-%{release}
551 Obsoletes: qemu-kvm-system-s390x
553 %description system-s390x
554 QEMU is a generic and open source processor emulator which achieves a
555 good emulation speed by using dynamic translation.
557 This package provides the system emulator with S390 CPU.
559 %description system-s390x -l pl.UTF-8
560 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
561 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
563 Ten pakiet zawiera emulator systemu z procesorem S390.
566 Summary: QEMU system emulator for SH4
567 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
568 Group: Development/Tools
569 Requires: %{name}-common = %{version}-%{release}
571 Obsoletes: qemu-kvm-system-sh4
573 %description system-sh4
574 QEMU is a generic and open source processor emulator which achieves a
575 good emulation speed by using dynamic translation.
577 This package provides the system emulator with SH4 CPU.
579 %description system-sh4 -l pl.UTF-8
580 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
581 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
583 Ten pakiet zawiera emulator systemu z procesorem SH4.
585 %package system-sparc
586 Summary: QEMU system emulator for SPARC
587 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
588 Group: Development/Tools
589 Requires: %{name}-common = %{version}-%{release}
591 Obsoletes: qemu-kvm-system-sparc
593 %description system-sparc
594 QEMU is a generic and open source processor emulator which achieves a
595 good emulation speed by using dynamic translation.
597 This package provides the system emulator with SPARC/SPARC64 CPU.
599 %description system-sparc -l pl.UTF-8
600 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
601 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
603 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
605 %package system-tricore
606 Summary: QEMU system emulator for TriCore
607 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
608 Group: Development/Tools
609 Requires: %{name}-common = %{version}-%{release}
612 %description system-tricore
613 QEMU is a generic and open source processor emulator which achieves a
614 good emulation speed by using dynamic translation.
616 This package provides the system emulator with TriCore CPU.
618 %description system-sparc -l pl.UTF-8
619 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
620 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
622 Ten pakiet zawiera emulator systemu z procesorem TriCore.
624 %package system-unicore32
625 Summary: QEMU system emulator for UniCore32
626 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
627 Group: Development/Tools
628 Requires: %{name}-common = %{version}-%{release}
630 Obsoletes: qemu-kvm-system-unicore32
632 %description system-unicore32
633 QEMU is a generic and open source processor emulator which achieves a
634 good emulation speed by using dynamic translation.
636 This package provides the system emulator with UniCore32 CPU.
638 %description system-unicore32 -l pl.UTF-8
639 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
640 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
642 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
645 Summary: QEMU system emulator for x86
646 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
647 Group: Development/Tools
648 Requires: %{name}-common = %{version}-%{release}
649 %{?with_system_seabios:Requires: seabios}
652 Obsoletes: qemu-kvm-system-x86
654 %description system-x86
655 QEMU is a generic and open source processor emulator which achieves a
656 good emulation speed by using dynamic translation.
658 %description system-x86 -l pl.UTF-8
659 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
660 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
662 %package system-xtensa
663 Summary: QEMU system emulator for Xtensa
664 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
665 Group: Development/Tools
666 Requires: %{name}-common = %{version}-%{release}
668 Obsoletes: qemu-kvm-system-xtensa
670 %description system-xtensa
671 QEMU is a generic and open source processor emulator which achieves a
672 good emulation speed by using dynamic translation.
674 This package provides the system emulator with Xtensa CPU.
676 %description system-xtensa -l pl.UTF-8
677 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
678 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
680 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
683 Summary: QEMU guest agent
684 Summary(pl.UTF-8): Agent gościa QEMU
686 Requires(post,preun,postun): systemd-units >= 38
687 Requires: glib2 >= 1:2.22
688 Requires: systemd-units >= 38
689 Obsoletes: qemu-kvm-guest-agent
691 %description guest-agent
692 QEMU is a generic and open source processor emulator which achieves a
693 good emulation speed by using dynamic translation.
695 This package provides an agent to run inside guests, which
696 communicates with the host over a virtio-serial channel named
697 "org.qemu.guest_agent.0".
699 This package does not need to be installed on the host OS.
701 %description guest-agent -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 udostępnia agenta przeznaczonego do uruchomienia w
706 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
707 "org.qemu.guest_agent.0".
709 Ten pakiet nie musi być zainstalowany w systemie hosta.
711 %package module-block-curl
712 Summary: QEMU module for 'curl' block devices
713 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
714 Group: Development/Tools
715 Requires: %{name}-common = %{version}-%{release}
717 %description module-block-curl
718 'curl' block device support for QEMU.
720 %description module-block-curl -l pl.UTF-8
721 Moduł QEMU dla urządeń blokowych typu 'curl'.
723 %package module-block-gluster
724 Summary: QEMU module for 'gluster' block devices
725 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
726 Group: Development/Tools
727 Requires: %{name}-common = %{version}-%{release}
728 Requires: glusterfs-libs >= 3.4
730 %description module-block-gluster
731 'gluster' block device support for QEMU.
733 %description module-block-gluster -l pl.UTF-8
734 Moduł QEMU dla urządeń blokowych typu 'gluster'.
736 %package module-block-iscsi
737 Summary: QEMU module for 'iscsi' block devices
738 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
739 Group: Development/Tools
740 Requires: %{name}-common = %{version}-%{release}
741 Requires: libiscsi >= 1.9.0
743 %description module-block-iscsi
744 'iscsi' block device support for QEMU.
746 %description module-block-iscsi -l pl.UTF-8
747 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
749 %package module-block-rbd
750 Summary: QEMU module for 'rbd' block devices
751 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
752 Group: Development/Tools
753 Requires: %{name}-common = %{version}-%{release}
755 %description module-block-rbd
756 'rbd' block device support for QEMU.
758 %description module-block-rbd -l pl.UTF-8
759 Moduł QEMU dla urządeń blokowych typu 'rbd'.
761 %package module-block-ssh
762 Summary: QEMU module for 'ssh' block devices
763 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
764 Group: Development/Tools
765 Requires: %{name}-common = %{version}-%{release}
767 %description module-block-ssh
768 'ssh' block device support for QEMU.
770 %description module-block-ssh -l pl.UTF-8
771 Moduł QEMU dla urządeń blokowych typu 'ssh'.
784 # workaround for conflict with alsa/error.h
785 ln -s ../error.h qapi/error.h
793 install -d build-$target
797 --prefix=%{_prefix} \
798 --libdir=%{_libdir} \
799 --libexecdir=%{_libexecdir} \
800 --sysconfdir=%{_sysconfdir} \
801 --localstatedir=%{_localstatedir} \
802 --interp-prefix=%{_libdir}/qemu/lib-%%M \
804 --host-cc="%{__cc}" \
806 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
812 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
818 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
819 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
821 %{__enable_disable bluetooth bluez} \
822 %{__enable_disable brlapi} \
828 %{__enable_disable glusterfs} \
829 %{__enable_disable iscsi libiscsi} \
830 %{__enable_disable ceph rbd} \
831 %{__enable_disable rdma} \
832 %{__enable_disable sdl} \
834 %{__enable_disable seccomp} \
835 %{__enable_disable spice} \
836 %{__enable_disable smartcard smartcard} \
838 %{__enable_disable usbredir usb-redir} \
844 %{!?with_vte:--disable-vte} \
845 %{__enable_disable xen} \
848 %{__enable_disable libnfs} \
850 %{__enable_disable snappy} \
851 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
852 %if %{without gtk2} && %{without gtk3}
855 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
858 %if %{with user_static}
867 --disable-guest-agent \
868 --disable-guest-agent-msi \
882 # rebuild patched vesa tables with additional widescreen modes.
883 %{__make} -C roms/vgabios stdvga-bios
885 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
888 rm -rf $RPM_BUILD_ROOT
889 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
890 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
891 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
893 %if %{with user_static}
894 %{__make} -C build-static install \
895 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
896 DESTDIR=$RPM_BUILD_ROOT
898 # Give all QEMU user emulators a -static suffix
899 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
905 %{__make} -C build-dynamic install \
906 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
907 DESTDIR=$RPM_BUILD_ROOT
909 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
911 install -d $RPM_BUILD_ROOT%{_sysconfdir}
912 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
917 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
919 %ifarch %{ix86} %{x8664} x32
920 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
921 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
924 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
925 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
926 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
928 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
929 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
930 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
932 # For the qemu-guest-agent subpackage install the systemd
933 # service and udev rules.
934 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
935 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
939 %ifnarch %{ix86} %{x8664} x32
950 qemu-microblaze qemu-microblazeel \
966 %ifnarch ppc ppc64 ppc64le
967 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
969 %ifnarch sparc sparc64
970 qemu-sparc qemu-sparc32plus qemu-sparc64 \
980 test $i = dummy && continue
981 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
983 %if %{with user_static}
984 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
985 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
990 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
992 # install patched vesa tables with additional widescreen modes.
993 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
995 %if %{with system_seabios}
996 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
997 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
998 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1000 if [ -e "/usr/share/seabios/$bn" ] ; then
1001 ln -sf "/usr/share/seabios/$bn" "$f"
1006 %if %{with gtk2} || %{with gtk3}
1007 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1008 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1015 rm -rf $RPM_BUILD_ROOT
1018 %groupadd -g 160 kvm
1019 %groupadd -g 276 qemu
1020 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1023 %systemd_post ksm.service
1024 %systemd_post ksmtuned.service
1027 %systemd_preun ksm.service
1028 %systemd_preun ksmtuned.service
1031 if [ "$1" = "0" ]; then
1038 %triggerpostun common -- qemu-common < 1.6.1-4
1039 %systemd_trigger ksm.service
1040 %systemd_trigger ksmtuned.service
1043 %systemd_service_restart systemd-binfmt.service
1046 %systemd_service_restart systemd-binfmt.service
1049 %systemd_service_restart systemd-binfmt.service
1052 %systemd_service_restart systemd-binfmt.service
1058 %systemd_preun qemu-guest-agent.service
1064 %defattr(644,root,root,755)
1066 %files common -f %{name}.lang
1067 %defattr(644,root,root,755)
1069 %doc build-dynamic/qemu-doc.html
1070 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1071 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1072 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1073 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1075 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1076 %{systemdunitdir}/ksm.service
1077 %{systemdunitdir}/ksmtuned.service
1078 %attr(755,root,root) %{_bindir}/ivshmem-client
1079 %attr(755,root,root) %{_bindir}/ivshmem-server
1080 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1081 %attr(755,root,root) %{_bindir}/qemu-keymap
1082 %attr(755,root,root) %{_bindir}/qemu-nbd
1083 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1084 %attr(755,root,root) %{_bindir}/qemu-tilegx
1085 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1086 %attr(755,root,root) %{_sbindir}/ksmctl
1087 %attr(755,root,root) %{_sbindir}/ksmtuned
1088 %{_mandir}/man1/qemu.1*
1089 %{_mandir}/man1/virtfs-proxy-helper.1*
1090 %{_mandir}/man7/qemu-block-drivers.7*
1091 %{_mandir}/man8/qemu-nbd.8*
1093 %dir %{_datadir}/qemu
1094 %{_datadir}/%{name}/keymaps
1095 %{_datadir}/%{name}/qemu-icon.bmp
1096 %{_datadir}/%{name}/trace-events-all
1098 # various bios images
1099 # all should be probably moved to the right system subpackage
1100 %{_datadir}/%{name}/bamboo.dtb
1101 %{_datadir}/%{name}/efi-e1000e.rom
1102 %{_datadir}/%{name}/efi-e1000.rom
1103 %{_datadir}/%{name}/efi-eepro100.rom
1104 %{_datadir}/%{name}/efi-ne2k_pci.rom
1105 %{_datadir}/%{name}/efi-pcnet.rom
1106 %{_datadir}/%{name}/efi-rtl8139.rom
1107 %{_datadir}/%{name}/efi-virtio.rom
1108 %{_datadir}/%{name}/efi-vmxnet3.rom
1109 %{_datadir}/%{name}/kvmvapic.bin
1110 %{_datadir}/%{name}/linuxboot.bin
1111 %{_datadir}/%{name}/linuxboot_dma.bin
1112 %{_datadir}/%{name}/multiboot.bin
1113 %{_datadir}/%{name}/openbios-ppc
1114 %{_datadir}/%{name}/openbios-sparc*
1115 %{_datadir}/%{name}/palcode-clipper
1116 %{_datadir}/%{name}/petalogix-ml605.dtb
1117 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1118 %{_datadir}/%{name}/ppc_rom.bin
1119 %{_datadir}/%{name}/pxe-e1000.rom
1120 %{_datadir}/%{name}/pxe-eepro100.rom
1121 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1122 %{_datadir}/%{name}/pxe-pcnet.rom
1123 %{_datadir}/%{name}/pxe-rtl8139.rom
1124 %{_datadir}/%{name}/pxe-virtio.rom
1125 %{_datadir}/%{name}/QEMU,cgthree.bin
1126 %{_datadir}/%{name}/qemu_logo_no_text.svg
1127 %{_datadir}/%{name}/QEMU,tcx.bin
1128 %{_datadir}/%{name}/s390-ccw.img
1129 %{_datadir}/%{name}/sgabios.bin
1130 %{_datadir}/%{name}/skiboot.lid
1131 %{_datadir}/%{name}/slof.bin
1132 %{_datadir}/%{name}/spapr-rtas.bin
1133 %{_datadir}/%{name}/vgabios.bin
1134 %{_datadir}/%{name}/vgabios-cirrus.bin
1135 %{_datadir}/%{name}/vgabios-qxl.bin
1136 %{_datadir}/%{name}/vgabios-stdvga.bin
1137 %{_datadir}/%{name}/vgabios-virtio.bin
1138 %{_datadir}/%{name}/vgabios-vmware.bin
1140 %dir %{_libdir}/%{name}
1142 # modules without too many external dependencies
1143 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1144 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_bindir}/qemu-img
1149 %{_mandir}/man1/qemu-img.1*
1152 %defattr(644,root,root,755)
1153 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1154 %attr(755,root,root) %{_bindir}/qemu-aarch64
1155 %attr(755,root,root) %{_bindir}/qemu-alpha
1156 %attr(755,root,root) %{_bindir}/qemu-arm
1157 %attr(755,root,root) %{_bindir}/qemu-armeb
1158 %attr(755,root,root) %{_bindir}/qemu-cris
1159 %attr(755,root,root) %{_bindir}/qemu-hppa
1160 %attr(755,root,root) %{_bindir}/qemu-i386
1161 %attr(755,root,root) %{_bindir}/qemu-io
1162 %attr(755,root,root) %{_bindir}/qemu-m68k
1163 %attr(755,root,root) %{_bindir}/qemu-microblaze
1164 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1165 %attr(755,root,root) %{_bindir}/qemu-mips
1166 %attr(755,root,root) %{_bindir}/qemu-mipsel
1167 %attr(755,root,root) %{_bindir}/qemu-mips64
1168 %attr(755,root,root) %{_bindir}/qemu-mips64el
1169 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1170 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1171 %attr(755,root,root) %{_bindir}/qemu-nios2
1172 %attr(755,root,root) %{_bindir}/qemu-or1k
1173 %attr(755,root,root) %{_bindir}/qemu-ppc
1174 %attr(755,root,root) %{_bindir}/qemu-ppc64
1175 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1176 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1177 %attr(755,root,root) %{_bindir}/qemu-s390x
1178 %attr(755,root,root) %{_bindir}/qemu-sh4
1179 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1180 %attr(755,root,root) %{_bindir}/qemu-sparc
1181 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1182 %attr(755,root,root) %{_bindir}/qemu-sparc64
1183 %attr(755,root,root) %{_bindir}/qemu-x86_64
1185 %if %{with user_static}
1187 %defattr(644,root,root,755)
1188 /usr/lib/binfmt.d/qemu-*-static.conf
1189 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1190 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1191 %attr(755,root,root) %{_bindir}/qemu-arm-static
1192 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1193 %attr(755,root,root) %{_bindir}/qemu-cris-static
1194 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1195 %attr(755,root,root) %{_bindir}/qemu-i386-static
1196 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1197 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1198 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1199 %attr(755,root,root) %{_bindir}/qemu-mips-static
1200 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1201 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1202 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1203 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1204 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1205 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1206 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1207 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1208 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1209 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1210 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1211 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1212 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1213 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1214 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1215 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1216 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1217 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1218 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1221 %files system-aarch64
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_bindir}/qemu-system-arm
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_bindir}/qemu-system-cris
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1245 %files system-microblaze
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1248 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_bindir}/qemu-system-mips
1253 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1254 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1255 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1272 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1273 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1274 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1275 %{_datadir}/%{name}/qemu_vga.ndrv
1276 %{_datadir}/%{name}/u-boot.e500
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
1311 %{_datadir}/%{name}/acpi-dsdt.aml
1313 %files system-xtensa
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1316 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1319 %defattr(644,root,root,755)
1320 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1321 %{systemdunitdir}/qemu-guest-agent.service
1322 %attr(755,root,root) %{_bindir}/qemu-ga
1323 %{_mandir}/man8/qemu-ga.8*
1325 %files module-block-curl
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1329 %if %{with glusterfs}
1330 %files module-block-gluster
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1336 %files module-block-iscsi
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1342 %files module-block-rbd
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1347 %files module-block-ssh
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so