]> TLD Linux GIT Repositories - packages/qemu.git/blob - qemu.spec
- updated to 2.4.0
[packages/qemu.git] / qemu.spec
1 # TODO: archipelago (libxseg) on bcond (GPL v3 vs v2-only conflict)
2 #
3 # Conditional build:
4 %bcond_without  sdl             # SDL UI and audio support
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_with     lttng           # lttng-ust trace backend support
26 %bcond_with     systemtap       # SystemTap/dtrace trace backend support
27
28 %if %{with gtk2}
29 %undefine with_gtk3
30 %endif
31
32 Summary:        QEMU CPU Emulator
33 Summary(pl.UTF-8):      QEMU - emulator procesora
34 Name:           qemu
35 Version:        2.4.0
36 Release:        1
37 License:        GPL v2
38 Group:          Applications/Emulators
39 Source0:        http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
40 # Source0-md5:  186ee8194140a484a455f8e3c74589f4
41 # Loads kvm kernel modules at boot
42 Source3:        kvm-modules-load.conf
43 # Creates /dev/kvm
44 Source4:        80-kvm.rules
45 # KSM control scripts
46 Source6:        ksm.sysconfig
47 Source7:        ksmctl.c
48 Source9:        ksmtuned
49 Source10:       ksmtuned.conf
50 Patch0:         %{name}-cflags.patch
51 Patch1:         vgabios-widescreens.patch
52 Patch2:         %{name}-whitelist.patch
53 Patch3:         %{name}-system-libcacard.patch
54 Patch4:         %{name}-xattr.patch
55 Patch5:         libjpeg-boolean.patch
56 # Proof of concept, for reference, do not remove
57 Patch400:       %{name}-kde_virtual_workspaces_hack.patch
58 URL:            http://www.qemu-project.org/
59 BuildRequires:  OpenGL-GLX-devel
60 %{?with_sdl:BuildRequires:      SDL2-devel >= 2.0}
61 BuildRequires:  alsa-lib-devel
62 BuildRequires:  bcc >= 0.16.21-2
63 %{?with_bluetooth:BuildRequires:        bluez-libs-devel}
64 %{?with_brlapi:BuildRequires:   brlapi-devel}
65 BuildRequires:  bzip2-devel
66 %{?with_ceph:BuildRequires:     ceph-devel}
67 BuildRequires:  curl-devel
68 BuildRequires:  cyrus-sasl-devel >= 2
69 %{?with_esd:BuildRequires:      esound-devel}
70 BuildRequires:  glib2-devel >= 1:2.12
71 %{?with_glusterfs:BuildRequires:        glusterfs-devel >= 3.4}
72 BuildRequires:  gnutls-devel > 2.10.0
73 BuildRequires:  libaio-devel
74 %{?with_smartcard:BuildRequires:        libcacard-devel}
75 BuildRequires:  libcap-devel
76 BuildRequires:  libcap-ng-devel
77 BuildRequires:  libfdt-devel
78 %{?with_rdma:BuildRequires:     libibverbs-devel}
79 %{?with_iscsi:BuildRequires:    libiscsi-devel >= 1.9.0}
80 BuildRequires:  libjpeg-devel
81 %{?with_libnfs:BuildRequires:   libnfs-devel >= 1.9.3}
82 BuildRequires:  libpng-devel
83 %{?with_rdma:BuildRequires:     librdmacm-devel}
84 %{?with_seccomp:BuildRequires:  libseccomp-devel >= 2.1.1}
85 BuildRequires:  libssh2-devel >= 1.2.8
86 BuildRequires:  libusb-devel >= 1.0.13
87 BuildRequires:  libuuid-devel
88 %{?with_lttng:BuildRequires:    lttng-ust-devel}
89 BuildRequires:  lzo-devel >= 2
90 BuildRequires:  ncurses-devel
91 %{?with_smartcard:BuildRequires:        nss-devel >= 3.12.8}
92 BuildRequires:  numactl-devel
93 BuildRequires:  perl-Encode
94 BuildRequires:  perl-tools-pod
95 BuildRequires:  pixman-devel >= 0.21.8
96 BuildRequires:  pkgconfig
97 %{?with_pulseaudio:BuildRequires:       pulseaudio-devel}
98 BuildRequires:  rpmbuild(macros) >= 1.644
99 %{?with_system_seabios:BuildRequires:   seabios}
100 BuildRequires:  sed >= 4.0
101 %{?with_snappy:BuildRequires:   snappy-devel}
102 %if %{with spice}
103 BuildRequires:  spice-protocol >= 0.12.3
104 BuildRequires:  spice-server-devel >= 0.12.0
105 %endif
106 %{?with_systemtap:BuildRequires:        systemtap-sdt-devel}
107 BuildRequires:  texi2html
108 BuildRequires:  texinfo
109 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
110 %{?with_lttng:BuildRequires:    userspace-rcu-devel}
111 BuildRequires:  vde2-devel
112 BuildRequires:  which
113 %{?with_xen:BuildRequires:      xen-devel >= 3.4}
114 BuildRequires:  xfsprogs-devel
115 BuildRequires:  xorg-lib-libX11-devel
116 BuildRequires:  zlib-devel
117 %if %{with gtk2}
118 BuildRequires:  gtk+2-devel >= 2:2.18.0
119 %{?with_vte:BuildRequires:      vte0-devel >= 0.24.0}
120 %endif
121 %if %{with gtk3}
122 BuildRequires:  gtk+3-devel >= 3.0.0
123 %{?with_vte:BuildRequires:      vte2.90-devel >= 0.32.0}
124 %endif
125 Requires:       %{name}-img = %{version}-%{release}
126 Requires:       %{name}-system-aarch64 = %{version}-%{release}
127 Requires:       %{name}-system-alpha = %{version}-%{release}
128 Requires:       %{name}-system-arm = %{version}-%{release}
129 Requires:       %{name}-system-cris = %{version}-%{release}
130 Requires:       %{name}-system-lm32 = %{version}-%{release}
131 Requires:       %{name}-system-m68k = %{version}-%{release}
132 Requires:       %{name}-system-microblaze = %{version}-%{release}
133 Requires:       %{name}-system-mips = %{version}-%{release}
134 Requires:       %{name}-system-moxie = %{version}-%{release}
135 Requires:       %{name}-system-or32 = %{version}-%{release}
136 Requires:       %{name}-system-ppc = %{version}-%{release}
137 Requires:       %{name}-system-s390x = %{version}-%{release}
138 Requires:       %{name}-system-sh4 = %{version}-%{release}
139 Requires:       %{name}-system-sparc = %{version}-%{release}
140 Requires:       %{name}-system-tricore = %{version}-%{release}
141 Requires:       %{name}-system-unicore32 = %{version}-%{release}
142 Requires:       %{name}-system-x86 = %{version}-%{release}
143 Requires:       %{name}-system-xtensa = %{version}-%{release}
144 Requires:       %{name}-user = %{version}-%{release}
145 Obsoletes:      qemu-kvm
146 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
147
148 %define systempkg_req \
149 %if %{with sdl} \
150 Requires:       SDL2 \
151 %endif \
152 %if %{with seccomp} \
153 Requires:       libseccomp >= 2.1.0 \
154 %endif \
155 Requires:       libusb >= 1.0.13 \
156 Requires:       pixman >= 0.21.8 \
157 %if %{with usbredir} \
158 Requires:       usbredir >= 0.6 \
159 %endif \
160 %if %{with gtk2} \
161 Requires:       gtk+2 >= 2:2.18.0 \
162 %{?with_vte:Requires:   vte0 >= 0.24.0} \
163 %endif \
164 %if %{with gtk3} \
165 Requires:       gtk+3 >= 3.0.0 \
166 %{?with_vte:Requires:   vte2.90 >= 0.32.0} \
167 %endif
168
169 # don't strip/chrpath anything in there; these are boot images, roms etc
170 %define         _noautostrip    .*%{_datadir}/qemu/.*
171 %define         _noautochrpath  .*%{_datadir}/qemu/.*
172
173 %description
174 QEMU is a FAST! processor emulator. By using dynamic translation it
175 achieves a reasonnable speed while being easy to port on new host
176 CPUs. QEMU has two operating modes:
177
178 - User mode emulation. In this mode, QEMU can launch Linux processes
179   compiled for one CPU on another CPU. Linux system calls are converted
180   because of endianness and 32/64 bit mismatches. Wine (Windows
181   emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
182
183 - Full system emulation. In this mode, QEMU emulates a full system,
184   including a processor and various peripherials. It can also be used to
185   provide virtual hosting of several virtual PC on a single server.
186
187 %description -l pl.UTF-8
188 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
189 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
190 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
191
192 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
193   procesy linuksowe skompilowane dla jednego procesora na innym
194   procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
195   niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
196   słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
197   cele QEMU.
198
199 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
200   włączając w to procesor i różne urządzenia peryferyjne. Może być także
201   używane do wirtualnego hostowania kilku wirtualnych pecetów na
202   pojedynczym serwerze.
203
204 %package common
205 Summary:        QEMU common files needed by all QEMU targets
206 Summary(pl.UTF-8):      Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
207 Group:          Development/Tools
208 Requires(postun):       /usr/sbin/groupdel
209 Requires(postun):       /usr/sbin/userdel
210 Requires(pre):  /bin/id
211 Requires(pre):  /usr/bin/getgid
212 Requires(pre):  /usr/sbin/groupadd
213 Requires(pre):  /usr/sbin/useradd
214 Requires:       glib2 >= 1:2.12
215 %{?with_libnfs:Requires:        libnfs >= 1.9.3}
216 Requires:       libssh2 >= 1.2.8
217 Provides:       group(qemu)
218 Provides:       user(qemu)
219 Obsoletes:      qemu-kvm-common
220 Conflicts:      qemu < 1.0-2
221
222 %description common
223 QEMU is a generic and open source processor emulator which achieves a
224 good emulation speed by using dynamic translation.
225
226 This package provides the common files needed by all QEMU targets.
227
228 %description common -l pl.UTF-8
229 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
230 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
231
232 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
233 środowiska QEMU.
234
235 %package img
236 Summary:        QEMU command line tool for manipulating disk images
237 Summary(pl.UTF-8):      Narzędzie QEMU do operacji na obrazach dysków
238 Group:          Development/Tools
239 Obsoletes:      qemu-kvm-img
240 Conflicts:      qemu < 1.0-2
241
242 %description img
243 This package provides a command line tool for manipulating disk
244 images.
245
246 %description img -l pl.UTF-8
247 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
248 na obrazach dysków.
249
250 %package user
251 Summary:        QEMU user mode emulation of qemu targets
252 Summary(pl.UTF-8):      QEMU - emulacja trybu użytkownika środowisk qemu
253 Group:          Development/Tools
254 Requires:       %{name}-common = %{version}-%{release}
255 Obsoletes:      qemu-kvm-user
256
257 %description user
258 QEMU is a generic and open source processor emulator which achieves a
259 good emulation speed by using dynamic translation.
260
261 This package provides the user mode emulation of QEMU targets.
262
263 %description user -l pl.UTF-8
264 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
265 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
266
267 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
268
269 %package system-aarch64
270 Summary:        QEMU system emulator for AArch64
271 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem AArch64
272 Group:          Development/Tools
273 Requires:       %{name}-common = %{version}-%{release}
274 %systempkg_req
275 Obsoletes:      qemu-kvm-system-aarch64
276
277 %description system-aarch64
278 QEMU is a generic and open source processor emulator which achieves a
279 good emulation speed by using dynamic translation.
280
281 This package provides the system emulator with AArch64 CPU.
282
283 %description system-aarch64 -l pl.UTF-8
284 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
285 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
286
287 Ten pakiet zawiera emulator systemu z procesorem AArch64.
288
289 %package system-alpha
290 Summary:        QEMU system emulator for Alpha
291 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Alpha
292 Group:          Development/Tools
293 Requires:       %{name}-common = %{version}-%{release}
294 %systempkg_req
295 Obsoletes:      qemu-kvm-system-alpha
296
297 %description system-alpha
298 QEMU is a generic and open source processor emulator which achieves a
299 good emulation speed by using dynamic translation.
300
301 This package provides the system emulator with Alpha CPU.
302
303 %description system-alpha -l pl.UTF-8
304 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
305 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
306
307 Ten pakiet zawiera emulator systemu z procesorem Alpha.
308
309 %package system-arm
310 Summary:        QEMU system emulator for ARM
311 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem ARM
312 Group:          Development/Tools
313 Requires:       %{name}-common = %{version}-%{release}
314 %systempkg_req
315 Obsoletes:      qemu-kvm-system-arm
316
317 %description system-arm
318 QEMU is a generic and open source processor emulator which achieves a
319 good emulation speed by using dynamic translation.
320
321 This package provides the system emulator for ARM.
322
323 %description system-arm -l pl.UTF-8
324 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
325 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
326
327 Ten pakiet zawiera emulator systemu z procesorem ARM.
328
329 %package system-cris
330 Summary:        QEMU system emulator for CRIS
331 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem CRIS
332 Group:          Development/Tools
333 Requires:       %{name}-common = %{version}-%{release}
334 %systempkg_req
335 Obsoletes:      qemu-kvm-system-cris
336
337 %description system-cris
338 QEMU is a generic and open source processor emulator which achieves a
339 good emulation speed by using dynamic translation.
340
341 This package provides the system emulator with CRIS CPU.
342
343 %description system-cris -l pl.UTF-8
344 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
345 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
346
347 Ten pakiet zawiera emulator systemu z procesorem CRIS.
348
349 %package system-lm32
350 Summary:        QEMU system emulator for LM32
351 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem LM32
352 Group:          Development/Tools
353 Requires:       %{name}-common = %{version}-%{release}
354 %systempkg_req
355 Obsoletes:      qemu-kvm-system-lm32
356
357 %description system-lm32
358 QEMU is a generic and open source processor emulator which achieves a
359 good emulation speed by using dynamic translation.
360
361 This package provides the system emulator with LM32 CPU.
362
363 %description system-lm32 -l pl.UTF-8
364 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
365 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
366
367 Ten pakiet zawiera emulator systemu z procesorem LM32.
368
369 %package system-m68k
370 Summary:        QEMU system emulator for m68k
371 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem m68k
372 Group:          Development/Tools
373 Requires:       %{name}-common = %{version}-%{release}
374 %systempkg_req
375 Obsoletes:      qemu-kvm-system-m68k
376
377 %description system-m68k
378 QEMU is a generic and open source processor emulator which achieves a
379 good emulation speed by using dynamic translation.
380
381 This package provides the system emulator with m68k CPU.
382
383 %description system-m68k -l pl.UTF-8
384 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
385 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
386
387 Ten pakiet zawiera emulator systemu z procesorem m68k.
388
389 %package system-microblaze
390 Summary:        QEMU system emulator for MicroBlaze
391 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem MicroBlaze
392 Group:          Development/Tools
393 Requires:       %{name}-common = %{version}-%{release}
394 %systempkg_req
395 Obsoletes:      qemu-kvm-system-microblaze
396
397 %description system-microblaze
398 QEMU is a generic and open source processor emulator which achieves a
399 good emulation speed by using dynamic translation.
400
401 This package provides the system emulator with MicroBlaze CPU.
402
403 %description system-microblaze -l pl.UTF-8
404 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
405 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
406
407 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
408
409 %package system-mips
410 Summary:        QEMU system emulator for MIPS
411 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem MIPS
412 Group:          Development/Tools
413 Requires:       %{name}-common = %{version}-%{release}
414 %systempkg_req
415 Obsoletes:      qemu-kvm-system-mips
416
417 %description system-mips
418 QEMU is a generic and open source processor emulator which achieves a
419 good emulation speed by using dynamic translation.
420
421 This package provides the system emulator with MIPS CPU.
422
423 %description system-mips -l pl.UTF-8
424 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
425 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
426
427 Ten pakiet zawiera emulator systemu z procesorem MIPS.
428
429 %package system-moxie
430 Summary:        QEMU system emulator for Moxie
431 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Moxie
432 Group:          Development/Tools
433 Requires:       %{name}-common = %{version}-%{release}
434 %systempkg_req
435
436 %description system-moxie
437 QEMU is a generic and open source processor emulator which achieves a
438 good emulation speed by using dynamic translation.
439
440 This package provides the system emulator with Moxie CPU.
441
442 %description system-moxie -l pl.UTF-8
443 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
444 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
445
446 Ten pakiet zawiera emulator systemu z procesorem Moxie.
447
448 %package system-or32
449 Summary:        QEMU system emulator for OpenRISC
450 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem OpenRISC
451 Group:          Development/Tools
452 Requires:       %{name}-common = %{version}-%{release}
453 %systempkg_req
454 Obsoletes:      qemu-kvm-system-or32
455
456 %description system-or32
457 QEMU is a generic and open source processor emulator which achieves a
458 good emulation speed by using dynamic translation.
459
460 This package provides the system emulator with OpenRISC CPU.
461
462 %description system-or32 -l pl.UTF-8
463 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
464 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
465
466 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
467
468 %package system-ppc
469 Summary:        QEMU system emulator for PowerPC
470 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem PowerPC
471 Group:          Development/Tools
472 Requires:       %{name}-common = %{version}-%{release}
473 %systempkg_req
474 Obsoletes:      qemu-kvm-system-ppc
475
476 %description system-ppc
477 QEMU is a generic and open source processor emulator which achieves a
478 good emulation speed by using dynamic translation.
479
480 This package provides the system emulator with PowerPC CPU.
481
482 %description system-ppc -l pl.UTF-8
483 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
484 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
485
486 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
487
488 %package system-s390x
489 Summary:        QEMU system emulator for S390
490 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem S390
491 Group:          Development/Tools
492 Requires:       %{name}-common = %{version}-%{release}
493 %systempkg_req
494 Obsoletes:      qemu-kvm-system-s390x
495
496 %description system-s390x
497 QEMU is a generic and open source processor emulator which achieves a
498 good emulation speed by using dynamic translation.
499
500 This package provides the system emulator with S390 CPU.
501
502 %description system-s390x -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.
505
506 Ten pakiet zawiera emulator systemu z procesorem S390.
507
508 %package system-sh4
509 Summary:        QEMU system emulator for SH4
510 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem SH4
511 Group:          Development/Tools
512 Requires:       %{name}-common = %{version}-%{release}
513 %systempkg_req
514 Obsoletes:      qemu-kvm-system-sh4
515
516 %description system-sh4
517 QEMU is a generic and open source processor emulator which achieves a
518 good emulation speed by using dynamic translation.
519
520 This package provides the system emulator with SH4 CPU.
521
522 %description system-sh4 -l pl.UTF-8
523 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
524 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
525
526 Ten pakiet zawiera emulator systemu z procesorem SH4.
527
528 %package system-sparc
529 Summary:        QEMU system emulator for SPARC
530 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem SPARC
531 Group:          Development/Tools
532 Requires:       %{name}-common = %{version}-%{release}
533 %systempkg_req
534 Obsoletes:      qemu-kvm-system-sparc
535
536 %description system-sparc
537 QEMU is a generic and open source processor emulator which achieves a
538 good emulation speed by using dynamic translation.
539
540 This package provides the system emulator with SPARC/SPARC64 CPU.
541
542 %description system-sparc -l pl.UTF-8
543 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
544 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
545
546 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
547
548 %package system-tricore
549 Summary:        QEMU system emulator for TriCore
550 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem TriCore
551 Group:          Development/Tools
552 Requires:       %{name}-common = %{version}-%{release}
553 %systempkg_req
554
555 %description system-tricore
556 QEMU is a generic and open source processor emulator which achieves a
557 good emulation speed by using dynamic translation.
558
559 This package provides the system emulator with TriCore CPU.
560
561 %description system-sparc -l pl.UTF-8
562 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
563 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
564
565 Ten pakiet zawiera emulator systemu z procesorem TriCore.
566
567 %package system-unicore32
568 Summary:        QEMU system emulator for UniCore32
569 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem UniCore32
570 Group:          Development/Tools
571 Requires:       %{name}-common = %{version}-%{release}
572 %systempkg_req
573 Obsoletes:      qemu-kvm-system-unicore32
574
575 %description system-unicore32
576 QEMU is a generic and open source processor emulator which achieves a
577 good emulation speed by using dynamic translation.
578
579 This package provides the system emulator with UniCore32 CPU.
580
581 %description system-unicore32 -l pl.UTF-8
582 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
583 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
584
585 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
586
587 %package system-x86
588 Summary:        QEMU system emulator for x86
589 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem x86
590 Group:          Development/Tools
591 Requires:       %{name}-common = %{version}-%{release}
592 %{?with_system_seabios:Requires:        seabios}
593 %systempkg_req
594 Obsoletes:      kvm
595 Obsoletes:      qemu-kvm-system-x86
596
597 %description system-x86
598 QEMU is a generic and open source processor emulator which achieves a
599 good emulation speed by using dynamic translation.
600
601 %description system-x86 -l pl.UTF-8
602 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
603 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
604
605 %package system-xtensa
606 Summary:        QEMU system emulator for Xtensa
607 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Xtensa
608 Group:          Development/Tools
609 Requires:       %{name}-common = %{version}-%{release}
610 %systempkg_req
611 Obsoletes:      qemu-kvm-system-xtensa
612
613 %description system-xtensa
614 QEMU is a generic and open source processor emulator which achieves a
615 good emulation speed by using dynamic translation.
616
617 This package provides the system emulator with Xtensa CPU.
618
619 %description system-xtensa -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.
622
623 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
624
625 %package guest-agent
626 Summary:        QEMU guest agent
627 Summary(pl.UTF-8):      Agent gościa QEMU
628 Group:          Daemons
629 Requires:       glib2 >= 1:2.12
630 Obsoletes:      qemu-kvm-guest-agent
631
632 %description guest-agent
633 QEMU is a generic and open source processor emulator which achieves a
634 good emulation speed by using dynamic translation.
635
636 This package provides an agent to run inside guests, which
637 communicates with the host over a virtio-serial channel named
638 "org.qemu.guest_agent.0".
639
640 This package does not need to be installed on the host OS.
641
642 %description guest-agent -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.
645
646 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
647 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
648 "org.qemu.guest_agent.0".
649
650 Ten pakiet nie musi być zainstalowany w systemie hosta.
651
652 %package module-block-curl
653 Summary:        QEMU module for 'curl' block devices
654 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'curl'
655 Group:          Development/Tools
656 Requires:       %{name}-common = %{version}-%{release}
657
658 %description module-block-curl
659 'curl' block device support for QEMU.
660
661 %description module-block-curl -l pl.UTF-8
662 Moduł QEMU dla urządeń blokowych typu 'curl'.
663
664 %package module-block-dmg
665 Summary:        QEMU module for 'dmg' block devices
666 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'dmg'
667 Group:          Development/Tools
668 Requires:       %{name}-common = %{version}-%{release}
669
670 %description module-block-dmg
671 'dmg' block device support for QEMU.
672
673 %description module-block-dmg -l pl.UTF-8
674 Moduł QEMU dla urządeń blokowych typu 'dmg'.
675
676 %package module-block-gluster
677 Summary:        QEMU module for 'gluster' block devices
678 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'gluster'
679 Group:          Development/Tools
680 Requires:       %{name}-common = %{version}-%{release}
681 Requires:       glusterfs-libs >= 3.4
682
683 %description module-block-gluster
684 'gluster' block device support for QEMU.
685
686 %description module-block-gluster -l pl.UTF-8
687 Moduł QEMU dla urządeń blokowych typu 'gluster'.
688
689 %package module-block-iscsi
690 Summary:        QEMU module for 'iscsi' block devices
691 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'iscsi'
692 Group:          Development/Tools
693 Requires:       %{name}-common = %{version}-%{release}
694 Requires:       libiscsi >= 1.9.0
695
696 %description module-block-iscsi
697 'iscsi' block device support for QEMU.
698
699 %description module-block-iscsi -l pl.UTF-8
700 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
701
702 %package module-block-rbd
703 Summary:        QEMU module for 'rbd' block devices
704 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'rbd'
705 Group:          Development/Tools
706 Requires:       %{name}-common = %{version}-%{release}
707
708 %description module-block-rbd
709 'rbd' block device support for QEMU.
710
711 %description module-block-rbd -l pl.UTF-8
712 Moduł QEMU dla urządeń blokowych typu 'rbd'.
713
714 %package module-block-ssh
715 Summary:        QEMU module for 'ssh' block devices
716 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'ssh'
717 Group:          Development/Tools
718 Requires:       %{name}-common = %{version}-%{release}
719
720 %description module-block-ssh
721 'ssh' block device support for QEMU.
722
723 %description module-block-ssh -l pl.UTF-8
724 Moduł QEMU dla urządeń blokowych typu 'ssh'.
725
726 %prep
727 %setup -q
728 %patch0 -p1
729 %patch1 -p1
730 %patch2 -p0
731 %patch3 -p1
732 %patch4 -p1
733 %patch5 -p1
734
735 %{__mv} libcacard libcacard-use-system-lib
736
737 # workaround for conflict with alsa/error.h
738 ln -s ../error.h qapi/error.h
739
740 %build
741 ./configure \
742         --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
743         --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
744         --prefix=%{_prefix} \
745         --libdir=%{_libdir} \
746         --libexecdir=%{_libexecdir} \
747         --sysconfdir=%{_sysconfdir} \
748         --cc="%{__cc}" \
749         --host-cc="%{__cc}" \
750         --disable-strip \
751         --enable-attr \
752         %{__enable_disable bluetooth bluez} \
753         %{__enable_disable brlapi} \
754         --enable-cap-ng \
755         --enable-curl \
756         --enable-curses \
757         --enable-docs \
758         --enable-fdt \
759         %{__enable_disable glusterfs} \
760         %{__enable_disable iscsi libiscsi} \
761         %{__enable_disable ceph rbd} \
762         %{__enable_disable rdma} \
763         %{__enable_disable sdl} \
764         --with-sdlabi=2.0 \
765         %{__enable_disable seccomp} \
766         %{__enable_disable spice} \
767         %{__enable_disable smartcard smartcard-nss} \
768         --enable-tpm \
769         --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
770         %{__enable_disable usbredir usb-redir} \
771         --enable-uuid \
772         --enable-vde \
773         --enable-virtfs \
774         --enable-vnc-jpeg \
775         --enable-vnc-png \
776         --enable-vnc-sasl \
777         --enable-vnc-tls \
778         %{!?with_vte:--disable-vte} \
779         --enable-kvm \
780         %{__enable_disable xen} \
781         --enable-modules \
782         --disable-netmap \
783         %{__enable_disable libnfs} \
784         --enable-lzo \
785         %{__enable_disable snappy} \
786         --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
787         --interp-prefix=%{_libdir}/qemu/lib-%%M \
788 %if %{without gtk2} && %{without gtk3}
789         --disable-gtk
790 %else
791         --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
792 %endif
793
794 %{__make} \
795         V=1 \
796         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
797
798 # rebuild patched vesa tables with additional widescreen modes.
799 %{__make} -C roms/vgabios stdvga-bios
800
801 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
802
803 %install
804 rm -rf $RPM_BUILD_ROOT
805 install -d $RPM_BUILD_ROOT/usr/lib/binfmt.d \
806         $RPM_BUILD_ROOT/etc/{sysconfig,udev/rules.d,modules-load.d} \
807         $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
808
809 %{__make} install \
810         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
811         DESTDIR=$RPM_BUILD_ROOT
812
813 install -d $RPM_BUILD_ROOT%{_sysconfdir}
814 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
815 #!/bin/sh
816
817 EOF
818
819 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
820
821 %ifarch %{ix86} %{x8664}
822 install -p scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}
823 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
824 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
825 %endif
826
827 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
828 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
829
830 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
831 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
832
833 # packaged as %doc
834 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html
835 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
836
837 # install patched vesa tables with additional widescreen modes.
838 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
839
840 %if %{with system_seabios}
841 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
842 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
843 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
844         bn="$(basename $f)"
845         if [ -e "/usr/share/seabios/$bn" ] ; then
846                 ln -sf "/usr/share/seabios/$bn" "$f"
847         fi
848 done
849 %endif
850
851 %if %{with gtk2} || %{with gtk3}
852 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
853 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
854 %find_lang %{name}
855 %else
856 : > qemu.lang
857 %endif
858
859 %clean
860 rm -rf $RPM_BUILD_ROOT
861
862 %pre common
863 %groupadd -g 160 kvm
864 %groupadd -g 276 qemu
865 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
866
867 %postun common
868 if [ "$1" = "0" ]; then
869         %userremove qemu
870         %groupremove qemu
871         %groupremove kvm
872 fi
873
874 %files
875 %defattr(644,root,root,755)
876
877 %files common -f %{name}.lang
878 %defattr(644,root,root,755)
879 %doc LICENSE README qemu-doc.html qemu-tech.html qmp-commands.txt
880 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
881 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
882 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
883 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
884 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
885 %attr(755,root,root) %{_bindir}/qemu-nbd
886 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
887 %attr(755,root,root) %{_sbindir}/ksmctl
888 %attr(755,root,root) %{_sbindir}/ksmtuned
889 %{_mandir}/man1/qemu.1*
890 %{_mandir}/man1/virtfs-proxy-helper.1*
891 %{_mandir}/man8/qemu-nbd.8*
892
893 %dir %{_datadir}/qemu
894 %{_datadir}/%{name}/keymaps
895 %{_datadir}/%{name}/qemu-icon.bmp
896 %{_datadir}/%{name}/trace-events
897
898 # various bios images
899 # all should be probably moved to the right system subpackage
900 %{_datadir}/%{name}/QEMU,cgthree.bin
901 %{_datadir}/%{name}/QEMU,tcx.bin
902 %{_datadir}/%{name}/bamboo.dtb
903 %{_datadir}/%{name}/efi-e1000.rom
904 %{_datadir}/%{name}/efi-eepro100.rom
905 %{_datadir}/%{name}/efi-ne2k_pci.rom
906 %{_datadir}/%{name}/efi-pcnet.rom
907 %{_datadir}/%{name}/efi-rtl8139.rom
908 %{_datadir}/%{name}/efi-virtio.rom
909 %{_datadir}/%{name}/kvmvapic.bin
910 %{_datadir}/%{name}/linuxboot.bin
911 %{_datadir}/%{name}/multiboot.bin
912 %{_datadir}/%{name}/openbios-ppc
913 %{_datadir}/%{name}/openbios-sparc*
914 %{_datadir}/%{name}/palcode-clipper
915 %{_datadir}/%{name}/petalogix-ml605.dtb
916 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
917 %{_datadir}/%{name}/ppc_rom.bin
918 %{_datadir}/%{name}/pxe-e1000.rom
919 %{_datadir}/%{name}/pxe-eepro100.rom
920 %{_datadir}/%{name}/pxe-ne2k_pci.rom
921 %{_datadir}/%{name}/pxe-pcnet.rom
922 %{_datadir}/%{name}/pxe-rtl8139.rom
923 %{_datadir}/%{name}/pxe-virtio.rom
924 %{_datadir}/%{name}/qemu_logo_no_text.svg
925 %{_datadir}/%{name}/s390-ccw.img
926 %{_datadir}/%{name}/s390-zipl.rom
927 %{_datadir}/%{name}/sgabios.bin
928 %{_datadir}/%{name}/slof.bin
929 %{_datadir}/%{name}/spapr-rtas.bin
930 %{_datadir}/%{name}/vgabios.bin
931 %{_datadir}/%{name}/vgabios-cirrus.bin
932 %{_datadir}/%{name}/vgabios-qxl.bin
933 %{_datadir}/%{name}/vgabios-stdvga.bin
934 %{_datadir}/%{name}/vgabios-virtio.bin
935 %{_datadir}/%{name}/vgabios-vmware.bin
936
937 %dir %{_libdir}/%{name}
938
939 %files img
940 %defattr(644,root,root,755)
941 %attr(755,root,root) %{_bindir}/qemu-img
942 %{_mandir}/man1/qemu-img.1*
943
944 %files user
945 %defattr(644,root,root,755)
946 %attr(755,root,root) %{_bindir}/qemu-aarch64
947 %attr(755,root,root) %{_bindir}/qemu-alpha
948 %attr(755,root,root) %{_bindir}/qemu-arm
949 %attr(755,root,root) %{_bindir}/qemu-armeb
950 %attr(755,root,root) %{_bindir}/qemu-cris
951 %attr(755,root,root) %{_bindir}/qemu-i386
952 %attr(755,root,root) %{_bindir}/qemu-io
953 %attr(755,root,root) %{_bindir}/qemu-m68k
954 %attr(755,root,root) %{_bindir}/qemu-microblaze
955 %attr(755,root,root) %{_bindir}/qemu-microblazeel
956 %attr(755,root,root) %{_bindir}/qemu-mips
957 %attr(755,root,root) %{_bindir}/qemu-mipsel
958 %attr(755,root,root) %{_bindir}/qemu-mips64
959 %attr(755,root,root) %{_bindir}/qemu-mips64el
960 %attr(755,root,root) %{_bindir}/qemu-mipsn32
961 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
962 %attr(755,root,root) %{_bindir}/qemu-or32
963 %attr(755,root,root) %{_bindir}/qemu-ppc
964 %attr(755,root,root) %{_bindir}/qemu-ppc64
965 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
966 %attr(755,root,root) %{_bindir}/qemu-ppc64le
967 %attr(755,root,root) %{_bindir}/qemu-s390x
968 %attr(755,root,root) %{_bindir}/qemu-sh4
969 %attr(755,root,root) %{_bindir}/qemu-sh4eb
970 %attr(755,root,root) %{_bindir}/qemu-sparc
971 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
972 %attr(755,root,root) %{_bindir}/qemu-sparc64
973 %attr(755,root,root) %{_bindir}/qemu-unicore32
974 %attr(755,root,root) %{_bindir}/qemu-x86_64
975
976 %files system-aarch64
977 %defattr(644,root,root,755)
978 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
979
980 %files system-alpha
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_bindir}/qemu-system-alpha
983
984 %files system-arm
985 %defattr(644,root,root,755)
986 %attr(755,root,root) %{_bindir}/qemu-system-arm
987
988 %files system-cris
989 %defattr(644,root,root,755)
990 %attr(755,root,root) %{_bindir}/qemu-system-cris
991
992 %files system-lm32
993 %defattr(644,root,root,755)
994 %attr(755,root,root) %{_bindir}/qemu-system-lm32
995
996 %files system-m68k
997 %defattr(644,root,root,755)
998 %attr(755,root,root) %{_bindir}/qemu-system-m68k
999
1000 %files system-microblaze
1001 %defattr(644,root,root,755)
1002 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1003 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1004
1005 %files system-mips
1006 %defattr(644,root,root,755)
1007 %attr(755,root,root) %{_bindir}/qemu-system-mips
1008 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1009 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1010 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1011
1012 %files system-moxie
1013 %defattr(644,root,root,755)
1014 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1015
1016 %files system-or32
1017 %defattr(644,root,root,755)
1018 %attr(755,root,root) %{_bindir}/qemu-system-or32
1019
1020 %files system-ppc
1021 %defattr(644,root,root,755)
1022 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1023 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1024 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1025 %{_datadir}/%{name}/u-boot.e500
1026
1027 %files system-s390x
1028 %defattr(644,root,root,755)
1029 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1030
1031 %files system-sh4
1032 %defattr(644,root,root,755)
1033 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1034 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1035
1036 %files system-sparc
1037 %defattr(644,root,root,755)
1038 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1039 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1040
1041 %files system-tricore
1042 %defattr(644,root,root,755)
1043 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1044
1045 %files system-unicore32
1046 %defattr(644,root,root,755)
1047 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1048
1049 %files system-x86
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_bindir}/qemu-system-i386
1052 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1053 %ifarch %{ix86} %{x8664}
1054 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1055 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1056 %attr(755,root,root) %{_bindir}/kvm_stat
1057 %endif
1058 %{_datadir}/%{name}/bios.bin
1059 %{_datadir}/%{name}/bios-256k.bin
1060 %{_datadir}/%{name}/acpi-dsdt.aml
1061 %{_datadir}/%{name}/q35-acpi-dsdt.aml
1062
1063 %files system-xtensa
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1066 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1067
1068 %files guest-agent
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_bindir}/qemu-ga
1071
1072 %files module-block-curl
1073 %defattr(644,root,root,755)
1074 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1075
1076 %files module-block-dmg
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_libdir}/%{name}/block-dmg.so
1079
1080 %if %{with glusterfs}
1081 %files module-block-gluster
1082 %defattr(644,root,root,755)
1083 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1084 %endif
1085
1086 %if %{with iscsi}
1087 %files module-block-iscsi
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1090 %endif
1091
1092 %if %{with ceph}
1093 %files module-block-rbd
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1096 %endif
1097
1098 %files module-block-ssh
1099 %defattr(644,root,root,755)
1100 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so