]> git.pld-linux.org Git - packages/qemu.git/blame_incremental - qemu.spec
- updated dependencies, use system libslirp, drop obsolete esd bcond
[packages/qemu.git] / qemu.spec
... / ...
CommitLineData
1# TODO:
2# libvxhs/libqnio (Veritas HyperScale block driver VxHS)
3# capstone=system
4# libpmem (x86_64 only?)
5# plugins?
6#
7# Conditional build:
8%bcond_without sdl # SDL UI and audio support
9%bcond_without opengl # Don't require GL deps
10%bcond_without ceph # Ceph/RBD support
11%bcond_without glusterfs # GlusterFS backend
12%bcond_without rdma # RDMA-based migration support
13%bcond_without gtk3 # Do not build GTK+ UI
14%bcond_without vte # VTE support in GTK+ UI
15%bcond_without spice # SPICE support
16%bcond_without oss # OSS audio support
17%bcond_without pulseaudio # PulseAudio audio support
18%bcond_without xen # Xen backend driver support
19%bcond_without bluetooth # bluetooth support
20%bcond_without brlapi # brlapi support
21%bcond_without smartcard # smartcard-nss support
22%bcond_without iscsi # iscsi support
23%bcond_without libnfs # NFS support
24%bcond_without multipath # Multipath support
25%bcond_without seccomp # seccomp support
26%bcond_without usbredir # usb network redirection support
27%bcond_without system_seabios # system seabios binary
28%bcond_without snappy # snappy compression library
29%bcond_without user_static # build linux-user static packages
30%bcond_with lttng # lttng-ust trace backend support
31%bcond_with systemtap # SystemTap/dtrace trace backend support
32%bcond_with virgl # build virgl support
33%bcond_without xkbcommon # xkbcommon support
34
35%ifarch x32
36%undefine with_xen
37%endif
38
39Summary: QEMU CPU Emulator
40Summary(pl.UTF-8): QEMU - emulator procesora
41Name: qemu
42Version: 4.2.0
43Release: 2
44License: GPL v2, BSD (edk2 firmware files)
45Group: Applications/Emulators
46Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
47# Source0-md5: 278eeb294e4b497e79af7a57e660cb9a
48# Loads kvm kernel modules at boot
49Source3: kvm-modules-load.conf
50# Creates /dev/kvm
51Source4: 80-kvm.rules
52# KSM control scripts
53Source5: ksm.service
54Source6: ksm.sysconfig
55Source7: ksmctl.c
56Source8: ksmtuned.service
57Source9: ksmtuned
58Source10: ksmtuned.conf
59Source11: %{name}-guest-agent.service
60Source12: 99-%{name}-guest-agent.rules
61Source13: %{name}-guest-agent.init
62Source14: %{name}-guest-agent.logrotate
63Patch0: %{name}-cflags.patch
64Patch1: %{name}-whitelist.patch
65Patch2: %{name}-user-execve.patch
66Patch3: %{name}-xattr.patch
67Patch4: libjpeg-boolean.patch
68Patch5: x32.patch
69URL: http://www.qemu-project.org/
70%{?with_opengl:BuildRequires: Mesa-libgbm-devel}
71%{?with_opengl:BuildRequires: OpenGL-GLX-devel}
72%{?with_opengl:BuildRequires: OpenGL-devel}
73%{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
74%{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
75BuildRequires: alsa-lib-devel
76BuildRequires: bcc >= 0.16.21-2
77%{?with_bluetooth:BuildRequires: bluez-libs-devel}
78%{?with_brlapi:BuildRequires: brlapi-devel}
79BuildRequires: bzip2-devel
80%{?with_ceph:BuildRequires: ceph-devel}
81BuildRequires: curl-devel
82BuildRequires: cyrus-sasl-devel >= 2
83BuildRequires: glib2-devel >= 1:2.48
84# minimal is 3.4 but new features are used up to 6
85%{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
86BuildRequires: gnutls-devel >= 3.1.18
87BuildRequires: libaio-devel
88%{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
89BuildRequires: libcap-devel
90BuildRequires: libcap-ng-devel
91%{?with_opengl:BuildRequires: libepoxy-devel}
92BuildRequires: libfdt-devel >= 1.4.2
93%{?with_rdma:BuildRequires: libibverbs-devel}
94%{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
95%{?with_rdma:BuildRequires: libibumad-devel}
96BuildRequires: libjpeg-devel
97%{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
98BuildRequires: libpng-devel
99%{?with_rdma:BuildRequires: librdmacm-devel}
100%{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
101BuildRequires: libssh-devel >= 0.8
102BuildRequires: libslirp-devel >= 4.0.0
103# for tests only
104#BuildRequires: libtasn1-devel
105BuildRequires: libusb-devel >= 1.0.13
106BuildRequires: libuuid-devel
107BuildRequires: libxml2-devel >= 2.0
108%{?with_lttng:BuildRequires: lttng-ust-devel}
109BuildRequires: lzfse-devel
110BuildRequires: lzo-devel >= 2
111%{?with_multipath:BuildRequires: multipath-tools-devel}
112BuildRequires: ncurses-devel
113# also libgcrypt-devel >= 1.5.0 possible, but gnutls already pulls nettle
114BuildRequires: nettle-devel >= 2.7.1
115%{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
116BuildRequires: numactl-devel
117BuildRequires: pam-devel
118BuildRequires: perl-Encode
119BuildRequires: perl-tools-pod
120BuildRequires: pixman-devel >= 0.21.8
121BuildRequires: pkgconfig
122%{?with_pulseaudio:BuildRequires: pulseaudio-devel}
123BuildRequires: rpmbuild(macros) >= 1.644
124%{?with_system_seabios:BuildRequires: seabios}
125BuildRequires: sed >= 4.0
126%{?with_snappy:BuildRequires: snappy-devel}
127BuildRequires: sphinx-pdg
128%if %{with spice}
129BuildRequires: spice-protocol >= 0.12.3
130BuildRequires: spice-server-devel >= 0.12.5
131%endif
132%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
133BuildRequires: texi2html
134BuildRequires: texinfo
135%{?with_multipath:BuildRequires: udev-devel}
136%{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
137%{?with_lttng:BuildRequires: userspace-rcu-devel}
138BuildRequires: vde2-devel
139BuildRequires: which
140%{?with_virgl:BuildRequires: virglrenderer-devel}
141# xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel [xentoolcore for xen 4.10+]
142%{?with_xen:BuildRequires: xen-devel >= 4.2}
143BuildRequires: xfsprogs-devel
144%{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
145BuildRequires: xorg-lib-libX11-devel
146BuildRequires: zlib-devel
147%if %{with gtk3}
148BuildRequires: gtk+3-devel >= 3.16
149%{?with_vte:BuildRequires: vte-devel >= 0.32.0}
150%endif
151%if %{with user_static}
152BuildRequires: glib2-static >= 1:2.48
153BuildRequires: glibc-static
154BuildRequires: pcre-static
155BuildRequires: zlib-static
156%endif
157Requires: %{name}-img = %{version}-%{release}
158Requires: %{name}-system-aarch64 = %{version}-%{release}
159Requires: %{name}-system-alpha = %{version}-%{release}
160Requires: %{name}-system-arm = %{version}-%{release}
161Requires: %{name}-system-cris = %{version}-%{release}
162Requires: %{name}-system-hppa = %{version}-%{release}
163Requires: %{name}-system-lm32 = %{version}-%{release}
164Requires: %{name}-system-m68k = %{version}-%{release}
165Requires: %{name}-system-microblaze = %{version}-%{release}
166Requires: %{name}-system-mips = %{version}-%{release}
167Requires: %{name}-system-moxie = %{version}-%{release}
168Requires: %{name}-system-nios2 = %{version}-%{release}
169Requires: %{name}-system-or1k = %{version}-%{release}
170Requires: %{name}-system-ppc = %{version}-%{release}
171Requires: %{name}-system-riscv32 = %{version}-%{release}
172Requires: %{name}-system-riscv64 = %{version}-%{release}
173Requires: %{name}-system-s390x = %{version}-%{release}
174Requires: %{name}-system-sh4 = %{version}-%{release}
175Requires: %{name}-system-sparc = %{version}-%{release}
176Requires: %{name}-system-tricore = %{version}-%{release}
177Requires: %{name}-system-unicore32 = %{version}-%{release}
178Requires: %{name}-system-x86 = %{version}-%{release}
179Requires: %{name}-system-xtensa = %{version}-%{release}
180Requires: %{name}-user = %{version}-%{release}
181Obsoletes: qemu-kvm
182ExcludeArch: i386
183BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
184
185%define systempkg_req \
186%if %{with sdl} \
187Requires: SDL2 \
188%endif \
189%{?with_smartcard:Requires: libcacard >= 2.5.1} \
190Requires: libfdt >= 1.4.2 \
191%if %{with seccomp} \
192Requires: libseccomp >= 2.3.0 \
193%endif \
194Requires: libslirp >= 4.0.0 \
195Requires: libusb >= 1.0.22 \
196Requires: pixman >= 0.21.8 \
197%if %{with usbredir} \
198Requires: usbredir >= 0.6 \
199%endif \
200%if %{with gtk3} \
201Requires: gtk+3 >= 3.16 \
202%{?with_vte:Requires: vte >= 0.32.0} \
203%endif
204
205# don't strip/chrpath anything in there; these are boot images, roms etc
206%define _noautostrip .*%{_datadir}/qemu/.*
207%define _noautochrpath .*%{_datadir}/qemu/.*
208
209%description
210QEMU is a FAST! processor emulator. By using dynamic translation it
211achieves a reasonnable speed while being easy to port on new host
212CPUs. QEMU has two operating modes:
213
214- User mode emulation. In this mode, QEMU can launch Linux processes
215 compiled for one CPU on another CPU. Linux system calls are converted
216 because of endianness and 32/64 bit mismatches. Wine (Windows
217 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
218
219- Full system emulation. In this mode, QEMU emulates a full system,
220 including a processor and various peripherials. It can also be used to
221 provide virtual hosting of several virtual PC on a single server.
222
223%description -l pl.UTF-8
224QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
225tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
226aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
227
228- Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
229 procesy linuksowe skompilowane dla jednego procesora na innym
230 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
231 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
232 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
233 cele QEMU.
234
235- Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
236 włączając w to procesor i różne urządzenia peryferyjne. Może być także
237 używane do wirtualnego hostowania kilku wirtualnych pecetów na
238 pojedynczym serwerze.
239
240%package common
241Summary: QEMU common files needed by all QEMU targets
242Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
243Group: Development/Tools
244Requires(post,preun,postun): systemd-units >= 38
245Requires(postun): /usr/sbin/groupdel
246Requires(postun): /usr/sbin/userdel
247Requires(pre): /bin/id
248Requires(pre): /usr/bin/getgid
249Requires(pre): /usr/sbin/groupadd
250Requires(pre): /usr/sbin/useradd
251Requires: glib2 >= 1:2.48
252%{?with_libnfs:Requires: libnfs >= 1.9.3}
253Requires: libssh >= 0.8
254Requires: systemd-units >= 38
255Provides: group(qemu)
256Provides: user(qemu)
257Obsoletes: qemu-kvm-common
258Conflicts: qemu < 1.0-2
259
260%description common
261QEMU is a generic and open source processor emulator which achieves a
262good emulation speed by using dynamic translation.
263
264This package provides the common files needed by all QEMU targets.
265
266%description common -l pl.UTF-8
267QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
268dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
269
270Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
271środowiska QEMU.
272
273%package img
274Summary: QEMU command line tool for manipulating disk images
275Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
276Group: Development/Tools
277Obsoletes: qemu-kvm-img
278Conflicts: qemu < 1.0-2
279
280%description img
281This package provides a command line tool for manipulating disk
282images.
283
284%description img -l pl.UTF-8
285Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
286na obrazach dysków.
287
288%package user
289Summary: QEMU user mode emulation of qemu targets
290Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
291Group: Development/Tools
292Requires: %{name}-common = %{version}-%{release}
293Requires(post,postun): systemd-units >= 38
294Requires: systemd-units >= 38
295Obsoletes: qemu-kvm-user
296
297%description user
298QEMU is a generic and open source processor emulator which achieves a
299good emulation speed by using dynamic translation.
300
301This package provides the user mode emulation of QEMU targets.
302
303%description user -l pl.UTF-8
304QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
305dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
306
307Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
308
309%package user-static
310Summary: QEMU user mode emulation of qemu targets static build
311Group: Development/Tools
312Requires(post,postun): systemd-units >= 38
313Requires: systemd-units >= 38
314
315%description user-static
316QEMU is a generic and open source processor emulator which achieves a
317good emulation speed by using dynamic translation.
318
319This package provides the user mode emulation of qemu targets built as
320static binaries
321
322%package system-aarch64
323Summary: QEMU system emulator for AArch64
324Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
325Group: Development/Tools
326Requires: %{name}-common = %{version}-%{release}
327%systempkg_req
328Obsoletes: qemu-kvm-system-aarch64
329
330%description system-aarch64
331QEMU is a generic and open source processor emulator which achieves a
332good emulation speed by using dynamic translation.
333
334This package provides the system emulator with AArch64 CPU.
335
336%description system-aarch64 -l pl.UTF-8
337QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
338dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
339
340Ten pakiet zawiera emulator systemu z procesorem AArch64.
341
342%package system-alpha
343Summary: QEMU system emulator for Alpha
344Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
345Group: Development/Tools
346Requires: %{name}-common = %{version}-%{release}
347%systempkg_req
348Obsoletes: qemu-kvm-system-alpha
349
350%description system-alpha
351QEMU is a generic and open source processor emulator which achieves a
352good emulation speed by using dynamic translation.
353
354This package provides the system emulator with Alpha CPU.
355
356%description system-alpha -l pl.UTF-8
357QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
358dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
359
360Ten pakiet zawiera emulator systemu z procesorem Alpha.
361
362%package system-arm
363Summary: QEMU system emulator for ARM
364Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM
365Group: Development/Tools
366Requires: %{name}-common = %{version}-%{release}
367%systempkg_req
368Obsoletes: qemu-kvm-system-arm
369
370%description system-arm
371QEMU is a generic and open source processor emulator which achieves a
372good emulation speed by using dynamic translation.
373
374This package provides the system emulator for ARM.
375
376%description system-arm -l pl.UTF-8
377QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
378dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
379
380Ten pakiet zawiera emulator systemu z procesorem ARM.
381
382%package system-cris
383Summary: QEMU system emulator for CRIS
384Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
385Group: Development/Tools
386Requires: %{name}-common = %{version}-%{release}
387%systempkg_req
388Obsoletes: qemu-kvm-system-cris
389
390%description system-cris
391QEMU is a generic and open source processor emulator which achieves a
392good emulation speed by using dynamic translation.
393
394This package provides the system emulator with CRIS CPU.
395
396%description system-cris -l pl.UTF-8
397QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
398dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
399
400Ten pakiet zawiera emulator systemu z procesorem CRIS.
401
402%package system-hppa
403Summary: QEMU system emulator for HP/PA
404Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
405Group: Development/Tools
406Requires: %{name}-common = %{version}-%{release}
407%systempkg_req
408
409%description system-hppa
410QEMU is a generic and open source processor emulator which achieves a
411good emulation speed by using dynamic translation.
412
413This package provides the system emulator with HP/PA CPU.
414
415%description system-hppa -l pl.UTF-8
416QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
417dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
418
419Ten pakiet zawiera emulator systemu z procesorem HP/PA.
420
421%package system-lm32
422Summary: QEMU system emulator for LM32
423Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32
424Group: Development/Tools
425Requires: %{name}-common = %{version}-%{release}
426%systempkg_req
427Obsoletes: qemu-kvm-system-lm32
428
429%description system-lm32
430QEMU is a generic and open source processor emulator which achieves a
431good emulation speed by using dynamic translation.
432
433This package provides the system emulator with LM32 CPU.
434
435%description system-lm32 -l pl.UTF-8
436QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
437dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
438
439Ten pakiet zawiera emulator systemu z procesorem LM32.
440
441%package system-m68k
442Summary: QEMU system emulator for m68k
443Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
444Group: Development/Tools
445Requires: %{name}-common = %{version}-%{release}
446%systempkg_req
447Obsoletes: qemu-kvm-system-m68k
448
449%description system-m68k
450QEMU is a generic and open source processor emulator which achieves a
451good emulation speed by using dynamic translation.
452
453This package provides the system emulator with m68k CPU.
454
455%description system-m68k -l pl.UTF-8
456QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
457dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
458
459Ten pakiet zawiera emulator systemu z procesorem m68k.
460
461%package system-microblaze
462Summary: QEMU system emulator for MicroBlaze
463Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
464Group: Development/Tools
465Requires: %{name}-common = %{version}-%{release}
466%systempkg_req
467Obsoletes: qemu-kvm-system-microblaze
468
469%description system-microblaze
470QEMU is a generic and open source processor emulator which achieves a
471good emulation speed by using dynamic translation.
472
473This package provides the system emulator with MicroBlaze CPU.
474
475%description system-microblaze -l pl.UTF-8
476QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
477dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
478
479Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
480
481%package system-mips
482Summary: QEMU system emulator for MIPS
483Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
484Group: Development/Tools
485Requires: %{name}-common = %{version}-%{release}
486%systempkg_req
487Obsoletes: qemu-kvm-system-mips
488
489%description system-mips
490QEMU is a generic and open source processor emulator which achieves a
491good emulation speed by using dynamic translation.
492
493This package provides the system emulator with MIPS CPU.
494
495%description system-mips -l pl.UTF-8
496QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
497dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
498
499Ten pakiet zawiera emulator systemu z procesorem MIPS.
500
501%package system-moxie
502Summary: QEMU system emulator for Moxie
503Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie
504Group: Development/Tools
505Requires: %{name}-common = %{version}-%{release}
506%systempkg_req
507
508%description system-moxie
509QEMU is a generic and open source processor emulator which achieves a
510good emulation speed by using dynamic translation.
511
512This package provides the system emulator with Moxie CPU.
513
514%description system-moxie -l pl.UTF-8
515QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
516dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
517
518Ten pakiet zawiera emulator systemu z procesorem Moxie.
519
520%package system-nios2
521Summary: QEMU system emulator for Nios II
522Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
523Group: Development/Tools
524Requires: %{name}-common = %{version}-%{release}
525%systempkg_req
526
527%description system-nios2
528QEMU is a generic and open source processor emulator which achieves a
529good emulation speed by using dynamic translation.
530
531This package provides the system emulator with Nios II CPU.
532
533%description system-nios2 -l pl.UTF-8
534QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
535dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
536
537Ten pakiet zawiera emulator systemu z procesorem Nios II.
538
539%package system-or1k
540Summary: QEMU system emulator for OpenRISC
541Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
542Group: Development/Tools
543Requires: %{name}-common = %{version}-%{release}
544%systempkg_req
545Obsoletes: qemu-kvm-system-or1k
546Obsoletes: qemu-system-or32
547
548%description system-or1k
549QEMU is a generic and open source processor emulator which achieves a
550good emulation speed by using dynamic translation.
551
552This package provides the system emulator with OpenRISC CPU.
553
554%description system-or1k -l pl.UTF-8
555QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
556dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
557
558Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
559
560%package system-ppc
561Summary: QEMU system emulator for PowerPC
562Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
563Group: Development/Tools
564Requires: %{name}-common = %{version}-%{release}
565%systempkg_req
566Obsoletes: qemu-kvm-system-ppc
567
568%description system-ppc
569QEMU is a generic and open source processor emulator which achieves a
570good emulation speed by using dynamic translation.
571
572This package provides the system emulator with PowerPC CPU.
573
574%description system-ppc -l pl.UTF-8
575QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
576dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
577
578Ten pakiet zawiera emulator systemu z procesorem PowerPC.
579
580%package system-riscv32
581Summary: QEMU system emulator for RISC-V (32 bit)
582Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
583Group: Development/Tools
584Requires: %{name}-common = %{version}-%{release}
585%systempkg_req
586
587%description system-riscv32
588QEMU is a generic and open source processor emulator which achieves a
589good emulation speed by using dynamic translation.
590
591This package provides the system emulator with RISC-V (32 bit) CPU.
592
593%description system-riscv32 -l pl.UTF-8
594QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
595dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
596
597Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
598
599%package system-riscv64
600Summary: QEMU system emulator for RISC-V (64 bit)
601Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit)
602Group: Development/Tools
603Requires: %{name}-common = %{version}-%{release}
604%systempkg_req
605
606%description system-riscv64
607QEMU is a generic and open source processor emulator which achieves a
608good emulation speed by using dynamic translation.
609
610This package provides the system emulator with RISC-V (64 bit) CPU.
611
612%description system-riscv64 -l pl.UTF-8
613QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
614dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
615
616Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit).
617
618%package system-s390x
619Summary: QEMU system emulator for S390
620Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390
621Group: Development/Tools
622Requires: %{name}-common = %{version}-%{release}
623%systempkg_req
624Obsoletes: qemu-kvm-system-s390x
625
626%description system-s390x
627QEMU is a generic and open source processor emulator which achieves a
628good emulation speed by using dynamic translation.
629
630This package provides the system emulator with S390 CPU.
631
632%description system-s390x -l pl.UTF-8
633QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
634dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
635
636Ten pakiet zawiera emulator systemu z procesorem S390.
637
638%package system-sh4
639Summary: QEMU system emulator for SH4
640Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
641Group: Development/Tools
642Requires: %{name}-common = %{version}-%{release}
643%systempkg_req
644Obsoletes: qemu-kvm-system-sh4
645
646%description system-sh4
647QEMU is a generic and open source processor emulator which achieves a
648good emulation speed by using dynamic translation.
649
650This package provides the system emulator with SH4 CPU.
651
652%description system-sh4 -l pl.UTF-8
653QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
654dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
655
656Ten pakiet zawiera emulator systemu z procesorem SH4.
657
658%package system-sparc
659Summary: QEMU system emulator for SPARC
660Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
661Group: Development/Tools
662Requires: %{name}-common = %{version}-%{release}
663%systempkg_req
664Obsoletes: qemu-kvm-system-sparc
665
666%description system-sparc
667QEMU is a generic and open source processor emulator which achieves a
668good emulation speed by using dynamic translation.
669
670This package provides the system emulator with SPARC/SPARC64 CPU.
671
672%description system-sparc -l pl.UTF-8
673QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
674dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
675
676Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
677
678%package system-tricore
679Summary: QEMU system emulator for TriCore
680Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
681Group: Development/Tools
682Requires: %{name}-common = %{version}-%{release}
683%systempkg_req
684
685%description system-tricore
686QEMU is a generic and open source processor emulator which achieves a
687good emulation speed by using dynamic translation.
688
689This package provides the system emulator with TriCore CPU.
690
691%description system-sparc -l pl.UTF-8
692QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
693dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
694
695Ten pakiet zawiera emulator systemu z procesorem TriCore.
696
697%package system-unicore32
698Summary: QEMU system emulator for UniCore32
699Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32
700Group: Development/Tools
701Requires: %{name}-common = %{version}-%{release}
702%systempkg_req
703Obsoletes: qemu-kvm-system-unicore32
704
705%description system-unicore32
706QEMU is a generic and open source processor emulator which achieves a
707good emulation speed by using dynamic translation.
708
709This package provides the system emulator with UniCore32 CPU.
710
711%description system-unicore32 -l pl.UTF-8
712QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
713dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
714
715Ten pakiet zawiera emulator systemu z procesorem UniCore32.
716
717%package system-x86
718Summary: QEMU system emulator for x86
719Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
720Group: Development/Tools
721Requires: %{name}-common = %{version}-%{release}
722%{?with_system_seabios:Requires: seabios}
723%systempkg_req
724Obsoletes: kvm
725Obsoletes: qemu-kvm-system-x86
726
727%description system-x86
728QEMU is a generic and open source processor emulator which achieves a
729good emulation speed by using dynamic translation.
730
731This package provides the system emulator with x86 CPU.
732
733%description system-x86 -l pl.UTF-8
734QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
735dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
736
737Ten pakiet zawiera emulator systemu z procesorem x86.
738
739%package system-xtensa
740Summary: QEMU system emulator for Xtensa
741Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
742Group: Development/Tools
743Requires: %{name}-common = %{version}-%{release}
744%systempkg_req
745Obsoletes: qemu-kvm-system-xtensa
746
747%description system-xtensa
748QEMU is a generic and open source processor emulator which achieves a
749good emulation speed by using dynamic translation.
750
751This package provides the system emulator with Xtensa CPU.
752
753%description system-xtensa -l pl.UTF-8
754QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
755dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
756
757Ten pakiet zawiera emulator systemu z procesorem Xtensa.
758
759%package guest-agent
760Summary: QEMU guest agent
761Summary(pl.UTF-8): Agent gościa QEMU
762Group: Daemons
763Requires(post,preun,postun): systemd-units >= 38
764Requires: glib2 >= 1:2.48
765Requires: systemd-units >= 38
766Obsoletes: qemu-kvm-guest-agent
767Conflicts: SysVinit < 2.96-2
768
769%description guest-agent
770QEMU is a generic and open source processor emulator which achieves a
771good emulation speed by using dynamic translation.
772
773This package provides an agent to run inside guests, which
774communicates with the host over a virtio-serial channel named
775"org.qemu.guest_agent.0".
776
777This package does not need to be installed on the host OS.
778
779%description guest-agent -l pl.UTF-8
780QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
781dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
782
783Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
784systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
785"org.qemu.guest_agent.0".
786
787Ten pakiet nie musi być zainstalowany w systemie hosta.
788
789%package module-block-curl
790Summary: QEMU module for 'curl' block devices
791Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
792Group: Development/Tools
793Requires: %{name}-common = %{version}-%{release}
794
795%description module-block-curl
796'curl' block device support for QEMU.
797
798%description module-block-curl -l pl.UTF-8
799Moduł QEMU dla urządeń blokowych typu 'curl'.
800
801%package module-block-gluster
802Summary: QEMU module for 'gluster' block devices
803Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
804Group: Development/Tools
805Requires: %{name}-common = %{version}-%{release}
806Requires: glusterfs-libs >= 6
807
808%description module-block-gluster
809'gluster' block device support for QEMU.
810
811%description module-block-gluster -l pl.UTF-8
812Moduł QEMU dla urządeń blokowych typu 'gluster'.
813
814%package module-block-iscsi
815Summary: QEMU module for 'iscsi' block devices
816Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
817Group: Development/Tools
818Requires: %{name}-common = %{version}-%{release}
819Requires: libiscsi >= 1.9.0
820
821%description module-block-iscsi
822'iscsi' block device support for QEMU.
823
824%description module-block-iscsi -l pl.UTF-8
825Moduł QEMU dla urządeń blokowych typu 'iscsi'.
826
827%package module-block-rbd
828Summary: QEMU module for 'rbd' block devices
829Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
830Group: Development/Tools
831Requires: %{name}-common = %{version}-%{release}
832
833%description module-block-rbd
834'rbd' block device support for QEMU.
835
836%description module-block-rbd -l pl.UTF-8
837Moduł QEMU dla urządeń blokowych typu 'rbd'.
838
839%package module-block-ssh
840Summary: QEMU module for 'ssh' block devices
841Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
842Group: Development/Tools
843Requires: %{name}-common = %{version}-%{release}
844
845%description module-block-ssh
846'ssh' block device support for QEMU.
847
848%description module-block-ssh -l pl.UTF-8
849Moduł QEMU dla urządeń blokowych typu 'ssh'.
850
851%prep
852%setup -q
853%patch0 -p1
854%patch1 -p0
855%patch2 -p1
856%patch3 -p1
857%patch4 -p1
858%patch5 -p1
859
860# workaround for conflict with alsa/error.h
861ln -s ../error.h qapi/error.h
862
863%build
864
865build() {
866 local target=$1
867 shift
868
869 install -d build-$target
870 cd build-$target
871
872 ../configure \
873 --prefix=%{_prefix} \
874 --libdir=%{_libdir} \
875 --libexecdir=%{_libexecdir} \
876 --sysconfdir=%{_sysconfdir} \
877 --localstatedir=%{_localstatedir} \
878 --interp-prefix=%{_libdir}/qemu/lib-%%M \
879 --cc="%{__cc}" \
880 --host-cc="%{__cc}" \
881 --disable-strip \
882 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
883 --enable-kvm \
884 "$@"
885
886 %{__make} \
887 V=1 \
888 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
889
890 cd ..
891}
892
893build dynamic \
894 --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
895 --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
896 --audio-drv-list="alsa%{?with_oss:,oss}%{?with_sdl:,sdl}%{?with_pulseaudio:,pa}" \
897 --enable-attr \
898 %{__enable_disable bluetooth bluez} \
899 %{__enable_disable brlapi} \
900 --enable-cap-ng \
901 --enable-curl \
902 --enable-curses \
903 --enable-docs \
904 --enable-fdt \
905 %{__enable_disable glusterfs} \
906 %{!?with_gtk3:--disable-gtk} \
907 %{__enable_disable iscsi libiscsi} \
908 %{__enable_disable libnfs} \
909 --enable-lzo \
910 %{__enable_disable multipath mpath} \
911 --enable-modules \
912 --disable-netmap \
913 --enable-nettle \
914 %{__enable_disable ceph rbd} \
915 %{__enable_disable rdma} \
916 %{__enable_disable sdl} \
917 %{__enable_disable seccomp} \
918 --enable-slirp=system \
919 %{__enable_disable spice} \
920 %{__enable_disable smartcard smartcard} \
921 %{__enable_disable snappy} \
922 --enable-tpm \
923 %{__enable_disable usbredir usb-redir} \
924 --enable-vde \
925 %{__enable_disable virgl virglrenderer} \
926 --enable-virtfs \
927 --enable-vnc-jpeg \
928 --enable-vnc-png \
929 --enable-vnc-sasl \
930 %{!?with_vte:--disable-vte} \
931 %{__enable_disable xen} \
932 %{__enable_disable xkbcommon}
933
934%if %{with user_static}
935build static \
936 --disable-brlapi \
937 --disable-cap-ng \
938 --disable-curl \
939 --disable-curses \
940 --disable-gcrypt \
941 --disable-gnutls \
942 --disable-gtk \
943 --disable-guest-agent \
944 --disable-guest-agent-msi \
945 --disable-libnfs \
946 --disable-mpath \
947 --disable-nettle \
948 --disable-pie \
949 --disable-sdl \
950 --enable-slirp=internal \
951 --disable-spice \
952 --disable-system \
953 --disable-tcmalloc \
954 --disable-tools \
955 --enable-user \
956 --disable-xkbcommon \
957 --static
958%endif
959
960%{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
961
962%install
963rm -rf $RPM_BUILD_ROOT
964install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
965 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d,rc.d/init.d,logrotate.d} \
966 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
967
968%if %{with user_static}
969%{__make} -C build-static install \
970 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
971 DESTDIR=$RPM_BUILD_ROOT
972
973# Give all QEMU user emulators a -static suffix
974for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
975 %{__mv} $src $src-static
976done
977
978%endif
979
980%{__make} -C build-dynamic install \
981 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
982 DESTDIR=$RPM_BUILD_ROOT
983
984# let rpm generate dependencies
985chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
986
987echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
988
989install -d $RPM_BUILD_ROOT%{_sysconfdir}
990cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
991#!/bin/sh
992
993EOF
994
995install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
996
997%ifarch %{ix86} %{x8664} x32
998install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
999install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1000%endif
1001
1002install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1003install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1004install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1005
1006install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1007install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1008install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1009
1010# For the qemu-guest-agent subpackage install the systemd
1011# service and udev rules.
1012install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
1013install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1014
1015install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1016install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1017
1018# Install binfmt
1019BINFMT_CPUS=" \
1020%ifnarch %{ix86} %{x8664} x32
1021 i386 x86_64 \
1022%endif
1023%ifnarch aarch64
1024 aarch64 \
1025%endif
1026%ifnarch alpha
1027 alpha \
1028%endif
1029%ifnarch %{arm}
1030 arm \
1031%endif
1032 aarch64_be \
1033 armeb \
1034 microblaze microblazeel \
1035%ifnarch mips64
1036 mips64 \
1037%ifnarch mips
1038 mips \
1039%endif
1040%endif
1041%ifnarch mips64el
1042 mips64el \
1043%ifnarch mipsel
1044 mipsel \
1045%endif
1046%endif
1047%ifnarch m68k
1048 m68k \
1049%endif
1050%ifnarch ppc ppc64 ppc64le
1051 ppc ppc64 ppc64le \
1052%endif
1053%ifnarch sparc sparc64
1054 sparc sparc32plus sparc64 \
1055%endif
1056%ifnarch s390 s390x
1057 s390x \
1058%endif
1059%ifnarch sh4
1060 sh4 \
1061%endif
1062 sh4eb \
1063"
1064
1065if [ -n "$BINFMT_CPUS" ]; then
1066 for cpu in $BINFMT_CPUS; do
1067 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1068 done
1069 for i in /$RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1070 mv $i ${i%.conf}-dynamic.conf
1071 done
1072
1073 %if %{with user_static}
1074 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1075 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1076 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1077 done
1078 %endif
1079fi
1080
1081# packaged as %doc
1082%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
1083
1084%if %{with system_seabios}
1085ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1086# bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
1087for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
1088 bn="$(basename $f)"
1089 if [ -e "/usr/share/seabios/$bn" ] ; then
1090 ln -sf "/usr/share/seabios/$bn" "$f"
1091 fi
1092done
1093%endif
1094
1095%if %{with gtk3}
1096%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1097%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
1098%find_lang %{name}
1099%else
1100: > qemu.lang
1101%endif
1102
1103# Windows installed icon, not used
1104%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1105# packaged as %doc
1106%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
1107%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
1108
1109%clean
1110rm -rf $RPM_BUILD_ROOT
1111
1112%pre common
1113%groupadd -g 160 kvm
1114%groupadd -g 276 qemu
1115%useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
1116
1117%post common
1118%systemd_post ksm.service
1119%systemd_post ksmtuned.service
1120
1121%preun common
1122%systemd_preun ksm.service
1123%systemd_preun ksmtuned.service
1124
1125%postun common
1126if [ "$1" = "0" ]; then
1127 %userremove qemu
1128 %groupremove qemu
1129 %groupremove kvm
1130fi
1131%systemd_reload
1132
1133%triggerpostun common -- qemu-common < 1.6.1-4
1134%systemd_trigger ksm.service
1135%systemd_trigger ksmtuned.service
1136
1137%post user
1138%systemd_service_restart systemd-binfmt.service
1139
1140%postun user
1141%systemd_service_restart systemd-binfmt.service
1142
1143%post user-static
1144%systemd_service_restart systemd-binfmt.service
1145
1146%postun user-static
1147%systemd_service_restart systemd-binfmt.service
1148
1149%post guest-agent
1150/sbin/chkconfig --add qemu-ga
1151%service qemu-ga restart "qemu-ga"
1152%systemd_reload
1153
1154%preun guest-agent
1155if [ "$1" = "0" ]; then
1156 %service qemu-ga stop
1157 /sbin/chkconfig --del qemu-ga
1158fi
1159%systemd_preun qemu-guest-agent.service
1160
1161%postun guest-agent
1162%systemd_reload
1163
1164%files
1165%defattr(644,root,root,755)
1166
1167%files common -f %{name}.lang
1168%defattr(644,root,root,755)
1169%doc LICENSE README.rst build-dynamic/qemu-doc.html pc-bios/edk2-licenses.txt
1170%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
1171%config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
1172%config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
1173%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
1174%dir /etc/qemu
1175%attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
1176%{systemdunitdir}/ksm.service
1177%{systemdunitdir}/ksmtuned.service
1178%attr(755,root,root) %{_bindir}/elf2dmp
1179%attr(755,root,root) %{_bindir}/ivshmem-client
1180%attr(755,root,root) %{_bindir}/ivshmem-server
1181%attr(755,root,root) %{_bindir}/virtfs-proxy-helper
1182%attr(755,root,root) %{_bindir}/qemu-edid
1183%if %{with xkbcommon}
1184%attr(755,root,root) %{_bindir}/qemu-keymap
1185%endif
1186%attr(755,root,root) %{_bindir}/qemu-nbd
1187%attr(755,root,root) %{_bindir}/qemu-pr-helper
1188%attr(755,root,root) %{_bindir}/qemu-tilegx
1189%attr(755,root,root) %{_sbindir}/ksmctl
1190%attr(755,root,root) %{_sbindir}/ksmtuned
1191%attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
1192%{_mandir}/man1/qemu.1*
1193%{_mandir}/man1/virtfs-proxy-helper.1*
1194%{_mandir}/man7/qemu-cpu-models.7*
1195%{_mandir}/man7/qemu-block-drivers.7*
1196%{_mandir}/man7/qemu-qmp-ref.7*
1197%{_mandir}/man8/qemu-nbd.8*
1198
1199%dir %{_datadir}/%{name}
1200%dir %{_datadir}/%{name}/firmware
1201%{_datadir}/%{name}/keymaps
1202%{_datadir}/%{name}/trace-events-all
1203%{_desktopdir}/qemu.desktop
1204%{_iconsdir}/hicolor/*x*/apps/qemu.png
1205%{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1206%{_iconsdir}/hicolor/scalable/apps/qemu.svg
1207
1208%dir %{_libdir}/%{name}
1209
1210# modules without too many external dependencies
1211%attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
1212%attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
1213%if %{with libnfs}
1214%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1215%endif
1216
1217%attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
1218%if %{with oss}
1219%attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1220%endif
1221%if %{with pulseaudio}
1222%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1223%endif
1224
1225%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
1226%if %{with gtk3}
1227%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1228%endif
1229%if %{with sdl}
1230%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1231%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1232%endif
1233%if %{with spice}
1234%attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
1235%endif
1236
1237%files img
1238%defattr(644,root,root,755)
1239%attr(755,root,root) %{_bindir}/qemu-img
1240%{_mandir}/man1/qemu-img.1*
1241
1242%files user
1243%defattr(644,root,root,755)
1244/usr/lib/binfmt.d/qemu-*-dynamic.conf
1245%attr(755,root,root) %{_bindir}/qemu-aarch64
1246%attr(755,root,root) %{_bindir}/qemu-aarch64_be
1247%attr(755,root,root) %{_bindir}/qemu-alpha
1248%attr(755,root,root) %{_bindir}/qemu-arm
1249%attr(755,root,root) %{_bindir}/qemu-armeb
1250%attr(755,root,root) %{_bindir}/qemu-cris
1251%attr(755,root,root) %{_bindir}/qemu-hppa
1252%attr(755,root,root) %{_bindir}/qemu-i386
1253%attr(755,root,root) %{_bindir}/qemu-io
1254%attr(755,root,root) %{_bindir}/qemu-m68k
1255%attr(755,root,root) %{_bindir}/qemu-microblaze
1256%attr(755,root,root) %{_bindir}/qemu-microblazeel
1257%attr(755,root,root) %{_bindir}/qemu-mips
1258%attr(755,root,root) %{_bindir}/qemu-mipsel
1259%attr(755,root,root) %{_bindir}/qemu-mips64
1260%attr(755,root,root) %{_bindir}/qemu-mips64el
1261%attr(755,root,root) %{_bindir}/qemu-mipsn32
1262%attr(755,root,root) %{_bindir}/qemu-mipsn32el
1263%attr(755,root,root) %{_bindir}/qemu-nios2
1264%attr(755,root,root) %{_bindir}/qemu-or1k
1265%attr(755,root,root) %{_bindir}/qemu-ppc
1266%attr(755,root,root) %{_bindir}/qemu-ppc64
1267%attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1268%attr(755,root,root) %{_bindir}/qemu-ppc64le
1269%attr(755,root,root) %{_bindir}/qemu-riscv32
1270%attr(755,root,root) %{_bindir}/qemu-riscv64
1271%attr(755,root,root) %{_bindir}/qemu-s390x
1272%attr(755,root,root) %{_bindir}/qemu-sh4
1273%attr(755,root,root) %{_bindir}/qemu-sh4eb
1274%attr(755,root,root) %{_bindir}/qemu-sparc
1275%attr(755,root,root) %{_bindir}/qemu-sparc32plus
1276%attr(755,root,root) %{_bindir}/qemu-sparc64
1277%attr(755,root,root) %{_bindir}/qemu-x86_64
1278%attr(755,root,root) %{_bindir}/qemu-xtensa
1279%attr(755,root,root) %{_bindir}/qemu-xtensaeb
1280
1281%if %{with user_static}
1282%files user-static
1283%defattr(644,root,root,755)
1284/usr/lib/binfmt.d/qemu-*-static.conf
1285%attr(755,root,root) %{_bindir}/qemu-aarch64-static
1286%attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
1287%attr(755,root,root) %{_bindir}/qemu-alpha-static
1288%attr(755,root,root) %{_bindir}/qemu-arm-static
1289%attr(755,root,root) %{_bindir}/qemu-armeb-static
1290%attr(755,root,root) %{_bindir}/qemu-cris-static
1291%attr(755,root,root) %{_bindir}/qemu-hppa-static
1292%attr(755,root,root) %{_bindir}/qemu-i386-static
1293%attr(755,root,root) %{_bindir}/qemu-m68k-static
1294%attr(755,root,root) %{_bindir}/qemu-microblaze-static
1295%attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1296%attr(755,root,root) %{_bindir}/qemu-mips-static
1297%attr(755,root,root) %{_bindir}/qemu-mips64-static
1298%attr(755,root,root) %{_bindir}/qemu-mips64el-static
1299%attr(755,root,root) %{_bindir}/qemu-mipsel-static
1300%attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1301%attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
1302%attr(755,root,root) %{_bindir}/qemu-nios2-static
1303%attr(755,root,root) %{_bindir}/qemu-or1k-static
1304%attr(755,root,root) %{_bindir}/qemu-ppc-static
1305%attr(755,root,root) %{_bindir}/qemu-ppc64-static
1306%attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
1307%attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1308%attr(755,root,root) %{_bindir}/qemu-riscv32-static
1309%attr(755,root,root) %{_bindir}/qemu-riscv64-static
1310%attr(755,root,root) %{_bindir}/qemu-s390x-static
1311%attr(755,root,root) %{_bindir}/qemu-sh4-static
1312%attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1313%attr(755,root,root) %{_bindir}/qemu-sparc-static
1314%attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1315%attr(755,root,root) %{_bindir}/qemu-sparc64-static
1316%attr(755,root,root) %{_bindir}/qemu-tilegx-static
1317%attr(755,root,root) %{_bindir}/qemu-x86_64-static
1318%attr(755,root,root) %{_bindir}/qemu-xtensa-static
1319%attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
1320%endif
1321
1322%files system-aarch64
1323%defattr(644,root,root,755)
1324%attr(755,root,root) %{_bindir}/qemu-system-aarch64
1325%{_datadir}/%{name}/edk2-aarch64-code.fd
1326%{_datadir}/%{name}/firmware/60-edk2-aarch64.json
1327
1328%files system-alpha
1329%defattr(644,root,root,755)
1330%attr(755,root,root) %{_bindir}/qemu-system-alpha
1331%{_datadir}/%{name}/palcode-clipper
1332
1333%files system-arm
1334%defattr(644,root,root,755)
1335%attr(755,root,root) %{_bindir}/qemu-system-arm
1336%{_datadir}/%{name}/edk2-arm-code.fd
1337%{_datadir}/%{name}/edk2-arm-vars.fd
1338%{_datadir}/%{name}/firmware/60-edk2-arm.json
1339
1340%files system-cris
1341%defattr(644,root,root,755)
1342%attr(755,root,root) %{_bindir}/qemu-system-cris
1343
1344%files system-hppa
1345%defattr(644,root,root,755)
1346%attr(755,root,root) %{_bindir}/qemu-system-hppa
1347%{_datadir}/%{name}/hppa-firmware.img
1348
1349%files system-lm32
1350%defattr(644,root,root,755)
1351%attr(755,root,root) %{_bindir}/qemu-system-lm32
1352
1353%files system-m68k
1354%defattr(644,root,root,755)
1355%attr(755,root,root) %{_bindir}/qemu-system-m68k
1356
1357%files system-microblaze
1358%defattr(644,root,root,755)
1359%attr(755,root,root) %{_bindir}/qemu-system-microblaze
1360%attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1361
1362%files system-mips
1363%defattr(644,root,root,755)
1364%attr(755,root,root) %{_bindir}/qemu-system-mips
1365%attr(755,root,root) %{_bindir}/qemu-system-mipsel
1366%attr(755,root,root) %{_bindir}/qemu-system-mips64
1367%attr(755,root,root) %{_bindir}/qemu-system-mips64el
1368
1369%files system-moxie
1370%defattr(644,root,root,755)
1371%attr(755,root,root) %{_bindir}/qemu-system-moxie
1372
1373%files system-nios2
1374%defattr(644,root,root,755)
1375%attr(755,root,root) %{_bindir}/qemu-system-nios2
1376
1377%files system-or1k
1378%defattr(644,root,root,755)
1379%attr(755,root,root) %{_bindir}/qemu-system-or1k
1380
1381%files system-ppc
1382%defattr(644,root,root,755)
1383%attr(755,root,root) %{_bindir}/qemu-system-ppc
1384%attr(755,root,root) %{_bindir}/qemu-system-ppc64
1385%{_datadir}/%{name}/bamboo.dtb
1386%{_datadir}/%{name}/canyonlands.dtb
1387%{_datadir}/%{name}/openbios-ppc
1388%{_datadir}/%{name}/petalogix-ml605.dtb
1389%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
1390%{_datadir}/%{name}/ppc_rom.bin
1391%{_datadir}/%{name}/qemu_vga.ndrv
1392%{_datadir}/%{name}/skiboot.lid
1393%{_datadir}/%{name}/slof.bin
1394%{_datadir}/%{name}/u-boot.e500
1395%{_datadir}/%{name}/u-boot-sam460-20100605.bin
1396
1397%files system-riscv32
1398%defattr(644,root,root,755)
1399%attr(755,root,root) %{_bindir}/qemu-system-riscv32
1400%{_datadir}/%{name}/opensbi-riscv32-virt-fw_jump.bin
1401
1402%files system-riscv64
1403%defattr(644,root,root,755)
1404%attr(755,root,root) %{_bindir}/qemu-system-riscv64
1405%{_datadir}/%{name}/opensbi-riscv64-sifive_u-fw_jump.bin
1406%{_datadir}/%{name}/opensbi-riscv64-virt-fw_jump.bin
1407
1408%files system-s390x
1409%defattr(644,root,root,755)
1410%attr(755,root,root) %{_bindir}/qemu-system-s390x
1411%{_datadir}/%{name}/s390-ccw.img
1412%{_datadir}/%{name}/s390-netboot.img
1413
1414%files system-sh4
1415%defattr(644,root,root,755)
1416%attr(755,root,root) %{_bindir}/qemu-system-sh4
1417%attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1418
1419%files system-sparc
1420%defattr(644,root,root,755)
1421%attr(755,root,root) %{_bindir}/qemu-system-sparc
1422%attr(755,root,root) %{_bindir}/qemu-system-sparc64
1423%{_datadir}/%{name}/QEMU,cgthree.bin
1424%{_datadir}/%{name}/QEMU,tcx.bin
1425%{_datadir}/%{name}/openbios-sparc32
1426%{_datadir}/%{name}/openbios-sparc64
1427
1428%files system-tricore
1429%defattr(644,root,root,755)
1430%attr(755,root,root) %{_bindir}/qemu-system-tricore
1431
1432%files system-unicore32
1433%defattr(644,root,root,755)
1434%attr(755,root,root) %{_bindir}/qemu-system-unicore32
1435
1436%files system-x86
1437%defattr(644,root,root,755)
1438%attr(755,root,root) %{_bindir}/qemu-system-i386
1439%attr(755,root,root) %{_bindir}/qemu-system-x86_64
1440%ifarch %{ix86} %{x8664} x32
1441%config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1442%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1443%endif
1444%{_datadir}/%{name}/bios.bin
1445%{_datadir}/%{name}/bios-256k.bin
1446%{_datadir}/%{name}/bios-microvm.bin
1447%{_datadir}/%{name}/edk2-i386-code.fd
1448%{_datadir}/%{name}/edk2-i386-secure-code.fd
1449%{_datadir}/%{name}/edk2-i386-vars.fd
1450%{_datadir}/%{name}/edk2-x86_64-code.fd
1451%{_datadir}/%{name}/edk2-x86_64-secure-code.fd
1452%{_datadir}/%{name}/efi-e1000e.rom
1453%{_datadir}/%{name}/efi-e1000.rom
1454%{_datadir}/%{name}/efi-eepro100.rom
1455%{_datadir}/%{name}/efi-ne2k_pci.rom
1456%{_datadir}/%{name}/efi-pcnet.rom
1457%{_datadir}/%{name}/efi-rtl8139.rom
1458%{_datadir}/%{name}/efi-virtio.rom
1459%{_datadir}/%{name}/efi-vmxnet3.rom
1460%{_datadir}/%{name}/kvmvapic.bin
1461%{_datadir}/%{name}/linuxboot.bin
1462%{_datadir}/%{name}/linuxboot_dma.bin
1463%{_datadir}/%{name}/multiboot.bin
1464%{_datadir}/%{name}/pvh.bin
1465%{_datadir}/%{name}/pxe-e1000.rom
1466%{_datadir}/%{name}/pxe-eepro100.rom
1467%{_datadir}/%{name}/pxe-ne2k_pci.rom
1468%{_datadir}/%{name}/pxe-pcnet.rom
1469%{_datadir}/%{name}/pxe-rtl8139.rom
1470%{_datadir}/%{name}/pxe-virtio.rom
1471%{_datadir}/%{name}/sgabios.bin
1472%{_datadir}/%{name}/vgabios.bin
1473%{_datadir}/%{name}/vgabios-ati.bin
1474%{_datadir}/%{name}/vgabios-bochs-display.bin
1475%{_datadir}/%{name}/vgabios-cirrus.bin
1476%{_datadir}/%{name}/vgabios-qxl.bin
1477%{_datadir}/%{name}/vgabios-ramfb.bin
1478%{_datadir}/%{name}/vgabios-stdvga.bin
1479%{_datadir}/%{name}/vgabios-virtio.bin
1480%{_datadir}/%{name}/vgabios-vmware.bin
1481%{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1482%{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1483%{_datadir}/%{name}/firmware/60-edk2-i386.json
1484%{_datadir}/%{name}/firmware/60-edk2-x86_64.json
1485
1486%files system-xtensa
1487%defattr(644,root,root,755)
1488%attr(755,root,root) %{_bindir}/qemu-system-xtensa
1489%attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1490
1491%files guest-agent
1492%defattr(644,root,root,755)
1493%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1494%{systemdunitdir}/qemu-guest-agent.service
1495%attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1496%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
1497%attr(755,root,root) %{_bindir}/qemu-ga
1498%{_mandir}/man7/qemu-ga-ref.7*
1499%{_mandir}/man8/qemu-ga.8*
1500
1501%files module-block-curl
1502%defattr(644,root,root,755)
1503%attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1504
1505%if %{with glusterfs}
1506%files module-block-gluster
1507%defattr(644,root,root,755)
1508%attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1509%endif
1510
1511%if %{with iscsi}
1512%files module-block-iscsi
1513%defattr(644,root,root,755)
1514%attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1515%endif
1516
1517%if %{with ceph}
1518%files module-block-rbd
1519%defattr(644,root,root,755)
1520%attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1521%endif
1522
1523%files module-block-ssh
1524%defattr(644,root,root,755)
1525%attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
This page took 0.155025 seconds and 4 git commands to generate.