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 xseg # Archipelago backend [non-distributable: GPLv3+ vs GPLv2-only]
9 %bcond_with gtk2 # GTK+ 2.x instead of 3.x
10 %bcond_without gtk3 # Do not build GTK+ UI
11 %bcond_without vte # VTE support in GTK+ UI
12 %bcond_without spice # SPICE support
13 %bcond_with esd # EsounD audio support
14 %bcond_without oss # OSS audio support
15 %bcond_without pulseaudio # PulseAudio audio support
16 %bcond_without xen # Xen backend driver support
17 %bcond_without bluetooth # bluetooth support
18 %bcond_without brlapi # brlapi support
19 %bcond_without smartcard # smartcard-nss support
20 %bcond_without iscsi # iscsi support
21 %bcond_without libnfs # NFS support
22 %bcond_without seccomp # seccomp support
23 %bcond_without usbredir # usb network redirection support
24 %bcond_without system_seabios # system seabios binary
25 %bcond_without snappy # snappy compression library
26 %bcond_without user_static # build linux-user static packages
27 %bcond_with lttng # lttng-ust trace backend support
28 %bcond_with systemtap # SystemTap/dtrace trace backend support
38 Summary: QEMU CPU Emulator
39 Summary(pl.UTF-8): QEMU - emulator procesora
44 Group: Applications/Emulators
45 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
46 # Source0-md5: 08d4d06d1cb598efecd796137f4844ab
47 Source2: %{name}.binfmt
48 # Loads kvm kernel modules at boot
49 Source3: kvm-modules-load.conf
54 Source6: ksm.sysconfig
56 Source8: ksmtuned.service
58 Source10: ksmtuned.conf
59 Source11: %{name}-guest-agent.service
60 Source12: 99-%{name}-guest-agent.rules
61 Patch0: %{name}-cflags.patch
62 Patch1: vgabios-widescreens.patch
63 Patch2: %{name}-whitelist.patch
64 Patch3: %{name}-user-execve.patch
65 Patch4: %{name}-xattr.patch
66 Patch5: 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
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_xseg:BuildRequires: libxseg-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_xen:BuildRequires: xen-devel >= 3.4}
127 BuildRequires: xfsprogs-devel
128 BuildRequires: xorg-lib-libX11-devel
129 BuildRequires: zlib-devel
131 BuildRequires: gtk+2-devel >= 2:2.18.0
132 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
135 BuildRequires: gtk+3-devel >= 3.0.0
136 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
138 %if %{with user_static}
139 BuildRequires: glib2-static
140 BuildRequires: glibc-static
141 BuildRequires: pcre-static
142 BuildRequires: zlib-static
144 Requires: %{name}-img = %{version}-%{release}
145 Requires: %{name}-system-aarch64 = %{version}-%{release}
146 Requires: %{name}-system-alpha = %{version}-%{release}
147 Requires: %{name}-system-arm = %{version}-%{release}
148 Requires: %{name}-system-cris = %{version}-%{release}
149 Requires: %{name}-system-lm32 = %{version}-%{release}
150 Requires: %{name}-system-m68k = %{version}-%{release}
151 Requires: %{name}-system-microblaze = %{version}-%{release}
152 Requires: %{name}-system-mips = %{version}-%{release}
153 Requires: %{name}-system-moxie = %{version}-%{release}
154 Requires: %{name}-system-or32 = %{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 %if %{with seccomp} \
172 Requires: libseccomp >= 2.1.0 \
174 Requires: libusb >= 1.0.13 \
175 Requires: pixman >= 0.21.8 \
176 %if %{with usbredir} \
177 Requires: usbredir >= 0.6 \
180 Requires: gtk+2 >= 2:2.18.0 \
181 %{?with_vte:Requires: vte0 >= 0.24.0} \
184 Requires: gtk+3 >= 3.0.0 \
185 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
188 # don't strip/chrpath anything in there; these are boot images, roms etc
189 %define _noautostrip .*%{_datadir}/qemu/.*
190 %define _noautochrpath .*%{_datadir}/qemu/.*
193 QEMU is a FAST! processor emulator. By using dynamic translation it
194 achieves a reasonnable speed while being easy to port on new host
195 CPUs. QEMU has two operating modes:
197 - User mode emulation. In this mode, QEMU can launch Linux processes
198 compiled for one CPU on another CPU. Linux system calls are converted
199 because of endianness and 32/64 bit mismatches. Wine (Windows
200 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
202 - Full system emulation. In this mode, QEMU emulates a full system,
203 including a processor and various peripherials. It can also be used to
204 provide virtual hosting of several virtual PC on a single server.
206 %description -l pl.UTF-8
207 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
208 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
209 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
211 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
212 procesy linuksowe skompilowane dla jednego procesora na innym
213 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
214 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
215 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
218 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
219 włączając w to procesor i różne urządzenia peryferyjne. Może być także
220 używane do wirtualnego hostowania kilku wirtualnych pecetów na
221 pojedynczym serwerze.
224 Summary: QEMU common files needed by all QEMU targets
225 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
226 Group: Development/Tools
227 Requires(post,preun,postun): systemd-units >= 38
228 Requires(postun): /usr/sbin/groupdel
229 Requires(postun): /usr/sbin/userdel
230 Requires(pre): /bin/id
231 Requires(pre): /usr/bin/getgid
232 Requires(pre): /usr/sbin/groupadd
233 Requires(pre): /usr/sbin/useradd
234 Requires: glib2 >= 1:2.22
235 %{?with_libnfs:Requires: libnfs >= 1.9.3}
236 Requires: libssh2 >= 1.2.8
237 Requires: systemd-units >= 38
238 Provides: group(qemu)
240 Obsoletes: qemu-kvm-common
241 Conflicts: qemu < 1.0-2
244 QEMU is a generic and open source processor emulator which achieves a
245 good emulation speed by using dynamic translation.
247 This package provides the common files needed by all QEMU targets.
249 %description common -l pl.UTF-8
250 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
251 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
253 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
257 Summary: QEMU command line tool for manipulating disk images
258 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
259 Group: Development/Tools
260 Obsoletes: qemu-kvm-img
261 Conflicts: qemu < 1.0-2
264 This package provides a command line tool for manipulating disk
267 %description img -l pl.UTF-8
268 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
272 Summary: QEMU user mode emulation of qemu targets
273 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
274 Group: Development/Tools
275 Requires: %{name}-common = %{version}-%{release}
276 Requires(post,postun): systemd-units >= 38
277 Requires: systemd-units >= 38
278 Obsoletes: qemu-kvm-user
281 QEMU is a generic and open source processor emulator which achieves a
282 good emulation speed by using dynamic translation.
284 This package provides the user mode emulation of QEMU targets.
286 %description user -l pl.UTF-8
287 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
288 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
290 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
293 Summary: QEMU user mode emulation of qemu targets static build
294 Group: Development/Tools
295 Requires: %{name}-common = %{version}-%{release}
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.
486 Summary: QEMU system emulator for OpenRISC
487 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
488 Group: Development/Tools
489 Requires: %{name}-common = %{version}-%{release}
491 Obsoletes: qemu-kvm-system-or32
493 %description system-or32
494 QEMU is a generic and open source processor emulator which achieves a
495 good emulation speed by using dynamic translation.
497 This package provides the system emulator with OpenRISC CPU.
499 %description system-or32 -l pl.UTF-8
500 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
501 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
503 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
506 Summary: QEMU system emulator for PowerPC
507 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
508 Group: Development/Tools
509 Requires: %{name}-common = %{version}-%{release}
511 Obsoletes: qemu-kvm-system-ppc
513 %description system-ppc
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 PowerPC CPU.
519 %description system-ppc -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 PowerPC.
525 %package system-s390x
526 Summary: QEMU system emulator for S390
527 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
528 Group: Development/Tools
529 Requires: %{name}-common = %{version}-%{release}
531 Obsoletes: qemu-kvm-system-s390x
533 %description system-s390x
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 S390 CPU.
539 %description system-s390x -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 S390.
546 Summary: QEMU system emulator for SH4
547 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
548 Group: Development/Tools
549 Requires: %{name}-common = %{version}-%{release}
551 Obsoletes: qemu-kvm-system-sh4
553 %description system-sh4
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 SH4 CPU.
559 %description system-sh4 -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 SH4.
565 %package system-sparc
566 Summary: QEMU system emulator for SPARC
567 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
568 Group: Development/Tools
569 Requires: %{name}-common = %{version}-%{release}
571 Obsoletes: qemu-kvm-system-sparc
573 %description system-sparc
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 SPARC/SPARC64 CPU.
579 %description system-sparc -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 SPARC/SPARC64.
585 %package system-tricore
586 Summary: QEMU system emulator for TriCore
587 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
588 Group: Development/Tools
589 Requires: %{name}-common = %{version}-%{release}
592 %description system-tricore
593 QEMU is a generic and open source processor emulator which achieves a
594 good emulation speed by using dynamic translation.
596 This package provides the system emulator with TriCore CPU.
598 %description system-sparc -l pl.UTF-8
599 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
600 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
602 Ten pakiet zawiera emulator systemu z procesorem TriCore.
604 %package system-unicore32
605 Summary: QEMU system emulator for UniCore32
606 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
607 Group: Development/Tools
608 Requires: %{name}-common = %{version}-%{release}
610 Obsoletes: qemu-kvm-system-unicore32
612 %description system-unicore32
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 UniCore32 CPU.
618 %description system-unicore32 -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 UniCore32.
625 Summary: QEMU system emulator for x86
626 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
627 Group: Development/Tools
628 Requires: %{name}-common = %{version}-%{release}
629 %{?with_system_seabios:Requires: seabios}
632 Obsoletes: qemu-kvm-system-x86
634 %description system-x86
635 QEMU is a generic and open source processor emulator which achieves a
636 good emulation speed by using dynamic translation.
638 %description system-x86 -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 %package system-xtensa
643 Summary: QEMU system emulator for Xtensa
644 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
645 Group: Development/Tools
646 Requires: %{name}-common = %{version}-%{release}
648 Obsoletes: qemu-kvm-system-xtensa
650 %description system-xtensa
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 Xtensa CPU.
656 %description system-xtensa -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 Xtensa.
663 Summary: QEMU guest agent
664 Summary(pl.UTF-8): Agent gościa QEMU
666 Requires(post,preun,postun): systemd-units >= 38
667 Requires: glib2 >= 1:2.22
668 Requires: systemd-units >= 38
669 Obsoletes: qemu-kvm-guest-agent
671 %description guest-agent
672 QEMU is a generic and open source processor emulator which achieves a
673 good emulation speed by using dynamic translation.
675 This package provides an agent to run inside guests, which
676 communicates with the host over a virtio-serial channel named
677 "org.qemu.guest_agent.0".
679 This package does not need to be installed on the host OS.
681 %description guest-agent -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 udostępnia agenta przeznaczonego do uruchomienia w
686 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
687 "org.qemu.guest_agent.0".
689 Ten pakiet nie musi być zainstalowany w systemie hosta.
691 %package module-block-archipelago
692 Summary: QEMU module for Archipelago block devices
693 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych Archipelago
694 Group: Development/Tools
695 Requires: %{name}-common = %{version}-%{release}
697 %description module-block-archipelago
698 Archipelago block device support for QEMU.
700 %description module-block-archipelago -l pl.UTF-8
701 Moduł QEMU dla urządeń blokowych Archipelago.
703 %package module-block-curl
704 Summary: QEMU module for 'curl' block devices
705 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
706 Group: Development/Tools
707 Requires: %{name}-common = %{version}-%{release}
709 %description module-block-curl
710 'curl' block device support for QEMU.
712 %description module-block-curl -l pl.UTF-8
713 Moduł QEMU dla urządeń blokowych typu 'curl'.
715 %package module-block-gluster
716 Summary: QEMU module for 'gluster' block devices
717 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
718 Group: Development/Tools
719 Requires: %{name}-common = %{version}-%{release}
720 Requires: glusterfs-libs >= 3.4
722 %description module-block-gluster
723 'gluster' block device support for QEMU.
725 %description module-block-gluster -l pl.UTF-8
726 Moduł QEMU dla urządeń blokowych typu 'gluster'.
728 %package module-block-iscsi
729 Summary: QEMU module for 'iscsi' block devices
730 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
731 Group: Development/Tools
732 Requires: %{name}-common = %{version}-%{release}
733 Requires: libiscsi >= 1.9.0
735 %description module-block-iscsi
736 'iscsi' block device support for QEMU.
738 %description module-block-iscsi -l pl.UTF-8
739 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
741 %package module-block-rbd
742 Summary: QEMU module for 'rbd' block devices
743 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
744 Group: Development/Tools
745 Requires: %{name}-common = %{version}-%{release}
747 %description module-block-rbd
748 'rbd' block device support for QEMU.
750 %description module-block-rbd -l pl.UTF-8
751 Moduł QEMU dla urządeń blokowych typu 'rbd'.
753 %package module-block-ssh
754 Summary: QEMU module for 'ssh' block devices
755 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
756 Group: Development/Tools
757 Requires: %{name}-common = %{version}-%{release}
759 %description module-block-ssh
760 'ssh' block device support for QEMU.
762 %description module-block-ssh -l pl.UTF-8
763 Moduł QEMU dla urządeń blokowych typu 'ssh'.
775 # workaround for conflict with alsa/error.h
776 ln -s ../error.h qapi/error.h
784 install -d build-$target
788 --prefix=%{_prefix} \
789 --libdir=%{_libdir} \
790 --libexecdir=%{_libexecdir} \
791 --sysconfdir=%{_sysconfdir} \
792 --localstatedir=%{_localstatedir} \
793 --interp-prefix=%{_libdir}/qemu/lib-%%M \
795 --host-cc="%{__cc}" \
797 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
803 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
809 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
810 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
811 %{__enable_disable xseg archipelago} \
813 %{__enable_disable bluetooth bluez} \
814 %{__enable_disable brlapi} \
820 %{__enable_disable glusterfs} \
821 %{__enable_disable iscsi libiscsi} \
822 %{__enable_disable ceph rbd} \
823 %{__enable_disable rdma} \
824 %{__enable_disable sdl} \
826 %{__enable_disable seccomp} \
827 %{__enable_disable spice} \
828 %{__enable_disable smartcard smartcard} \
830 %{__enable_disable usbredir usb-redir} \
837 %{!?with_vte:--disable-vte} \
838 %{__enable_disable xen} \
841 %{__enable_disable libnfs} \
843 %{__enable_disable snappy} \
844 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
845 %if %{without gtk2} && %{without gtk3}
848 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
851 %if %{with user_static}
860 --disable-guest-agent \
861 --disable-guest-agent-msi \
876 # rebuild patched vesa tables with additional widescreen modes.
877 %{__make} -C roms/vgabios stdvga-bios
879 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
882 rm -rf $RPM_BUILD_ROOT
883 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
884 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
885 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
887 %if %{with user_static}
888 %{__make} -C build-static install \
889 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
890 DESTDIR=$RPM_BUILD_ROOT
892 # Give all QEMU user emulators a -static suffix
893 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
899 %{__make} -C build-dynamic install \
900 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
901 DESTDIR=$RPM_BUILD_ROOT
903 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
905 install -d $RPM_BUILD_ROOT%{_sysconfdir}
906 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
911 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
913 %ifarch %{ix86} %{x8664} x32
914 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
915 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
918 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
919 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
920 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
922 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
923 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
924 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
926 # For the qemu-guest-agent subpackage install the systemd
927 # service and udev rules.
928 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
929 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
933 %ifnarch %{ix86} %{x8664} x32
944 qemu-microblaze qemu-microblazeel \
960 %ifnarch ppc ppc64 ppc64le
961 qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
963 %ifnarch sparc sparc64
964 qemu-sparc qemu-sparc32plus qemu-sparc64 \
974 test $i = dummy && continue
975 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
977 %if %{with user_static}
978 grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
979 %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
984 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html
985 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
987 # install patched vesa tables with additional widescreen modes.
988 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
990 %if %{with system_seabios}
991 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
992 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
993 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
995 if [ -e "/usr/share/seabios/$bn" ] ; then
996 ln -sf "/usr/share/seabios/$bn" "$f"
1001 %if %{with gtk2} || %{with gtk3}
1002 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1003 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1010 rm -rf $RPM_BUILD_ROOT
1013 %groupadd -g 160 kvm
1014 %groupadd -g 276 qemu
1015 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1018 %systemd_post ksm.service
1019 %systemd_post ksmtuned.service
1022 %systemd_preun ksm.service
1023 %systemd_preun ksmtuned.service
1026 if [ "$1" = "0" ]; then
1033 %triggerpostun common -- qemu-common < 1.6.1-4
1034 %systemd_trigger ksm.service
1035 %systemd_trigger ksmtuned.service
1038 %systemd_service_restart systemd-binfmt.service
1041 %systemd_service_restart systemd-binfmt.service
1044 %systemd_service_restart systemd-binfmt.service
1047 %systemd_service_restart systemd-binfmt.service
1053 %systemd_preun qemu-guest-agent.service
1059 %defattr(644,root,root,755)
1061 %files common -f %{name}.lang
1062 %defattr(644,root,root,755)
1064 %doc build-dynamic/{qemu-doc.html,qemu-tech.html,qmp-commands.txt}
1065 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1066 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1067 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1068 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1070 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1071 %{systemdunitdir}/ksm.service
1072 %{systemdunitdir}/ksmtuned.service
1073 %attr(755,root,root) %{_bindir}/ivshmem-client
1074 %attr(755,root,root) %{_bindir}/ivshmem-server
1075 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1076 %attr(755,root,root) %{_bindir}/qemu-nbd
1077 %attr(755,root,root) %{_bindir}/qemu-tilegx
1078 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
1079 %attr(755,root,root) %{_sbindir}/ksmctl
1080 %attr(755,root,root) %{_sbindir}/ksmtuned
1081 %{_mandir}/man1/qemu.1*
1082 %{_mandir}/man1/virtfs-proxy-helper.1*
1083 %{_mandir}/man8/qemu-nbd.8*
1085 %dir %{_datadir}/qemu
1086 %{_datadir}/%{name}/keymaps
1087 %{_datadir}/%{name}/qemu-icon.bmp
1088 %{_datadir}/%{name}/trace-events-all
1090 # various bios images
1091 # all should be probably moved to the right system subpackage
1092 %{_datadir}/%{name}/bamboo.dtb
1093 %{_datadir}/%{name}/efi-e1000e.rom
1094 %{_datadir}/%{name}/efi-e1000.rom
1095 %{_datadir}/%{name}/efi-eepro100.rom
1096 %{_datadir}/%{name}/efi-ne2k_pci.rom
1097 %{_datadir}/%{name}/efi-pcnet.rom
1098 %{_datadir}/%{name}/efi-rtl8139.rom
1099 %{_datadir}/%{name}/efi-virtio.rom
1100 %{_datadir}/%{name}/efi-vmxnet3.rom
1101 %{_datadir}/%{name}/kvmvapic.bin
1102 %{_datadir}/%{name}/linuxboot.bin
1103 %{_datadir}/%{name}/linuxboot_dma.bin
1104 %{_datadir}/%{name}/multiboot.bin
1105 %{_datadir}/%{name}/openbios-ppc
1106 %{_datadir}/%{name}/openbios-sparc*
1107 %{_datadir}/%{name}/palcode-clipper
1108 %{_datadir}/%{name}/petalogix-ml605.dtb
1109 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1110 %{_datadir}/%{name}/ppc_rom.bin
1111 %{_datadir}/%{name}/pxe-e1000.rom
1112 %{_datadir}/%{name}/pxe-eepro100.rom
1113 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1114 %{_datadir}/%{name}/pxe-pcnet.rom
1115 %{_datadir}/%{name}/pxe-rtl8139.rom
1116 %{_datadir}/%{name}/pxe-virtio.rom
1117 %{_datadir}/%{name}/QEMU,cgthree.bin
1118 %{_datadir}/%{name}/qemu_logo_no_text.svg
1119 %{_datadir}/%{name}/QEMU,tcx.bin
1120 %{_datadir}/%{name}/s390-ccw.img
1121 %{_datadir}/%{name}/sgabios.bin
1122 %{_datadir}/%{name}/slof.bin
1123 %{_datadir}/%{name}/spapr-rtas.bin
1124 %{_datadir}/%{name}/vgabios.bin
1125 %{_datadir}/%{name}/vgabios-cirrus.bin
1126 %{_datadir}/%{name}/vgabios-qxl.bin
1127 %{_datadir}/%{name}/vgabios-stdvga.bin
1128 %{_datadir}/%{name}/vgabios-virtio.bin
1129 %{_datadir}/%{name}/vgabios-vmware.bin
1131 %dir %{_libdir}/%{name}
1133 # modules without too many external dependencies
1134 %attr(755,root,root) %{_libdir}/%{name}/block-dmg.so
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_bindir}/qemu-img
1139 %{_mandir}/man1/qemu-img.1*
1142 %defattr(644,root,root,755)
1143 /usr/lib/binfmt.d/qemu-*-dynamic.conf
1144 %attr(755,root,root) %{_bindir}/qemu-aarch64
1145 %attr(755,root,root) %{_bindir}/qemu-alpha
1146 %attr(755,root,root) %{_bindir}/qemu-arm
1147 %attr(755,root,root) %{_bindir}/qemu-armeb
1148 %attr(755,root,root) %{_bindir}/qemu-cris
1149 %attr(755,root,root) %{_bindir}/qemu-i386
1150 %attr(755,root,root) %{_bindir}/qemu-io
1151 %attr(755,root,root) %{_bindir}/qemu-m68k
1152 %attr(755,root,root) %{_bindir}/qemu-microblaze
1153 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1154 %attr(755,root,root) %{_bindir}/qemu-mips
1155 %attr(755,root,root) %{_bindir}/qemu-mipsel
1156 %attr(755,root,root) %{_bindir}/qemu-mips64
1157 %attr(755,root,root) %{_bindir}/qemu-mips64el
1158 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1159 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1160 %attr(755,root,root) %{_bindir}/qemu-or32
1161 %attr(755,root,root) %{_bindir}/qemu-ppc
1162 %attr(755,root,root) %{_bindir}/qemu-ppc64
1163 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1164 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1165 %attr(755,root,root) %{_bindir}/qemu-s390x
1166 %attr(755,root,root) %{_bindir}/qemu-sh4
1167 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1168 %attr(755,root,root) %{_bindir}/qemu-sparc
1169 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1170 %attr(755,root,root) %{_bindir}/qemu-sparc64
1171 %attr(755,root,root) %{_bindir}/qemu-unicore32
1172 %attr(755,root,root) %{_bindir}/qemu-x86_64
1174 %if %{with user_static}
1176 %defattr(644,root,root,755)
1177 /usr/lib/binfmt.d/qemu-*-static.conf
1178 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1179 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1180 %attr(755,root,root) %{_bindir}/qemu-arm-static
1181 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1182 %attr(755,root,root) %{_bindir}/qemu-cris-static
1183 %attr(755,root,root) %{_bindir}/qemu-i386-static
1184 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1185 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1186 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1187 %attr(755,root,root) %{_bindir}/qemu-mips-static
1188 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1189 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1190 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1191 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1192 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1193 %attr(755,root,root) %{_bindir}/qemu-or32-static
1194 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1195 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1196 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1197 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1198 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1199 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1200 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1201 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1202 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1203 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1204 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1205 %attr(755,root,root) %{_bindir}/qemu-unicore32-static
1206 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1209 %files system-aarch64
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_bindir}/qemu-system-arm
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_bindir}/qemu-system-cris
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1233 %files system-microblaze
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1236 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_bindir}/qemu-system-mips
1241 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1242 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1243 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_bindir}/qemu-system-or32
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1256 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1257 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1258 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1259 %{_datadir}/%{name}/u-boot.e500
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1268 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1273 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1275 %files system-tricore
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1279 %files system-unicore32
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/qemu-system-i386
1286 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1287 %ifarch %{ix86} %{x8664} x32
1288 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1289 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1291 %{_datadir}/%{name}/bios.bin
1292 %{_datadir}/%{name}/bios-256k.bin
1293 %{_datadir}/%{name}/acpi-dsdt.aml
1295 %files system-xtensa
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1298 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1301 %defattr(644,root,root,755)
1302 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1303 %{systemdunitdir}/qemu-guest-agent.service
1304 %attr(755,root,root) %{_bindir}/qemu-ga
1305 %{_mandir}/man8/qemu-ga.8*
1308 %files module-block-archipelago
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/%{name}/block-archipelago.so
1313 %files module-block-curl
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1317 %if %{with glusterfs}
1318 %files module-block-gluster
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1324 %files module-block-iscsi
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1330 %files module-block-rbd
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1335 %files module-block-ssh
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so