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