]> git.pld-linux.org Git - packages/qemu.git/blame - qemu.spec
- json-c is libvfio-user dependency
[packages/qemu.git] / qemu.spec
CommitLineData
81e9a720 1# TODO:
bce8b8b4 2# plugins? (probes)
0b920c52 3#
6aef4654 4# Conditional build:
78a71650 5%bcond_without sdl # SDL UI and audio support
cae1481d 6%bcond_without opengl # Don't require GL deps
0f04d157 7%bcond_with canokey # CanoKey support
ddb2a917 8%bcond_without ceph # Ceph/RBD support
80dbeed1
JB
9%bcond_without glusterfs # GlusterFS backend
10%bcond_without rdma # RDMA-based migration support
3187b8cc
JB
11%bcond_without gtk3 # Do not build GTK+ UI
12%bcond_without vte # VTE support in GTK+ UI
59bc1300 13%bcond_without spice # SPICE support
78a71650
JB
14%bcond_without oss # OSS audio support
15%bcond_without pulseaudio # PulseAudio audio support
16%bcond_without xen # Xen backend driver support
78ff8fc0
JK
17%bcond_without brlapi # brlapi support
18%bcond_without smartcard # smartcard-nss support
19%bcond_without iscsi # iscsi support
b9ddc0a7 20%bcond_without libnfs # NFS support
81e9a720 21%bcond_without multipath # Multipath support
d4835466 22%bcond_without pmem # libpmem (persistent memory) support
78ff8fc0
JK
23%bcond_without seccomp # seccomp support
24%bcond_without usbredir # usb network redirection support
af556ac1 25%bcond_without system_seabios # system seabios binary
ae1c5c71 26%bcond_without snappy # snappy compression library
a75bdea7 27%bcond_without user_static # build linux-user static packages
d155a8f0 28%bcond_with vfio_user # vfio-user server support
28956417 29%bcond_with lttng # lttng-ust trace backend support [needs update]
1b60612d 30%bcond_without systemtap # SystemTap/dtrace trace backend support
e31a0f25 31%bcond_without virgl # build virgl support
32bf0518 32%bcond_without xkbcommon # xkbcommon support
78ff8fc0 33
f6b5cdb2 34%if %{without gtk3}
daabcde6
JB
35%undefine with_vte
36%endif
789f9573
JR
37%ifarch x32
38%undefine with_xen
39%endif
d4835466
JB
40%ifnarch %{x8664} aarch64
41%undefine with_pmem
42%endif
789f9573 43
cd19124e 44Summary: QEMU CPU Emulator
eec0535a 45Summary(pl.UTF-8): QEMU - emulator procesora
7b81d160 46Name: qemu
8806a92d
JB
47Version: 7.2.10
48Release: 1
290ffd23 49License: GPL v2, BSD (edk2 firmware files)
5a2da1d0 50Group: Applications/Emulators
28956417 51Source0: https://download.qemu.org/%{name}-%{version}.tar.xz
8806a92d 52# Source0-md5: a99d896cf773964422e0294015d3b98a
41ed6e2c
JR
53# Loads kvm kernel modules at boot
54Source3: kvm-modules-load.conf
55# Creates /dev/kvm
56Source4: 80-kvm.rules
9fdf235e
JR
57# KSM control scripts
58Source5: ksm.service
59Source6: ksm.sysconfig
60Source7: ksmctl.c
61Source8: ksmtuned.service
62Source9: ksmtuned
63Source10: ksmtuned.conf
008c880e
ER
64Source11: %{name}-guest-agent.service
65Source12: 99-%{name}-guest-agent.rules
ccb0f0ea
AM
66Source13: %{name}-guest-agent.init
67Source14: %{name}-guest-agent.logrotate
cfb9a655
JB
68Source15: %{name}-pr-helper.service
69Source16: %{name}-pr-helper.socket
9bcd4ab6 70Patch0: %{name}-cflags.patch
92618e32
JP
71Patch1: %{name}-user-execve.patch
72Patch2: %{name}-xattr.patch
73Patch3: libjpeg-boolean.patch
f6b5cdb2 74Patch5: %{name}-u2f-emu.patch
ccd394c8 75Patch6: %{name}-linux-mount.patch
d155a8f0
JB
76Patch7: libvfio-user-types.patch
77Patch8: libvfio-user-alloca.patch
28956417 78URL: https://www.qemu.org/
81e9a720 79%{?with_opengl:BuildRequires: Mesa-libgbm-devel}
cae1481d
JB
80%{?with_opengl:BuildRequires: OpenGL-GLX-devel}
81%{?with_opengl:BuildRequires: OpenGL-devel}
7b0056db 82%{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
81e9a720 83%{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
b0b3ca8d 84BuildRequires: alsa-lib-devel
78ff8fc0 85%{?with_brlapi:BuildRequires: brlapi-devel}
b0436c10 86BuildRequires: bzip2-devel
0f04d157 87%{?with_canokey:BuildRequires: canokey-qemu-devel}
f6b5cdb2
JB
88BuildRequires: capstone-devel >= 4.0
89%{?with_ceph:BuildRequires: ceph-devel >= 12}
90BuildRequires: curl-devel >= 7.29.0
78a71650 91BuildRequires: cyrus-sasl-devel >= 2
f6b5cdb2
JB
92BuildRequires: daxctl-devel >= 57
93BuildRequires: gcc >= 6:7.4
cb96aade 94BuildRequires: gettext-tools
ccd394c8 95BuildRequires: glib2-devel >= 1:2.64
81e9a720
JB
96# minimal is 3.4 but new features are used up to 6
97%{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
f6b5cdb2 98BuildRequires: gnutls-devel >= 3.6.14
cb96aade 99%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0}
f6b5cdb2 100BuildRequires: jack-audio-connection-kit-devel
d155a8f0 101%{?with_vfio_user:BuildRequires: json-c-devel >= 0.11}
f6b5cdb2
JB
102# for tests
103#BuildRequires: keyutils-devel
87364910 104BuildRequires: libaio-devel
f6b5cdb2 105BuildRequires: libbpf-devel
81e9a720 106%{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
78a71650 107BuildRequires: libcap-ng-devel
cb96aade 108BuildRequires: libdrm-devel
cae1481d 109%{?with_opengl:BuildRequires: libepoxy-devel}
f6b5cdb2
JB
110BuildRequires: libfdt-devel >= 1.5.1
111BuildRequires: libfuse3-devel >= 3.8
80dbeed1 112%{?with_rdma:BuildRequires: libibverbs-devel}
3187b8cc 113%{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
1777be93 114%{?with_rdma:BuildRequires: libibumad-devel}
78a71650 115BuildRequires: libjpeg-devel
bfb54462 116%{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
b5882bc5 117BuildRequires: libpng-devel >= 2:1.6.34
80dbeed1 118%{?with_rdma:BuildRequires: librdmacm-devel}
290ffd23 119%{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
f6b5cdb2
JB
120BuildRequires: libselinux-devel
121BuildRequires: libssh-devel >= 0.8.7
b5882bc5 122BuildRequires: libslirp-devel >= 4.1.0
81e9a720
JB
123# for tests only
124#BuildRequires: libtasn1-devel
f6b5cdb2 125BuildRequires: libu2f-emu-devel
1b469720 126BuildRequires: libusb-devel >= 1.0.22
ccd394c8 127BuildRequires: liburing-devel >= 0.3
78a71650 128BuildRequires: libuuid-devel
81e9a720 129BuildRequires: libxml2-devel >= 2.0
ccd394c8 130%{?with_lttng:BuildRequires: lttng-ust-devel >= 2.1}
81e9a720 131BuildRequires: lzfse-devel
c218d8d3 132BuildRequires: lzo-devel >= 2
8806a92d 133BuildRequires: meson >= 0.61.5
81e9a720 134%{?with_multipath:BuildRequires: multipath-tools-devel}
98a1a188 135BuildRequires: ncurses-devel
f6b5cdb2
JB
136# also libgcrypt-devel >= 1.8 possible, but gnutls already pulls nettle
137BuildRequires: nettle-devel >= 3.4
8806a92d 138BuildRequires: ninja >= 1.5
fc634c87 139%{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
b0436c10 140BuildRequires: numactl-devel
81e9a720 141BuildRequires: pam-devel
995bac8b 142BuildRequires: perl-Encode
2fb8ea02 143BuildRequires: perl-tools-pod
b0436c10 144BuildRequires: pixman-devel >= 0.21.8
ba84a935 145BuildRequires: pkgconfig
d4835466 146%{?with_pmem:BuildRequires: pmdk-devel}
78a71650 147%{?with_pulseaudio:BuildRequires: pulseaudio-devel}
8806a92d 148BuildRequires: python3 >= 1:3.7
a7acab35 149BuildRequires: python3-sphinx_rtd_theme
f6b5cdb2 150BuildRequires: rpm-build >= 4.6
1c6a7aa7 151BuildRequires: rpmbuild(macros) >= 1.644
af556ac1 152%{?with_system_seabios:BuildRequires: seabios}
8bb1261c 153BuildRequires: sed >= 4.0
c218d8d3 154%{?with_snappy:BuildRequires: snappy-devel}
81e9a720 155BuildRequires: sphinx-pdg
59bc1300 156%if %{with spice}
c218d8d3 157BuildRequires: spice-protocol >= 0.12.3
26eb5196 158BuildRequires: spice-server-devel >= 0.12.5
59bc1300 159%endif
3187b8cc 160%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
8f26afe1 161BuildRequires: tar >= 1:1.22
a1146336 162BuildRequires: texi2html
22f71ecb 163BuildRequires: texinfo
81e9a720 164%{?with_multipath:BuildRequires: udev-devel}
78ff8fc0 165%{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
3187b8cc 166%{?with_lttng:BuildRequires: userspace-rcu-devel}
78a71650 167BuildRequires: vde2-devel
cad677a4 168BuildRequires: which
24209dad 169%{?with_virgl:BuildRequires: virglrenderer-devel}
daabcde6 170%{?with_vte:BuildRequires: vte-devel >= 0.32.0}
bce8b8b4 171# xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
f6b5cdb2
JB
172# min version is 4.2, more features up to 4.11
173%{?with_xen:BuildRequires: xen-devel >= 4.11}
78a71650 174BuildRequires: xfsprogs-devel
6b6b30ad
JP
175%if %{with xkbcommon}
176BuildRequires: xkeyboard-config
177BuildRequires: xorg-lib-libxkbcommon-devel
178%endif
ba84a935 179BuildRequires: xorg-lib-libX11-devel
8f26afe1 180BuildRequires: xz
78a71650 181BuildRequires: zlib-devel
28956417 182BuildRequires: zstd-devel >= 1.4.0
a75bdea7 183%if %{with user_static}
0a257213 184BuildRequires: glib2-static >= 1:2.74
a75bdea7 185BuildRequires: glibc-static
0a257213 186BuildRequires: pcre2-8-static >= 10.32
a75bdea7
ER
187BuildRequires: zlib-static
188%endif
fabf5a9c 189Requires: %{name}-img = %{version}-%{release}
ae1c5c71 190Requires: %{name}-system-aarch64 = %{version}-%{release}
fabf5a9c
ER
191Requires: %{name}-system-alpha = %{version}-%{release}
192Requires: %{name}-system-arm = %{version}-%{release}
92618e32 193Requires: %{name}-system-avr = %{version}-%{release}
fabf5a9c 194Requires: %{name}-system-cris = %{version}-%{release}
1777be93 195Requires: %{name}-system-hppa = %{version}-%{release}
fabf5a9c
ER
196Requires: %{name}-system-m68k = %{version}-%{release}
197Requires: %{name}-system-microblaze = %{version}-%{release}
198Requires: %{name}-system-mips = %{version}-%{release}
cdd6b92f 199Requires: %{name}-system-nios2 = %{version}-%{release}
05e8f0a4 200Requires: %{name}-system-or1k = %{version}-%{release}
ae8bf749 201Requires: %{name}-system-ppc = %{version}-%{release}
1777be93
JP
202Requires: %{name}-system-riscv32 = %{version}-%{release}
203Requires: %{name}-system-riscv64 = %{version}-%{release}
28956417 204Requires: %{name}-system-rx = %{version}-%{release}
fabf5a9c
ER
205Requires: %{name}-system-s390x = %{version}-%{release}
206Requires: %{name}-system-sh4 = %{version}-%{release}
207Requires: %{name}-system-sparc = %{version}-%{release}
112b8450 208Requires: %{name}-system-tricore = %{version}-%{release}
fabf5a9c
ER
209Requires: %{name}-system-x86 = %{version}-%{release}
210Requires: %{name}-system-xtensa = %{version}-%{release}
211Requires: %{name}-user = %{version}-%{release}
2b05c423 212Obsoletes: qemu-kvm < 2
81e9a720 213ExcludeArch: i386
cd19124e 214BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
215
78a71650 216%define systempkg_req \
f6b5cdb2
JB
217Requires: capstone >= 4.0 \
218Requires: daxctl-libs >= 57 \
81e9a720 219%{?with_smartcard:Requires: libcacard >= 2.5.1} \
f6b5cdb2
JB
220Requires: libfdt >= 1.5.1 \
221Requires: libfuse3 >= 3.8 \
222%{?with_iscsi:Requires: libiscsi >= 1.9.0} \
b5882bc5 223Requires: libpng >= 2:1.6.34 \
c218d8d3 224%if %{with seccomp} \
290ffd23 225Requires: libseccomp >= 2.3.0 \
c218d8d3 226%endif \
b5882bc5
JB
227Requires: libslirp >= 4.1.0 \
228Requires: liburing >= 0.3 \
c43b327d 229Requires: libusb >= 1.0.22 \
b0436c10 230Requires: pixman >= 0.21.8 \
51b0e9f0
JB
231%if %{with spice} \
232Requires: spice-server-libs >= 0.12.5 \
233%endif \
78ff8fc0 234%if %{with usbredir} \
ce44b534 235Requires: usbredir >= 0.6 \
f6b5cdb2 236%endif
78a71650 237
1b37833e
AM
238# don't strip/chrpath anything in there; these are boot images, roms etc
239%define _noautostrip .*%{_datadir}/qemu/.*
240%define _noautochrpath .*%{_datadir}/qemu/.*
a154aede 241
cd19124e 242%description
243QEMU is a FAST! processor emulator. By using dynamic translation it
244achieves a reasonnable speed while being easy to port on new host
245CPUs. QEMU has two operating modes:
246
247- User mode emulation. In this mode, QEMU can launch Linux processes
248 compiled for one CPU on another CPU. Linux system calls are converted
249 because of endianness and 32/64 bit mismatches. Wine (Windows
250 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
251
252- Full system emulation. In this mode, QEMU emulates a full system,
8799423b
ER
253 including a processor and various peripherials. It can also be used to
254 provide virtual hosting of several virtual PC on a single server.
cd19124e 255
27b30e9c
JR
256%description -l pl.UTF-8
257QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
258tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
259aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
5a2da1d0 260
27b30e9c 261- Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
5a2da1d0 262 procesy linuksowe skompilowane dla jednego procesora na innym
27b30e9c
JR
263 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
264 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
265 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
5a2da1d0
JB
266 cele QEMU.
267
27b30e9c
JR
268- Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
269 włączając w to procesor i różne urządzenia peryferyjne. Może być także
270 używane do wirtualnego hostowania kilku wirtualnych pecetów na
8799423b 271 pojedynczym serwerze.
5a2da1d0 272
f6b5cdb2
JB
273%package devel
274Summary: Header file for QEMU plugins development
275Summary(pl.UTF-8): Plik nagłówkowy do tworzenia wtyczek QEMU
276Group: Development/Libraries
277BuildArch: noarch
278
279%description devel
280Header file for QEMU plugins development.
281
282%description devel -l pl.UTF-8
283Plik nagłówkowy do tworzenia wtyczek QEMU.
284
d86014ba 285%package common
fabf5a9c 286Summary: QEMU common files needed by all QEMU targets
d86014ba 287Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
28956417 288Group: Applications/Emulators
c980f439 289Requires(post,preun,postun): systemd-units >= 38
14b9f266
AG
290Requires(postun): /usr/sbin/groupdel
291Requires(postun): /usr/sbin/userdel
292Requires(pre): /bin/id
293Requires(pre): /usr/bin/getgid
294Requires(pre): /usr/sbin/groupadd
295Requires(pre): /usr/sbin/useradd
ccd394c8 296Requires: glib2 >= 1:2.64
f6b5cdb2 297Requires: gnutls-libs >= 3.6.14
cb96aade 298%{?with_gtk3:Requires: gtk+3 >= 3.22.0}
f6b5cdb2 299Requires: nettle >= 3.4
c980f439 300Requires: systemd-units >= 38
daabcde6 301%{?with_vte:Requires: vte >= 0.32.0}
f6b5cdb2 302Requires: zstd >= 1.4.0
14b9f266
AG
303Provides: group(qemu)
304Provides: user(qemu)
2b05c423 305Obsoletes: qemu-kvm-common < 2
1b469720 306Obsoletes: qemu-module-block-archipelago < 2.9.0
1d047109 307Obsoletes: qemu-system-lm32 < 5.2
f6b5cdb2 308Obsoletes: qemu-system-moxie < 6.1
1d047109 309Obsoletes: qemu-system-unicore32 < 5.2
fabf5a9c
ER
310Conflicts: qemu < 1.0-2
311
312%description common
313QEMU is a generic and open source processor emulator which achieves a
314good emulation speed by using dynamic translation.
315
316This package provides the common files needed by all QEMU targets.
317
d86014ba
JB
318%description common -l pl.UTF-8
319QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
320dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
321
322Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie
323środowiska QEMU.
324
325%package img
fabf5a9c 326Summary: QEMU command line tool for manipulating disk images
d86014ba 327Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków
28956417 328Group: Applications/Emulators
2b05c423 329Obsoletes: qemu-kvm-img < 2
008c880e 330Conflicts: qemu < 1.0-2
fabf5a9c
ER
331
332%description img
d86014ba
JB
333This package provides a command line tool for manipulating disk
334images.
335
336%description img -l pl.UTF-8
337Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji
338na obrazach dysków.
fabf5a9c
ER
339
340%package user
341Summary: QEMU user mode emulation of qemu targets
d86014ba 342Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu
28956417 343Group: Applications/Emulators
fabf5a9c 344Requires: %{name}-common = %{version}-%{release}
1c6a7aa7
JR
345Requires(post,postun): systemd-units >= 38
346Requires: systemd-units >= 38
2b05c423 347Obsoletes: qemu-kvm-user < 2
fabf5a9c
ER
348
349%description user
350QEMU is a generic and open source processor emulator which achieves a
351good emulation speed by using dynamic translation.
352
353This package provides the user mode emulation of QEMU targets.
354
d86014ba
JB
355%description user -l pl.UTF-8
356QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
357dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
358
359Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU.
360
a75bdea7
ER
361%package user-static
362Summary: QEMU user mode emulation of qemu targets static build
1b469720 363Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu - wersja statyczna
28956417 364Group: Applications/Emulators
a75bdea7
ER
365Requires(post,postun): systemd-units >= 38
366Requires: systemd-units >= 38
367
368%description user-static
369QEMU is a generic and open source processor emulator which achieves a
370good emulation speed by using dynamic translation.
371
372This package provides the user mode emulation of qemu targets built as
1b469720
JB
373static binaries.
374
375%description user-static -l pl.UTF-8
376QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
377dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
378
379Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU w
380oparciu o programy wykonywalne zbudowane statycznie.
a75bdea7 381
ae1c5c71 382%package system-aarch64
c218d8d3
JB
383Summary: QEMU system emulator for AArch64
384Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64
28956417 385Group: Applications/Emulators
ae1c5c71
JK
386Requires: %{name}-common = %{version}-%{release}
387%systempkg_req
2b05c423 388Obsoletes: qemu-kvm-system-aarch64 < 2
ae1c5c71
JK
389
390%description system-aarch64
391QEMU is a generic and open source processor emulator which achieves a
392good emulation speed by using dynamic translation.
393
1b469720 394This package provides the system emulator with AArch64 (ARM64) CPU.
ae1c5c71
JK
395
396%description system-aarch64 -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
1b469720 400Ten pakiet zawiera emulator systemu z procesorem AArch64 (ARM64).
ae1c5c71 401
fabf5a9c 402%package system-alpha
d86014ba
JB
403Summary: QEMU system emulator for Alpha
404Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha
28956417 405Group: Applications/Emulators
fabf5a9c 406Requires: %{name}-common = %{version}-%{release}
78a71650 407%systempkg_req
2b05c423 408Obsoletes: qemu-kvm-system-alpha < 2
fabf5a9c
ER
409
410%description system-alpha
411QEMU is a generic and open source processor emulator which achieves a
412good emulation speed by using dynamic translation.
413
d86014ba
JB
414This package provides the system emulator with Alpha CPU.
415
416%description system-alpha -l pl.UTF-8
417QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
418dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
419
420Ten pakiet zawiera emulator systemu z procesorem Alpha.
fabf5a9c
ER
421
422%package system-arm
1b469720
JB
423Summary: QEMU system emulator for 32-bit ARM
424Summary(pl.UTF-8): QEMU - emulator systemu z 32-bitowym procesorem ARM
28956417 425Group: Applications/Emulators
fabf5a9c 426Requires: %{name}-common = %{version}-%{release}
78a71650 427%systempkg_req
2b05c423 428Obsoletes: qemu-kvm-system-arm < 2
fabf5a9c
ER
429
430%description system-arm
431QEMU is a generic and open source processor emulator which achieves a
432good emulation speed by using dynamic translation.
433
1b469720 434This package provides the system emulator for 32-bit ARM.
d86014ba
JB
435
436%description system-arm -l pl.UTF-8
437QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
438dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
439
1b469720 440Ten pakiet zawiera emulator systemu z 32-bitowym procesorem ARM.
fabf5a9c 441
92618e32
JP
442%package system-avr
443Summary: QEMU system emulator for AVR
444Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AVR
445Group: Applications/Emulators
446Requires: %{name}-common = %{version}-%{release}
447%systempkg_req
2b05c423 448Obsoletes: qemu-kvm-system-avr < 2
92618e32
JP
449
450%description system-avr
451QEMU is a generic and open source processor emulator which achieves a
452good emulation speed by using dynamic translation.
453
454This package provides the system emulator for AVR.
455
456%description system-avr -l pl.UTF-8
457QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
458dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
459
460Ten pakiet zawiera emulator systemu z procesorem AVR.
461
fabf5a9c 462%package system-cris
59bc1300 463Summary: QEMU system emulator for CRIS
d86014ba 464Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS
28956417 465Group: Applications/Emulators
fabf5a9c 466Requires: %{name}-common = %{version}-%{release}
78a71650 467%systempkg_req
2b05c423 468Obsoletes: qemu-kvm-system-cris < 2
fabf5a9c
ER
469
470%description system-cris
471QEMU is a generic and open source processor emulator which achieves a
472good emulation speed by using dynamic translation.
473
d86014ba
JB
474This package provides the system emulator with CRIS CPU.
475
476%description system-cris -l pl.UTF-8
477QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
478dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
479
480Ten pakiet zawiera emulator systemu z procesorem CRIS.
fabf5a9c 481
1777be93
JP
482%package system-hppa
483Summary: QEMU system emulator for HP/PA
484Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA
28956417 485Group: Applications/Emulators
1777be93
JP
486Requires: %{name}-common = %{version}-%{release}
487%systempkg_req
488
489%description system-hppa
490QEMU is a generic and open source processor emulator which achieves a
491good emulation speed by using dynamic translation.
492
1b469720 493This package provides the system emulator with HP/PA (PA-RISC) CPU.
1777be93
JP
494
495%description system-hppa -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
1b469720 499Ten pakiet zawiera emulator systemu z procesorem HP/PA (PA-RISC).
1777be93 500
fabf5a9c
ER
501%package system-m68k
502Summary: QEMU system emulator for m68k
d86014ba 503Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k
28956417 504Group: Applications/Emulators
fabf5a9c 505Requires: %{name}-common = %{version}-%{release}
78a71650 506%systempkg_req
2b05c423 507Obsoletes: qemu-kvm-system-m68k < 2
fabf5a9c
ER
508
509%description system-m68k
510QEMU is a generic and open source processor emulator which achieves a
511good emulation speed by using dynamic translation.
512
1b469720
JB
513This package provides the system emulator with m68k (Motorola 68xxx)
514CPU.
d86014ba
JB
515
516%description system-m68k -l pl.UTF-8
517QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
518dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
519
1b469720
JB
520Ten pakiet zawiera emulator systemu z procesorem m68k (Motorola
52168xxx).
fabf5a9c
ER
522
523%package system-microblaze
d86014ba
JB
524Summary: QEMU system emulator for MicroBlaze
525Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze
28956417 526Group: Applications/Emulators
fabf5a9c 527Requires: %{name}-common = %{version}-%{release}
78a71650 528%systempkg_req
2b05c423 529Obsoletes: qemu-kvm-system-microblaze < 2
fabf5a9c
ER
530
531%description system-microblaze
532QEMU is a generic and open source processor emulator which achieves a
533good emulation speed by using dynamic translation.
534
d86014ba
JB
535This package provides the system emulator with MicroBlaze CPU.
536
537%description system-microblaze -l pl.UTF-8
538QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
539dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
540
541Ten pakiet zawiera emulator systemu z procesorem MicroBlaze.
fabf5a9c
ER
542
543%package system-mips
d86014ba
JB
544Summary: QEMU system emulator for MIPS
545Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS
28956417 546Group: Applications/Emulators
fabf5a9c 547Requires: %{name}-common = %{version}-%{release}
78a71650 548%systempkg_req
2b05c423 549Obsoletes: qemu-kvm-system-mips < 2
fabf5a9c
ER
550
551%description system-mips
552QEMU is a generic and open source processor emulator which achieves a
553good emulation speed by using dynamic translation.
554
d86014ba
JB
555This package provides the system emulator with MIPS CPU.
556
557%description system-mips -l pl.UTF-8
558QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
559dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
560
561Ten pakiet zawiera emulator systemu z procesorem MIPS.
fabf5a9c 562
cdd6b92f
JP
563%package system-nios2
564Summary: QEMU system emulator for Nios II
565Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
28956417 566Group: Applications/Emulators
cdd6b92f
JP
567Requires: %{name}-common = %{version}-%{release}
568%systempkg_req
569
570%description system-nios2
571QEMU is a generic and open source processor emulator which achieves a
572good emulation speed by using dynamic translation.
573
574This package provides the system emulator with Nios II CPU.
575
576%description system-nios2 -l pl.UTF-8
577QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
578dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
579
580Ten pakiet zawiera emulator systemu z procesorem Nios II.
581
05e8f0a4 582%package system-or1k
d86014ba
JB
583Summary: QEMU system emulator for OpenRISC
584Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
28956417 585Group: Applications/Emulators
92c357d4 586Requires: %{name}-common = %{version}-%{release}
78a71650 587%systempkg_req
2b05c423
JB
588Obsoletes: qemu-kvm-system-or1k < 2
589Obsoletes: qemu-system-or32 < 2.9.0
92c357d4 590
05e8f0a4 591%description system-or1k
92c357d4
PS
592QEMU is a generic and open source processor emulator which achieves a
593good emulation speed by using dynamic translation.
594
d86014ba
JB
595This package provides the system emulator with OpenRISC CPU.
596
05e8f0a4 597%description system-or1k -l pl.UTF-8
d86014ba
JB
598QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
599dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
600
601Ten pakiet zawiera emulator systemu z procesorem OpenRISC.
92c357d4 602
fabf5a9c 603%package system-ppc
d86014ba
JB
604Summary: QEMU system emulator for PowerPC
605Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC
28956417 606Group: Applications/Emulators
fabf5a9c 607Requires: %{name}-common = %{version}-%{release}
78a71650 608%systempkg_req
2b05c423 609Obsoletes: qemu-kvm-system-ppc < 2
fabf5a9c
ER
610
611%description system-ppc
612QEMU is a generic and open source processor emulator which achieves a
613good emulation speed by using dynamic translation.
614
d86014ba
JB
615This package provides the system emulator with PowerPC CPU.
616
617%description system-ppc -l pl.UTF-8
618QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
619dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
620
621Ten pakiet zawiera emulator systemu z procesorem PowerPC.
fabf5a9c 622
1777be93
JP
623%package system-riscv32
624Summary: QEMU system emulator for RISC-V (32 bit)
625Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit)
28956417 626Group: Applications/Emulators
1777be93
JP
627Requires: %{name}-common = %{version}-%{release}
628%systempkg_req
629
630%description system-riscv32
631QEMU is a generic and open source processor emulator which achieves a
632good emulation speed by using dynamic translation.
633
634This package provides the system emulator with RISC-V (32 bit) CPU.
635
636%description system-riscv32 -l pl.UTF-8
637QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
638dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
639
640Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit).
641
642%package system-riscv64
643Summary: QEMU system emulator for RISC-V (64 bit)
1b469720 644Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bitowym)
28956417 645Group: Applications/Emulators
1777be93
JP
646Requires: %{name}-common = %{version}-%{release}
647%systempkg_req
648
649%description system-riscv64
650QEMU is a generic and open source processor emulator which achieves a
651good emulation speed by using dynamic translation.
652
653This package provides the system emulator with RISC-V (64 bit) CPU.
654
655%description system-riscv64 -l pl.UTF-8
656QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
657dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
658
1b469720 659Ten pakiet zawiera emulator systemu z procesorem RISC-V (64-bitowym).
1777be93 660
28956417
JB
661%package system-rx
662Summary: QEMU system emulator for Renesas RX
663Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Renesas RX
664Group: Applications/Emulators
665Requires: %{name}-common = %{version}-%{release}
666%systempkg_req
667
668%description system-rx
669QEMU is a generic and open source processor emulator which achieves a
670good emulation speed by using dynamic translation.
671
672This package provides the system emulator with Renesas RX CPU.
673
674%description system-rx -l pl.UTF-8
675QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
676dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
677
678Ten pakiet zawiera emulator systemu z procesorem Renesas RX.
679
fabf5a9c 680%package system-s390x
1b469720
JB
681Summary: QEMU system emulator for S390x (IBM Z)
682Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390x (IBM Z)
28956417 683Group: Applications/Emulators
fabf5a9c 684Requires: %{name}-common = %{version}-%{release}
78a71650 685%systempkg_req
2b05c423 686Obsoletes: qemu-kvm-system-s390x < 2
fabf5a9c
ER
687
688%description system-s390x
689QEMU is a generic and open source processor emulator which achieves a
690good emulation speed by using dynamic translation.
691
1b469720 692This package provides the system emulator with S390x (IBM Z) CPU.
d86014ba
JB
693
694%description system-s390x -l pl.UTF-8
695QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
696dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
697
1b469720 698Ten pakiet zawiera emulator systemu z procesorem S390x (IBM Z).
fabf5a9c
ER
699
700%package system-sh4
d86014ba
JB
701Summary: QEMU system emulator for SH4
702Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4
28956417 703Group: Applications/Emulators
fabf5a9c 704Requires: %{name}-common = %{version}-%{release}
78a71650 705%systempkg_req
2b05c423 706Obsoletes: qemu-kvm-system-sh4 < 2
fabf5a9c
ER
707
708%description system-sh4
709QEMU is a generic and open source processor emulator which achieves a
710good emulation speed by using dynamic translation.
711
d86014ba
JB
712This package provides the system emulator with SH4 CPU.
713
714%description system-sh4 -l pl.UTF-8
715QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
716dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
717
718Ten pakiet zawiera emulator systemu z procesorem SH4.
fabf5a9c
ER
719
720%package system-sparc
d86014ba
JB
721Summary: QEMU system emulator for SPARC
722Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC
28956417 723Group: Applications/Emulators
fabf5a9c 724Requires: %{name}-common = %{version}-%{release}
78a71650 725%systempkg_req
2b05c423 726Obsoletes: qemu-kvm-system-sparc < 2
fabf5a9c
ER
727
728%description system-sparc
729QEMU is a generic and open source processor emulator which achieves a
730good emulation speed by using dynamic translation.
731
d86014ba
JB
732This package provides the system emulator with SPARC/SPARC64 CPU.
733
734%description system-sparc -l pl.UTF-8
735QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
736dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
737
738Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64.
fabf5a9c 739
112b8450 740%package system-tricore
3187b8cc
JB
741Summary: QEMU system emulator for TriCore
742Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore
28956417 743Group: Applications/Emulators
112b8450
AM
744Requires: %{name}-common = %{version}-%{release}
745%systempkg_req
746
747%description system-tricore
748QEMU is a generic and open source processor emulator which achieves a
749good emulation speed by using dynamic translation.
750
3187b8cc 751This package provides the system emulator with TriCore CPU.
112b8450 752
50c1515c 753%description system-tricore -l pl.UTF-8
112b8450
AM
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
3187b8cc 757Ten pakiet zawiera emulator systemu z procesorem TriCore.
112b8450 758
fabf5a9c
ER
759%package system-x86
760Summary: QEMU system emulator for x86
d86014ba 761Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86
28956417 762Group: Applications/Emulators
fabf5a9c 763Requires: %{name}-common = %{version}-%{release}
d155a8f0 764%{?with_vfio_user:Requires: libvfio-user = %{version}-%{release}}
af556ac1 765%{?with_system_seabios:Requires: seabios}
78a71650 766%systempkg_req
2b05c423
JB
767Obsoletes: kvm < 89
768Obsoletes: qemu-kvm-system-x86 < 2
fabf5a9c
ER
769
770%description system-x86
771QEMU is a generic and open source processor emulator which achieves a
772good emulation speed by using dynamic translation.
773
c43b327d
TP
774This package provides the system emulator with x86 CPU.
775
d86014ba
JB
776%description system-x86 -l pl.UTF-8
777QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
778dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
779
c43b327d
TP
780Ten pakiet zawiera emulator systemu z procesorem x86.
781
fabf5a9c 782%package system-xtensa
d86014ba
JB
783Summary: QEMU system emulator for Xtensa
784Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa
28956417 785Group: Applications/Emulators
fabf5a9c 786Requires: %{name}-common = %{version}-%{release}
78a71650 787%systempkg_req
2b05c423 788Obsoletes: qemu-kvm-system-xtensa < 2
fabf5a9c
ER
789
790%description system-xtensa
791QEMU is a generic and open source processor emulator which achieves a
792good emulation speed by using dynamic translation.
793
d86014ba
JB
794This package provides the system emulator with Xtensa CPU.
795
796%description system-xtensa -l pl.UTF-8
797QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
798dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
799
800Ten pakiet zawiera emulator systemu z procesorem Xtensa.
fabf5a9c 801
93473205
JR
802%package guest-agent
803Summary: QEMU guest agent
804Summary(pl.UTF-8): Agent gościa QEMU
805Group: Daemons
806Requires(post,preun,postun): systemd-units >= 38
ccd394c8 807Requires: glib2 >= 1:2.64
b5882bc5 808Requires: liburing >= 0.3
93473205 809Requires: systemd-units >= 38
2b05c423 810Obsoletes: qemu-kvm-guest-agent < 2
26472534 811Conflicts: SysVinit < 2.96-2
93473205
JR
812
813%description guest-agent
008c880e
ER
814QEMU is a generic and open source processor emulator which achieves a
815good emulation speed by using dynamic translation.
93473205
JR
816
817This package provides an agent to run inside guests, which
818communicates with the host over a virtio-serial channel named
819"org.qemu.guest_agent.0".
820
821This package does not need to be installed on the host OS.
822
823%description guest-agent -l pl.UTF-8
824QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
825dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
826
827Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w
828systemach-gościach, komunikującego się kanałem virtio-serial o nazwie
829"org.qemu.guest_agent.0".
830
831Ten pakiet nie musi być zainstalowany w systemie hosta.
832
f6b5cdb2
JB
833%package module-audio-jack
834Summary: QEMU module for JACK audio output
835Summary(pl.UTF-8): Moduł QEMU z wyjściem dźwięku JACK
836Group: Applications/Emulators
837Requires: %{name}-common = %{version}-%{release}
838
839%description module-audio-jack
840QEMU module for JACK audio output.
841
842%description module-audio-jack -l pl.UTF-8
843Moduł QEMU z wyjściem dźwięku JACK.
844
ae1c5c71
JK
845%package module-block-curl
846Summary: QEMU module for 'curl' block devices
847Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
28956417 848Group: Applications/Emulators
ae1c5c71 849Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 850Requires: curl-libs >= 7.29.0
ae1c5c71
JK
851
852%description module-block-curl
28956417
JB
853QEMU block device support for CURL. It allows to access remote disks
854over http, https, ftp and other transports provided by the CURL
855library.
ae1c5c71
JK
856
857%description module-block-curl -l pl.UTF-8
28956417
JB
858Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
859dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
860bibliotekę CURL.
ae1c5c71
JK
861
862%package module-block-gluster
863Summary: QEMU module for 'gluster' block devices
864Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
28956417 865Group: Applications/Emulators
ae1c5c71 866Requires: %{name}-common = %{version}-%{release}
81e9a720 867Requires: glusterfs-libs >= 6
ae1c5c71
JK
868
869%description module-block-gluster
28956417 870QEMU block device support for remote Gluster storage.
ae1c5c71
JK
871
872%description module-block-gluster -l pl.UTF-8
28956417
JB
873Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
874dyskowej Gluster.
ae1c5c71
JK
875
876%package module-block-iscsi
877Summary: QEMU module for 'iscsi' block devices
878Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
28956417 879Group: Applications/Emulators
ae1c5c71 880Requires: %{name}-common = %{version}-%{release}
3187b8cc 881Requires: libiscsi >= 1.9.0
ae1c5c71
JK
882
883%description module-block-iscsi
28956417 884QEMU block device support for iSCSI volumes.
ae1c5c71
JK
885
886%description module-block-iscsi -l pl.UTF-8
28956417
JB
887Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
888
889%package module-block-nfs
890Summary: QEMU module for 'nfs' block devices
891Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
892Group: Applications/Emulators
893Requires: %{name}-common = %{version}-%{release}
894Requires: libnfs >= 1.9.3
895
896%description module-block-nfs
897QEMU block device support for remote NFS storage.
898
899%description module-block-nfs -l pl.UTF-8
900Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
901NFS.
ae1c5c71
JK
902
903%package module-block-rbd
904Summary: QEMU module for 'rbd' block devices
905Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
28956417 906Group: Applications/Emulators
ae1c5c71 907Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 908Requires: ceph-libs >= 12
ae1c5c71
JK
909
910%description module-block-rbd
28956417 911QEMU block device support for Ceph/RBD volumes.
ae1c5c71
JK
912
913%description module-block-rbd -l pl.UTF-8
28956417 914Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
ae1c5c71
JK
915
916%package module-block-ssh
917Summary: QEMU module for 'ssh' block devices
918Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
28956417 919Group: Applications/Emulators
ae1c5c71 920Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 921Requires: libssh >= 0.8.7
ae1c5c71
JK
922
923%description module-block-ssh
28956417
JB
924QEMU block device support for accessing remote disks using the Secure
925Shell (SSH) protocol.
ae1c5c71
JK
926
927%description module-block-ssh -l pl.UTF-8
28956417
JB
928Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
929protokół SSH (Secure Shell).
930
ccd394c8
JB
931%package module-ui-dbus
932Summary: QEMU DBus UI driver
933Summary(pl.UTF-8): Sterownik interfejsu użytkownika DBus dla QEMU
934Group: Applications/Emulators
935Requires: %{name}-common = %{version}-%{release}
936
937%description module-ui-dbus
938QEMU DBus UI driver.
939
940%description module-ui-dbus -l pl.UTF-8
941Sterownik interfejsu użytkownika DBus dla QEMU.
942
28956417
JB
943%package module-ui-gtk
944Summary: QEMU GTK UI driver
945Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
946Group: Applications/Emulators
947Requires: %{name}-common = %{version}-%{release}
948
949%description module-ui-gtk
950QEMU GTK UI driver.
951
952%description module-ui-gtk -l pl.UTF-8
953Sterownik interfejsu użytkownika GTK dla QEMU.
954
955%package module-ui-sdl
956Summary: QEMU SDL UI and audio driver
957Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
958Group: Applications/Emulators
959Requires: %{name}-common = %{version}-%{release}
960
961%description module-ui-sdl
962QEMU SDL UI and audio driver.
963
964%description module-ui-sdl -l pl.UTF-8
965Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
ae1c5c71 966
1b60612d
JB
967%package -n systemtap-qemu
968Summary: systemtap/dtrace probes for QEMU
969Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
970Group: Development/Tools
971Requires: %{name}-common = %{version}-%{release}
972Requires: systemtap-client
973
974%description -n systemtap-qemu
975systemtap/dtrace probes for QEMU.
976
977%description -n systemtap-qemu -l pl.UTF-8
978Sondy systemtap/dtrace dla QEMU.
979
d155a8f0
JB
980%package -n libvfio-user
981Summary: vfio-user library
982Summary(pl.UTF-8): Biblioteka vfio-user
983Group: Libraries
984Requires: json-c >= 0.11
985
986%description -n libvfio-user
987vfio-user is a framework that allows implementing PCI devices in
988userspace. Clients (such as qemu) talk the vfio-user protocol over a
989UNIX socket to a server. This library, libvfio-user, provides an API
990for implementing such servers.
991
992%description -n libvfio-user -l pl.UTF-8
993vfio-user to szkielet pozwalający implementować urządzenia PCI w
994przestrzeni użytkownika. Klienci (jak qemu) komunikują się z serwerem
995protokołem vfio-user przez gniazdo uniksowe.
996
997%package -n libvfio-user-devel
998Summary: Header files for vfio-user library
999Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vfio-user
1000Group: Development/Libraries
1001Requires: libvfio-user = %{version}-%{release}
1002
1003%description -n libvfio-user-devel
1004Header files for vfio-user library.
1005
1006%description -n libvfio-user-devel -l pl.UTF-8
1007Pliki nagłówkowe biblioteki vfio-user.
1008
cd19124e 1009%prep
c21a255a 1010%setup -q
3c6e2290 1011%patch0 -p1
5bfaccb7 1012%patch1 -p1
a782bf0f 1013%patch2 -p1
99df371e 1014%patch3 -p1
f6b5cdb2 1015%patch5 -p1
ccd394c8 1016%patch6 -p1
d155a8f0
JB
1017%patch7 -p1
1018%patch8 -p1
c18e9cf6 1019
1b60612d 1020%{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
bd30ad73 1021
1b60612d
JB
1022%if %{with systemtap}
1023# don't require stap binary during build
f6b5cdb2 1024%{__sed} -i -e "s/stap.found()/true/" meson.build docs/meson.build scripts/meson.build
1b60612d 1025%endif
f6b5cdb2 1026
80bac37e 1027%build
a75bdea7
ER
1028
1029build() {
1030 local target=$1
1031 shift
1032
1033 install -d build-$target
1034 cd build-$target
1035
1036 ../configure \
8bd2aee2 1037 --prefix=%{_prefix} \
ae1c5c71
JK
1038 --libdir=%{_libdir} \
1039 --libexecdir=%{_libexecdir} \
87364910 1040 --sysconfdir=%{_sysconfdir} \
a75bdea7
ER
1041 --localstatedir=%{_localstatedir} \
1042 --interp-prefix=%{_libdir}/qemu/lib-%%M \
98a1a188 1043 --cc="%{__cc}" \
e31a0f25 1044 --cxx="%{__cxx}" \
98a1a188 1045 --host-cc="%{__cc}" \
5263f8f5 1046 --disable-strip \
a75bdea7
ER
1047 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
1048 --enable-kvm \
1049 "$@"
1050
1051 %{__make} \
1052 V=1 \
1053 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
1054
1055 cd ..
1056}
1057
1058build dynamic \
92618e32
JP
1059 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
1060 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
f6b5cdb2 1061 --audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
78a71650 1062 --enable-attr \
78ff8fc0 1063 %{__enable_disable brlapi} \
0f04d157 1064 %{__enable_disable canokey} \
78a71650 1065 --enable-cap-ng \
b5882bc5 1066 --enable-capstone \
78a71650
JB
1067 --enable-curl \
1068 --enable-curses \
87364910 1069 --enable-docs \
78a71650 1070 --enable-fdt \
449d43aa 1071 %{__enable_disable glusterfs} \
81e9a720 1072 %{!?with_gtk3:--disable-gtk} \
78ff8fc0 1073 %{__enable_disable iscsi libiscsi} \
81e9a720 1074 %{__enable_disable libnfs} \
d4835466 1075 %{__enable_disable pmem libpmem} \
81e9a720
JB
1076 --enable-lzo \
1077 %{__enable_disable multipath mpath} \
1078 --enable-modules \
1079 --disable-netmap \
1080 --enable-nettle \
78a71650 1081 %{__enable_disable ceph rbd} \
80dbeed1 1082 %{__enable_disable rdma} \
78a71650 1083 %{__enable_disable sdl} \
78ff8fc0 1084 %{__enable_disable seccomp} \
8806a92d 1085 --enable-slirp \
59bc1300 1086 %{__enable_disable spice} \
51b0e9f0 1087 %{__enable_disable smartcard} \
81e9a720 1088 %{__enable_disable snappy} \
ce44b534 1089 --enable-tpm \
78ff8fc0 1090 %{__enable_disable usbredir usb-redir} \
78a71650 1091 --enable-vde \
d155a8f0 1092 %{?with_vfio_user:--enable-vfio-user-server} \
81e9a720 1093 %{__enable_disable virgl virglrenderer} \
78a71650
JB
1094 --enable-virtfs \
1095 --enable-vnc-jpeg \
1096 --enable-vnc-sasl \
3187b8cc 1097 %{!?with_vte:--disable-vte} \
78a71650 1098 %{__enable_disable xen} \
81e9a720 1099 %{__enable_disable xkbcommon}
ce44b534 1100
a75bdea7
ER
1101%if %{with user_static}
1102build static \
1103 --disable-brlapi \
0f04d157 1104 --disable-canokey \
a75bdea7 1105 --disable-cap-ng \
e31a0f25 1106 --disable-capstone \
a75bdea7
ER
1107 --disable-curl \
1108 --disable-curses \
1109 --disable-gcrypt \
1110 --disable-gnutls \
1111 --disable-gtk \
1112 --disable-guest-agent \
1113 --disable-guest-agent-msi \
1114 --disable-libnfs \
d4835466 1115 --disable-linux-io-uring \
81e9a720 1116 --disable-mpath \
a75bdea7
ER
1117 --disable-nettle \
1118 --disable-pie \
1119 --disable-sdl \
cfb9a655 1120 --disable-slirp \
a75bdea7 1121 --disable-spice \
81e9a720 1122 --disable-system \
a75bdea7 1123 --disable-tools \
a75bdea7 1124 --enable-user \
81e9a720 1125 --disable-xkbcommon \
d4835466 1126 --disable-zstd \
a75bdea7 1127 --static
a75bdea7 1128%endif
cd19124e 1129
9fdf235e
JR
1130%{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1131
cd19124e 1132%install
1133rm -rf $RPM_BUILD_ROOT
51327cc0 1134install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
70523569
JB
1135 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1136 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
5a2da1d0 1137
a75bdea7
ER
1138%if %{with user_static}
1139%{__make} -C build-static install \
1140 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1141 DESTDIR=$RPM_BUILD_ROOT
1142
1143# Give all QEMU user emulators a -static suffix
1144for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
81e9a720 1145 %{__mv} $src $src-static
a75bdea7
ER
1146done
1147
1148%endif
1149
1150%{__make} -C build-dynamic install \
471d1276 1151 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
ae1c5c71 1152 DESTDIR=$RPM_BUILD_ROOT
ac6e5743 1153
81e9a720
JB
1154# let rpm generate dependencies
1155chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1156
b418165e
MM
1157echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1158
a91fea76 1159install -d $RPM_BUILD_ROOT%{_sysconfdir}
1160cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
ac6e5743 1161#!/bin/sh
a91fea76 1162
ac6e5743 1163EOF
a62a2d89 1164
5ed67169
JR
1165install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1166
e53a3a53 1167%ifarch %{ix86} %{x8664} x32
41ed6e2c 1168install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
70523569 1169install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
41ed6e2c
JR
1170%endif
1171
9fdf235e
JR
1172install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1173install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1174install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1175
1176install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1177install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1178install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1179
93473205
JR
1180# For the qemu-guest-agent subpackage install the systemd
1181# service and udev rules.
1182install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
70523569 1183install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
93473205 1184
ccb0f0ea
AM
1185install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1186install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1187
cfb9a655
JB
1188cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
1189
7babf190 1190# Install binfmt
e02a00f9 1191BINFMT_CPUS=" \
e53a3a53 1192%ifnarch %{ix86} %{x8664} x32
e02a00f9
JP
1193 i386 x86_64 \
1194%endif
1195%ifnarch aarch64
1196 aarch64 \
a78c5672 1197%endif
7babf190 1198%ifnarch alpha
e02a00f9 1199 alpha \
7babf190
ER
1200%endif
1201%ifnarch %{arm}
e02a00f9 1202 arm \
a78c5672 1203%endif
e02a00f9
JP
1204 aarch64_be \
1205 armeb \
1206 microblaze microblazeel \
7babf190 1207%ifnarch mips64
e02a00f9 1208 mips64 \
7babf190 1209%ifnarch mips
e02a00f9 1210 mips \
7babf190
ER
1211%endif
1212%endif
1213%ifnarch mips64el
e02a00f9 1214 mips64el \
7babf190 1215%ifnarch mipsel
e02a00f9 1216 mipsel \
7babf190
ER
1217%endif
1218%endif
1219%ifnarch m68k
e02a00f9 1220 m68k \
7babf190
ER
1221%endif
1222%ifnarch ppc ppc64 ppc64le
e02a00f9 1223 ppc ppc64 ppc64le \
a78c5672
JR
1224%endif
1225%ifnarch sparc sparc64
e02a00f9 1226 sparc sparc32plus sparc64 \
7babf190
ER
1227%endif
1228%ifnarch s390 s390x
e02a00f9 1229 s390x \
a78c5672
JR
1230%endif
1231%ifnarch sh4
e02a00f9 1232 sh4 \
a78c5672 1233%endif
e02a00f9
JP
1234 sh4eb \
1235"
1236
1237if [ -n "$BINFMT_CPUS" ]; then
1238 for cpu in $BINFMT_CPUS; do
1239 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1240 done
28956417
JB
1241 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1242 %{__mv} $i ${i%.conf}-dynamic.conf
e02a00f9 1243 done
e14b0c24
ER
1244
1245 %if %{with user_static}
e02a00f9
JP
1246 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1247 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1248 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1249 done
e14b0c24 1250 %endif
e02a00f9 1251fi
a78c5672 1252
af556ac1 1253%if %{with system_seabios}
ae1c5c71
JK
1254ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1255# bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
af556ac1
JK
1256%endif
1257
f4914ae2 1258%if %{with gtk3}
008c880e
ER
1259%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1260%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
a56d4cfd 1261%find_lang %{name}
78ff8fc0
JK
1262%else
1263: > qemu.lang
1264%endif
a56d4cfd 1265
cb96aade
JP
1266for t in client server; do
1267 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1268done
1269
f6b5cdb2
JB
1270# test modules
1271%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/accel-qtest-*.so
1a808d89 1272# Windows installer icon, not used
81e9a720
JB
1273%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1274# packaged as %doc
1275%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
28956417
JB
1276
1277# cleanup Sphinx files
4171a999 1278%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{.buildinfo,objects.inv}
2f80d753 1279
cd19124e 1280%clean
1281rm -rf $RPM_BUILD_ROOT
1282
c1d653f6 1283%pre common
a45c10b6 1284%groupadd -g 160 kvm
c1d653f6 1285%groupadd -g 276 qemu
a45c10b6 1286%useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
c1d653f6 1287
9fdf235e
JR
1288%post common
1289%systemd_post ksm.service
1290%systemd_post ksmtuned.service
1291
1292%preun common
1293%systemd_preun ksm.service
1294%systemd_preun ksmtuned.service
1295
c1d653f6
AG
1296%postun common
1297if [ "$1" = "0" ]; then
1298 %userremove qemu
1299 %groupremove qemu
a45c10b6 1300 %groupremove kvm
c1d653f6 1301fi
9fdf235e
JR
1302%systemd_reload
1303
1304%triggerpostun common -- qemu-common < 1.6.1-4
1305%systemd_trigger ksm.service
1306%systemd_trigger ksmtuned.service
cfb9a655 1307%systemd_trigger qemu-pr-helper.service
c1d653f6 1308
a78c5672 1309%post user
ba74f3cd 1310%systemd_post systemd-binfmt.service
a78c5672
JR
1311
1312%postun user
ba74f3cd 1313%systemd_post systemd-binfmt.service
a78c5672 1314
e14b0c24 1315%post user-static
ba74f3cd 1316%systemd_post systemd-binfmt.service
e14b0c24
ER
1317
1318%postun user-static
ba74f3cd 1319%systemd_post systemd-binfmt.service
e14b0c24 1320
93473205 1321%post guest-agent
ccb0f0ea
AM
1322/sbin/chkconfig --add qemu-ga
1323%service qemu-ga restart "qemu-ga"
93473205
JR
1324%systemd_reload
1325
1326%preun guest-agent
ccb0f0ea 1327if [ "$1" = "0" ]; then
c43b327d
TP
1328 %service qemu-ga stop
1329 /sbin/chkconfig --del qemu-ga
ccb0f0ea 1330fi
93473205
JR
1331%systemd_preun qemu-guest-agent.service
1332
1333%postun guest-agent
1334%systemd_reload
1335
d155a8f0
JB
1336%post -n libvfio-user -p /sbin/ldconfig
1337%postun -n libvfio-user -p /sbin/ldconfig
1338
cd19124e 1339%files
1340%defattr(644,root,root,755)
fabf5a9c 1341
f6b5cdb2
JB
1342%files devel
1343%defattr(644,root,root,755)
1344%{_includedir}/qemu-plugin.h
1345
a56d4cfd 1346%files common -f %{name}.lang
fabf5a9c 1347%defattr(644,root,root,755)
28956417 1348%doc LICENSE README.rst pc-bios/edk2-licenses.txt
a91fea76 1349%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
c980f439 1350%config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
5ed67169 1351%config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
c980f439 1352%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
b418165e
MM
1353%dir /etc/qemu
1354%attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
c980f439
JR
1355%{systemdunitdir}/ksm.service
1356%{systemdunitdir}/ksmtuned.service
cfb9a655
JB
1357%{systemdunitdir}/qemu-pr-helper.service
1358%{systemdunitdir}/qemu-pr-helper.socket
2f80d753 1359%attr(755,root,root) %{_bindir}/elf2dmp
cb96aade
JP
1360%attr(755,root,root) %{_bindir}/ivshmem-client
1361%attr(755,root,root) %{_bindir}/ivshmem-server
2f80d753 1362%attr(755,root,root) %{_bindir}/qemu-edid
81e9a720
JB
1363%if %{with xkbcommon}
1364%attr(755,root,root) %{_bindir}/qemu-keymap
1365%endif
fabf5a9c 1366%attr(755,root,root) %{_bindir}/qemu-nbd
1f265cee 1367%attr(755,root,root) %{_bindir}/qemu-pr-helper
28956417 1368%attr(755,root,root) %{_bindir}/qemu-storage-daemon
c980f439
JR
1369%attr(755,root,root) %{_sbindir}/ksmctl
1370%attr(755,root,root) %{_sbindir}/ksmtuned
81e9a720 1371%attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
e31a0f25
JB
1372%if %{with virgl}
1373%attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1374%endif
92618e32 1375%attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
28956417 1376%attr(755,root,root) %{_libexecdir}/virtiofsd
ae1c5c71 1377%dir %{_libdir}/%{name}
54b666b7 1378# modules without too many external dependencies
8806a92d 1379%attr(755,root,root) %{_libdir}/%{name}/block-blkio.so
67bf71fa 1380%attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
81e9a720 1381%attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
f6b5cdb2
JB
1382%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-i386.so
1383%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-x86_64.so
1777be93 1384%attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
81e9a720
JB
1385%if %{with oss}
1386%attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1387%endif
1388%if %{with pulseaudio}
1389%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1390%endif
cb96aade 1391%if %{with brlapi}
92618e32 1392%attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
cb96aade 1393%endif
92618e32 1394%attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
92618e32 1395%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
f6b5cdb2
JB
1396%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so
1397%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
1398%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so
92618e32 1399%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
f6b5cdb2 1400%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
4171a999 1401%attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
f6b5cdb2 1402%attr(755,root,root) %{_libdir}/%{name}/hw-usb-host.so
1777be93 1403%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
92618e32
JP
1404%if %{with usbredir}
1405%attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1406%endif
1407%if %{with smartcard}
1408%attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1409%endif
1410%if %{with opengl}
1411%attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1412%attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1413%endif
81e9a720 1414%if %{with spice}
92618e32
JP
1415%attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1416%attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
81e9a720 1417%attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
92618e32 1418%attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
81e9a720 1419%endif
28956417
JB
1420%dir %{_datadir}/%{name}
1421%dir %{_datadir}/%{name}/firmware
1422%{_datadir}/%{name}/keymaps
1423%{_datadir}/%{name}/trace-events-all
1424%dir %{_datadir}/%{name}/vhost-user
1425%if %{with virgl}
1426%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1427%endif
1428%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
1429%{_desktopdir}/qemu.desktop
1430%{_iconsdir}/hicolor/*x*/apps/qemu.png
1431%{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1432%{_iconsdir}/hicolor/scalable/apps/qemu.svg
1433%{_mandir}/man1/qemu.1*
4171a999 1434%{_mandir}/man1/qemu-storage-daemon.1*
28956417
JB
1435%{_mandir}/man1/virtfs-proxy-helper.1*
1436%{_mandir}/man1/virtiofsd.1*
1437%{_mandir}/man7/qemu-block-drivers.7*
1438%{_mandir}/man7/qemu-cpu-models.7*
1439%{_mandir}/man7/qemu-qmp-ref.7*
4171a999 1440%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
28956417 1441%{_mandir}/man8/qemu-nbd.8*
92618e32 1442%{_mandir}/man8/qemu-pr-helper.8*
28956417 1443%{_docdir}/qemu
1777be93 1444
fabf5a9c
ER
1445%files img
1446%defattr(644,root,root,755)
1447%attr(755,root,root) %{_bindir}/qemu-img
1448%{_mandir}/man1/qemu-img.1*
1449
1450%files user
1451%defattr(644,root,root,755)
e14b0c24 1452/usr/lib/binfmt.d/qemu-*-dynamic.conf
ae1c5c71 1453%attr(755,root,root) %{_bindir}/qemu-aarch64
1777be93 1454%attr(755,root,root) %{_bindir}/qemu-aarch64_be
fabf5a9c
ER
1455%attr(755,root,root) %{_bindir}/qemu-alpha
1456%attr(755,root,root) %{_bindir}/qemu-arm
1457%attr(755,root,root) %{_bindir}/qemu-armeb
1458%attr(755,root,root) %{_bindir}/qemu-cris
4171a999 1459%attr(755,root,root) %{_bindir}/qemu-hexagon
cdd6b92f 1460%attr(755,root,root) %{_bindir}/qemu-hppa
59bc1300 1461%attr(755,root,root) %{_bindir}/qemu-i386
fabf5a9c 1462%attr(755,root,root) %{_bindir}/qemu-io
b5882bc5 1463%attr(755,root,root) %{_bindir}/qemu-loongarch64
fabf5a9c
ER
1464%attr(755,root,root) %{_bindir}/qemu-m68k
1465%attr(755,root,root) %{_bindir}/qemu-microblaze
1466%attr(755,root,root) %{_bindir}/qemu-microblazeel
1467%attr(755,root,root) %{_bindir}/qemu-mips
1468%attr(755,root,root) %{_bindir}/qemu-mipsel
a56d4cfd
JB
1469%attr(755,root,root) %{_bindir}/qemu-mips64
1470%attr(755,root,root) %{_bindir}/qemu-mips64el
1471%attr(755,root,root) %{_bindir}/qemu-mipsn32
1472%attr(755,root,root) %{_bindir}/qemu-mipsn32el
cdd6b92f 1473%attr(755,root,root) %{_bindir}/qemu-nios2
05e8f0a4 1474%attr(755,root,root) %{_bindir}/qemu-or1k
fabf5a9c
ER
1475%attr(755,root,root) %{_bindir}/qemu-ppc
1476%attr(755,root,root) %{_bindir}/qemu-ppc64
f39d158a 1477%attr(755,root,root) %{_bindir}/qemu-ppc64le
1777be93
JP
1478%attr(755,root,root) %{_bindir}/qemu-riscv32
1479%attr(755,root,root) %{_bindir}/qemu-riscv64
fabf5a9c
ER
1480%attr(755,root,root) %{_bindir}/qemu-s390x
1481%attr(755,root,root) %{_bindir}/qemu-sh4
1482%attr(755,root,root) %{_bindir}/qemu-sh4eb
1483%attr(755,root,root) %{_bindir}/qemu-sparc
1484%attr(755,root,root) %{_bindir}/qemu-sparc32plus
1485%attr(755,root,root) %{_bindir}/qemu-sparc64
59bc1300 1486%attr(755,root,root) %{_bindir}/qemu-x86_64
1777be93
JP
1487%attr(755,root,root) %{_bindir}/qemu-xtensa
1488%attr(755,root,root) %{_bindir}/qemu-xtensaeb
fabf5a9c 1489
a75bdea7
ER
1490%if %{with user_static}
1491%files user-static
1492%defattr(644,root,root,755)
e14b0c24 1493/usr/lib/binfmt.d/qemu-*-static.conf
a75bdea7 1494%attr(755,root,root) %{_bindir}/qemu-aarch64-static
1777be93 1495%attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
a75bdea7
ER
1496%attr(755,root,root) %{_bindir}/qemu-alpha-static
1497%attr(755,root,root) %{_bindir}/qemu-arm-static
1498%attr(755,root,root) %{_bindir}/qemu-armeb-static
1499%attr(755,root,root) %{_bindir}/qemu-cris-static
4171a999 1500%attr(755,root,root) %{_bindir}/qemu-hexagon-static
cdd6b92f 1501%attr(755,root,root) %{_bindir}/qemu-hppa-static
a75bdea7 1502%attr(755,root,root) %{_bindir}/qemu-i386-static
842f057a 1503%attr(755,root,root) %{_bindir}/qemu-loongarch64-static
a75bdea7
ER
1504%attr(755,root,root) %{_bindir}/qemu-m68k-static
1505%attr(755,root,root) %{_bindir}/qemu-microblaze-static
1506%attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1507%attr(755,root,root) %{_bindir}/qemu-mips-static
1508%attr(755,root,root) %{_bindir}/qemu-mips64-static
1509%attr(755,root,root) %{_bindir}/qemu-mips64el-static
1510%attr(755,root,root) %{_bindir}/qemu-mipsel-static
1511%attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1512%attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
cdd6b92f 1513%attr(755,root,root) %{_bindir}/qemu-nios2-static
05e8f0a4 1514%attr(755,root,root) %{_bindir}/qemu-or1k-static
a75bdea7
ER
1515%attr(755,root,root) %{_bindir}/qemu-ppc-static
1516%attr(755,root,root) %{_bindir}/qemu-ppc64-static
a75bdea7 1517%attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1777be93
JP
1518%attr(755,root,root) %{_bindir}/qemu-riscv32-static
1519%attr(755,root,root) %{_bindir}/qemu-riscv64-static
a75bdea7
ER
1520%attr(755,root,root) %{_bindir}/qemu-s390x-static
1521%attr(755,root,root) %{_bindir}/qemu-sh4-static
1522%attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1523%attr(755,root,root) %{_bindir}/qemu-sparc-static
1524%attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1525%attr(755,root,root) %{_bindir}/qemu-sparc64-static
a75bdea7 1526%attr(755,root,root) %{_bindir}/qemu-x86_64-static
1777be93
JP
1527%attr(755,root,root) %{_bindir}/qemu-xtensa-static
1528%attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
f771d7dc 1529%{?with_systemtap:%attr(755,root,root) %{_bindir}/qemu-trace-stap-static}
a75bdea7
ER
1530%endif
1531
ae1c5c71
JK
1532%files system-aarch64
1533%defattr(644,root,root,755)
1534%attr(755,root,root) %{_bindir}/qemu-system-aarch64
290ffd23
JP
1535%{_datadir}/%{name}/edk2-aarch64-code.fd
1536%{_datadir}/%{name}/firmware/60-edk2-aarch64.json
ae1c5c71 1537
fabf5a9c
ER
1538%files system-alpha
1539%defattr(644,root,root,755)
1540%attr(755,root,root) %{_bindir}/qemu-system-alpha
81e9a720 1541%{_datadir}/%{name}/palcode-clipper
fabf5a9c
ER
1542
1543%files system-arm
1544%defattr(644,root,root,755)
1545%attr(755,root,root) %{_bindir}/qemu-system-arm
290ffd23
JP
1546%{_datadir}/%{name}/edk2-arm-code.fd
1547%{_datadir}/%{name}/edk2-arm-vars.fd
1548%{_datadir}/%{name}/firmware/60-edk2-arm.json
92618e32
JP
1549%{_datadir}/%{name}/npcm7xx_bootrom.bin
1550
1551%files system-avr
1552%defattr(644,root,root,755)
1553%attr(755,root,root) %{_bindir}/qemu-system-avr
fabf5a9c
ER
1554
1555%files system-cris
1556%defattr(644,root,root,755)
1557%attr(755,root,root) %{_bindir}/qemu-system-cris
1558
1777be93
JP
1559%files system-hppa
1560%defattr(644,root,root,755)
1561%attr(755,root,root) %{_bindir}/qemu-system-hppa
1562%{_datadir}/%{name}/hppa-firmware.img
1563
fabf5a9c
ER
1564%files system-m68k
1565%defattr(644,root,root,755)
1566%attr(755,root,root) %{_bindir}/qemu-system-m68k
1567
1568%files system-microblaze
1569%defattr(644,root,root,755)
1570%attr(755,root,root) %{_bindir}/qemu-system-microblaze
1571%attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1572
1573%files system-mips
1574%defattr(644,root,root,755)
b5882bc5 1575%attr(755,root,root) %{_bindir}/qemu-system-loongarch64
fabf5a9c
ER
1576%attr(755,root,root) %{_bindir}/qemu-system-mips
1577%attr(755,root,root) %{_bindir}/qemu-system-mipsel
1578%attr(755,root,root) %{_bindir}/qemu-system-mips64
1579%attr(755,root,root) %{_bindir}/qemu-system-mips64el
1580
cdd6b92f
JP
1581%files system-nios2
1582%defattr(644,root,root,755)
1583%attr(755,root,root) %{_bindir}/qemu-system-nios2
1584
05e8f0a4 1585%files system-or1k
92c357d4 1586%defattr(644,root,root,755)
05e8f0a4 1587%attr(755,root,root) %{_bindir}/qemu-system-or1k
92c357d4 1588
fabf5a9c
ER
1589%files system-ppc
1590%defattr(644,root,root,755)
1591%attr(755,root,root) %{_bindir}/qemu-system-ppc
1592%attr(755,root,root) %{_bindir}/qemu-system-ppc64
81e9a720 1593%{_datadir}/%{name}/bamboo.dtb
1777be93 1594%{_datadir}/%{name}/canyonlands.dtb
81e9a720
JB
1595%{_datadir}/%{name}/openbios-ppc
1596%{_datadir}/%{name}/petalogix-ml605.dtb
1597%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
b3255247 1598%{_datadir}/%{name}/qemu_vga.ndrv
81e9a720
JB
1599%{_datadir}/%{name}/skiboot.lid
1600%{_datadir}/%{name}/slof.bin
f39d158a 1601%{_datadir}/%{name}/u-boot.e500
1777be93 1602%{_datadir}/%{name}/u-boot-sam460-20100605.bin
ccd394c8
JB
1603%{_datadir}/%{name}/vof.bin
1604%{_datadir}/%{name}/vof-nvram.bin
1777be93
JP
1605
1606%files system-riscv32
1607%defattr(644,root,root,755)
1608%attr(755,root,root) %{_bindir}/qemu-system-riscv32
92618e32 1609%{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1777be93
JP
1610
1611%files system-riscv64
1612%defattr(644,root,root,755)
1613%attr(755,root,root) %{_bindir}/qemu-system-riscv64
92618e32 1614%{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
fabf5a9c 1615
28956417
JB
1616%files system-rx
1617%defattr(644,root,root,755)
1618%attr(755,root,root) %{_bindir}/qemu-system-rx
1619
fabf5a9c
ER
1620%files system-s390x
1621%defattr(644,root,root,755)
1622%attr(755,root,root) %{_bindir}/qemu-system-s390x
81e9a720 1623%{_datadir}/%{name}/s390-ccw.img
b3255247 1624%{_datadir}/%{name}/s390-netboot.img
fabf5a9c
ER
1625
1626%files system-sh4
1627%defattr(644,root,root,755)
1628%attr(755,root,root) %{_bindir}/qemu-system-sh4
1629%attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1630
1631%files system-sparc
1632%defattr(644,root,root,755)
1633%attr(755,root,root) %{_bindir}/qemu-system-sparc
1634%attr(755,root,root) %{_bindir}/qemu-system-sparc64
81e9a720
JB
1635%{_datadir}/%{name}/QEMU,cgthree.bin
1636%{_datadir}/%{name}/QEMU,tcx.bin
1637%{_datadir}/%{name}/openbios-sparc32
1638%{_datadir}/%{name}/openbios-sparc64
fabf5a9c 1639
112b8450
AM
1640%files system-tricore
1641%defattr(644,root,root,755)
1642%attr(755,root,root) %{_bindir}/qemu-system-tricore
1643
fabf5a9c
ER
1644%files system-x86
1645%defattr(644,root,root,755)
1646%attr(755,root,root) %{_bindir}/qemu-system-i386
1647%attr(755,root,root) %{_bindir}/qemu-system-x86_64
e53a3a53 1648%ifarch %{ix86} %{x8664} x32
41ed6e2c 1649%config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
70523569 1650/lib/udev/rules.d/80-kvm.rules
41ed6e2c 1651%endif
af556ac1 1652%{_datadir}/%{name}/bios.bin
ae1c5c71 1653%{_datadir}/%{name}/bios-256k.bin
26eb5196 1654%{_datadir}/%{name}/bios-microvm.bin
290ffd23
JP
1655%{_datadir}/%{name}/edk2-i386-code.fd
1656%{_datadir}/%{name}/edk2-i386-secure-code.fd
1657%{_datadir}/%{name}/edk2-i386-vars.fd
1658%{_datadir}/%{name}/edk2-x86_64-code.fd
1659%{_datadir}/%{name}/edk2-x86_64-secure-code.fd
81e9a720
JB
1660%{_datadir}/%{name}/efi-e1000e.rom
1661%{_datadir}/%{name}/efi-e1000.rom
1662%{_datadir}/%{name}/efi-eepro100.rom
1663%{_datadir}/%{name}/efi-ne2k_pci.rom
1664%{_datadir}/%{name}/efi-pcnet.rom
1665%{_datadir}/%{name}/efi-rtl8139.rom
1666%{_datadir}/%{name}/efi-virtio.rom
1667%{_datadir}/%{name}/efi-vmxnet3.rom
1668%{_datadir}/%{name}/kvmvapic.bin
1669%{_datadir}/%{name}/linuxboot.bin
1670%{_datadir}/%{name}/linuxboot_dma.bin
1671%{_datadir}/%{name}/multiboot.bin
f6b5cdb2 1672%{_datadir}/%{name}/multiboot_dma.bin
81e9a720
JB
1673%{_datadir}/%{name}/pvh.bin
1674%{_datadir}/%{name}/pxe-e1000.rom
1675%{_datadir}/%{name}/pxe-eepro100.rom
1676%{_datadir}/%{name}/pxe-ne2k_pci.rom
1677%{_datadir}/%{name}/pxe-pcnet.rom
1678%{_datadir}/%{name}/pxe-rtl8139.rom
1679%{_datadir}/%{name}/pxe-virtio.rom
92618e32 1680%{_datadir}/%{name}/qboot.rom
81e9a720
JB
1681%{_datadir}/%{name}/sgabios.bin
1682%{_datadir}/%{name}/vgabios.bin
1683%{_datadir}/%{name}/vgabios-ati.bin
1684%{_datadir}/%{name}/vgabios-bochs-display.bin
1685%{_datadir}/%{name}/vgabios-cirrus.bin
1686%{_datadir}/%{name}/vgabios-qxl.bin
1687%{_datadir}/%{name}/vgabios-ramfb.bin
1688%{_datadir}/%{name}/vgabios-stdvga.bin
1689%{_datadir}/%{name}/vgabios-virtio.bin
1690%{_datadir}/%{name}/vgabios-vmware.bin
290ffd23
JP
1691%{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1692%{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1693%{_datadir}/%{name}/firmware/60-edk2-i386.json
1694%{_datadir}/%{name}/firmware/60-edk2-x86_64.json
fabf5a9c
ER
1695
1696%files system-xtensa
1697%defattr(644,root,root,755)
1698%attr(755,root,root) %{_bindir}/qemu-system-xtensa
1699%attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
93473205
JR
1700
1701%files guest-agent
008c880e 1702%defattr(644,root,root,755)
70523569
JB
1703%attr(755,root,root) %{_bindir}/qemu-ga
1704/lib/udev/rules.d/99-qemu-guest-agent.rules
93473205 1705%{systemdunitdir}/qemu-guest-agent.service
ccb0f0ea
AM
1706%attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1707%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
2f80d753 1708%{_mandir}/man7/qemu-ga-ref.7*
56eebfcf 1709%{_mandir}/man8/qemu-ga.8*
ae1c5c71 1710
f6b5cdb2
JB
1711%files module-audio-jack
1712%defattr(644,root,root,755)
1713%attr(755,root,root) %{_libdir}/%{name}/audio-jack.so
1714
ae1c5c71
JK
1715%files module-block-curl
1716%defattr(644,root,root,755)
1717%attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1718
c218d8d3 1719%if %{with glusterfs}
ae1c5c71
JK
1720%files module-block-gluster
1721%defattr(644,root,root,755)
1722%attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
c218d8d3 1723%endif
ae1c5c71 1724
c218d8d3 1725%if %{with iscsi}
ae1c5c71
JK
1726%files module-block-iscsi
1727%defattr(644,root,root,755)
1728%attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
c218d8d3 1729%endif
ae1c5c71 1730
28956417
JB
1731%if %{with libnfs}
1732%files module-block-nfs
1733%defattr(644,root,root,755)
1734%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1735%endif
1736
c218d8d3 1737%if %{with ceph}
ae1c5c71
JK
1738%files module-block-rbd
1739%defattr(644,root,root,755)
1740%attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
c218d8d3 1741%endif
ae1c5c71
JK
1742
1743%files module-block-ssh
1744%defattr(644,root,root,755)
1745%attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
28956417 1746
ccd394c8
JB
1747%files module-ui-dbus
1748%defattr(644,root,root,755)
1749%attr(755,root,root) %{_libdir}/%{name}/audio-dbus.so
1750%attr(755,root,root) %{_libdir}/%{name}/ui-dbus.so
1751
28956417
JB
1752%if %{with gtk3}
1753%files module-ui-gtk
1754%defattr(644,root,root,755)
1755%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1756%endif
1757
1758%if %{with sdl}
1759%files module-ui-sdl
1760%defattr(644,root,root,755)
1761%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1762%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1763%endif
1b60612d
JB
1764
1765%if %{with systemtap}
1766%files -n systemtap-qemu
1767%defattr(644,root,root,755)
1768%attr(755,root,root) %{_bindir}/qemu-trace-stap
1769%{_datadir}/systemtap/tapset/qemu-*.stp
1770%{_mandir}/man1/qemu-trace-stap.1*
1771%endif
d155a8f0
JB
1772
1773%if %{with vfio_user}
1774%files -n libvfio-user
1775%defattr(644,root,root,755)
1776%attr(755,root,root) %{_libdir}/libvfio-user.so.*.*.*
1777%attr(755,root,root) %ghost %{_libdir}/libvfio-user.so.0
1778
1779%files -n libvfio-user-devel
1780%defattr(644,root,root,755)
1781%attr(755,root,root) %{_libdir}/libvfio-user.so
1782%{_includedir}/vfio-user
1783%endif
This page took 1.43696 seconds and 4 git commands to generate.