]> TLD Linux GIT Repositories - packages/qemu.git/blob - qemu.spec
- updated to 2.6.1, partial PLD merge
[packages/qemu.git] / qemu.spec
1 #
2 # Conditional build:
3 %bcond_without  sdl             # SDL UI and audio support
4 %bcond_without  gl              # Don't require gl deps
5 %bcond_without  ceph            # Ceph/RBD support
6 %bcond_without  glusterfs       # GlusterFS backend
7 %bcond_without  rdma            # RDMA-based migration support
8 %bcond_with     xseg            # Archipelago backend [non-distributable: GPLv3+ vs GPLv2-only]
9 %bcond_with     gtk2            # GTK+ 2.x instead of 3.x
10 %bcond_without  gtk3            # Do not build GTK+ UI
11 %bcond_without  vte             # VTE support in GTK+ UI
12 %bcond_without  spice           # SPICE support
13 %bcond_with     esd             # EsounD audio support
14 %bcond_without  oss             # OSS audio support
15 %bcond_without  pulseaudio      # PulseAudio audio support
16 %bcond_without  xen             # Xen backend driver support
17 %bcond_without  bluetooth       # bluetooth support
18 %bcond_with     brlapi          # brlapi support
19 %bcond_without  smartcard       # smartcard-nss support
20 %bcond_without  iscsi           # iscsi support
21 %bcond_without  libnfs          # NFS support
22 %bcond_without  seccomp         # seccomp support
23 %bcond_without  usbredir        # usb network redirection support
24 %bcond_without  system_seabios  # system seabios binary
25 %bcond_without  snappy          # snappy compression library
26 %bcond_with     lttng           # lttng-ust trace backend support
27 %bcond_with     systemtap       # SystemTap/dtrace trace backend support
28
29 %if %{with gtk2}
30 %undefine with_gtk3
31 %endif
32
33 Summary:        QEMU CPU Emulator
34 Summary(pl.UTF-8):      QEMU - emulator procesora
35 Name:           qemu
36 Version:        2.6.1
37 Release:        1
38 License:        GPL v2
39 Group:          Applications/Emulators
40 Source0:        http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
41 # Source0-md5:  6a183b192018192943b6781e1bb9b72f
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}-xattr.patch
56 Patch4:         libjpeg-boolean.patch
57 Patch5:         %{name}-sh.patch
58 URL:            http://www.qemu-project.org/
59 %{?with_gl:BuildRequires:       OpenGL-GLX-devel}
60 %{?with_gl:BuildRequires:       OpenGL-devel}
61 %{?with_sdl:BuildRequires:      SDL2-devel >= 2.0}
62 BuildRequires:  alsa-lib-devel
63 BuildRequires:  bcc >= 0.16.21-2
64 %{?with_bluetooth:BuildRequires:        bluez-libs-devel}
65 %{?with_brlapi:BuildRequires:   brlapi-devel}
66 BuildRequires:  bzip2-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.22
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 %{?with_gl:BuildRequires:       libepoxy-devel}
79 BuildRequires:  libfdt-devel
80 %{?with_rdma:BuildRequires:     libibverbs-devel}
81 %{?with_iscsi:BuildRequires:    libiscsi-devel >= 1.9.0}
82 BuildRequires:  libjpeg-devel
83 %{?with_libnfs:BuildRequires:   libnfs-devel >= 1.9.3}
84 BuildRequires:  libpng-devel
85 %{?with_rdma:BuildRequires:     librdmacm-devel}
86 %{?with_seccomp:BuildRequires:  libseccomp-devel >= 2.1.1}
87 BuildRequires:  libssh2-devel >= 1.2.8
88 BuildRequires:  libusb-devel >= 1.0.13
89 BuildRequires:  libuuid-devel
90 %{?with_xseg:BuildRequires:     libxseg-devel}
91 %{?with_lttng:BuildRequires:    lttng-ust-devel}
92 BuildRequires:  lzo-devel >= 2
93 BuildRequires:  ncurses-devel
94 %{?with_smartcard:BuildRequires:        nss-devel >= 1: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.22
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 ivshmem
254 Summary:        Client and server for QEMU ivshmem device
255 Summary(pl.UTF-8):      Klient i serwer dla urządzeia ivshmem QEMU
256 Group:          Development/Tools
257
258 %description ivshmem
259 This package provides client and server tools for QEMU's ivshmem
260 device.
261
262 %description ivshmem -l pl.UTF-8
263 Ten pakiet udostępnia działające z linii poleceń narzędzia dla
264 urządzenia ivshmem QEMU.
265
266 %package user
267 Summary:        QEMU user mode emulation of qemu targets
268 Summary(pl.UTF-8):      QEMU - emulacja trybu użytkownika środowisk qemu
269 Group:          Development/Tools
270 Requires:       %{name}-common = %{version}-%{release}
271 Obsoletes:      qemu-kvm-user
272
273 %description user
274 QEMU is a generic and open source processor emulator which achieves a
275 good emulation speed by using dynamic translation.
276
277 This package provides the user mode emulation of QEMU targets.
278
279 %description user -l pl.UTF-8
280 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
281 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
282
283 Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
284
285 %package system-aarch64
286 Summary:        QEMU system emulator for AArch64
287 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem AArch64
288 Group:          Development/Tools
289 Requires:       %{name}-common = %{version}-%{release}
290 %systempkg_req
291 Obsoletes:      qemu-kvm-system-aarch64
292
293 %description system-aarch64
294 QEMU is a generic and open source processor emulator which achieves a
295 good emulation speed by using dynamic translation.
296
297 This package provides the system emulator with AArch64 CPU.
298
299 %description system-aarch64 -l pl.UTF-8
300 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
301 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
302
303 Ten pakiet zawiera emulator systemu z procesorem AArch64.
304
305 %package system-alpha
306 Summary:        QEMU system emulator for Alpha
307 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Alpha
308 Group:          Development/Tools
309 Requires:       %{name}-common = %{version}-%{release}
310 %systempkg_req
311 Obsoletes:      qemu-kvm-system-alpha
312
313 %description system-alpha
314 QEMU is a generic and open source processor emulator which achieves a
315 good emulation speed by using dynamic translation.
316
317 This package provides the system emulator with Alpha CPU.
318
319 %description system-alpha -l pl.UTF-8
320 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
321 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
322
323 Ten pakiet zawiera emulator systemu z procesorem Alpha.
324
325 %package system-arm
326 Summary:        QEMU system emulator for ARM
327 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem ARM
328 Group:          Development/Tools
329 Requires:       %{name}-common = %{version}-%{release}
330 %systempkg_req
331 Obsoletes:      qemu-kvm-system-arm
332
333 %description system-arm
334 QEMU is a generic and open source processor emulator which achieves a
335 good emulation speed by using dynamic translation.
336
337 This package provides the system emulator for ARM.
338
339 %description system-arm -l pl.UTF-8
340 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
341 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
342
343 Ten pakiet zawiera emulator systemu z procesorem ARM.
344
345 %package system-cris
346 Summary:        QEMU system emulator for CRIS
347 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem CRIS
348 Group:          Development/Tools
349 Requires:       %{name}-common = %{version}-%{release}
350 %systempkg_req
351 Obsoletes:      qemu-kvm-system-cris
352
353 %description system-cris
354 QEMU is a generic and open source processor emulator which achieves a
355 good emulation speed by using dynamic translation.
356
357 This package provides the system emulator with CRIS CPU.
358
359 %description system-cris -l pl.UTF-8
360 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
361 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
362
363 Ten pakiet zawiera emulator systemu z procesorem CRIS.
364
365 %package system-lm32
366 Summary:        QEMU system emulator for LM32
367 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem LM32
368 Group:          Development/Tools
369 Requires:       %{name}-common = %{version}-%{release}
370 %systempkg_req
371 Obsoletes:      qemu-kvm-system-lm32
372
373 %description system-lm32
374 QEMU is a generic and open source processor emulator which achieves a
375 good emulation speed by using dynamic translation.
376
377 This package provides the system emulator with LM32 CPU.
378
379 %description system-lm32 -l pl.UTF-8
380 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
381 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
382
383 Ten pakiet zawiera emulator systemu z procesorem LM32.
384
385 %package system-m68k
386 Summary:        QEMU system emulator for m68k
387 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem m68k
388 Group:          Development/Tools
389 Requires:       %{name}-common = %{version}-%{release}
390 %systempkg_req
391 Obsoletes:      qemu-kvm-system-m68k
392
393 %description system-m68k
394 QEMU is a generic and open source processor emulator which achieves a
395 good emulation speed by using dynamic translation.
396
397 This package provides the system emulator with m68k CPU.
398
399 %description system-m68k -l pl.UTF-8
400 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
401 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
402
403 Ten pakiet zawiera emulator systemu z procesorem m68k.
404
405 %package system-microblaze
406 Summary:        QEMU system emulator for MicroBlaze
407 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem MicroBlaze
408 Group:          Development/Tools
409 Requires:       %{name}-common = %{version}-%{release}
410 %systempkg_req
411 Obsoletes:      qemu-kvm-system-microblaze
412
413 %description system-microblaze
414 QEMU is a generic and open source processor emulator which achieves a
415 good emulation speed by using dynamic translation.
416
417 This package provides the system emulator with MicroBlaze CPU.
418
419 %description system-microblaze -l pl.UTF-8
420 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
421 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
422
423 Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
424
425 %package system-mips
426 Summary:        QEMU system emulator for MIPS
427 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem MIPS
428 Group:          Development/Tools
429 Requires:       %{name}-common = %{version}-%{release}
430 %systempkg_req
431 Obsoletes:      qemu-kvm-system-mips
432
433 %description system-mips
434 QEMU is a generic and open source processor emulator which achieves a
435 good emulation speed by using dynamic translation.
436
437 This package provides the system emulator with MIPS CPU.
438
439 %description system-mips -l pl.UTF-8
440 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
441 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
442
443 Ten pakiet zawiera emulator systemu z procesorem MIPS.
444
445 %package system-moxie
446 Summary:        QEMU system emulator for Moxie
447 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Moxie
448 Group:          Development/Tools
449 Requires:       %{name}-common = %{version}-%{release}
450 %systempkg_req
451
452 %description system-moxie
453 QEMU is a generic and open source processor emulator which achieves a
454 good emulation speed by using dynamic translation.
455
456 This package provides the system emulator with Moxie CPU.
457
458 %description system-moxie -l pl.UTF-8
459 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
460 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
461
462 Ten pakiet zawiera emulator systemu z procesorem Moxie.
463
464 %package system-or32
465 Summary:        QEMU system emulator for OpenRISC
466 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem OpenRISC
467 Group:          Development/Tools
468 Requires:       %{name}-common = %{version}-%{release}
469 %systempkg_req
470 Obsoletes:      qemu-kvm-system-or32
471
472 %description system-or32
473 QEMU is a generic and open source processor emulator which achieves a
474 good emulation speed by using dynamic translation.
475
476 This package provides the system emulator with OpenRISC CPU.
477
478 %description system-or32 -l pl.UTF-8
479 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
480 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
481
482 Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
483
484 %package system-ppc
485 Summary:        QEMU system emulator for PowerPC
486 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem PowerPC
487 Group:          Development/Tools
488 Requires:       %{name}-common = %{version}-%{release}
489 %systempkg_req
490 Obsoletes:      qemu-kvm-system-ppc
491
492 %description system-ppc
493 QEMU is a generic and open source processor emulator which achieves a
494 good emulation speed by using dynamic translation.
495
496 This package provides the system emulator with PowerPC CPU.
497
498 %description system-ppc -l pl.UTF-8
499 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
500 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
501
502 Ten pakiet zawiera emulator systemu z procesorem PowerPC.
503
504 %package system-s390x
505 Summary:        QEMU system emulator for S390
506 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem S390
507 Group:          Development/Tools
508 Requires:       %{name}-common = %{version}-%{release}
509 %systempkg_req
510 Obsoletes:      qemu-kvm-system-s390x
511
512 %description system-s390x
513 QEMU is a generic and open source processor emulator which achieves a
514 good emulation speed by using dynamic translation.
515
516 This package provides the system emulator with S390 CPU.
517
518 %description system-s390x -l pl.UTF-8
519 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
520 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
521
522 Ten pakiet zawiera emulator systemu z procesorem S390.
523
524 %package system-sh4
525 Summary:        QEMU system emulator for SH4
526 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem SH4
527 Group:          Development/Tools
528 Requires:       %{name}-common = %{version}-%{release}
529 %systempkg_req
530 Obsoletes:      qemu-kvm-system-sh4
531
532 %description system-sh4
533 QEMU is a generic and open source processor emulator which achieves a
534 good emulation speed by using dynamic translation.
535
536 This package provides the system emulator with SH4 CPU.
537
538 %description system-sh4 -l pl.UTF-8
539 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
540 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
541
542 Ten pakiet zawiera emulator systemu z procesorem SH4.
543
544 %package system-sparc
545 Summary:        QEMU system emulator for SPARC
546 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem SPARC
547 Group:          Development/Tools
548 Requires:       %{name}-common = %{version}-%{release}
549 %systempkg_req
550 Obsoletes:      qemu-kvm-system-sparc
551
552 %description system-sparc
553 QEMU is a generic and open source processor emulator which achieves a
554 good emulation speed by using dynamic translation.
555
556 This package provides the system emulator with SPARC/SPARC64 CPU.
557
558 %description system-sparc -l pl.UTF-8
559 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
560 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
561
562 Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
563
564 %package system-tricore
565 Summary:        QEMU system emulator for TriCore
566 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem TriCore
567 Group:          Development/Tools
568 Requires:       %{name}-common = %{version}-%{release}
569 %systempkg_req
570
571 %description system-tricore
572 QEMU is a generic and open source processor emulator which achieves a
573 good emulation speed by using dynamic translation.
574
575 This package provides the system emulator with TriCore CPU.
576
577 %description system-sparc -l pl.UTF-8
578 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
579 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
580
581 Ten pakiet zawiera emulator systemu z procesorem TriCore.
582
583 %package system-unicore32
584 Summary:        QEMU system emulator for UniCore32
585 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem UniCore32
586 Group:          Development/Tools
587 Requires:       %{name}-common = %{version}-%{release}
588 %systempkg_req
589 Obsoletes:      qemu-kvm-system-unicore32
590
591 %description system-unicore32
592 QEMU is a generic and open source processor emulator which achieves a
593 good emulation speed by using dynamic translation.
594
595 This package provides the system emulator with UniCore32 CPU.
596
597 %description system-unicore32 -l pl.UTF-8
598 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
599 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
600
601 Ten pakiet zawiera emulator systemu z procesorem UniCore32.
602
603 %package system-x86
604 Summary:        QEMU system emulator for x86
605 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem x86
606 Group:          Development/Tools
607 Requires:       %{name}-common = %{version}-%{release}
608 %{?with_system_seabios:Requires:        seabios}
609 %systempkg_req
610 Obsoletes:      kvm
611 Obsoletes:      qemu-kvm-system-x86
612
613 %description system-x86
614 QEMU is a generic and open source processor emulator which achieves a
615 good emulation speed by using dynamic translation.
616
617 %description system-x86 -l pl.UTF-8
618 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
619 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
620
621 %package system-xtensa
622 Summary:        QEMU system emulator for Xtensa
623 Summary(pl.UTF-8):      QEMU - emulator systemu z procesorem Xtensa
624 Group:          Development/Tools
625 Requires:       %{name}-common = %{version}-%{release}
626 %systempkg_req
627 Obsoletes:      qemu-kvm-system-xtensa
628
629 %description system-xtensa
630 QEMU is a generic and open source processor emulator which achieves a
631 good emulation speed by using dynamic translation.
632
633 This package provides the system emulator with Xtensa CPU.
634
635 %description system-xtensa -l pl.UTF-8
636 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
637 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
638
639 Ten pakiet zawiera emulator systemu z procesorem Xtensa.
640
641 %package guest-agent
642 Summary:        QEMU guest agent
643 Summary(pl.UTF-8):      Agent gościa QEMU
644 Group:          Daemons
645 Requires:       glib2 >= 1:2.22
646 Obsoletes:      qemu-kvm-guest-agent
647
648 %description guest-agent
649 QEMU is a generic and open source processor emulator which achieves a
650 good emulation speed by using dynamic translation.
651
652 This package provides an agent to run inside guests, which
653 communicates with the host over a virtio-serial channel named
654 "org.qemu.guest_agent.0".
655
656 This package does not need to be installed on the host OS.
657
658 %description guest-agent -l pl.UTF-8
659 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
660 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
661
662 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
663 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
664 "org.qemu.guest_agent.0".
665
666 Ten pakiet nie musi być zainstalowany w systemie hosta.
667
668 %package module-block-archipelago
669 Summary:        QEMU module for Archipelago block devices
670 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych Archipelago
671 Group:          Development/Tools
672 Requires:       %{name}-common = %{version}-%{release}
673
674 %description module-block-archipelago
675 Archipelago block device support for QEMU.
676
677 %description module-block-archipelago -l pl.UTF-8
678 Moduł QEMU dla urządeń blokowych Archipelago.
679
680 %package module-block-curl
681 Summary:        QEMU module for 'curl' block devices
682 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'curl'
683 Group:          Development/Tools
684 Requires:       %{name}-common = %{version}-%{release}
685
686 %description module-block-curl
687 'curl' block device support for QEMU.
688
689 %description module-block-curl -l pl.UTF-8
690 Moduł QEMU dla urządeń blokowych typu 'curl'.
691
692 %package module-block-dmg
693 Summary:        QEMU module for 'dmg' block devices
694 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'dmg'
695 Group:          Development/Tools
696 Requires:       %{name}-common = %{version}-%{release}
697
698 %description module-block-dmg
699 'dmg' block device support for QEMU.
700
701 %description module-block-dmg -l pl.UTF-8
702 Moduł QEMU dla urządeń blokowych typu 'dmg'.
703
704 %package module-block-gluster
705 Summary:        QEMU module for 'gluster' block devices
706 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'gluster'
707 Group:          Development/Tools
708 Requires:       %{name}-common = %{version}-%{release}
709 Requires:       glusterfs-libs >= 3.4
710
711 %description module-block-gluster
712 'gluster' block device support for QEMU.
713
714 %description module-block-gluster -l pl.UTF-8
715 Moduł QEMU dla urządeń blokowych typu 'gluster'.
716
717 %package module-block-iscsi
718 Summary:        QEMU module for 'iscsi' block devices
719 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'iscsi'
720 Group:          Development/Tools
721 Requires:       %{name}-common = %{version}-%{release}
722 Requires:       libiscsi >= 1.9.0
723
724 %description module-block-iscsi
725 'iscsi' block device support for QEMU.
726
727 %description module-block-iscsi -l pl.UTF-8
728 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
729
730 %package module-block-rbd
731 Summary:        QEMU module for 'rbd' block devices
732 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'rbd'
733 Group:          Development/Tools
734 Requires:       %{name}-common = %{version}-%{release}
735
736 %description module-block-rbd
737 'rbd' block device support for QEMU.
738
739 %description module-block-rbd -l pl.UTF-8
740 Moduł QEMU dla urządeń blokowych typu 'rbd'.
741
742 %package module-block-ssh
743 Summary:        QEMU module for 'ssh' block devices
744 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'ssh'
745 Group:          Development/Tools
746 Requires:       %{name}-common = %{version}-%{release}
747
748 %description module-block-ssh
749 'ssh' block device support for QEMU.
750
751 %description module-block-ssh -l pl.UTF-8
752 Moduł QEMU dla urządeń blokowych typu 'ssh'.
753
754 %prep
755 %setup -q
756 %patch0 -p1
757 %patch1 -p1
758 %patch2 -p1
759 %patch3 -p1
760 %patch4 -p1
761 %patch5 -p1
762
763 # workaround for conflict with alsa/error.h
764 ln -s ../error.h qapi/error.h
765
766 %build
767 ./configure \
768         --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
769         --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
770         --prefix=%{_prefix} \
771         --libdir=%{_libdir} \
772         --libexecdir=%{_libexecdir} \
773         --sysconfdir=%{_sysconfdir} \
774         --cc="%{__cc}" \
775         --host-cc="%{__cc}" \
776         --disable-strip \
777         %{__enable_disable xseg archipelago} \
778         --enable-attr \
779         %{__enable_disable bluetooth bluez} \
780         %{__enable_disable brlapi} \
781         --enable-cap-ng \
782         --enable-curl \
783         --enable-curses \
784         --enable-docs \
785         --enable-fdt \
786         %{__enable_disable glusterfs} \
787         %{__enable_disable iscsi libiscsi} \
788         %{__enable_disable ceph rbd} \
789         %{__enable_disable rdma} \
790         %{__enable_disable sdl} \
791         --with-sdlabi=2.0 \
792         %{__enable_disable seccomp} \
793         %{__enable_disable spice} \
794         %{__enable_disable smartcard smartcard} \
795         --enable-tpm \
796         --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
797         %{__enable_disable usbredir usb-redir} \
798         --enable-uuid \
799         --enable-vde \
800         --enable-virtfs \
801         --enable-vnc-jpeg \
802         --enable-vnc-png \
803         --enable-vnc-sasl \
804         %{!?with_vte:--disable-vte} \
805         --enable-kvm \
806         %{__enable_disable xen} \
807         --enable-modules \
808         --disable-netmap \
809         %{__enable_disable libnfs} \
810         --enable-lzo \
811         %{__enable_disable snappy} \
812         --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
813         --interp-prefix=%{_libdir}/qemu/lib-%%M \
814 %if %{without gtk2} && %{without gtk3}
815         --disable-gtk
816 %else
817         --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
818 %endif
819
820 %{__make} \
821         V=1 \
822         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
823
824 # rebuild patched vesa tables with additional widescreen modes.
825 %{__make} -C roms/vgabios stdvga-bios
826
827 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
828
829 %install
830 rm -rf $RPM_BUILD_ROOT
831 install -d \
832         $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
833         $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
834
835 %{__make} install \
836         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
837         DESTDIR=$RPM_BUILD_ROOT
838
839 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
840
841 install -d $RPM_BUILD_ROOT%{_sysconfdir}
842 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
843 #!/bin/sh
844
845 EOF
846
847 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
848
849 %ifarch %{ix86} %{x8664}
850 install -p scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}
851 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
852 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
853 %endif
854
855 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
856 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
857
858 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
859 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
860
861 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
862
863 # packaged as %doc
864 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html
865 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
866
867 # install patched vesa tables with additional widescreen modes.
868 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
869
870 %if %{with system_seabios}
871 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
872 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
873 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
874         bn="$(basename $f)"
875         if [ -e "/usr/share/seabios/$bn" ] ; then
876                 ln -sf "/usr/share/seabios/$bn" "$f"
877         fi
878 done
879 %endif
880
881 %if %{with gtk2} || %{with gtk3}
882 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
883 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
884 %find_lang %{name}
885 %else
886 : > qemu.lang
887 %endif
888
889 %clean
890 rm -rf $RPM_BUILD_ROOT
891
892 %pre common
893 %groupadd -g 160 kvm
894 %groupadd -g 276 qemu
895 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
896
897 %postun common
898 if [ "$1" = "0" ]; then
899         %userremove qemu
900         %groupremove qemu
901         %groupremove kvm
902 fi
903
904 %files
905 %defattr(644,root,root,755)
906
907 %files common -f %{name}.lang
908 %defattr(644,root,root,755)
909 %doc LICENSE README qemu-doc.html qemu-tech.html qmp-commands.txt
910 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
911 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
912 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
913 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
914 %dir /etc/qemu
915 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
916 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
917 %attr(755,root,root) %{_bindir}/qemu-nbd
918 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
919 %attr(755,root,root) %{_sbindir}/ksmctl
920 %attr(755,root,root) %{_sbindir}/ksmtuned
921 %{_mandir}/man1/qemu.1*
922 %{_mandir}/man1/virtfs-proxy-helper.1*
923 %{_mandir}/man8/qemu-nbd.8*
924
925 %dir %{_datadir}/qemu
926 %{_datadir}/%{name}/keymaps
927 %{_datadir}/%{name}/qemu-icon.bmp
928 %{_datadir}/%{name}/trace-events
929
930 # various bios images
931 # all should be probably moved to the right system subpackage
932 %{_datadir}/%{name}/QEMU,cgthree.bin
933 %{_datadir}/%{name}/QEMU,tcx.bin
934 %{_datadir}/%{name}/bamboo.dtb
935 %{_datadir}/%{name}/efi-e1000.rom
936 %{_datadir}/%{name}/efi-eepro100.rom
937 %{_datadir}/%{name}/efi-ne2k_pci.rom
938 %{_datadir}/%{name}/efi-pcnet.rom
939 %{_datadir}/%{name}/efi-rtl8139.rom
940 %{_datadir}/%{name}/efi-virtio.rom
941 %{_datadir}/%{name}/kvmvapic.bin
942 %{_datadir}/%{name}/linuxboot.bin
943 %{_datadir}/%{name}/multiboot.bin
944 %{_datadir}/%{name}/openbios-ppc
945 %{_datadir}/%{name}/openbios-sparc*
946 %{_datadir}/%{name}/palcode-clipper
947 %{_datadir}/%{name}/petalogix-ml605.dtb
948 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
949 %{_datadir}/%{name}/ppc_rom.bin
950 %{_datadir}/%{name}/pxe-e1000.rom
951 %{_datadir}/%{name}/pxe-eepro100.rom
952 %{_datadir}/%{name}/pxe-ne2k_pci.rom
953 %{_datadir}/%{name}/pxe-pcnet.rom
954 %{_datadir}/%{name}/pxe-rtl8139.rom
955 %{_datadir}/%{name}/pxe-virtio.rom
956 %{_datadir}/%{name}/qemu_logo_no_text.svg
957 %{_datadir}/%{name}/s390-ccw.img
958 %{_datadir}/%{name}/sgabios.bin
959 %{_datadir}/%{name}/slof.bin
960 %{_datadir}/%{name}/spapr-rtas.bin
961 %{_datadir}/%{name}/vgabios.bin
962 %{_datadir}/%{name}/vgabios-cirrus.bin
963 %{_datadir}/%{name}/vgabios-qxl.bin
964 %{_datadir}/%{name}/vgabios-stdvga.bin
965 %{_datadir}/%{name}/vgabios-virtio.bin
966 %{_datadir}/%{name}/vgabios-vmware.bin
967
968 %dir %{_libdir}/%{name}
969
970 %files img
971 %defattr(644,root,root,755)
972 %attr(755,root,root) %{_bindir}/qemu-img
973 %{_mandir}/man1/qemu-img.1*
974
975 %files ivshmem
976 %defattr(644,root,root,755)
977 %attr(755,root,root) %{_bindir}/ivshmem-client
978 %attr(755,root,root) %{_bindir}/ivshmem-server
979
980 %files user
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_bindir}/qemu-aarch64
983 %attr(755,root,root) %{_bindir}/qemu-alpha
984 %attr(755,root,root) %{_bindir}/qemu-arm
985 %attr(755,root,root) %{_bindir}/qemu-armeb
986 %attr(755,root,root) %{_bindir}/qemu-cris
987 %attr(755,root,root) %{_bindir}/qemu-i386
988 %attr(755,root,root) %{_bindir}/qemu-io
989 %attr(755,root,root) %{_bindir}/qemu-m68k
990 %attr(755,root,root) %{_bindir}/qemu-microblaze
991 %attr(755,root,root) %{_bindir}/qemu-microblazeel
992 %attr(755,root,root) %{_bindir}/qemu-mips
993 %attr(755,root,root) %{_bindir}/qemu-mipsel
994 %attr(755,root,root) %{_bindir}/qemu-mips64
995 %attr(755,root,root) %{_bindir}/qemu-mips64el
996 %attr(755,root,root) %{_bindir}/qemu-mipsn32
997 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
998 %attr(755,root,root) %{_bindir}/qemu-or32
999 %attr(755,root,root) %{_bindir}/qemu-ppc
1000 %attr(755,root,root) %{_bindir}/qemu-ppc64
1001 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1002 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1003 %attr(755,root,root) %{_bindir}/qemu-s390x
1004 %attr(755,root,root) %{_bindir}/qemu-sh4
1005 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1006 %attr(755,root,root) %{_bindir}/qemu-sparc
1007 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1008 %attr(755,root,root) %{_bindir}/qemu-sparc64
1009 %attr(755,root,root) %{_bindir}/qemu-tilegx
1010 %attr(755,root,root) %{_bindir}/qemu-unicore32
1011 %attr(755,root,root) %{_bindir}/qemu-x86_64
1012
1013 %files system-aarch64
1014 %defattr(644,root,root,755)
1015 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1016
1017 %files system-alpha
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1020
1021 %files system-arm
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_bindir}/qemu-system-arm
1024
1025 %files system-cris
1026 %defattr(644,root,root,755)
1027 %attr(755,root,root) %{_bindir}/qemu-system-cris
1028
1029 %files system-lm32
1030 %defattr(644,root,root,755)
1031 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1032
1033 %files system-m68k
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1036
1037 %files system-microblaze
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1040 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1041
1042 %files system-mips
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{_bindir}/qemu-system-mips
1045 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1046 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1047 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1048
1049 %files system-moxie
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1052
1053 %files system-or32
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_bindir}/qemu-system-or32
1056
1057 %files system-ppc
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1060 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1061 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1062 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1063 %{_datadir}/%{name}/u-boot.e500
1064
1065 %files system-s390x
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1068
1069 %files system-sh4
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1072 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1073
1074 %files system-sparc
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1077 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1078
1079 %files system-tricore
1080 %defattr(644,root,root,755)
1081 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1082
1083 %files system-unicore32
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1086
1087 %files system-x86
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_bindir}/qemu-system-i386
1090 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1091 %ifarch %{ix86} %{x8664}
1092 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1093 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1094 %attr(755,root,root) %{_bindir}/kvm_stat
1095 %endif
1096 %{_datadir}/%{name}/bios.bin
1097 %{_datadir}/%{name}/bios-256k.bin
1098 %{_datadir}/%{name}/acpi-dsdt.aml
1099
1100 %files system-xtensa
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1103 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1104
1105 %files guest-agent
1106 %defattr(644,root,root,755)
1107 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1108 %attr(755,root,root) %{_bindir}/qemu-ga
1109 %{_mandir}/man8/qemu-ga.8*
1110
1111 %if %{with xseg}
1112 %files module-block-archipelago
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_libdir}/%{name}/block-archipelago.so
1115 %endif
1116
1117 %files module-block-curl
1118 %defattr(644,root,root,755)
1119 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1120
1121 %files module-block-dmg
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/%{name}/block-dmg.so
1124
1125 %if %{with glusterfs}
1126 %files module-block-gluster
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1129 %endif
1130
1131 %if %{with iscsi}
1132 %files module-block-iscsi
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1135 %endif
1136
1137 %if %{with ceph}
1138 %files module-block-rbd
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1141 %endif
1142
1143 %files module-block-ssh
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so