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