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