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