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