3 %bcond_without sdl # SDL UI and audio support
4 %bcond_without gl # Don't require gl deps
5 %bcond_without ceph # Ceph/RBD support
6 %bcond_without glusterfs # GlusterFS backend
7 %bcond_without rdma # RDMA-based migration support
8 %bcond_with gtk2 # GTK+ 2.x instead of 3.x
9 %bcond_without gtk3 # Do not build GTK+ UI
10 %bcond_without vte # VTE support in GTK+ UI
11 %bcond_without spice # SPICE support
12 %bcond_with esd # EsounD audio support
13 %bcond_without oss # OSS audio support
14 %bcond_without pulseaudio # PulseAudio audio support
15 %bcond_without xen # Xen backend driver support
16 %bcond_without bluetooth # bluetooth support
17 %bcond_with brlapi # brlapi support
18 %bcond_without smartcard # smartcard-nss support
19 %bcond_without iscsi # iscsi support
20 %bcond_without libnfs # NFS support
21 %bcond_without seccomp # seccomp support
22 %bcond_without usbredir # usb network redirection support
23 %bcond_without system_seabios # system seabios binary
24 %bcond_without snappy # snappy compression library
25 %bcond_without user_static # build linux-user static packages
26 %bcond_with lttng # lttng-ust trace backend support
27 %bcond_with systemtap # SystemTap/dtrace trace backend support
37 Summary: QEMU CPU Emulator
38 Summary(pl.UTF-8): QEMU - emulator procesora
43 Group: Applications/Emulators
44 Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
45 # Source0-md5: 0ee48c0f0cae47cc5d05408e03cd199e
46 # Loads kvm kernel modules at boot
47 Source3: kvm-modules-load.conf
51 Source6: ksm.sysconfig
54 Source10: ksmtuned.conf
55 Source12: 99-%{name}-guest-agent.rules
56 Patch0: %{name}-cflags.patch
57 Patch1: vgabios-widescreens.patch
58 Patch2: %{name}-whitelist.patch
59 Patch3: %{name}-user-execve.patch
60 Patch4: %{name}-xattr.patch
61 Patch5: libjpeg-boolean.patch
63 Patch7: %{name}-glibc2_27.patch
64 URL: http://www.qemu-project.org/
65 %{?with_gl:BuildRequires: OpenGL-GLX-devel}
66 %{?with_gl:BuildRequires: OpenGL-devel}
67 %{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
68 BuildRequires: alsa-lib-devel
69 BuildRequires: bcc >= 0.16.21-2
70 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
71 %{?with_brlapi:BuildRequires: brlapi-devel}
72 BuildRequires: bzip2-devel
73 %{?with_ceph:BuildRequires: ceph-devel}
74 BuildRequires: curl-devel
75 BuildRequires: cyrus-sasl-devel >= 2
76 %{?with_esd:BuildRequires: esound-devel}
77 BuildRequires: glib2-devel >= 1:2.22
78 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
79 BuildRequires: gnutls-devel > 2.10.0
80 BuildRequires: libaio-devel
81 %{?with_smartcard:BuildRequires: libcacard-devel}
82 BuildRequires: libcap-devel
83 BuildRequires: libcap-ng-devel
84 %{?with_gl:BuildRequires: libepoxy-devel}
85 BuildRequires: libfdt-devel >= 1.4.2
86 %{?with_rdma:BuildRequires: libibverbs-devel}
87 %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
88 BuildRequires: libjpeg-devel
89 %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
90 BuildRequires: libpng-devel
91 %{?with_rdma:BuildRequires: librdmacm-devel}
92 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1}
93 BuildRequires: libssh2-devel >= 1.2.8
94 BuildRequires: libusb-devel >= 1.0.13
95 BuildRequires: libuuid-devel
96 %{?with_lttng:BuildRequires: lttng-ust-devel}
97 BuildRequires: lzo-devel >= 2
98 BuildRequires: ncurses-devel
99 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
100 BuildRequires: numactl-devel
101 BuildRequires: perl-Encode
102 BuildRequires: perl-tools-pod
103 BuildRequires: pixman-devel >= 0.21.8
104 BuildRequires: pkgconfig
105 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
106 BuildRequires: rpmbuild(macros) >= 1.644
107 %{?with_system_seabios:BuildRequires: seabios}
108 BuildRequires: sed >= 4.0
109 %{?with_snappy:BuildRequires: snappy-devel}
111 BuildRequires: spice-protocol >= 0.12.3
112 BuildRequires: spice-server-devel >= 0.12.0
114 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
115 BuildRequires: texi2html
116 BuildRequires: texinfo
117 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
118 %{?with_lttng:BuildRequires: userspace-rcu-devel}
119 BuildRequires: vde2-devel
121 %{?with_xen:BuildRequires: xen-devel >= 3.4}
122 BuildRequires: xfsprogs-devel
123 BuildRequires: xorg-lib-libX11-devel
124 BuildRequires: zlib-devel
126 BuildRequires: gtk+2-devel >= 2:2.18.0
127 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
130 BuildRequires: gtk+3-devel >= 3.0.0
131 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
133 %if %{with user_static}
134 BuildRequires: glib2-static
135 BuildRequires: glibc-static
136 BuildRequires: pcre-static
137 BuildRequires: xen-static
138 BuildRequires: zlib-static
140 Requires: %{name}-img = %{version}-%{release}
141 Requires: %{name}-system-aarch64 = %{version}-%{release}
142 Requires: %{name}-system-alpha = %{version}-%{release}
143 Requires: %{name}-system-arm = %{version}-%{release}
144 Requires: %{name}-system-cris = %{version}-%{release}
145 Requires: %{name}-system-lm32 = %{version}-%{release}
146 Requires: %{name}-system-m68k = %{version}-%{release}
147 Requires: %{name}-system-microblaze = %{version}-%{release}
148 Requires: %{name}-system-mips = %{version}-%{release}
149 Requires: %{name}-system-moxie = %{version}-%{release}
150 Requires: %{name}-system-nios2 = %{version}-%{release}
151 Requires: %{name}-system-or1k = %{version}-%{release}
152 Requires: %{name}-system-ppc = %{version}-%{release}
153 Requires: %{name}-system-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.1.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+2 >= 2:2.18.0 \
179 %{?with_vte:Requires: vte0 >= 0.24.0} \
182 Requires: gtk+3 >= 3.0.0 \
183 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
186 # don't strip/chrpath anything in there; these are boot images, roms etc
187 %define _noautostrip .*%{_datadir}/qemu/.*
188 %define _noautochrpath .*%{_datadir}/qemu/.*
191 QEMU is a FAST! processor emulator. By using dynamic translation it
192 achieves a reasonnable speed while being easy to port on new host
193 CPUs. QEMU has two operating modes:
195 - User mode emulation. In this mode, QEMU can launch Linux processes
196 compiled for one CPU on another CPU. Linux system calls are converted
197 because of endianness and 32/64 bit mismatches. Wine (Windows
198 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
200 - Full system emulation. In this mode, QEMU emulates a full system,
201 including a processor and various peripherials. It can also be used to
202 provide virtual hosting of several virtual PC on a single server.
204 %description -l pl.UTF-8
205 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
206 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
207 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
209 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
210 procesy linuksowe skompilowane dla jednego procesora na innym
211 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
212 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
213 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
216 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
217 włączając w to procesor i różne urządzenia peryferyjne. Może być także
218 używane do wirtualnego hostowania kilku wirtualnych pecetów na
219 pojedynczym serwerze.
222 Summary: QEMU common files needed by all QEMU targets
223 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
224 Group: Development/Tools
225 Requires(postun): /usr/sbin/groupdel
226 Requires(postun): /usr/sbin/userdel
227 Requires(pre): /bin/id
228 Requires(pre): /usr/bin/getgid
229 Requires(pre): /usr/sbin/groupadd
230 Requires(pre): /usr/sbin/useradd
231 Requires: glib2 >= 1:2.22
232 %{?with_libnfs:Requires: libnfs >= 1.9.3}
233 Requires: libssh2 >= 1.2.8
234 Provides: group(qemu)
236 Obsoletes: qemu-kvm-common
237 Conflicts: qemu < 1.0-2
240 QEMU is a generic and open source processor emulator which achieves a
241 good emulation speed by using dynamic translation.
243 This package provides the common files needed by all QEMU targets.
245 %description common -l pl.UTF-8
246 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
247 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
249 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
253 Summary: QEMU command line tool for manipulating disk images
254 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
255 Group: Development/Tools
256 Obsoletes: qemu-kvm-img
257 Conflicts: qemu < 1.0-2
260 This package provides a command line tool for manipulating disk
263 %description img -l pl.UTF-8
264 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
268 Summary: Client and server for QEMU ivshmem device
269 Summary(pl.UTF-8): Klient i serwer dla urządzeia ivshmem QEMU
270 Group: Development/Tools
273 This package provides client and server tools for QEMU's ivshmem
276 %description ivshmem -l pl.UTF-8
277 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
278 urządzenia ivshmem QEMU.
281 Summary: QEMU user mode emulation of qemu targets
282 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
283 Group: Development/Tools
284 Requires: %{name}-common = %{version}-%{release}
285 Obsoletes: qemu-kvm-user
288 QEMU is a generic and open source processor emulator which achieves a
289 good emulation speed by using dynamic translation.
291 This package provides the user mode emulation of QEMU targets.
293 %description user -l pl.UTF-8
294 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
295 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
297 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
300 Summary: QEMU user mode emulation of qemu targets static build
301 Group: Development/Tools
303 %description user-static
304 QEMU is a generic and open source processor emulator which achieves a
305 good emulation speed by using dynamic translation.
307 This package provides the user mode emulation of qemu targets built as
310 %package system-aarch64
311 Summary: QEMU system emulator for AArch64
312 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
313 Group: Development/Tools
314 Requires: %{name}-common = %{version}-%{release}
316 Obsoletes: qemu-kvm-system-aarch64
318 %description system-aarch64
319 QEMU is a generic and open source processor emulator which achieves a
320 good emulation speed by using dynamic translation.
322 This package provides the system emulator with AArch64 CPU.
324 %description system-aarch64 -l pl.UTF-8
325 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
326 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
328 Ten pakiet zawiera emulator systemu z procesorem AArch64.
330 %package system-alpha
331 Summary: QEMU system emulator for Alpha
332 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
333 Group: Development/Tools
334 Requires: %{name}-common = %{version}-%{release}
336 Obsoletes: qemu-kvm-system-alpha
338 %description system-alpha
339 QEMU is a generic and open source processor emulator which achieves a
340 good emulation speed by using dynamic translation.
342 This package provides the system emulator with Alpha CPU.
344 %description system-alpha -l pl.UTF-8
345 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
346 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
348 Ten pakiet zawiera emulator systemu z procesorem Alpha.
351 Summary: QEMU system emulator for ARM
352 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
353 Group: Development/Tools
354 Requires: %{name}-common = %{version}-%{release}
356 Obsoletes: qemu-kvm-system-arm
358 %description system-arm
359 QEMU is a generic and open source processor emulator which achieves a
360 good emulation speed by using dynamic translation.
362 This package provides the system emulator for ARM.
364 %description system-arm -l pl.UTF-8
365 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
366 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
368 Ten pakiet zawiera emulator systemu z procesorem ARM.
371 Summary: QEMU system emulator for CRIS
372 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
373 Group: Development/Tools
374 Requires: %{name}-common = %{version}-%{release}
376 Obsoletes: qemu-kvm-system-cris
378 %description system-cris
379 QEMU is a generic and open source processor emulator which achieves a
380 good emulation speed by using dynamic translation.
382 This package provides the system emulator with CRIS CPU.
384 %description system-cris -l pl.UTF-8
385 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
386 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
388 Ten pakiet zawiera emulator systemu z procesorem CRIS.
391 Summary: QEMU system emulator for LM32
392 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
393 Group: Development/Tools
394 Requires: %{name}-common = %{version}-%{release}
396 Obsoletes: qemu-kvm-system-lm32
398 %description system-lm32
399 QEMU is a generic and open source processor emulator which achieves a
400 good emulation speed by using dynamic translation.
402 This package provides the system emulator with LM32 CPU.
404 %description system-lm32 -l pl.UTF-8
405 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
406 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
408 Ten pakiet zawiera emulator systemu z procesorem LM32.
411 Summary: QEMU system emulator for m68k
412 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
413 Group: Development/Tools
414 Requires: %{name}-common = %{version}-%{release}
416 Obsoletes: qemu-kvm-system-m68k
418 %description system-m68k
419 QEMU is a generic and open source processor emulator which achieves a
420 good emulation speed by using dynamic translation.
422 This package provides the system emulator with m68k CPU.
424 %description system-m68k -l pl.UTF-8
425 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
426 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
428 Ten pakiet zawiera emulator systemu z procesorem m68k.
430 %package system-microblaze
431 Summary: QEMU system emulator for MicroBlaze
432 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
433 Group: Development/Tools
434 Requires: %{name}-common = %{version}-%{release}
436 Obsoletes: qemu-kvm-system-microblaze
438 %description system-microblaze
439 QEMU is a generic and open source processor emulator which achieves a
440 good emulation speed by using dynamic translation.
442 This package provides the system emulator with MicroBlaze CPU.
444 %description system-microblaze -l pl.UTF-8
445 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
446 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
448 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
451 Summary: QEMU system emulator for MIPS
452 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
453 Group: Development/Tools
454 Requires: %{name}-common = %{version}-%{release}
456 Obsoletes: qemu-kvm-system-mips
458 %description system-mips
459 QEMU is a generic and open source processor emulator which achieves a
460 good emulation speed by using dynamic translation.
462 This package provides the system emulator with MIPS CPU.
464 %description system-mips -l pl.UTF-8
465 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
466 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
468 Ten pakiet zawiera emulator systemu z procesorem MIPS.
470 %package system-moxie
471 Summary: QEMU system emulator for Moxie
472 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
473 Group: Development/Tools
474 Requires: %{name}-common = %{version}-%{release}
477 %description system-moxie
478 QEMU is a generic and open source processor emulator which achieves a
479 good emulation speed by using dynamic translation.
481 This package provides the system emulator with Moxie CPU.
483 %description system-moxie -l pl.UTF-8
484 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
485 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
487 Ten pakiet zawiera emulator systemu z procesorem Moxie.
489 %package system-nios2
490 Summary: QEMU system emulator for Nios II
491 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
492 Group: Development/Tools
493 Requires: %{name}-common = %{version}-%{release}
496 %description system-nios2
497 QEMU is a generic and open source processor emulator which achieves a
498 good emulation speed by using dynamic translation.
500 This package provides the system emulator with Nios II CPU.
502 %description system-nios2 -l pl.UTF-8
503 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
504 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
506 Ten pakiet zawiera emulator systemu z procesorem Nios II.
509 Summary: QEMU system emulator for OpenRISC
510 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
511 Group: Development/Tools
512 Requires: %{name}-common = %{version}-%{release}
514 Obsoletes: qemu-kvm-system-or1k
515 Obsoletes: qemu-system-or32
517 %description system-or1k
518 QEMU is a generic and open source processor emulator which achieves a
519 good emulation speed by using dynamic translation.
521 This package provides the system emulator with OpenRISC CPU.
523 %description system-or1k -l pl.UTF-8
524 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
525 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
527 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
530 Summary: QEMU system emulator for PowerPC
531 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
532 Group: Development/Tools
533 Requires: %{name}-common = %{version}-%{release}
535 Obsoletes: qemu-kvm-system-ppc
537 %description system-ppc
538 QEMU is a generic and open source processor emulator which achieves a
539 good emulation speed by using dynamic translation.
541 This package provides the system emulator with PowerPC CPU.
543 %description system-ppc -l pl.UTF-8
544 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
545 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
547 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
549 %package system-s390x
550 Summary: QEMU system emulator for S390
551 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
552 Group: Development/Tools
553 Requires: %{name}-common = %{version}-%{release}
555 Obsoletes: qemu-kvm-system-s390x
557 %description system-s390x
558 QEMU is a generic and open source processor emulator which achieves a
559 good emulation speed by using dynamic translation.
561 This package provides the system emulator with S390 CPU.
563 %description system-s390x -l pl.UTF-8
564 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
565 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
567 Ten pakiet zawiera emulator systemu z procesorem S390.
570 Summary: QEMU system emulator for SH4
571 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
572 Group: Development/Tools
573 Requires: %{name}-common = %{version}-%{release}
575 Obsoletes: qemu-kvm-system-sh4
577 %description system-sh4
578 QEMU is a generic and open source processor emulator which achieves a
579 good emulation speed by using dynamic translation.
581 This package provides the system emulator with SH4 CPU.
583 %description system-sh4 -l pl.UTF-8
584 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
585 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
587 Ten pakiet zawiera emulator systemu z procesorem SH4.
589 %package system-sparc
590 Summary: QEMU system emulator for SPARC
591 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
592 Group: Development/Tools
593 Requires: %{name}-common = %{version}-%{release}
595 Obsoletes: qemu-kvm-system-sparc
597 %description system-sparc
598 QEMU is a generic and open source processor emulator which achieves a
599 good emulation speed by using dynamic translation.
601 This package provides the system emulator with SPARC/SPARC64 CPU.
603 %description system-sparc -l pl.UTF-8
604 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
605 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
607 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
609 %package system-tricore
610 Summary: QEMU system emulator for TriCore
611 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
612 Group: Development/Tools
613 Requires: %{name}-common = %{version}-%{release}
616 %description system-tricore
617 QEMU is a generic and open source processor emulator which achieves a
618 good emulation speed by using dynamic translation.
620 This package provides the system emulator with TriCore CPU.
622 %description system-sparc -l pl.UTF-8
623 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
624 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
626 Ten pakiet zawiera emulator systemu z procesorem TriCore.
628 %package system-unicore32
629 Summary: QEMU system emulator for UniCore32
630 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
631 Group: Development/Tools
632 Requires: %{name}-common = %{version}-%{release}
634 Obsoletes: qemu-kvm-system-unicore32
636 %description system-unicore32
637 QEMU is a generic and open source processor emulator which achieves a
638 good emulation speed by using dynamic translation.
640 This package provides the system emulator with UniCore32 CPU.
642 %description system-unicore32 -l pl.UTF-8
643 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
644 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
646 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
649 Summary: QEMU system emulator for x86
650 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
651 Group: Development/Tools
652 Requires: %{name}-common = %{version}-%{release}
653 %{?with_system_seabios:Requires: seabios}
656 Obsoletes: qemu-kvm-system-x86
658 %description system-x86
659 QEMU is a generic and open source processor emulator which achieves a
660 good emulation speed by using dynamic translation.
662 %description system-x86 -l pl.UTF-8
663 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
664 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
666 %package system-xtensa
667 Summary: QEMU system emulator for Xtensa
668 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
669 Group: Development/Tools
670 Requires: %{name}-common = %{version}-%{release}
672 Obsoletes: qemu-kvm-system-xtensa
674 %description system-xtensa
675 QEMU is a generic and open source processor emulator which achieves a
676 good emulation speed by using dynamic translation.
678 This package provides the system emulator with Xtensa CPU.
680 %description system-xtensa -l pl.UTF-8
681 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
682 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
684 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
687 Summary: QEMU guest agent
688 Summary(pl.UTF-8): Agent gościa QEMU
690 Requires: glib2 >= 1:2.22
691 Obsoletes: qemu-kvm-guest-agent
693 %description guest-agent
694 QEMU is a generic and open source processor emulator which achieves a
695 good emulation speed by using dynamic translation.
697 This package provides an agent to run inside guests, which
698 communicates with the host over a virtio-serial channel named
699 "org.qemu.guest_agent.0".
701 This package does not need to be installed on the host OS.
703 %description guest-agent -l pl.UTF-8
704 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
705 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
707 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
708 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
709 "org.qemu.guest_agent.0".
711 Ten pakiet nie musi być zainstalowany w systemie hosta.
713 %package module-block-curl
714 Summary: QEMU module for 'curl' block devices
715 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
716 Group: Development/Tools
717 Requires: %{name}-common = %{version}-%{release}
719 %description module-block-curl
720 'curl' block device support for QEMU.
722 %description module-block-curl -l pl.UTF-8
723 Moduł QEMU dla urządeń blokowych typu 'curl'.
725 %package module-block-dmg
726 Summary: QEMU module for 'dmg' block devices
727 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'dmg'
728 Group: Development/Tools
729 Requires: %{name}-common = %{version}-%{release}
732 %description module-block-dmg
733 'dmg' block device support for QEMU.
735 %description module-block-dmg -l pl.UTF-8
736 Moduł QEMU dla urządeń blokowych typu 'dmg'.
738 %package module-block-gluster
739 Summary: QEMU module for 'gluster' block devices
740 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
741 Group: Development/Tools
742 Requires: %{name}-common = %{version}-%{release}
743 Requires: glusterfs-libs >= 3.4
745 %description module-block-gluster
746 'gluster' block device support for QEMU.
748 %description module-block-gluster -l pl.UTF-8
749 Moduł QEMU dla urządeń blokowych typu 'gluster'.
751 %package module-block-iscsi
752 Summary: QEMU module for 'iscsi' block devices
753 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
754 Group: Development/Tools
755 Requires: %{name}-common = %{version}-%{release}
756 Requires: libiscsi >= 1.9.0
758 %description module-block-iscsi
759 'iscsi' block device support for QEMU.
761 %description module-block-iscsi -l pl.UTF-8
762 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
764 %package module-block-nfs
765 Summary: QEMU module for 'nfs' block devices
766 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
767 Group: Development/Tools
768 Requires: %{name}-common = %{version}-%{release}
769 Requires: libnfs >= 1.9.3
771 %description module-block-nfs
772 'nfs' block device support for QEMU.
774 %description module-block-nfs -l pl.UTF-8
775 Moduł QEMU dla urządeń blokowych typu 'nfs'.
777 %package module-block-rbd
778 Summary: QEMU module for 'rbd' block devices
779 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
780 Group: Development/Tools
781 Requires: %{name}-common = %{version}-%{release}
783 %description module-block-rbd
784 'rbd' block device support for QEMU.
786 %description module-block-rbd -l pl.UTF-8
787 Moduł QEMU dla urządeń blokowych typu 'rbd'.
789 %package module-block-ssh
790 Summary: QEMU module for 'ssh' block devices
791 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
792 Group: Development/Tools
793 Requires: %{name}-common = %{version}-%{release}
795 %description module-block-ssh
796 'ssh' block device support for QEMU.
798 %description module-block-ssh -l pl.UTF-8
799 Moduł QEMU dla urządeń blokowych typu 'ssh'.
812 # workaround for conflict with alsa/error.h
813 ln -s ../error.h qapi/error.h
821 install -d build-$target
825 --prefix=%{_prefix} \
826 --libdir=%{_libdir} \
827 --libexecdir=%{_libexecdir} \
828 --sysconfdir=%{_sysconfdir} \
829 --localstatedir=%{_localstatedir} \
830 --interp-prefix=%{_libdir}/qemu/lib-%%M \
832 --host-cc="%{__cc}" \
834 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
840 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
846 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
847 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
849 %{__enable_disable bluetooth bluez} \
850 %{__enable_disable brlapi} \
856 %{__enable_disable glusterfs} \
857 %{__enable_disable iscsi libiscsi} \
858 %{__enable_disable ceph rbd} \
859 %{__enable_disable rdma} \
860 %{__enable_disable sdl} \
862 %{__enable_disable seccomp} \
863 %{__enable_disable spice} \
864 %{__enable_disable smartcard smartcard} \
866 %{__enable_disable usbredir usb-redir} \
872 %{__enable_disable vte} \
873 %{__enable_disable xen} \
876 %{__enable_disable libnfs} \
878 %{__enable_disable snappy} \
879 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
880 %if %{without gtk2} && %{without gtk3}
883 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
886 %if %{with user_static}
895 --disable-guest-agent \
896 --disable-guest-agent-msi \
910 # rebuild patched vesa tables with additional widescreen modes.
911 %{__make} -C roms/vgabios stdvga-bios
913 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
916 rm -rf $RPM_BUILD_ROOT
917 install -d $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
918 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
920 %if %{with user_static}
921 %{__make} -C build-static install \
922 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
923 DESTDIR=$RPM_BUILD_ROOT
925 # Give all QEMU user emulators a -static suffix
926 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
932 %{__make} -C build-dynamic install \
933 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
934 DESTDIR=$RPM_BUILD_ROOT
936 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
938 install -d $RPM_BUILD_ROOT%{_sysconfdir}
939 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
944 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
946 %ifarch %{ix86} %{x8664} x32
947 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
948 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
951 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
952 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
954 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
955 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
957 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
960 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
962 # install patched vesa tables with additional widescreen modes.
963 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
965 %if %{with system_seabios}
966 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
967 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
968 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
970 if [ -e "/usr/share/seabios/$bn" ] ; then
971 ln -sf "/usr/share/seabios/$bn" "$f"
976 %if %{with gtk2} || %{with gtk3}
977 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
978 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
985 rm -rf $RPM_BUILD_ROOT
989 %groupadd -g 276 qemu
990 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
993 if [ "$1" = "0" ]; then
1000 %defattr(644,root,root,755)
1002 %files common -f %{name}.lang
1003 %defattr(644,root,root,755)
1005 %doc build-dynamic/qemu-doc.html
1006 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1007 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1008 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1009 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1011 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1012 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1013 %attr(755,root,root) %{_bindir}/qemu-keymap
1014 %attr(755,root,root) %{_bindir}/qemu-nbd
1015 %attr(755,root,root) %{_bindir}/qemu-pr-helper
1016 %attr(755,root,root) %{_bindir}/qemu-tilegx
1017 %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1018 %attr(755,root,root) %{_sbindir}/ksmctl
1019 %attr(755,root,root) %{_sbindir}/ksmtuned
1020 %{_mandir}/man1/qemu.1*
1021 %{_mandir}/man1/virtfs-proxy-helper.1*
1022 %{_mandir}/man7/qemu-block-drivers.7*
1023 %{_mandir}/man8/qemu-nbd.8*
1025 %dir %{_datadir}/qemu
1026 %{_datadir}/%{name}/keymaps
1027 %{_datadir}/%{name}/qemu-icon.bmp
1028 %{_datadir}/%{name}/trace-events-all
1030 # various bios images
1031 # all should be probably moved to the right system subpackage
1032 %{_datadir}/%{name}/bamboo.dtb
1033 %{_datadir}/%{name}/efi-e1000e.rom
1034 %{_datadir}/%{name}/efi-e1000.rom
1035 %{_datadir}/%{name}/efi-eepro100.rom
1036 %{_datadir}/%{name}/efi-ne2k_pci.rom
1037 %{_datadir}/%{name}/efi-pcnet.rom
1038 %{_datadir}/%{name}/efi-rtl8139.rom
1039 %{_datadir}/%{name}/efi-virtio.rom
1040 %{_datadir}/%{name}/efi-vmxnet3.rom
1041 %{_datadir}/%{name}/kvmvapic.bin
1042 %{_datadir}/%{name}/linuxboot.bin
1043 %{_datadir}/%{name}/linuxboot_dma.bin
1044 %{_datadir}/%{name}/multiboot.bin
1045 %{_datadir}/%{name}/openbios-ppc
1046 %{_datadir}/%{name}/openbios-sparc*
1047 %{_datadir}/%{name}/palcode-clipper
1048 %{_datadir}/%{name}/petalogix-ml605.dtb
1049 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1050 %{_datadir}/%{name}/ppc_rom.bin
1051 %{_datadir}/%{name}/pxe-e1000.rom
1052 %{_datadir}/%{name}/pxe-eepro100.rom
1053 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1054 %{_datadir}/%{name}/pxe-pcnet.rom
1055 %{_datadir}/%{name}/pxe-rtl8139.rom
1056 %{_datadir}/%{name}/pxe-virtio.rom
1057 %{_datadir}/%{name}/QEMU,cgthree.bin
1058 %{_datadir}/%{name}/qemu_logo_no_text.svg
1059 %{_datadir}/%{name}/QEMU,tcx.bin
1060 %{_datadir}/%{name}/s390-ccw.img
1061 %{_datadir}/%{name}/sgabios.bin
1062 %{_datadir}/%{name}/skiboot.lid
1063 %{_datadir}/%{name}/slof.bin
1064 %{_datadir}/%{name}/spapr-rtas.bin
1065 %{_datadir}/%{name}/vgabios.bin
1066 %{_datadir}/%{name}/vgabios-cirrus.bin
1067 %{_datadir}/%{name}/vgabios-qxl.bin
1068 %{_datadir}/%{name}/vgabios-stdvga.bin
1069 %{_datadir}/%{name}/vgabios-virtio.bin
1070 %{_datadir}/%{name}/vgabios-vmware.bin
1072 %dir %{_libdir}/%{name}
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_bindir}/qemu-img
1077 %{_mandir}/man1/qemu-img.1*
1080 %defattr(644,root,root,755)
1081 %attr(755,root,root) %{_bindir}/ivshmem-client
1082 %attr(755,root,root) %{_bindir}/ivshmem-server
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_bindir}/qemu-aarch64
1087 %attr(755,root,root) %{_bindir}/qemu-alpha
1088 %attr(755,root,root) %{_bindir}/qemu-arm
1089 %attr(755,root,root) %{_bindir}/qemu-armeb
1090 %attr(755,root,root) %{_bindir}/qemu-cris
1091 %attr(755,root,root) %{_bindir}/qemu-hppa
1092 %attr(755,root,root) %{_bindir}/qemu-i386
1093 %attr(755,root,root) %{_bindir}/qemu-io
1094 %attr(755,root,root) %{_bindir}/qemu-m68k
1095 %attr(755,root,root) %{_bindir}/qemu-microblaze
1096 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1097 %attr(755,root,root) %{_bindir}/qemu-mips
1098 %attr(755,root,root) %{_bindir}/qemu-mipsel
1099 %attr(755,root,root) %{_bindir}/qemu-mips64
1100 %attr(755,root,root) %{_bindir}/qemu-mips64el
1101 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1102 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1103 %attr(755,root,root) %{_bindir}/qemu-nios2
1104 %attr(755,root,root) %{_bindir}/qemu-or1k
1105 %attr(755,root,root) %{_bindir}/qemu-ppc
1106 %attr(755,root,root) %{_bindir}/qemu-ppc64
1107 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1108 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1109 %attr(755,root,root) %{_bindir}/qemu-s390x
1110 %attr(755,root,root) %{_bindir}/qemu-sh4
1111 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1112 %attr(755,root,root) %{_bindir}/qemu-sparc
1113 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1114 %attr(755,root,root) %{_bindir}/qemu-sparc64
1115 %attr(755,root,root) %{_bindir}/qemu-x86_64
1117 %if %{with user_static}
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1121 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1122 %attr(755,root,root) %{_bindir}/qemu-arm-static
1123 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1124 %attr(755,root,root) %{_bindir}/qemu-cris-static
1125 %attr(755,root,root) %{_bindir}/qemu-hppa-static
1126 %attr(755,root,root) %{_bindir}/qemu-i386-static
1127 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1128 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1129 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1130 %attr(755,root,root) %{_bindir}/qemu-mips-static
1131 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1132 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1133 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1134 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1135 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1136 %attr(755,root,root) %{_bindir}/qemu-nios2-static
1137 %attr(755,root,root) %{_bindir}/qemu-or1k-static
1138 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1139 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1140 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1141 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1142 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1143 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1144 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1145 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1146 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1147 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1148 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1149 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1152 %files system-aarch64
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_bindir}/qemu-system-arm
1165 %defattr(644,root,root,755)
1166 %attr(755,root,root) %{_bindir}/qemu-system-cris
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1176 %files system-microblaze
1177 %defattr(644,root,root,755)
1178 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1179 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1182 %defattr(644,root,root,755)
1183 %attr(755,root,root) %{_bindir}/qemu-system-mips
1184 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1185 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1186 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_bindir}/qemu-system-nios2
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_bindir}/qemu-system-or1k
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1203 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1204 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1205 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1206 %{_datadir}/%{name}/qemu_vga.ndrv
1207 %{_datadir}/%{name}/u-boot.e500
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1212 %{_datadir}/%{name}/s390-netboot.img
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1217 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1222 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1224 %files system-tricore
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1228 %files system-unicore32
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_bindir}/qemu-system-i386
1235 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1236 %ifarch %{ix86} %{x8664} x32
1237 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1238 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1240 %{_datadir}/%{name}/bios.bin
1241 %{_datadir}/%{name}/bios-256k.bin
1242 %{_datadir}/%{name}/acpi-dsdt.aml
1244 %files system-xtensa
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1247 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1250 %defattr(644,root,root,755)
1251 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1252 %attr(755,root,root) %{_bindir}/qemu-ga
1253 %{_mandir}/man8/qemu-ga.8*
1255 %files module-block-curl
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1259 %files module-block-dmg
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1263 %if %{with glusterfs}
1264 %files module-block-gluster
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1270 %files module-block-iscsi
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1276 %files module-block-nfs
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1282 %files module-block-rbd
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1287 %files module-block-ssh
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so