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