]> git.pld-linux.org Git - packages/qemu.git/blob - qemu.spec
update qemu.binfmnt from fedora
[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_without  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 %ifarch x32
34 %undefine       with_xen
35 %endif
36
37 Summary:        QEMU CPU Emulator
38 Summary(pl.UTF-8):      QEMU - emulator procesora
39 Name:           qemu
40 Version:        2.7.0
41 Release:        1
42 License:        GPL v2
43 Group:          Applications/Emulators
44 Source0:        http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
45 # Source0-md5:  08d4d06d1cb598efecd796137f4844ab
46 Source2:        %{name}.binfmt
47 # Loads kvm kernel modules at boot
48 Source3:        kvm-modules-load.conf
49 # Creates /dev/kvm
50 Source4:        80-kvm.rules
51 # KSM control scripts
52 Source5:        ksm.service
53 Source6:        ksm.sysconfig
54 Source7:        ksmctl.c
55 Source8:        ksmtuned.service
56 Source9:        ksmtuned
57 Source10:       ksmtuned.conf
58 Source11:       %{name}-guest-agent.service
59 Source12:       99-%{name}-guest-agent.rules
60 Patch0:         %{name}-cflags.patch
61 Patch1:         vgabios-widescreens.patch
62 Patch2:         %{name}-whitelist.patch
63
64 Patch4:         %{name}-xattr.patch
65 Patch5:         libjpeg-boolean.patch
66 Patch6:         x32.patch
67 URL:            http://www.qemu-project.org/
68 %{?with_gl:BuildRequires:       OpenGL-GLX-devel}
69 %{?with_gl:BuildRequires:       OpenGL-devel}
70 %{?with_sdl:BuildRequires:      SDL2-devel >= 2.0}
71 BuildRequires:  alsa-lib-devel
72 BuildRequires:  bcc >= 0.16.21-2
73 %{?with_bluetooth:BuildRequires:        bluez-libs-devel}
74 %{?with_brlapi:BuildRequires:   brlapi-devel}
75 BuildRequires:  bzip2-devel
76 %{?with_ceph:BuildRequires:     ceph-devel}
77 BuildRequires:  curl-devel
78 BuildRequires:  cyrus-sasl-devel >= 2
79 %{?with_esd:BuildRequires:      esound-devel}
80 BuildRequires:  glib2-devel >= 1:2.22
81 %{?with_glusterfs:BuildRequires:        glusterfs-devel >= 3.4}
82 BuildRequires:  gnutls-devel > 2.10.0
83 BuildRequires:  libaio-devel
84 %{?with_smartcard:BuildRequires:        libcacard-devel}
85 BuildRequires:  libcap-devel
86 BuildRequires:  libcap-ng-devel
87 %{?with_gl:BuildRequires:       libepoxy-devel}
88 BuildRequires:  libfdt-devel
89 %{?with_rdma:BuildRequires:     libibverbs-devel}
90 %{?with_iscsi:BuildRequires:    libiscsi-devel >= 1.9.0}
91 BuildRequires:  libjpeg-devel
92 %{?with_libnfs:BuildRequires:   libnfs-devel >= 1.9.3}
93 BuildRequires:  libpng-devel
94 %{?with_rdma:BuildRequires:     librdmacm-devel}
95 %{?with_seccomp:BuildRequires:  libseccomp-devel >= 2.1.1}
96 BuildRequires:  libssh2-devel >= 1.2.8
97 BuildRequires:  libusb-devel >= 1.0.13
98 BuildRequires:  libuuid-devel
99 %{?with_xseg:BuildRequires:     libxseg-devel}
100 %{?with_lttng:BuildRequires:    lttng-ust-devel}
101 BuildRequires:  lzo-devel >= 2
102 BuildRequires:  ncurses-devel
103 %{?with_smartcard:BuildRequires:        nss-devel >= 1:3.12.8}
104 BuildRequires:  numactl-devel
105 BuildRequires:  perl-Encode
106 BuildRequires:  perl-tools-pod
107 BuildRequires:  pixman-devel >= 0.21.8
108 BuildRequires:  pkgconfig
109 %{?with_pulseaudio:BuildRequires:       pulseaudio-devel}
110 BuildRequires:  rpmbuild(macros) >= 1.644
111 %{?with_system_seabios:BuildRequires:   seabios}
112 BuildRequires:  sed >= 4.0
113 %{?with_snappy:BuildRequires:   snappy-devel}
114 %if %{with spice}
115 BuildRequires:  spice-protocol >= 0.12.3
116 BuildRequires:  spice-server-devel >= 0.12.0
117 %endif
118 %{?with_systemtap:BuildRequires:        systemtap-sdt-devel}
119 BuildRequires:  texi2html
120 BuildRequires:  texinfo
121 %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
122 %{?with_lttng:BuildRequires:    userspace-rcu-devel}
123 BuildRequires:  vde2-devel
124 BuildRequires:  which
125 %{?with_xen:BuildRequires:      xen-devel >= 3.4}
126 BuildRequires:  xfsprogs-devel
127 BuildRequires:  xorg-lib-libX11-devel
128 BuildRequires:  zlib-devel
129 %if %{with gtk2}
130 BuildRequires:  gtk+2-devel >= 2:2.18.0
131 %{?with_vte:BuildRequires:      vte0-devel >= 0.24.0}
132 %endif
133 %if %{with gtk3}
134 BuildRequires:  gtk+3-devel >= 3.0.0
135 %{?with_vte:BuildRequires:      vte2.90-devel >= 0.32.0}
136 %endif
137 Requires:       %{name}-img = %{version}-%{release}
138 Requires:       %{name}-system-aarch64 = %{version}-%{release}
139 Requires:       %{name}-system-alpha = %{version}-%{release}
140 Requires:       %{name}-system-arm = %{version}-%{release}
141 Requires:       %{name}-system-cris = %{version}-%{release}
142 Requires:       %{name}-system-lm32 = %{version}-%{release}
143 Requires:       %{name}-system-m68k = %{version}-%{release}
144 Requires:       %{name}-system-microblaze = %{version}-%{release}
145 Requires:       %{name}-system-mips = %{version}-%{release}
146 Requires:       %{name}-system-moxie = %{version}-%{release}
147 Requires:       %{name}-system-or32 = %{version}-%{release}
148 Requires:       %{name}-system-ppc = %{version}-%{release}
149 Requires:       %{name}-system-s390x = %{version}-%{release}
150 Requires:       %{name}-system-sh4 = %{version}-%{release}
151 Requires:       %{name}-system-sparc = %{version}-%{release}
152 Requires:       %{name}-system-tricore = %{version}-%{release}
153 Requires:       %{name}-system-unicore32 = %{version}-%{release}
154 Requires:       %{name}-system-x86 = %{version}-%{release}
155 Requires:       %{name}-system-xtensa = %{version}-%{release}
156 Requires:       %{name}-user = %{version}-%{release}
157 Obsoletes:      qemu-kvm
158 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
159
160 %define systempkg_req \
161 %if %{with sdl} \
162 Requires:       SDL2 \
163 %endif \
164 %if %{with seccomp} \
165 Requires:       libseccomp >= 2.1.0 \
166 %endif \
167 Requires:       libusb >= 1.0.13 \
168 Requires:       pixman >= 0.21.8 \
169 %if %{with usbredir} \
170 Requires:       usbredir >= 0.6 \
171 %endif \
172 %if %{with gtk2} \
173 Requires:       gtk+2 >= 2:2.18.0 \
174 %{?with_vte:Requires:   vte0 >= 0.24.0} \
175 %endif \
176 %if %{with gtk3} \
177 Requires:       gtk+3 >= 3.0.0 \
178 %{?with_vte:Requires:   vte2.90 >= 0.32.0} \
179 %endif
180
181 # don't strip/chrpath anything in there; these are boot images, roms etc
182 %define         _noautostrip    .*%{_datadir}/qemu/.*
183 %define         _noautochrpath  .*%{_datadir}/qemu/.*
184
185 %description
186 QEMU is a FAST! processor emulator. By using dynamic translation it
187 achieves a reasonnable speed while being easy to port on new host
188 CPUs. QEMU has two operating modes:
189
190 - User mode emulation. In this mode, QEMU can launch Linux processes
191   compiled for one CPU on another CPU. Linux system calls are converted
192   because of endianness and 32/64 bit mismatches. Wine (Windows
193   emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
194
195 - Full system emulation. In this mode, QEMU emulates a full system,
196   including a processor and various peripherials. It can also be used to
197   provide virtual hosting of several virtual PC on a single server.
198
199 %description -l pl.UTF-8
200 QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
201 tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
202 aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
203
204 - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
205   procesy linuksowe skompilowane dla jednego procesora na innym
206   procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
207   niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
208   słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
209   cele QEMU.
210
211 - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
212   włączając w to procesor i różne urządzenia peryferyjne. Może być także
213   używane do wirtualnego hostowania kilku wirtualnych pecetów na
214   pojedynczym serwerze.
215
216 %package common
217 Summary:        QEMU common files needed by all QEMU targets
218 Summary(pl.UTF-8):      Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
219 Group:          Development/Tools
220 Requires(post,preun,postun):    systemd-units >= 38
221 Requires(postun):       /usr/sbin/groupdel
222 Requires(postun):       /usr/sbin/userdel
223 Requires(pre):  /bin/id
224 Requires(pre):  /usr/bin/getgid
225 Requires(pre):  /usr/sbin/groupadd
226 Requires(pre):  /usr/sbin/useradd
227 Requires:       glib2 >= 1:2.22
228 %{?with_libnfs:Requires:        libnfs >= 1.9.3}
229 Requires:       libssh2 >= 1.2.8
230 Requires:       systemd-units >= 38
231 Provides:       group(qemu)
232 Provides:       user(qemu)
233 Obsoletes:      qemu-kvm-common
234 Conflicts:      qemu < 1.0-2
235
236 %description common
237 QEMU is a generic and open source processor emulator which achieves a
238 good emulation speed by using dynamic translation.
239
240 This package provides the common files needed by all QEMU targets.
241
242 %description common -l pl.UTF-8
243 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
244 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
245
246 Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
247 środowiska QEMU.
248
249 %package img
250 Summary:        QEMU command line tool for manipulating disk images
251 Summary(pl.UTF-8):      Narzędzie QEMU do operacji na obrazach dysków
252 Group:          Development/Tools
253 Obsoletes:      qemu-kvm-img
254 Conflicts:      qemu < 1.0-2
255
256 %description img
257 This package provides a command line tool for manipulating disk
258 images.
259
260 %description img -l pl.UTF-8
261 Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
262 na obrazach dysków.
263
264 %package user
265 Summary:        QEMU user mode emulation of qemu targets
266 Summary(pl.UTF-8):      QEMU - emulacja trybu użytkownika środowisk qemu
267 Group:          Development/Tools
268 Requires:       %{name}-common = %{version}-%{release}
269 Requires(post,postun):  systemd-units >= 38
270 Requires:       systemd-units >= 38
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(post,preun,postun):    systemd-units >= 38
646 Requires:       glib2 >= 1:2.22
647 Requires:       systemd-units >= 38
648 Obsoletes:      qemu-kvm-guest-agent
649
650 %description guest-agent
651 QEMU is a generic and open source processor emulator which achieves a
652 good emulation speed by using dynamic translation.
653
654 This package provides an agent to run inside guests, which
655 communicates with the host over a virtio-serial channel named
656 "org.qemu.guest_agent.0".
657
658 This package does not need to be installed on the host OS.
659
660 %description guest-agent -l pl.UTF-8
661 QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
662 dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
663
664 Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
665 systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
666 "org.qemu.guest_agent.0".
667
668 Ten pakiet nie musi być zainstalowany w systemie hosta.
669
670 %package module-block-archipelago
671 Summary:        QEMU module for Archipelago block devices
672 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych Archipelago
673 Group:          Development/Tools
674 Requires:       %{name}-common = %{version}-%{release}
675
676 %description module-block-archipelago
677 Archipelago block device support for QEMU.
678
679 %description module-block-archipelago -l pl.UTF-8
680 Moduł QEMU dla urządeń blokowych Archipelago.
681
682 %package module-block-curl
683 Summary:        QEMU module for 'curl' block devices
684 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'curl'
685 Group:          Development/Tools
686 Requires:       %{name}-common = %{version}-%{release}
687
688 %description module-block-curl
689 'curl' block device support for QEMU.
690
691 %description module-block-curl -l pl.UTF-8
692 Moduł QEMU dla urządeń blokowych typu 'curl'.
693
694 %package module-block-gluster
695 Summary:        QEMU module for 'gluster' block devices
696 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'gluster'
697 Group:          Development/Tools
698 Requires:       %{name}-common = %{version}-%{release}
699 Requires:       glusterfs-libs >= 3.4
700
701 %description module-block-gluster
702 'gluster' block device support for QEMU.
703
704 %description module-block-gluster -l pl.UTF-8
705 Moduł QEMU dla urządeń blokowych typu 'gluster'.
706
707 %package module-block-iscsi
708 Summary:        QEMU module for 'iscsi' block devices
709 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'iscsi'
710 Group:          Development/Tools
711 Requires:       %{name}-common = %{version}-%{release}
712 Requires:       libiscsi >= 1.9.0
713
714 %description module-block-iscsi
715 'iscsi' block device support for QEMU.
716
717 %description module-block-iscsi -l pl.UTF-8
718 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
719
720 %package module-block-rbd
721 Summary:        QEMU module for 'rbd' block devices
722 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'rbd'
723 Group:          Development/Tools
724 Requires:       %{name}-common = %{version}-%{release}
725
726 %description module-block-rbd
727 'rbd' block device support for QEMU.
728
729 %description module-block-rbd -l pl.UTF-8
730 Moduł QEMU dla urządeń blokowych typu 'rbd'.
731
732 %package module-block-ssh
733 Summary:        QEMU module for 'ssh' block devices
734 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'ssh'
735 Group:          Development/Tools
736 Requires:       %{name}-common = %{version}-%{release}
737
738 %description module-block-ssh
739 'ssh' block device support for QEMU.
740
741 %description module-block-ssh -l pl.UTF-8
742 Moduł QEMU dla urządeń blokowych typu 'ssh'.
743
744 %prep
745 %setup -q
746 %patch0 -p1
747 %patch1 -p1
748 %patch2 -p0
749
750 %patch4 -p1
751 %patch5 -p1
752 %patch6 -p1
753
754 # workaround for conflict with alsa/error.h
755 ln -s ../error.h qapi/error.h
756
757 %build
758 ./configure \
759         --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
760         --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
761         --prefix=%{_prefix} \
762         --libdir=%{_libdir} \
763         --libexecdir=%{_libexecdir} \
764         --sysconfdir=%{_sysconfdir} \
765         --cc="%{__cc}" \
766         --host-cc="%{__cc}" \
767         --disable-strip \
768         %{__enable_disable xseg archipelago} \
769         --enable-attr \
770         %{__enable_disable bluetooth bluez} \
771         %{__enable_disable brlapi} \
772         --enable-cap-ng \
773         --enable-curl \
774         --enable-curses \
775         --enable-docs \
776         --enable-fdt \
777         %{__enable_disable glusterfs} \
778         %{__enable_disable iscsi libiscsi} \
779         %{__enable_disable ceph rbd} \
780         %{__enable_disable rdma} \
781         %{__enable_disable sdl} \
782         --with-sdlabi=2.0 \
783         %{__enable_disable seccomp} \
784         %{__enable_disable spice} \
785         %{__enable_disable smartcard smartcard} \
786         --enable-tpm \
787         --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
788         %{__enable_disable usbredir usb-redir} \
789         --enable-uuid \
790         --enable-vde \
791         --enable-virtfs \
792         --enable-vnc-jpeg \
793         --enable-vnc-png \
794         --enable-vnc-sasl \
795         %{!?with_vte:--disable-vte} \
796         --enable-kvm \
797         %{__enable_disable xen} \
798         --enable-modules \
799         --disable-netmap \
800         %{__enable_disable libnfs} \
801         --enable-lzo \
802         %{__enable_disable snappy} \
803         --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
804         --interp-prefix=%{_libdir}/qemu/lib-%%M \
805 %if %{without gtk2} && %{without gtk3}
806         --disable-gtk
807 %else
808         --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
809 %endif
810
811 %{__make} \
812         V=1 \
813         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
814
815 # rebuild patched vesa tables with additional widescreen modes.
816 %{__make} -C roms/vgabios stdvga-bios
817
818 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
819
820 %install
821 rm -rf $RPM_BUILD_ROOT
822 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
823         $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
824         $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
825
826 %{__make} install \
827         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
828         DESTDIR=$RPM_BUILD_ROOT
829
830 echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
831
832 install -d $RPM_BUILD_ROOT%{_sysconfdir}
833 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
834 #!/bin/sh
835
836 EOF
837
838 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
839
840 %ifarch %{ix86} %{x8664} x32
841 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
842 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
843 %endif
844
845 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
846 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
847 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
848
849 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
850 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
851 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
852
853 # For the qemu-guest-agent subpackage install the systemd
854 # service and udev rules.
855 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
856 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
857
858 # Install binfmt
859 for i in dummy \
860 %ifnarch %{ix86} %{x8664} x32
861         qemu-i386 \
862 %endif
863 %ifnarch alpha
864         qemu-alpha \
865 %endif
866 %ifnarch %{arm}
867         qemu-arm \
868 %endif
869         qemu-armeb \
870         qemu-cris \
871         qemu-microblaze qemu-microblazeel \
872 %ifnarch mips64
873         qemu-mips64 \
874 %ifnarch mips
875         qemu-mips \
876 %endif
877 %endif
878 %ifnarch mips64el
879         qemu-mips64el \
880 %ifnarch mipsel
881         qemu-mipsel \
882 %endif
883 %endif
884 %ifnarch m68k
885         qemu-m68k \
886 %endif
887 %ifnarch ppc ppc64 ppc64le
888         qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
889 %endif
890 %ifnarch sparc sparc64
891         qemu-sparc qemu-sparc32plus qemu-sparc64 \
892 %endif
893 %ifnarch s390 s390x
894         qemu-s390x \
895 %endif
896 %ifnarch sh4
897         qemu-sh4 \
898 %endif
899         qemu-sh4eb \
900 ; do
901         test $i = dummy && continue
902         grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i.conf
903 done < %{SOURCE2}
904
905 # packaged as %doc
906 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html
907 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
908
909 # install patched vesa tables with additional widescreen modes.
910 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
911
912 %if %{with system_seabios}
913 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
914 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
915 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
916         bn="$(basename $f)"
917         if [ -e "/usr/share/seabios/$bn" ] ; then
918                 ln -sf "/usr/share/seabios/$bn" "$f"
919         fi
920 done
921 %endif
922
923 %if %{with gtk2} || %{with gtk3}
924 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
925 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
926 %find_lang %{name}
927 %else
928 : > qemu.lang
929 %endif
930
931 %clean
932 rm -rf $RPM_BUILD_ROOT
933
934 %pre common
935 %groupadd -g 160 kvm
936 %groupadd -g 276 qemu
937 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
938
939 %post common
940 %systemd_post ksm.service
941 %systemd_post ksmtuned.service
942
943 %preun common
944 %systemd_preun ksm.service
945 %systemd_preun ksmtuned.service
946
947 %postun common
948 if [ "$1" = "0" ]; then
949         %userremove qemu
950         %groupremove qemu
951         %groupremove kvm
952 fi
953 %systemd_reload
954
955 %triggerpostun common -- qemu-common < 1.6.1-4
956 %systemd_trigger ksm.service
957 %systemd_trigger ksmtuned.service
958
959 %post user
960 %systemd_service_restart systemd-binfmt.service
961
962 %postun user
963 %systemd_service_restart systemd-binfmt.service
964
965 %post guest-agent
966 %systemd_reload
967
968 %preun guest-agent
969 %systemd_preun qemu-guest-agent.service
970
971 %postun guest-agent
972 %systemd_reload
973
974 %files
975 %defattr(644,root,root,755)
976
977 %files common -f %{name}.lang
978 %defattr(644,root,root,755)
979 %doc LICENSE README qemu-doc.html qemu-tech.html qmp-commands.txt
980 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
981 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
982 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
983 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
984 %dir /etc/qemu
985 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
986 %{systemdunitdir}/ksm.service
987 %{systemdunitdir}/ksmtuned.service
988 %attr(755,root,root) %{_bindir}/ivshmem-client
989 %attr(755,root,root) %{_bindir}/ivshmem-server
990 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
991 %attr(755,root,root) %{_bindir}/qemu-nbd
992 %attr(755,root,root) %{_bindir}/qemu-tilegx
993 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
994 %attr(755,root,root) %{_sbindir}/ksmctl
995 %attr(755,root,root) %{_sbindir}/ksmtuned
996 %{_mandir}/man1/qemu.1*
997 %{_mandir}/man1/virtfs-proxy-helper.1*
998 %{_mandir}/man8/qemu-nbd.8*
999
1000 %dir %{_datadir}/qemu
1001 %{_datadir}/%{name}/keymaps
1002 %{_datadir}/%{name}/qemu-icon.bmp
1003 %{_datadir}/%{name}/trace-events-all
1004
1005 # various bios images
1006 # all should be probably moved to the right system subpackage
1007 %{_datadir}/%{name}/bamboo.dtb
1008 %{_datadir}/%{name}/efi-e1000e.rom
1009 %{_datadir}/%{name}/efi-e1000.rom
1010 %{_datadir}/%{name}/efi-eepro100.rom
1011 %{_datadir}/%{name}/efi-ne2k_pci.rom
1012 %{_datadir}/%{name}/efi-pcnet.rom
1013 %{_datadir}/%{name}/efi-rtl8139.rom
1014 %{_datadir}/%{name}/efi-virtio.rom
1015 %{_datadir}/%{name}/efi-vmxnet3.rom
1016 %{_datadir}/%{name}/kvmvapic.bin
1017 %{_datadir}/%{name}/linuxboot.bin
1018 %{_datadir}/%{name}/linuxboot_dma.bin
1019 %{_datadir}/%{name}/multiboot.bin
1020 %{_datadir}/%{name}/openbios-ppc
1021 %{_datadir}/%{name}/openbios-sparc*
1022 %{_datadir}/%{name}/palcode-clipper
1023 %{_datadir}/%{name}/petalogix-ml605.dtb
1024 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1025 %{_datadir}/%{name}/ppc_rom.bin
1026 %{_datadir}/%{name}/pxe-e1000.rom
1027 %{_datadir}/%{name}/pxe-eepro100.rom
1028 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1029 %{_datadir}/%{name}/pxe-pcnet.rom
1030 %{_datadir}/%{name}/pxe-rtl8139.rom
1031 %{_datadir}/%{name}/pxe-virtio.rom
1032 %{_datadir}/%{name}/QEMU,cgthree.bin
1033 %{_datadir}/%{name}/qemu_logo_no_text.svg
1034 %{_datadir}/%{name}/QEMU,tcx.bin
1035 %{_datadir}/%{name}/s390-ccw.img
1036 %{_datadir}/%{name}/sgabios.bin
1037 %{_datadir}/%{name}/slof.bin
1038 %{_datadir}/%{name}/spapr-rtas.bin
1039 %{_datadir}/%{name}/vgabios.bin
1040 %{_datadir}/%{name}/vgabios-cirrus.bin
1041 %{_datadir}/%{name}/vgabios-qxl.bin
1042 %{_datadir}/%{name}/vgabios-stdvga.bin
1043 %{_datadir}/%{name}/vgabios-virtio.bin
1044 %{_datadir}/%{name}/vgabios-vmware.bin
1045
1046 %dir %{_libdir}/%{name}
1047
1048 # modules without too many external dependencies
1049 %attr(755,root,root) %{_libdir}/%{name}/block-dmg.so
1050
1051 %files img
1052 %defattr(644,root,root,755)
1053 %attr(755,root,root) %{_bindir}/qemu-img
1054 %{_mandir}/man1/qemu-img.1*
1055
1056 %files user
1057 %defattr(644,root,root,755)
1058 /usr/lib/binfmt.d/qemu-*.conf
1059 %attr(755,root,root) %{_bindir}/qemu-aarch64
1060 %attr(755,root,root) %{_bindir}/qemu-alpha
1061 %attr(755,root,root) %{_bindir}/qemu-arm
1062 %attr(755,root,root) %{_bindir}/qemu-armeb
1063 %attr(755,root,root) %{_bindir}/qemu-cris
1064 %attr(755,root,root) %{_bindir}/qemu-i386
1065 %attr(755,root,root) %{_bindir}/qemu-io
1066 %attr(755,root,root) %{_bindir}/qemu-m68k
1067 %attr(755,root,root) %{_bindir}/qemu-microblaze
1068 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1069 %attr(755,root,root) %{_bindir}/qemu-mips
1070 %attr(755,root,root) %{_bindir}/qemu-mipsel
1071 %attr(755,root,root) %{_bindir}/qemu-mips64
1072 %attr(755,root,root) %{_bindir}/qemu-mips64el
1073 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1074 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1075 %attr(755,root,root) %{_bindir}/qemu-or32
1076 %attr(755,root,root) %{_bindir}/qemu-ppc
1077 %attr(755,root,root) %{_bindir}/qemu-ppc64
1078 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1079 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1080 %attr(755,root,root) %{_bindir}/qemu-s390x
1081 %attr(755,root,root) %{_bindir}/qemu-sh4
1082 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1083 %attr(755,root,root) %{_bindir}/qemu-sparc
1084 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1085 %attr(755,root,root) %{_bindir}/qemu-sparc64
1086 %attr(755,root,root) %{_bindir}/qemu-unicore32
1087 %attr(755,root,root) %{_bindir}/qemu-x86_64
1088
1089 %files system-aarch64
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1092
1093 %files system-alpha
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1096
1097 %files system-arm
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_bindir}/qemu-system-arm
1100
1101 %files system-cris
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_bindir}/qemu-system-cris
1104
1105 %files system-lm32
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1108
1109 %files system-m68k
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1112
1113 %files system-microblaze
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1116 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1117
1118 %files system-mips
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_bindir}/qemu-system-mips
1121 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1122 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1123 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1124
1125 %files system-moxie
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1128
1129 %files system-or32
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_bindir}/qemu-system-or32
1132
1133 %files system-ppc
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1136 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1137 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1138 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1139 %{_datadir}/%{name}/u-boot.e500
1140
1141 %files system-s390x
1142 %defattr(644,root,root,755)
1143 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1144
1145 %files system-sh4
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1148 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1149
1150 %files system-sparc
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1153 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1154
1155 %files system-tricore
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1158
1159 %files system-unicore32
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1162
1163 %files system-x86
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_bindir}/qemu-system-i386
1166 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1167 %ifarch %{ix86} %{x8664} x32
1168 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1169 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1170 %endif
1171 %{_datadir}/%{name}/bios.bin
1172 %{_datadir}/%{name}/bios-256k.bin
1173 %{_datadir}/%{name}/acpi-dsdt.aml
1174
1175 %files system-xtensa
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1178 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1179
1180 %files guest-agent
1181 %defattr(644,root,root,755)
1182 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1183 %{systemdunitdir}/qemu-guest-agent.service
1184 %attr(755,root,root) %{_bindir}/qemu-ga
1185 %{_mandir}/man8/qemu-ga.8*
1186
1187 %if %{with xseg}
1188 %files module-block-archipelago
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/%{name}/block-archipelago.so
1191 %endif
1192
1193 %files module-block-curl
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1196
1197 %if %{with glusterfs}
1198 %files module-block-gluster
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1201 %endif
1202
1203 %if %{with iscsi}
1204 %files module-block-iscsi
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1207 %endif
1208
1209 %if %{with ceph}
1210 %files module-block-rbd
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1213 %endif
1214
1215 %files module-block-ssh
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
This page took 0.166164 seconds and 4 git commands to generate.