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_with 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: 17940dce063b6ce450a12e719a6c9c43
47 # Loads kvm kernel modules at boot
48 Source3: kvm-modules-load.conf
52 Source6: ksm.sysconfig
55 Source10: ksmtuned.conf
56 Source12: 99-%{name}-guest-agent.rules
57 Patch0: %{name}-cflags.patch
58 Patch1: vgabios-widescreens.patch
59 Patch2: %{name}-whitelist.patch
60 Patch3: %{name}-user-execve.patch
61 Patch4: %{name}-xattr.patch
62 Patch5: libjpeg-boolean.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
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_xseg:BuildRequires: libxseg-devel}
97 %{?with_lttng:BuildRequires: lttng-ust-devel}
98 BuildRequires: lzo-devel >= 2
99 BuildRequires: ncurses-devel
100 %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
101 BuildRequires: numactl-devel
102 BuildRequires: perl-Encode
103 BuildRequires: perl-tools-pod
104 BuildRequires: pixman-devel >= 0.21.8
105 BuildRequires: pkgconfig
106 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
107 BuildRequires: rpmbuild(macros) >= 1.644
108 %{?with_system_seabios:BuildRequires: seabios}
109 BuildRequires: sed >= 4.0
110 %{?with_snappy:BuildRequires: snappy-devel}
112 BuildRequires: spice-protocol >= 0.12.3
113 BuildRequires: spice-server-devel >= 0.12.0
115 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
116 BuildRequires: texi2html
117 BuildRequires: texinfo
118 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
119 %{?with_lttng:BuildRequires: userspace-rcu-devel}
120 BuildRequires: vde2-devel
122 %{?with_xen:BuildRequires: xen-devel >= 3.4}
123 BuildRequires: xfsprogs-devel
124 BuildRequires: xorg-lib-libX11-devel
125 BuildRequires: zlib-devel
127 BuildRequires: gtk+2-devel >= 2:2.18.0
128 %{?with_vte:BuildRequires: vte0-devel >= 0.24.0}
131 BuildRequires: gtk+3-devel >= 3.0.0
132 %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0}
134 %if %{with user_static}
135 BuildRequires: glib2-static
136 BuildRequires: glibc-static
137 BuildRequires: pcre-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-or32 = %{version}-%{release}
151 Requires: %{name}-system-ppc = %{version}-%{release}
152 Requires: %{name}-system-s390x = %{version}-%{release}
153 Requires: %{name}-system-sh4 = %{version}-%{release}
154 Requires: %{name}-system-sparc = %{version}-%{release}
155 Requires: %{name}-system-tricore = %{version}-%{release}
156 Requires: %{name}-system-unicore32 = %{version}-%{release}
157 Requires: %{name}-system-x86 = %{version}-%{release}
158 Requires: %{name}-system-xtensa = %{version}-%{release}
159 Requires: %{name}-user = %{version}-%{release}
161 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
163 %define systempkg_req \
167 %if %{with seccomp} \
168 Requires: libseccomp >= 2.1.0 \
170 Requires: libusb >= 1.0.13 \
171 Requires: pixman >= 0.21.8 \
172 %if %{with usbredir} \
173 Requires: usbredir >= 0.6 \
176 Requires: gtk+2 >= 2:2.18.0 \
177 %{?with_vte:Requires: vte0 >= 0.24.0} \
180 Requires: gtk+3 >= 3.0.0 \
181 %{?with_vte:Requires: vte2.90 >= 0.32.0} \
184 # don't strip/chrpath anything in there; these are boot images, roms etc
185 %define _noautostrip .*%{_datadir}/qemu/.*
186 %define _noautochrpath .*%{_datadir}/qemu/.*
189 QEMU is a FAST! processor emulator. By using dynamic translation it
190 achieves a reasonnable speed while being easy to port on new host
191 CPUs. QEMU has two operating modes:
193 - User mode emulation. In this mode, QEMU can launch Linux processes
194 compiled for one CPU on another CPU. Linux system calls are converted
195 because of endianness and 32/64 bit mismatches. Wine (Windows
196 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
198 - Full system emulation. In this mode, QEMU emulates a full system,
199 including a processor and various peripherials. It can also be used to
200 provide virtual hosting of several virtual PC on a single server.
202 %description -l pl.UTF-8
203 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
204 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
205 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
207 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
208 procesy linuksowe skompilowane dla jednego procesora na innym
209 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
210 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
211 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
214 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
215 włączając w to procesor i różne urządzenia peryferyjne. Może być także
216 używane do wirtualnego hostowania kilku wirtualnych pecetów na
217 pojedynczym serwerze.
220 Summary: QEMU common files needed by all QEMU targets
221 Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
222 Group: Development/Tools
223 Requires(postun): /usr/sbin/groupdel
224 Requires(postun): /usr/sbin/userdel
225 Requires(pre): /bin/id
226 Requires(pre): /usr/bin/getgid
227 Requires(pre): /usr/sbin/groupadd
228 Requires(pre): /usr/sbin/useradd
229 Requires: glib2 >= 1:2.22
230 Requires: libssh2 >= 1.2.8
231 Provides: group(qemu)
233 Obsoletes: qemu-kvm-common
234 Conflicts: qemu < 1.0-2
237 QEMU is a generic and open source processor emulator which achieves a
238 good emulation speed by using dynamic translation.
240 This package provides the common files needed by all QEMU targets.
242 %description common -l pl.UTF-8
243 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
244 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
246 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
250 Summary: QEMU command line tool for manipulating disk images
251 Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
252 Group: Development/Tools
253 Obsoletes: qemu-kvm-img
254 Conflicts: qemu < 1.0-2
257 This package provides a command line tool for manipulating disk
260 %description img -l pl.UTF-8
261 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
265 Summary: Client and server for QEMU ivshmem device
266 Summary(pl.UTF-8): Klient i serwer dla urządzeia ivshmem QEMU
267 Group: Development/Tools
270 This package provides client and server tools for QEMU's ivshmem
273 %description ivshmem -l pl.UTF-8
274 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
275 urządzenia ivshmem QEMU.
278 Summary: QEMU user mode emulation of qemu targets
279 Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
280 Group: Development/Tools
281 Requires: %{name}-common = %{version}-%{release}
282 Obsoletes: qemu-kvm-user
285 QEMU is a generic and open source processor emulator which achieves a
286 good emulation speed by using dynamic translation.
288 This package provides the user mode emulation of QEMU targets.
290 %description user -l pl.UTF-8
291 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
292 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
294 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
297 Summary: QEMU user mode emulation of qemu targets static build
298 Group: Development/Tools
300 %description user-static
301 QEMU is a generic and open source processor emulator which achieves a
302 good emulation speed by using dynamic translation.
304 This package provides the user mode emulation of qemu targets built as
307 %package system-aarch64
308 Summary: QEMU system emulator for AArch64
309 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
310 Group: Development/Tools
311 Requires: %{name}-common = %{version}-%{release}
313 Obsoletes: qemu-kvm-system-aarch64
315 %description system-aarch64
316 QEMU is a generic and open source processor emulator which achieves a
317 good emulation speed by using dynamic translation.
319 This package provides the system emulator with AArch64 CPU.
321 %description system-aarch64 -l pl.UTF-8
322 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
323 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
325 Ten pakiet zawiera emulator systemu z procesorem AArch64.
327 %package system-alpha
328 Summary: QEMU system emulator for Alpha
329 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
330 Group: Development/Tools
331 Requires: %{name}-common = %{version}-%{release}
333 Obsoletes: qemu-kvm-system-alpha
335 %description system-alpha
336 QEMU is a generic and open source processor emulator which achieves a
337 good emulation speed by using dynamic translation.
339 This package provides the system emulator with Alpha CPU.
341 %description system-alpha -l pl.UTF-8
342 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
343 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
345 Ten pakiet zawiera emulator systemu z procesorem Alpha.
348 Summary: QEMU system emulator for ARM
349 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
350 Group: Development/Tools
351 Requires: %{name}-common = %{version}-%{release}
353 Obsoletes: qemu-kvm-system-arm
355 %description system-arm
356 QEMU is a generic and open source processor emulator which achieves a
357 good emulation speed by using dynamic translation.
359 This package provides the system emulator for ARM.
361 %description system-arm -l pl.UTF-8
362 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
363 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
365 Ten pakiet zawiera emulator systemu z procesorem ARM.
368 Summary: QEMU system emulator for CRIS
369 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
370 Group: Development/Tools
371 Requires: %{name}-common = %{version}-%{release}
373 Obsoletes: qemu-kvm-system-cris
375 %description system-cris
376 QEMU is a generic and open source processor emulator which achieves a
377 good emulation speed by using dynamic translation.
379 This package provides the system emulator with CRIS CPU.
381 %description system-cris -l pl.UTF-8
382 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
383 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
385 Ten pakiet zawiera emulator systemu z procesorem CRIS.
388 Summary: QEMU system emulator for LM32
389 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
390 Group: Development/Tools
391 Requires: %{name}-common = %{version}-%{release}
393 Obsoletes: qemu-kvm-system-lm32
395 %description system-lm32
396 QEMU is a generic and open source processor emulator which achieves a
397 good emulation speed by using dynamic translation.
399 This package provides the system emulator with LM32 CPU.
401 %description system-lm32 -l pl.UTF-8
402 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
403 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
405 Ten pakiet zawiera emulator systemu z procesorem LM32.
408 Summary: QEMU system emulator for m68k
409 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
410 Group: Development/Tools
411 Requires: %{name}-common = %{version}-%{release}
413 Obsoletes: qemu-kvm-system-m68k
415 %description system-m68k
416 QEMU is a generic and open source processor emulator which achieves a
417 good emulation speed by using dynamic translation.
419 This package provides the system emulator with m68k CPU.
421 %description system-m68k -l pl.UTF-8
422 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
423 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
425 Ten pakiet zawiera emulator systemu z procesorem m68k.
427 %package system-microblaze
428 Summary: QEMU system emulator for MicroBlaze
429 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
430 Group: Development/Tools
431 Requires: %{name}-common = %{version}-%{release}
433 Obsoletes: qemu-kvm-system-microblaze
435 %description system-microblaze
436 QEMU is a generic and open source processor emulator which achieves a
437 good emulation speed by using dynamic translation.
439 This package provides the system emulator with MicroBlaze CPU.
441 %description system-microblaze -l pl.UTF-8
442 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
443 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
445 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
448 Summary: QEMU system emulator for MIPS
449 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
450 Group: Development/Tools
451 Requires: %{name}-common = %{version}-%{release}
453 Obsoletes: qemu-kvm-system-mips
455 %description system-mips
456 QEMU is a generic and open source processor emulator which achieves a
457 good emulation speed by using dynamic translation.
459 This package provides the system emulator with MIPS CPU.
461 %description system-mips -l pl.UTF-8
462 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
463 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
465 Ten pakiet zawiera emulator systemu z procesorem MIPS.
467 %package system-moxie
468 Summary: QEMU system emulator for Moxie
469 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
470 Group: Development/Tools
471 Requires: %{name}-common = %{version}-%{release}
474 %description system-moxie
475 QEMU is a generic and open source processor emulator which achieves a
476 good emulation speed by using dynamic translation.
478 This package provides the system emulator with Moxie CPU.
480 %description system-moxie -l pl.UTF-8
481 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
482 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
484 Ten pakiet zawiera emulator systemu z procesorem Moxie.
487 Summary: QEMU system emulator for OpenRISC
488 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
489 Group: Development/Tools
490 Requires: %{name}-common = %{version}-%{release}
492 Obsoletes: qemu-kvm-system-or32
494 %description system-or32
495 QEMU is a generic and open source processor emulator which achieves a
496 good emulation speed by using dynamic translation.
498 This package provides the system emulator with OpenRISC CPU.
500 %description system-or32 -l pl.UTF-8
501 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
502 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
504 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
507 Summary: QEMU system emulator for PowerPC
508 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
509 Group: Development/Tools
510 Requires: %{name}-common = %{version}-%{release}
512 Obsoletes: qemu-kvm-system-ppc
514 %description system-ppc
515 QEMU is a generic and open source processor emulator which achieves a
516 good emulation speed by using dynamic translation.
518 This package provides the system emulator with PowerPC CPU.
520 %description system-ppc -l pl.UTF-8
521 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
522 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
524 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
526 %package system-s390x
527 Summary: QEMU system emulator for S390
528 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
529 Group: Development/Tools
530 Requires: %{name}-common = %{version}-%{release}
532 Obsoletes: qemu-kvm-system-s390x
534 %description system-s390x
535 QEMU is a generic and open source processor emulator which achieves a
536 good emulation speed by using dynamic translation.
538 This package provides the system emulator with S390 CPU.
540 %description system-s390x -l pl.UTF-8
541 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
542 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
544 Ten pakiet zawiera emulator systemu z procesorem S390.
547 Summary: QEMU system emulator for SH4
548 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
549 Group: Development/Tools
550 Requires: %{name}-common = %{version}-%{release}
552 Obsoletes: qemu-kvm-system-sh4
554 %description system-sh4
555 QEMU is a generic and open source processor emulator which achieves a
556 good emulation speed by using dynamic translation.
558 This package provides the system emulator with SH4 CPU.
560 %description system-sh4 -l pl.UTF-8
561 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
562 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
564 Ten pakiet zawiera emulator systemu z procesorem SH4.
566 %package system-sparc
567 Summary: QEMU system emulator for SPARC
568 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
569 Group: Development/Tools
570 Requires: %{name}-common = %{version}-%{release}
572 Obsoletes: qemu-kvm-system-sparc
574 %description system-sparc
575 QEMU is a generic and open source processor emulator which achieves a
576 good emulation speed by using dynamic translation.
578 This package provides the system emulator with SPARC/SPARC64 CPU.
580 %description system-sparc -l pl.UTF-8
581 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
582 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
584 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
586 %package system-tricore
587 Summary: QEMU system emulator for TriCore
588 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
589 Group: Development/Tools
590 Requires: %{name}-common = %{version}-%{release}
593 %description system-tricore
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 TriCore 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 TriCore.
605 %package system-unicore32
606 Summary: QEMU system emulator for UniCore32
607 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
608 Group: Development/Tools
609 Requires: %{name}-common = %{version}-%{release}
611 Obsoletes: qemu-kvm-system-unicore32
613 %description system-unicore32
614 QEMU is a generic and open source processor emulator which achieves a
615 good emulation speed by using dynamic translation.
617 This package provides the system emulator with UniCore32 CPU.
619 %description system-unicore32 -l pl.UTF-8
620 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
621 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
623 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
626 Summary: QEMU system emulator for x86
627 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
628 Group: Development/Tools
629 Requires: %{name}-common = %{version}-%{release}
630 %{?with_system_seabios:Requires: seabios}
633 Obsoletes: qemu-kvm-system-x86
635 %description system-x86
636 QEMU is a generic and open source processor emulator which achieves a
637 good emulation speed by using dynamic translation.
639 %description system-x86 -l pl.UTF-8
640 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
641 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
643 %package system-xtensa
644 Summary: QEMU system emulator for Xtensa
645 Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
646 Group: Development/Tools
647 Requires: %{name}-common = %{version}-%{release}
649 Obsoletes: qemu-kvm-system-xtensa
651 %description system-xtensa
652 QEMU is a generic and open source processor emulator which achieves a
653 good emulation speed by using dynamic translation.
655 This package provides the system emulator with Xtensa CPU.
657 %description system-xtensa -l pl.UTF-8
658 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
659 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
661 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
664 Summary: QEMU guest agent
665 Summary(pl.UTF-8): Agent gościa QEMU
667 Requires: glib2 >= 1:2.22
668 Obsoletes: qemu-kvm-guest-agent
670 %description guest-agent
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 an agent to run inside guests, which
675 communicates with the host over a virtio-serial channel named
676 "org.qemu.guest_agent.0".
678 This package does not need to be installed on the host OS.
680 %description guest-agent -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 udostępnia agenta przeznaczonego do uruchomienia w
685 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
686 "org.qemu.guest_agent.0".
688 Ten pakiet nie musi być zainstalowany w systemie hosta.
690 %package module-block-archipelago
691 Summary: QEMU module for Archipelago block devices
692 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych Archipelago
693 Group: Development/Tools
694 Requires: %{name}-common = %{version}-%{release}
696 %description module-block-archipelago
697 Archipelago block device support for QEMU.
699 %description module-block-archipelago -l pl.UTF-8
700 Moduł QEMU dla urządeń blokowych Archipelago.
702 %package module-block-curl
703 Summary: QEMU module for 'curl' block devices
704 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
705 Group: Development/Tools
706 Requires: %{name}-common = %{version}-%{release}
708 %description module-block-curl
709 'curl' block device support for QEMU.
711 %description module-block-curl -l pl.UTF-8
712 Moduł QEMU dla urządeń blokowych typu 'curl'.
714 %package module-block-dmg
715 Summary: QEMU module for 'dmg' block devices
716 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'dmg'
717 Group: Development/Tools
718 Requires: %{name}-common = %{version}-%{release}
721 %description module-block-dmg
722 'dmg' block device support for QEMU.
724 %description module-block-dmg -l pl.UTF-8
725 Moduł QEMU dla urządeń blokowych typu 'dmg'.
727 %package module-block-gluster
728 Summary: QEMU module for 'gluster' block devices
729 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
730 Group: Development/Tools
731 Requires: %{name}-common = %{version}-%{release}
732 Requires: glusterfs-libs >= 3.4
734 %description module-block-gluster
735 'gluster' block device support for QEMU.
737 %description module-block-gluster -l pl.UTF-8
738 Moduł QEMU dla urządeń blokowych typu 'gluster'.
740 %package module-block-iscsi
741 Summary: QEMU module for 'iscsi' block devices
742 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
743 Group: Development/Tools
744 Requires: %{name}-common = %{version}-%{release}
745 Requires: libiscsi >= 1.9.0
747 %description module-block-iscsi
748 'iscsi' block device support for QEMU.
750 %description module-block-iscsi -l pl.UTF-8
751 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
753 %package module-block-nfs
754 Summary: QEMU module for 'nfs' block devices
755 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
756 Group: Development/Tools
757 Requires: %{name}-common = %{version}-%{release}
758 Requires: libnfs >= 1.9.3
760 %description module-block-nfs
761 'nfs' block device support for QEMU.
763 %description module-block-nfs -l pl.UTF-8
764 Moduł QEMU dla urządeń blokowych typu 'nfs'.
766 %package module-block-rbd
767 Summary: QEMU module for 'rbd' block devices
768 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
769 Group: Development/Tools
770 Requires: %{name}-common = %{version}-%{release}
772 %description module-block-rbd
773 'rbd' block device support for QEMU.
775 %description module-block-rbd -l pl.UTF-8
776 Moduł QEMU dla urządeń blokowych typu 'rbd'.
778 %package module-block-ssh
779 Summary: QEMU module for 'ssh' block devices
780 Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
781 Group: Development/Tools
782 Requires: %{name}-common = %{version}-%{release}
784 %description module-block-ssh
785 'ssh' block device support for QEMU.
787 %description module-block-ssh -l pl.UTF-8
788 Moduł QEMU dla urządeń blokowych typu 'ssh'.
800 # workaround for conflict with alsa/error.h
801 ln -s ../error.h qapi/error.h
809 install -d build-$target
813 --prefix=%{_prefix} \
814 --libdir=%{_libdir} \
815 --libexecdir=%{_libexecdir} \
816 --sysconfdir=%{_sysconfdir} \
817 --localstatedir=%{_localstatedir} \
818 --interp-prefix=%{_libdir}/qemu/lib-%%M \
820 --host-cc="%{__cc}" \
822 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
828 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
834 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
835 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
836 %{__enable_disable xseg archipelago} \
838 %{__enable_disable bluetooth bluez} \
839 %{__enable_disable brlapi} \
845 %{__enable_disable glusterfs} \
846 %{__enable_disable iscsi libiscsi} \
847 %{__enable_disable ceph rbd} \
848 %{__enable_disable rdma} \
849 %{__enable_disable sdl} \
851 %{__enable_disable seccomp} \
852 %{__enable_disable spice} \
853 %{__enable_disable smartcard smartcard} \
855 %{__enable_disable usbredir usb-redir} \
862 %{!?with_vte:--disable-vte} \
863 %{__enable_disable xen} \
866 %{__enable_disable libnfs} \
868 %{__enable_disable snappy} \
869 --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
870 %if %{without gtk2} && %{without gtk3}
873 --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
876 %if %{with user_static}
885 --disable-guest-agent \
886 --disable-guest-agent-msi \
901 # rebuild patched vesa tables with additional widescreen modes.
902 %{__make} -C roms/vgabios stdvga-bios
904 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
907 rm -rf $RPM_BUILD_ROOT
908 install -d $RPM_BUILD_ROOT/usr/lib/binfmt.d \
909 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
910 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
912 %if %{with user_static}
913 %{__make} -C build-static install \
914 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
915 DESTDIR=$RPM_BUILD_ROOT
917 # Give all QEMU user emulators a -static suffix
918 for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
924 %{__make} -C build-dynamic install \
925 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
926 DESTDIR=$RPM_BUILD_ROOT
928 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
930 install -d $RPM_BUILD_ROOT%{_sysconfdir}
931 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
936 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
938 %ifarch %{ix86} %{x8664} x32
939 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
940 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
943 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
944 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
946 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
947 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
949 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
952 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
953 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
955 # install patched vesa tables with additional widescreen modes.
956 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
958 %if %{with system_seabios}
959 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
960 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
961 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
963 if [ -e "/usr/share/seabios/$bn" ] ; then
964 ln -sf "/usr/share/seabios/$bn" "$f"
969 %if %{with gtk2} || %{with gtk3}
970 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
971 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
978 rm -rf $RPM_BUILD_ROOT
982 %groupadd -g 276 qemu
983 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
986 if [ "$1" = "0" ]; then
993 %defattr(644,root,root,755)
995 %files common -f %{name}.lang
996 %defattr(644,root,root,755)
998 %doc build-dynamic/qemu-doc.html
999 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1000 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1001 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1002 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1004 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1005 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1006 %attr(755,root,root) %{_bindir}/qemu-nbd
1007 %attr(755,root,root) %{_bindir}/qemu-tilegx
1008 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
1009 %attr(755,root,root) %{_sbindir}/ksmctl
1010 %attr(755,root,root) %{_sbindir}/ksmtuned
1011 %{_mandir}/man1/qemu.1*
1012 %{_mandir}/man1/virtfs-proxy-helper.1*
1013 %{_mandir}/man8/qemu-nbd.8*
1015 %dir %{_datadir}/qemu
1016 %{_datadir}/%{name}/keymaps
1017 %{_datadir}/%{name}/qemu-icon.bmp
1018 %{_datadir}/%{name}/trace-events-all
1020 # various bios images
1021 # all should be probably moved to the right system subpackage
1022 %{_datadir}/%{name}/bamboo.dtb
1023 %{_datadir}/%{name}/efi-e1000e.rom
1024 %{_datadir}/%{name}/efi-e1000.rom
1025 %{_datadir}/%{name}/efi-eepro100.rom
1026 %{_datadir}/%{name}/efi-ne2k_pci.rom
1027 %{_datadir}/%{name}/efi-pcnet.rom
1028 %{_datadir}/%{name}/efi-rtl8139.rom
1029 %{_datadir}/%{name}/efi-virtio.rom
1030 %{_datadir}/%{name}/efi-vmxnet3.rom
1031 %{_datadir}/%{name}/kvmvapic.bin
1032 %{_datadir}/%{name}/linuxboot.bin
1033 %{_datadir}/%{name}/linuxboot_dma.bin
1034 %{_datadir}/%{name}/multiboot.bin
1035 %{_datadir}/%{name}/openbios-ppc
1036 %{_datadir}/%{name}/openbios-sparc*
1037 %{_datadir}/%{name}/palcode-clipper
1038 %{_datadir}/%{name}/petalogix-ml605.dtb
1039 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1040 %{_datadir}/%{name}/ppc_rom.bin
1041 %{_datadir}/%{name}/pxe-e1000.rom
1042 %{_datadir}/%{name}/pxe-eepro100.rom
1043 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1044 %{_datadir}/%{name}/pxe-pcnet.rom
1045 %{_datadir}/%{name}/pxe-rtl8139.rom
1046 %{_datadir}/%{name}/pxe-virtio.rom
1047 %{_datadir}/%{name}/QEMU,cgthree.bin
1048 %{_datadir}/%{name}/qemu_logo_no_text.svg
1049 %{_datadir}/%{name}/QEMU,tcx.bin
1050 %{_datadir}/%{name}/s390-ccw.img
1051 %{_datadir}/%{name}/sgabios.bin
1052 %{_datadir}/%{name}/skiboot.lid
1053 %{_datadir}/%{name}/slof.bin
1054 %{_datadir}/%{name}/spapr-rtas.bin
1055 %{_datadir}/%{name}/vgabios.bin
1056 %{_datadir}/%{name}/vgabios-cirrus.bin
1057 %{_datadir}/%{name}/vgabios-qxl.bin
1058 %{_datadir}/%{name}/vgabios-stdvga.bin
1059 %{_datadir}/%{name}/vgabios-virtio.bin
1060 %{_datadir}/%{name}/vgabios-vmware.bin
1062 %dir %{_libdir}/%{name}
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_bindir}/qemu-img
1067 %{_mandir}/man1/qemu-img.1*
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_bindir}/ivshmem-client
1072 %attr(755,root,root) %{_bindir}/ivshmem-server
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_bindir}/qemu-aarch64
1077 %attr(755,root,root) %{_bindir}/qemu-alpha
1078 %attr(755,root,root) %{_bindir}/qemu-arm
1079 %attr(755,root,root) %{_bindir}/qemu-armeb
1080 %attr(755,root,root) %{_bindir}/qemu-cris
1081 %attr(755,root,root) %{_bindir}/qemu-i386
1082 %attr(755,root,root) %{_bindir}/qemu-io
1083 %attr(755,root,root) %{_bindir}/qemu-m68k
1084 %attr(755,root,root) %{_bindir}/qemu-microblaze
1085 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1086 %attr(755,root,root) %{_bindir}/qemu-mips
1087 %attr(755,root,root) %{_bindir}/qemu-mipsel
1088 %attr(755,root,root) %{_bindir}/qemu-mips64
1089 %attr(755,root,root) %{_bindir}/qemu-mips64el
1090 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1091 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1092 %attr(755,root,root) %{_bindir}/qemu-or32
1093 %attr(755,root,root) %{_bindir}/qemu-ppc
1094 %attr(755,root,root) %{_bindir}/qemu-ppc64
1095 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1096 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1097 %attr(755,root,root) %{_bindir}/qemu-s390x
1098 %attr(755,root,root) %{_bindir}/qemu-sh4
1099 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1100 %attr(755,root,root) %{_bindir}/qemu-sparc
1101 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1102 %attr(755,root,root) %{_bindir}/qemu-sparc64
1103 %attr(755,root,root) %{_bindir}/qemu-x86_64
1105 %if %{with user_static}
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
1109 %attr(755,root,root) %{_bindir}/qemu-alpha-static
1110 %attr(755,root,root) %{_bindir}/qemu-arm-static
1111 %attr(755,root,root) %{_bindir}/qemu-armeb-static
1112 %attr(755,root,root) %{_bindir}/qemu-cris-static
1113 %attr(755,root,root) %{_bindir}/qemu-i386-static
1114 %attr(755,root,root) %{_bindir}/qemu-m68k-static
1115 %attr(755,root,root) %{_bindir}/qemu-microblaze-static
1116 %attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1117 %attr(755,root,root) %{_bindir}/qemu-mips-static
1118 %attr(755,root,root) %{_bindir}/qemu-mips64-static
1119 %attr(755,root,root) %{_bindir}/qemu-mips64el-static
1120 %attr(755,root,root) %{_bindir}/qemu-mipsel-static
1121 %attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1122 %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1123 %attr(755,root,root) %{_bindir}/qemu-or32-static
1124 %attr(755,root,root) %{_bindir}/qemu-ppc-static
1125 %attr(755,root,root) %{_bindir}/qemu-ppc64-static
1126 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1127 %attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1128 %attr(755,root,root) %{_bindir}/qemu-s390x-static
1129 %attr(755,root,root) %{_bindir}/qemu-sh4-static
1130 %attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1131 %attr(755,root,root) %{_bindir}/qemu-sparc-static
1132 %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1133 %attr(755,root,root) %{_bindir}/qemu-sparc64-static
1134 %attr(755,root,root) %{_bindir}/qemu-tilegx-static
1135 %attr(755,root,root) %{_bindir}/qemu-x86_64-static
1138 %files system-aarch64
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_bindir}/qemu-system-arm
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_bindir}/qemu-system-cris
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1162 %files system-microblaze
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1165 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_bindir}/qemu-system-mips
1170 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1171 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1172 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_bindir}/qemu-system-or32
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1185 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1186 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1187 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1188 %{_datadir}/%{name}/u-boot.e500
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1197 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1202 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1204 %files system-tricore
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1208 %files system-unicore32
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_bindir}/qemu-system-i386
1215 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1216 %ifarch %{ix86} %{x8664} x32
1217 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1218 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1220 %{_datadir}/%{name}/bios.bin
1221 %{_datadir}/%{name}/bios-256k.bin
1222 %{_datadir}/%{name}/acpi-dsdt.aml
1224 %files system-xtensa
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1227 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1230 %defattr(644,root,root,755)
1231 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1232 %attr(755,root,root) %{_bindir}/qemu-ga
1233 %{_mandir}/man8/qemu-ga.8*
1236 %files module-block-archipelago
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_libdir}/%{name}/block-archipelago.so
1241 %files module-block-curl
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1245 %files module-block-dmg
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1249 %if %{with glusterfs}
1250 %files module-block-gluster
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1256 %files module-block-iscsi
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1262 %files module-block-nfs
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1268 %files module-block-rbd
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1273 %files module-block-ssh
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so