]> git.pld-linux.org Git - packages/qemu.git/blame - qemu.spec
- disable xen-emu on x32, updated way to change CONFIG_USB_SMARTCARD option
[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
cc59f32b 47Version: 8.0.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
cc59f32b 52# Source0-md5: c803c9a643131013bef6c3b9b541c5a4
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
cc59f32b 78Patch9: %{name}-capstone.patch
28956417 79URL: https://www.qemu.org/
81e9a720 80%{?with_opengl:BuildRequires: Mesa-libgbm-devel}
cae1481d
JB
81%{?with_opengl:BuildRequires: OpenGL-GLX-devel}
82%{?with_opengl:BuildRequires: OpenGL-devel}
7b0056db 83%{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
81e9a720 84%{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
b0b3ca8d 85BuildRequires: alsa-lib-devel
0bd67d82 86BuildRequires: bison
78ff8fc0 87%{?with_brlapi:BuildRequires: brlapi-devel}
b0436c10 88BuildRequires: bzip2-devel
0f04d157 89%{?with_canokey:BuildRequires: canokey-qemu-devel}
f6b5cdb2
JB
90BuildRequires: capstone-devel >= 4.0
91%{?with_ceph:BuildRequires: ceph-devel >= 12}
92BuildRequires: curl-devel >= 7.29.0
78a71650 93BuildRequires: cyrus-sasl-devel >= 2
f6b5cdb2 94BuildRequires: daxctl-devel >= 57
0bd67d82 95BuildRequires: flex
f6b5cdb2 96BuildRequires: gcc >= 6:7.4
cb96aade 97BuildRequires: gettext-tools
ccd394c8 98BuildRequires: glib2-devel >= 1:2.64
81e9a720
JB
99# minimal is 3.4 but new features are used up to 6
100%{?with_glusterfs:BuildRequires: glusterfs-devel >= 6}
f6b5cdb2 101BuildRequires: gnutls-devel >= 3.6.14
cb96aade 102%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0}
f6b5cdb2 103BuildRequires: jack-audio-connection-kit-devel
d155a8f0 104%{?with_vfio_user:BuildRequires: json-c-devel >= 0.11}
f6b5cdb2
JB
105# for tests
106#BuildRequires: keyutils-devel
87364910 107BuildRequires: libaio-devel
6657e096 108BuildRequires: libblkio-devel
f6b5cdb2 109BuildRequires: libbpf-devel
81e9a720 110%{?with_smartcard:BuildRequires: libcacard-devel >= 2.5.1}
78a71650 111BuildRequires: libcap-ng-devel
cb96aade 112BuildRequires: libdrm-devel
cae1481d 113%{?with_opengl:BuildRequires: libepoxy-devel}
f6b5cdb2
JB
114BuildRequires: libfdt-devel >= 1.5.1
115BuildRequires: libfuse3-devel >= 3.8
80dbeed1 116%{?with_rdma:BuildRequires: libibverbs-devel}
3187b8cc 117%{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
1777be93 118%{?with_rdma:BuildRequires: libibumad-devel}
78a71650 119BuildRequires: libjpeg-devel
bfb54462 120%{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
b5882bc5 121BuildRequires: libpng-devel >= 2:1.6.34
80dbeed1 122%{?with_rdma:BuildRequires: librdmacm-devel}
290ffd23 123%{?with_seccomp:BuildRequires: libseccomp-devel >= 2.3.0}
f6b5cdb2
JB
124BuildRequires: libselinux-devel
125BuildRequires: libssh-devel >= 0.8.7
cc59f32b
JB
126BuildRequires: libslirp-devel >= 4.7
127BuildRequires: libstdc++-devel >= 6:4.7
81e9a720
JB
128# for tests only
129#BuildRequires: libtasn1-devel
f6b5cdb2 130BuildRequires: libu2f-emu-devel
1b469720 131BuildRequires: libusb-devel >= 1.0.22
ccd394c8 132BuildRequires: liburing-devel >= 0.3
78a71650 133BuildRequires: libuuid-devel
81e9a720 134BuildRequires: libxml2-devel >= 2.0
ccd394c8 135%{?with_lttng:BuildRequires: lttng-ust-devel >= 2.1}
81e9a720 136BuildRequires: lzfse-devel
c218d8d3 137BuildRequires: lzo-devel >= 2
8806a92d 138BuildRequires: meson >= 0.61.5
81e9a720 139%{?with_multipath:BuildRequires: multipath-tools-devel}
98a1a188 140BuildRequires: ncurses-devel
f6b5cdb2
JB
141# also libgcrypt-devel >= 1.8 possible, but gnutls already pulls nettle
142BuildRequires: nettle-devel >= 3.4
8806a92d 143BuildRequires: ninja >= 1.5
fc634c87 144%{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8}
b0436c10 145BuildRequires: numactl-devel
81e9a720 146BuildRequires: pam-devel
995bac8b 147BuildRequires: perl-Encode
2fb8ea02 148BuildRequires: perl-tools-pod
b0436c10 149BuildRequires: pixman-devel >= 0.21.8
ba84a935 150BuildRequires: pkgconfig
d4835466 151%{?with_pmem:BuildRequires: pmdk-devel}
78a71650 152%{?with_pulseaudio:BuildRequires: pulseaudio-devel}
8806a92d 153BuildRequires: python3 >= 1:3.7
a7acab35 154BuildRequires: python3-sphinx_rtd_theme
f6b5cdb2 155BuildRequires: rpm-build >= 4.6
1c6a7aa7 156BuildRequires: rpmbuild(macros) >= 1.644
af556ac1 157%{?with_system_seabios:BuildRequires: seabios}
8bb1261c 158BuildRequires: sed >= 4.0
c218d8d3 159%{?with_snappy:BuildRequires: snappy-devel}
81e9a720 160BuildRequires: sphinx-pdg
59bc1300 161%if %{with spice}
cc59f32b
JB
162BuildRequires: spice-protocol >= 0.14.0
163BuildRequires: spice-server-devel >= 0.14.0
59bc1300 164%endif
3187b8cc 165%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
8f26afe1 166BuildRequires: tar >= 1:1.22
a1146336 167BuildRequires: texi2html
22f71ecb 168BuildRequires: texinfo
81e9a720 169%{?with_multipath:BuildRequires: udev-devel}
78ff8fc0 170%{?with_usbredir:BuildRequires: usbredir-devel >= 0.6}
3187b8cc 171%{?with_lttng:BuildRequires: userspace-rcu-devel}
78a71650 172BuildRequires: vde2-devel
cad677a4 173BuildRequires: which
24209dad 174%{?with_virgl:BuildRequires: virglrenderer-devel}
daabcde6 175%{?with_vte:BuildRequires: vte-devel >= 0.32.0}
bce8b8b4 176# xencontrol xenstore xenguest xenforeignmemory xengnttab xenevtchn xendevicemodel; xentoolcore for xen 4.10+
f6b5cdb2
JB
177# min version is 4.2, more features up to 4.11
178%{?with_xen:BuildRequires: xen-devel >= 4.11}
78a71650 179BuildRequires: xfsprogs-devel
6b6b30ad
JP
180%if %{with xkbcommon}
181BuildRequires: xkeyboard-config
182BuildRequires: xorg-lib-libxkbcommon-devel
183%endif
ba84a935 184BuildRequires: xorg-lib-libX11-devel
8f26afe1 185BuildRequires: xz
78a71650 186BuildRequires: zlib-devel
28956417 187BuildRequires: zstd-devel >= 1.4.0
a75bdea7 188%if %{with user_static}
0a257213 189BuildRequires: glib2-static >= 1:2.74
a75bdea7 190BuildRequires: glibc-static
0bd67d82 191BuildRequires: libstdc++-static >= 6:4.7
0a257213 192BuildRequires: pcre2-8-static >= 10.32
a75bdea7
ER
193BuildRequires: zlib-static
194%endif
fabf5a9c 195Requires: %{name}-img = %{version}-%{release}
ae1c5c71 196Requires: %{name}-system-aarch64 = %{version}-%{release}
fabf5a9c
ER
197Requires: %{name}-system-alpha = %{version}-%{release}
198Requires: %{name}-system-arm = %{version}-%{release}
92618e32 199Requires: %{name}-system-avr = %{version}-%{release}
fabf5a9c 200Requires: %{name}-system-cris = %{version}-%{release}
1777be93 201Requires: %{name}-system-hppa = %{version}-%{release}
fabf5a9c
ER
202Requires: %{name}-system-m68k = %{version}-%{release}
203Requires: %{name}-system-microblaze = %{version}-%{release}
204Requires: %{name}-system-mips = %{version}-%{release}
cdd6b92f 205Requires: %{name}-system-nios2 = %{version}-%{release}
05e8f0a4 206Requires: %{name}-system-or1k = %{version}-%{release}
ae8bf749 207Requires: %{name}-system-ppc = %{version}-%{release}
1777be93
JP
208Requires: %{name}-system-riscv32 = %{version}-%{release}
209Requires: %{name}-system-riscv64 = %{version}-%{release}
28956417 210Requires: %{name}-system-rx = %{version}-%{release}
fabf5a9c
ER
211Requires: %{name}-system-s390x = %{version}-%{release}
212Requires: %{name}-system-sh4 = %{version}-%{release}
213Requires: %{name}-system-sparc = %{version}-%{release}
112b8450 214Requires: %{name}-system-tricore = %{version}-%{release}
fabf5a9c
ER
215Requires: %{name}-system-x86 = %{version}-%{release}
216Requires: %{name}-system-xtensa = %{version}-%{release}
217Requires: %{name}-user = %{version}-%{release}
2b05c423 218Obsoletes: qemu-kvm < 2
81e9a720 219ExcludeArch: i386
cd19124e 220BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
221
78a71650 222%define systempkg_req \
f6b5cdb2
JB
223Requires: capstone >= 4.0 \
224Requires: daxctl-libs >= 57 \
81e9a720 225%{?with_smartcard:Requires: libcacard >= 2.5.1} \
f6b5cdb2
JB
226Requires: libfdt >= 1.5.1 \
227Requires: libfuse3 >= 3.8 \
228%{?with_iscsi:Requires: libiscsi >= 1.9.0} \
b5882bc5 229Requires: libpng >= 2:1.6.34 \
c218d8d3 230%if %{with seccomp} \
290ffd23 231Requires: libseccomp >= 2.3.0 \
c218d8d3 232%endif \
cc59f32b 233Requires: libslirp >= 4.7 \
b5882bc5 234Requires: liburing >= 0.3 \
c43b327d 235Requires: libusb >= 1.0.22 \
b0436c10 236Requires: pixman >= 0.21.8 \
51b0e9f0 237%if %{with spice} \
cc59f32b 238Requires: spice-server-libs >= 0.14.0 \
51b0e9f0 239%endif \
78ff8fc0 240%if %{with usbredir} \
ce44b534 241Requires: usbredir >= 0.6 \
f6b5cdb2 242%endif
78a71650 243
1b37833e
AM
244# don't strip/chrpath anything in there; these are boot images, roms etc
245%define _noautostrip .*%{_datadir}/qemu/.*
246%define _noautochrpath .*%{_datadir}/qemu/.*
a154aede 247
cd19124e 248%description
249QEMU is a FAST! processor emulator. By using dynamic translation it
250achieves a reasonnable speed while being easy to port on new host
251CPUs. QEMU has two operating modes:
252
253- User mode emulation. In this mode, QEMU can launch Linux processes
254 compiled for one CPU on another CPU. Linux system calls are converted
255 because of endianness and 32/64 bit mismatches. Wine (Windows
256 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
257
258- Full system emulation. In this mode, QEMU emulates a full system,
8799423b
ER
259 including a processor and various peripherials. It can also be used to
260 provide virtual hosting of several virtual PC on a single server.
cd19124e 261
27b30e9c
JR
262%description -l pl.UTF-8
263QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego
264tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania,
265aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
5a2da1d0 266
27b30e9c 267- Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać
5a2da1d0 268 procesy linuksowe skompilowane dla jednego procesora na innym
27b30e9c
JR
269 procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na
270 niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru
271 słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne
5a2da1d0
JB
272 cele QEMU.
273
27b30e9c
JR
274- Pełna emulacja systemu. W tym trybie QEMU emuluje cały system,
275 włączając w to procesor i różne urządzenia peryferyjne. Może być także
276 używane do wirtualnego hostowania kilku wirtualnych pecetów na
8799423b 277 pojedynczym serwerze.
5a2da1d0 278
f6b5cdb2
JB
279%package devel
280Summary: Header file for QEMU plugins development
281Summary(pl.UTF-8): Plik nagłówkowy do tworzenia wtyczek QEMU
282Group: Development/Libraries
283BuildArch: noarch
284
285%description devel
286Header file for QEMU plugins development.
287
288%description devel -l pl.UTF-8
289Plik nagłówkowy do tworzenia wtyczek QEMU.
290
d86014ba 291%package common
fabf5a9c 292Summary: QEMU common files needed by all QEMU targets
d86014ba 293Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
28956417 294Group: Applications/Emulators
c980f439 295Requires(post,preun,postun): systemd-units >= 38
14b9f266
AG
296Requires(postun): /usr/sbin/groupdel
297Requires(postun): /usr/sbin/userdel
298Requires(pre): /bin/id
299Requires(pre): /usr/bin/getgid
300Requires(pre): /usr/sbin/groupadd
301Requires(pre): /usr/sbin/useradd
ccd394c8 302Requires: glib2 >= 1:2.64
f6b5cdb2 303Requires: gnutls-libs >= 3.6.14
cb96aade 304%{?with_gtk3:Requires: gtk+3 >= 3.22.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
ccd394c8 814Requires: glib2 >= 1:2.64
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
ae1c5c71
JK
852%package module-block-curl
853Summary: QEMU module for 'curl' block devices
854Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
28956417 855Group: Applications/Emulators
ae1c5c71 856Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 857Requires: curl-libs >= 7.29.0
ae1c5c71
JK
858
859%description module-block-curl
28956417
JB
860QEMU block device support for CURL. It allows to access remote disks
861over http, https, ftp and other transports provided by the CURL
862library.
ae1c5c71
JK
863
864%description module-block-curl -l pl.UTF-8
28956417
JB
865Moduł QEMU dla urządeń blokowych CURL. Pozwala na dostęp do zdalnych
866dysków poprzez http, https, ftp i inne protokoły obsługiwane przez
867bibliotekę CURL.
ae1c5c71
JK
868
869%package module-block-gluster
870Summary: QEMU module for 'gluster' block devices
871Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster'
28956417 872Group: Applications/Emulators
ae1c5c71 873Requires: %{name}-common = %{version}-%{release}
81e9a720 874Requires: glusterfs-libs >= 6
ae1c5c71
JK
875
876%description module-block-gluster
28956417 877QEMU block device support for remote Gluster storage.
ae1c5c71
JK
878
879%description module-block-gluster -l pl.UTF-8
28956417
JB
880Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni
881dyskowej Gluster.
ae1c5c71
JK
882
883%package module-block-iscsi
884Summary: QEMU module for 'iscsi' block devices
885Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi'
28956417 886Group: Applications/Emulators
ae1c5c71 887Requires: %{name}-common = %{version}-%{release}
3187b8cc 888Requires: libiscsi >= 1.9.0
ae1c5c71
JK
889
890%description module-block-iscsi
28956417 891QEMU block device support for iSCSI volumes.
ae1c5c71
JK
892
893%description module-block-iscsi -l pl.UTF-8
28956417
JB
894Moduł urządzeń blokowych QEMU do dostępu do wolumenów iSCSI.
895
896%package module-block-nfs
897Summary: QEMU module for 'nfs' block devices
898Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'nfs'
899Group: Applications/Emulators
900Requires: %{name}-common = %{version}-%{release}
901Requires: libnfs >= 1.9.3
902
903%description module-block-nfs
904QEMU block device support for remote NFS storage.
905
906%description module-block-nfs -l pl.UTF-8
907Moduł urządzeń blokowych QEMU do dostępu do zdalnej przestrzeni po
908NFS.
ae1c5c71
JK
909
910%package module-block-rbd
911Summary: QEMU module for 'rbd' block devices
912Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd'
28956417 913Group: Applications/Emulators
ae1c5c71 914Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 915Requires: ceph-libs >= 12
ae1c5c71
JK
916
917%description module-block-rbd
28956417 918QEMU block device support for Ceph/RBD volumes.
ae1c5c71
JK
919
920%description module-block-rbd -l pl.UTF-8
28956417 921Moduł urządzeń blokowych QEMU do wolumenów Ceph/RBD.
ae1c5c71
JK
922
923%package module-block-ssh
924Summary: QEMU module for 'ssh' block devices
925Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh'
28956417 926Group: Applications/Emulators
ae1c5c71 927Requires: %{name}-common = %{version}-%{release}
f6b5cdb2 928Requires: libssh >= 0.8.7
ae1c5c71
JK
929
930%description module-block-ssh
28956417
JB
931QEMU block device support for accessing remote disks using the Secure
932Shell (SSH) protocol.
ae1c5c71
JK
933
934%description module-block-ssh -l pl.UTF-8
28956417
JB
935Moduł urządzeń blokowych QEMU do dostępu do zdalnych dysków poprzez
936protokół SSH (Secure Shell).
937
ccd394c8
JB
938%package module-ui-dbus
939Summary: QEMU DBus UI driver
940Summary(pl.UTF-8): Sterownik interfejsu użytkownika DBus dla QEMU
941Group: Applications/Emulators
942Requires: %{name}-common = %{version}-%{release}
943
944%description module-ui-dbus
945QEMU DBus UI driver.
946
947%description module-ui-dbus -l pl.UTF-8
948Sterownik interfejsu użytkownika DBus dla QEMU.
949
28956417
JB
950%package module-ui-gtk
951Summary: QEMU GTK UI driver
952Summary(pl.UTF-8): Sterownik interfejsu użytkownika GTK dla QEMU
953Group: Applications/Emulators
954Requires: %{name}-common = %{version}-%{release}
955
956%description module-ui-gtk
957QEMU GTK UI driver.
958
959%description module-ui-gtk -l pl.UTF-8
960Sterownik interfejsu użytkownika GTK dla QEMU.
961
962%package module-ui-sdl
963Summary: QEMU SDL UI and audio driver
964Summary(pl.UTF-8): Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU
965Group: Applications/Emulators
966Requires: %{name}-common = %{version}-%{release}
967
968%description module-ui-sdl
969QEMU SDL UI and audio driver.
970
971%description module-ui-sdl -l pl.UTF-8
972Sterownik interfejsu użytkownika i dźwięku SDL dla QEMU.
ae1c5c71 973
1b60612d
JB
974%package -n systemtap-qemu
975Summary: systemtap/dtrace probes for QEMU
976Summary(pl.UTF-8): Sondy systemtap/dtrace dla QEMU
977Group: Development/Tools
978Requires: %{name}-common = %{version}-%{release}
979Requires: systemtap-client
980
981%description -n systemtap-qemu
982systemtap/dtrace probes for QEMU.
983
984%description -n systemtap-qemu -l pl.UTF-8
985Sondy systemtap/dtrace dla QEMU.
986
d155a8f0
JB
987%package -n libvfio-user
988Summary: vfio-user library
989Summary(pl.UTF-8): Biblioteka vfio-user
990Group: Libraries
991Requires: json-c >= 0.11
992
993%description -n libvfio-user
994vfio-user is a framework that allows implementing PCI devices in
995userspace. Clients (such as qemu) talk the vfio-user protocol over a
996UNIX socket to a server. This library, libvfio-user, provides an API
997for implementing such servers.
998
999%description -n libvfio-user -l pl.UTF-8
1000vfio-user to szkielet pozwalający implementować urządzenia PCI w
1001przestrzeni użytkownika. Klienci (jak qemu) komunikują się z serwerem
1002protokołem vfio-user przez gniazdo uniksowe.
1003
1004%package -n libvfio-user-devel
1005Summary: Header files for vfio-user library
1006Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vfio-user
1007Group: Development/Libraries
1008Requires: libvfio-user = %{version}-%{release}
1009
1010%description -n libvfio-user-devel
1011Header files for vfio-user library.
1012
1013%description -n libvfio-user-devel -l pl.UTF-8
1014Pliki nagłówkowe biblioteki vfio-user.
1015
cd19124e 1016%prep
c21a255a 1017%setup -q
3c6e2290 1018%patch0 -p1
5bfaccb7 1019%patch1 -p1
a782bf0f 1020%patch2 -p1
99df371e 1021%patch3 -p1
f6b5cdb2 1022%patch5 -p1
ccd394c8 1023%patch6 -p1
d155a8f0
JB
1024%patch7 -p1
1025%patch8 -p1
cc59f32b 1026%patch9 -p1
c18e9cf6 1027
1b60612d 1028%{__sed} -i '1s,/usr/bin/env python3,%{__python3},' scripts/qemu-trace-stap
bd30ad73 1029
1b60612d
JB
1030%if %{with systemtap}
1031# don't require stap binary during build
f6b5cdb2 1032%{__sed} -i -e "s/stap.found()/true/" meson.build docs/meson.build scripts/meson.build
1b60612d 1033%endif
f6b5cdb2 1034
f5ef6d13
JB
1035%if %{without smartcard}
1036%{__sed} -i -e '/^config USB_SMARTCARD/,/^$/ s/default y/default n/' hw/usb/Kconfig
1037%endif
1038%ifarch x32
1039# xen-emu supports only LP64 __x86_64__ case
1040%{__sed} -i -e '/^config XEN_EMU/,$ s/default y/default n/' hw/i386/Kconfig
1041%endif
1042
80bac37e 1043%build
a75bdea7
ER
1044
1045build() {
1046 local target=$1
1047 shift
1048
1049 install -d build-$target
1050 cd build-$target
1051
1052 ../configure \
8bd2aee2 1053 --prefix=%{_prefix} \
ae1c5c71
JK
1054 --libdir=%{_libdir} \
1055 --libexecdir=%{_libexecdir} \
87364910 1056 --sysconfdir=%{_sysconfdir} \
a75bdea7
ER
1057 --localstatedir=%{_localstatedir} \
1058 --interp-prefix=%{_libdir}/qemu/lib-%%M \
98a1a188 1059 --cc="%{__cc}" \
e31a0f25 1060 --cxx="%{__cxx}" \
98a1a188 1061 --host-cc="%{__cc}" \
5263f8f5 1062 --disable-strip \
a75bdea7
ER
1063 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
1064 --enable-kvm \
1065 "$@"
1066
1067 %{__make} \
f5ef6d13 1068 V=1
a75bdea7
ER
1069
1070 cd ..
1071}
1072
1073build dynamic \
92618e32
JP
1074 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
1075 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
f6b5cdb2 1076 --audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
78a71650 1077 --enable-attr \
78ff8fc0 1078 %{__enable_disable brlapi} \
0f04d157 1079 %{__enable_disable canokey} \
78a71650 1080 --enable-cap-ng \
b5882bc5 1081 --enable-capstone \
78a71650
JB
1082 --enable-curl \
1083 --enable-curses \
87364910 1084 --enable-docs \
78a71650 1085 --enable-fdt \
449d43aa 1086 %{__enable_disable glusterfs} \
81e9a720 1087 %{!?with_gtk3:--disable-gtk} \
78ff8fc0 1088 %{__enable_disable iscsi libiscsi} \
81e9a720 1089 %{__enable_disable libnfs} \
d4835466 1090 %{__enable_disable pmem libpmem} \
81e9a720
JB
1091 --enable-lzo \
1092 %{__enable_disable multipath mpath} \
1093 --enable-modules \
1094 --disable-netmap \
1095 --enable-nettle \
78a71650 1096 %{__enable_disable ceph rbd} \
80dbeed1 1097 %{__enable_disable rdma} \
78a71650 1098 %{__enable_disable sdl} \
78ff8fc0 1099 %{__enable_disable seccomp} \
8806a92d 1100 --enable-slirp \
59bc1300 1101 %{__enable_disable spice} \
51b0e9f0 1102 %{__enable_disable smartcard} \
81e9a720 1103 %{__enable_disable snappy} \
ce44b534 1104 --enable-tpm \
78ff8fc0 1105 %{__enable_disable usbredir usb-redir} \
78a71650 1106 --enable-vde \
d155a8f0 1107 %{?with_vfio_user:--enable-vfio-user-server} \
81e9a720 1108 %{__enable_disable virgl virglrenderer} \
78a71650
JB
1109 --enable-virtfs \
1110 --enable-vnc-jpeg \
1111 --enable-vnc-sasl \
3187b8cc 1112 %{!?with_vte:--disable-vte} \
78a71650 1113 %{__enable_disable xen} \
81e9a720 1114 %{__enable_disable xkbcommon}
ce44b534 1115
a75bdea7
ER
1116%if %{with user_static}
1117build static \
1118 --disable-brlapi \
0f04d157 1119 --disable-canokey \
a75bdea7 1120 --disable-cap-ng \
e31a0f25 1121 --disable-capstone \
a75bdea7
ER
1122 --disable-curl \
1123 --disable-curses \
1124 --disable-gcrypt \
1125 --disable-gnutls \
1126 --disable-gtk \
1127 --disable-guest-agent \
1128 --disable-guest-agent-msi \
1129 --disable-libnfs \
d4835466 1130 --disable-linux-io-uring \
81e9a720 1131 --disable-mpath \
a75bdea7
ER
1132 --disable-nettle \
1133 --disable-pie \
1134 --disable-sdl \
cfb9a655 1135 --disable-slirp \
a75bdea7 1136 --disable-spice \
81e9a720 1137 --disable-system \
a75bdea7 1138 --disable-tools \
a75bdea7 1139 --enable-user \
81e9a720 1140 --disable-xkbcommon \
d4835466 1141 --disable-zstd \
a75bdea7 1142 --static
a75bdea7 1143%endif
cd19124e 1144
9fdf235e
JR
1145%{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1146
cd19124e 1147%install
1148rm -rf $RPM_BUILD_ROOT
51327cc0 1149install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
70523569
JB
1150 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1151 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
5a2da1d0 1152
a75bdea7
ER
1153%if %{with user_static}
1154%{__make} -C build-static install \
a75bdea7
ER
1155 DESTDIR=$RPM_BUILD_ROOT
1156
1157# Give all QEMU user emulators a -static suffix
1158for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
81e9a720 1159 %{__mv} $src $src-static
a75bdea7
ER
1160done
1161
1162%endif
1163
1164%{__make} -C build-dynamic install \
ae1c5c71 1165 DESTDIR=$RPM_BUILD_ROOT
ac6e5743 1166
81e9a720
JB
1167# let rpm generate dependencies
1168chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1169
b418165e
MM
1170echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1171
a91fea76 1172install -d $RPM_BUILD_ROOT%{_sysconfdir}
1173cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
ac6e5743 1174#!/bin/sh
a91fea76 1175
ac6e5743 1176EOF
a62a2d89 1177
5ed67169
JR
1178install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1179
e53a3a53 1180%ifarch %{ix86} %{x8664} x32
41ed6e2c 1181install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
70523569 1182install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
41ed6e2c
JR
1183%endif
1184
9fdf235e
JR
1185install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1186install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1187install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1188
1189install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1190install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1191install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1192
93473205
JR
1193# For the qemu-guest-agent subpackage install the systemd
1194# service and udev rules.
1195install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
70523569 1196install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
93473205 1197
ccb0f0ea
AM
1198install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1199install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1200
cfb9a655
JB
1201cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
1202
7babf190 1203# Install binfmt
e02a00f9 1204BINFMT_CPUS=" \
e53a3a53 1205%ifnarch %{ix86} %{x8664} x32
e02a00f9
JP
1206 i386 x86_64 \
1207%endif
1208%ifnarch aarch64
1209 aarch64 \
a78c5672 1210%endif
7babf190 1211%ifnarch alpha
e02a00f9 1212 alpha \
7babf190
ER
1213%endif
1214%ifnarch %{arm}
e02a00f9 1215 arm \
a78c5672 1216%endif
e02a00f9
JP
1217 aarch64_be \
1218 armeb \
1219 microblaze microblazeel \
7babf190 1220%ifnarch mips64
e02a00f9 1221 mips64 \
7babf190 1222%ifnarch mips
e02a00f9 1223 mips \
7babf190
ER
1224%endif
1225%endif
1226%ifnarch mips64el
e02a00f9 1227 mips64el \
7babf190 1228%ifnarch mipsel
e02a00f9 1229 mipsel \
7babf190
ER
1230%endif
1231%endif
1232%ifnarch m68k
e02a00f9 1233 m68k \
7babf190
ER
1234%endif
1235%ifnarch ppc ppc64 ppc64le
e02a00f9 1236 ppc ppc64 ppc64le \
a78c5672
JR
1237%endif
1238%ifnarch sparc sparc64
e02a00f9 1239 sparc sparc32plus sparc64 \
7babf190
ER
1240%endif
1241%ifnarch s390 s390x
e02a00f9 1242 s390x \
a78c5672
JR
1243%endif
1244%ifnarch sh4
e02a00f9 1245 sh4 \
a78c5672 1246%endif
e02a00f9
JP
1247 sh4eb \
1248"
1249
1250if [ -n "$BINFMT_CPUS" ]; then
1251 for cpu in $BINFMT_CPUS; do
1252 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1253 done
28956417
JB
1254 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1255 %{__mv} $i ${i%.conf}-dynamic.conf
e02a00f9 1256 done
e14b0c24
ER
1257
1258 %if %{with user_static}
e02a00f9
JP
1259 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1260 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1261 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1262 done
e14b0c24 1263 %endif
e02a00f9 1264fi
a78c5672 1265
af556ac1 1266%if %{with system_seabios}
ae1c5c71
JK
1267ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1268# bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
af556ac1
JK
1269%endif
1270
f4914ae2 1271%if %{with gtk3}
008c880e
ER
1272%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1273%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
a56d4cfd 1274%find_lang %{name}
78ff8fc0
JK
1275%else
1276: > qemu.lang
1277%endif
a56d4cfd 1278
cb96aade
JP
1279for t in client server; do
1280 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1281done
1282
f6b5cdb2
JB
1283# test modules
1284%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/accel-qtest-*.so
1a808d89 1285# Windows installer icon, not used
81e9a720
JB
1286%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1287# packaged as %doc
1288%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
28956417
JB
1289
1290# cleanup Sphinx files
4171a999 1291%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{.buildinfo,objects.inv}
2f80d753 1292
cd19124e 1293%clean
1294rm -rf $RPM_BUILD_ROOT
1295
c1d653f6 1296%pre common
a45c10b6 1297%groupadd -g 160 kvm
c1d653f6 1298%groupadd -g 276 qemu
a45c10b6 1299%useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
c1d653f6 1300
9fdf235e
JR
1301%post common
1302%systemd_post ksm.service
1303%systemd_post ksmtuned.service
1304
1305%preun common
1306%systemd_preun ksm.service
1307%systemd_preun ksmtuned.service
1308
c1d653f6
AG
1309%postun common
1310if [ "$1" = "0" ]; then
1311 %userremove qemu
1312 %groupremove qemu
a45c10b6 1313 %groupremove kvm
c1d653f6 1314fi
9fdf235e
JR
1315%systemd_reload
1316
1317%triggerpostun common -- qemu-common < 1.6.1-4
1318%systemd_trigger ksm.service
1319%systemd_trigger ksmtuned.service
cfb9a655 1320%systemd_trigger qemu-pr-helper.service
c1d653f6 1321
a78c5672 1322%post user
ba74f3cd 1323%systemd_post systemd-binfmt.service
a78c5672
JR
1324
1325%postun user
ba74f3cd 1326%systemd_post systemd-binfmt.service
a78c5672 1327
e14b0c24 1328%post user-static
ba74f3cd 1329%systemd_post systemd-binfmt.service
e14b0c24
ER
1330
1331%postun user-static
ba74f3cd 1332%systemd_post systemd-binfmt.service
e14b0c24 1333
93473205 1334%post guest-agent
ccb0f0ea
AM
1335/sbin/chkconfig --add qemu-ga
1336%service qemu-ga restart "qemu-ga"
93473205
JR
1337%systemd_reload
1338
1339%preun guest-agent
ccb0f0ea 1340if [ "$1" = "0" ]; then
c43b327d
TP
1341 %service qemu-ga stop
1342 /sbin/chkconfig --del qemu-ga
ccb0f0ea 1343fi
93473205
JR
1344%systemd_preun qemu-guest-agent.service
1345
1346%postun guest-agent
1347%systemd_reload
1348
d155a8f0
JB
1349%post -n libvfio-user -p /sbin/ldconfig
1350%postun -n libvfio-user -p /sbin/ldconfig
1351
cd19124e 1352%files
1353%defattr(644,root,root,755)
fabf5a9c 1354
f6b5cdb2
JB
1355%files devel
1356%defattr(644,root,root,755)
1357%{_includedir}/qemu-plugin.h
1358
a56d4cfd 1359%files common -f %{name}.lang
fabf5a9c 1360%defattr(644,root,root,755)
28956417 1361%doc LICENSE README.rst pc-bios/edk2-licenses.txt
a91fea76 1362%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
c980f439 1363%config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
5ed67169 1364%config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
c980f439 1365%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
b418165e
MM
1366%dir /etc/qemu
1367%attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
c980f439
JR
1368%{systemdunitdir}/ksm.service
1369%{systemdunitdir}/ksmtuned.service
cfb9a655
JB
1370%{systemdunitdir}/qemu-pr-helper.service
1371%{systemdunitdir}/qemu-pr-helper.socket
2f80d753 1372%attr(755,root,root) %{_bindir}/elf2dmp
cb96aade
JP
1373%attr(755,root,root) %{_bindir}/ivshmem-client
1374%attr(755,root,root) %{_bindir}/ivshmem-server
2f80d753 1375%attr(755,root,root) %{_bindir}/qemu-edid
81e9a720
JB
1376%if %{with xkbcommon}
1377%attr(755,root,root) %{_bindir}/qemu-keymap
1378%endif
fabf5a9c 1379%attr(755,root,root) %{_bindir}/qemu-nbd
1f265cee 1380%attr(755,root,root) %{_bindir}/qemu-pr-helper
28956417 1381%attr(755,root,root) %{_bindir}/qemu-storage-daemon
c980f439
JR
1382%attr(755,root,root) %{_sbindir}/ksmctl
1383%attr(755,root,root) %{_sbindir}/ksmtuned
81e9a720 1384%attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
e31a0f25
JB
1385%if %{with virgl}
1386%attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1387%endif
92618e32 1388%attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
ae1c5c71 1389%dir %{_libdir}/%{name}
54b666b7 1390# modules without too many external dependencies
8806a92d 1391%attr(755,root,root) %{_libdir}/%{name}/block-blkio.so
67bf71fa 1392%attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
81e9a720 1393%attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
f6b5cdb2
JB
1394%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-i386.so
1395%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-x86_64.so
1777be93 1396%attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
81e9a720
JB
1397%if %{with oss}
1398%attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1399%endif
1400%if %{with pulseaudio}
1401%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1402%endif
cb96aade 1403%if %{with brlapi}
92618e32 1404%attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
cb96aade 1405%endif
92618e32 1406%attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
92618e32 1407%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
54e46ffc 1408%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so}
f6b5cdb2 1409%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
54e46ffc 1410%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so}
92618e32 1411%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
f6b5cdb2 1412%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
4171a999 1413%attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
f6b5cdb2 1414%attr(755,root,root) %{_libdir}/%{name}/hw-usb-host.so
1777be93 1415%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
92618e32
JP
1416%if %{with usbredir}
1417%attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1418%endif
1419%if %{with smartcard}
1420%attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1421%endif
1422%if %{with opengl}
1423%attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1424%attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1425%endif
81e9a720 1426%if %{with spice}
92618e32
JP
1427%attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1428%attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
81e9a720 1429%attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
92618e32 1430%attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
81e9a720 1431%endif
28956417
JB
1432%dir %{_datadir}/%{name}
1433%dir %{_datadir}/%{name}/firmware
1434%{_datadir}/%{name}/keymaps
1435%{_datadir}/%{name}/trace-events-all
28956417 1436%if %{with virgl}
54e46ffc 1437%dir %{_datadir}/%{name}/vhost-user
28956417
JB
1438%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1439%endif
28956417
JB
1440%{_desktopdir}/qemu.desktop
1441%{_iconsdir}/hicolor/*x*/apps/qemu.png
1442%{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1443%{_iconsdir}/hicolor/scalable/apps/qemu.svg
1444%{_mandir}/man1/qemu.1*
4171a999 1445%{_mandir}/man1/qemu-storage-daemon.1*
28956417 1446%{_mandir}/man1/virtfs-proxy-helper.1*
28956417
JB
1447%{_mandir}/man7/qemu-block-drivers.7*
1448%{_mandir}/man7/qemu-cpu-models.7*
1449%{_mandir}/man7/qemu-qmp-ref.7*
4171a999 1450%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
28956417 1451%{_mandir}/man8/qemu-nbd.8*
92618e32 1452%{_mandir}/man8/qemu-pr-helper.8*
28956417 1453%{_docdir}/qemu
1777be93 1454
fabf5a9c
ER
1455%files img
1456%defattr(644,root,root,755)
1457%attr(755,root,root) %{_bindir}/qemu-img
1458%{_mandir}/man1/qemu-img.1*
1459
1460%files user
1461%defattr(644,root,root,755)
e14b0c24 1462/usr/lib/binfmt.d/qemu-*-dynamic.conf
ae1c5c71 1463%attr(755,root,root) %{_bindir}/qemu-aarch64
1777be93 1464%attr(755,root,root) %{_bindir}/qemu-aarch64_be
fabf5a9c
ER
1465%attr(755,root,root) %{_bindir}/qemu-alpha
1466%attr(755,root,root) %{_bindir}/qemu-arm
1467%attr(755,root,root) %{_bindir}/qemu-armeb
1468%attr(755,root,root) %{_bindir}/qemu-cris
4171a999 1469%attr(755,root,root) %{_bindir}/qemu-hexagon
cdd6b92f 1470%attr(755,root,root) %{_bindir}/qemu-hppa
59bc1300 1471%attr(755,root,root) %{_bindir}/qemu-i386
fabf5a9c 1472%attr(755,root,root) %{_bindir}/qemu-io
b5882bc5 1473%attr(755,root,root) %{_bindir}/qemu-loongarch64
fabf5a9c
ER
1474%attr(755,root,root) %{_bindir}/qemu-m68k
1475%attr(755,root,root) %{_bindir}/qemu-microblaze
1476%attr(755,root,root) %{_bindir}/qemu-microblazeel
1477%attr(755,root,root) %{_bindir}/qemu-mips
1478%attr(755,root,root) %{_bindir}/qemu-mipsel
a56d4cfd
JB
1479%attr(755,root,root) %{_bindir}/qemu-mips64
1480%attr(755,root,root) %{_bindir}/qemu-mips64el
1481%attr(755,root,root) %{_bindir}/qemu-mipsn32
1482%attr(755,root,root) %{_bindir}/qemu-mipsn32el
cdd6b92f 1483%attr(755,root,root) %{_bindir}/qemu-nios2
05e8f0a4 1484%attr(755,root,root) %{_bindir}/qemu-or1k
fabf5a9c
ER
1485%attr(755,root,root) %{_bindir}/qemu-ppc
1486%attr(755,root,root) %{_bindir}/qemu-ppc64
f39d158a 1487%attr(755,root,root) %{_bindir}/qemu-ppc64le
1777be93
JP
1488%attr(755,root,root) %{_bindir}/qemu-riscv32
1489%attr(755,root,root) %{_bindir}/qemu-riscv64
fabf5a9c
ER
1490%attr(755,root,root) %{_bindir}/qemu-s390x
1491%attr(755,root,root) %{_bindir}/qemu-sh4
1492%attr(755,root,root) %{_bindir}/qemu-sh4eb
1493%attr(755,root,root) %{_bindir}/qemu-sparc
1494%attr(755,root,root) %{_bindir}/qemu-sparc32plus
1495%attr(755,root,root) %{_bindir}/qemu-sparc64
59bc1300 1496%attr(755,root,root) %{_bindir}/qemu-x86_64
1777be93
JP
1497%attr(755,root,root) %{_bindir}/qemu-xtensa
1498%attr(755,root,root) %{_bindir}/qemu-xtensaeb
fabf5a9c 1499
a75bdea7
ER
1500%if %{with user_static}
1501%files user-static
1502%defattr(644,root,root,755)
e14b0c24 1503/usr/lib/binfmt.d/qemu-*-static.conf
a75bdea7 1504%attr(755,root,root) %{_bindir}/qemu-aarch64-static
1777be93 1505%attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
a75bdea7
ER
1506%attr(755,root,root) %{_bindir}/qemu-alpha-static
1507%attr(755,root,root) %{_bindir}/qemu-arm-static
1508%attr(755,root,root) %{_bindir}/qemu-armeb-static
1509%attr(755,root,root) %{_bindir}/qemu-cris-static
4171a999 1510%attr(755,root,root) %{_bindir}/qemu-hexagon-static
cdd6b92f 1511%attr(755,root,root) %{_bindir}/qemu-hppa-static
a75bdea7 1512%attr(755,root,root) %{_bindir}/qemu-i386-static
842f057a 1513%attr(755,root,root) %{_bindir}/qemu-loongarch64-static
a75bdea7
ER
1514%attr(755,root,root) %{_bindir}/qemu-m68k-static
1515%attr(755,root,root) %{_bindir}/qemu-microblaze-static
1516%attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1517%attr(755,root,root) %{_bindir}/qemu-mips-static
1518%attr(755,root,root) %{_bindir}/qemu-mips64-static
1519%attr(755,root,root) %{_bindir}/qemu-mips64el-static
1520%attr(755,root,root) %{_bindir}/qemu-mipsel-static
1521%attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1522%attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
cdd6b92f 1523%attr(755,root,root) %{_bindir}/qemu-nios2-static
05e8f0a4 1524%attr(755,root,root) %{_bindir}/qemu-or1k-static
a75bdea7
ER
1525%attr(755,root,root) %{_bindir}/qemu-ppc-static
1526%attr(755,root,root) %{_bindir}/qemu-ppc64-static
a75bdea7 1527%attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1777be93
JP
1528%attr(755,root,root) %{_bindir}/qemu-riscv32-static
1529%attr(755,root,root) %{_bindir}/qemu-riscv64-static
a75bdea7
ER
1530%attr(755,root,root) %{_bindir}/qemu-s390x-static
1531%attr(755,root,root) %{_bindir}/qemu-sh4-static
1532%attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1533%attr(755,root,root) %{_bindir}/qemu-sparc-static
1534%attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1535%attr(755,root,root) %{_bindir}/qemu-sparc64-static
a75bdea7 1536%attr(755,root,root) %{_bindir}/qemu-x86_64-static
1777be93
JP
1537%attr(755,root,root) %{_bindir}/qemu-xtensa-static
1538%attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
f771d7dc 1539%{?with_systemtap:%attr(755,root,root) %{_bindir}/qemu-trace-stap-static}
a75bdea7
ER
1540%endif
1541
ae1c5c71
JK
1542%files system-aarch64
1543%defattr(644,root,root,755)
1544%attr(755,root,root) %{_bindir}/qemu-system-aarch64
290ffd23
JP
1545%{_datadir}/%{name}/edk2-aarch64-code.fd
1546%{_datadir}/%{name}/firmware/60-edk2-aarch64.json
ae1c5c71 1547
fabf5a9c
ER
1548%files system-alpha
1549%defattr(644,root,root,755)
1550%attr(755,root,root) %{_bindir}/qemu-system-alpha
81e9a720 1551%{_datadir}/%{name}/palcode-clipper
fabf5a9c
ER
1552
1553%files system-arm
1554%defattr(644,root,root,755)
1555%attr(755,root,root) %{_bindir}/qemu-system-arm
290ffd23
JP
1556%{_datadir}/%{name}/edk2-arm-code.fd
1557%{_datadir}/%{name}/edk2-arm-vars.fd
1558%{_datadir}/%{name}/firmware/60-edk2-arm.json
92618e32
JP
1559%{_datadir}/%{name}/npcm7xx_bootrom.bin
1560
1561%files system-avr
1562%defattr(644,root,root,755)
1563%attr(755,root,root) %{_bindir}/qemu-system-avr
fabf5a9c
ER
1564
1565%files system-cris
1566%defattr(644,root,root,755)
1567%attr(755,root,root) %{_bindir}/qemu-system-cris
1568
1777be93
JP
1569%files system-hppa
1570%defattr(644,root,root,755)
1571%attr(755,root,root) %{_bindir}/qemu-system-hppa
1572%{_datadir}/%{name}/hppa-firmware.img
1573
fabf5a9c
ER
1574%files system-m68k
1575%defattr(644,root,root,755)
1576%attr(755,root,root) %{_bindir}/qemu-system-m68k
1577
1578%files system-microblaze
1579%defattr(644,root,root,755)
1580%attr(755,root,root) %{_bindir}/qemu-system-microblaze
1581%attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1582
1583%files system-mips
1584%defattr(644,root,root,755)
b5882bc5 1585%attr(755,root,root) %{_bindir}/qemu-system-loongarch64
fabf5a9c
ER
1586%attr(755,root,root) %{_bindir}/qemu-system-mips
1587%attr(755,root,root) %{_bindir}/qemu-system-mipsel
1588%attr(755,root,root) %{_bindir}/qemu-system-mips64
1589%attr(755,root,root) %{_bindir}/qemu-system-mips64el
1590
cdd6b92f
JP
1591%files system-nios2
1592%defattr(644,root,root,755)
1593%attr(755,root,root) %{_bindir}/qemu-system-nios2
1594
05e8f0a4 1595%files system-or1k
92c357d4 1596%defattr(644,root,root,755)
05e8f0a4 1597%attr(755,root,root) %{_bindir}/qemu-system-or1k
92c357d4 1598
fabf5a9c
ER
1599%files system-ppc
1600%defattr(644,root,root,755)
1601%attr(755,root,root) %{_bindir}/qemu-system-ppc
1602%attr(755,root,root) %{_bindir}/qemu-system-ppc64
81e9a720 1603%{_datadir}/%{name}/bamboo.dtb
1777be93 1604%{_datadir}/%{name}/canyonlands.dtb
81e9a720
JB
1605%{_datadir}/%{name}/openbios-ppc
1606%{_datadir}/%{name}/petalogix-ml605.dtb
1607%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
b3255247 1608%{_datadir}/%{name}/qemu_vga.ndrv
81e9a720
JB
1609%{_datadir}/%{name}/skiboot.lid
1610%{_datadir}/%{name}/slof.bin
f39d158a 1611%{_datadir}/%{name}/u-boot.e500
1777be93 1612%{_datadir}/%{name}/u-boot-sam460-20100605.bin
ccd394c8
JB
1613%{_datadir}/%{name}/vof.bin
1614%{_datadir}/%{name}/vof-nvram.bin
1777be93
JP
1615
1616%files system-riscv32
1617%defattr(644,root,root,755)
1618%attr(755,root,root) %{_bindir}/qemu-system-riscv32
92618e32 1619%{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1777be93
JP
1620
1621%files system-riscv64
1622%defattr(644,root,root,755)
1623%attr(755,root,root) %{_bindir}/qemu-system-riscv64
92618e32 1624%{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
fabf5a9c 1625
28956417
JB
1626%files system-rx
1627%defattr(644,root,root,755)
1628%attr(755,root,root) %{_bindir}/qemu-system-rx
1629
fabf5a9c
ER
1630%files system-s390x
1631%defattr(644,root,root,755)
1632%attr(755,root,root) %{_bindir}/qemu-system-s390x
81e9a720 1633%{_datadir}/%{name}/s390-ccw.img
b3255247 1634%{_datadir}/%{name}/s390-netboot.img
fabf5a9c
ER
1635
1636%files system-sh4
1637%defattr(644,root,root,755)
1638%attr(755,root,root) %{_bindir}/qemu-system-sh4
1639%attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1640
1641%files system-sparc
1642%defattr(644,root,root,755)
1643%attr(755,root,root) %{_bindir}/qemu-system-sparc
1644%attr(755,root,root) %{_bindir}/qemu-system-sparc64
81e9a720
JB
1645%{_datadir}/%{name}/QEMU,cgthree.bin
1646%{_datadir}/%{name}/QEMU,tcx.bin
1647%{_datadir}/%{name}/openbios-sparc32
1648%{_datadir}/%{name}/openbios-sparc64
fabf5a9c 1649
112b8450
AM
1650%files system-tricore
1651%defattr(644,root,root,755)
1652%attr(755,root,root) %{_bindir}/qemu-system-tricore
1653
fabf5a9c
ER
1654%files system-x86
1655%defattr(644,root,root,755)
1656%attr(755,root,root) %{_bindir}/qemu-system-i386
1657%attr(755,root,root) %{_bindir}/qemu-system-x86_64
e53a3a53 1658%ifarch %{ix86} %{x8664} x32
41ed6e2c 1659%config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
70523569 1660/lib/udev/rules.d/80-kvm.rules
41ed6e2c 1661%endif
af556ac1 1662%{_datadir}/%{name}/bios.bin
ae1c5c71 1663%{_datadir}/%{name}/bios-256k.bin
26eb5196 1664%{_datadir}/%{name}/bios-microvm.bin
290ffd23
JP
1665%{_datadir}/%{name}/edk2-i386-code.fd
1666%{_datadir}/%{name}/edk2-i386-secure-code.fd
1667%{_datadir}/%{name}/edk2-i386-vars.fd
1668%{_datadir}/%{name}/edk2-x86_64-code.fd
1669%{_datadir}/%{name}/edk2-x86_64-secure-code.fd
81e9a720
JB
1670%{_datadir}/%{name}/efi-e1000e.rom
1671%{_datadir}/%{name}/efi-e1000.rom
1672%{_datadir}/%{name}/efi-eepro100.rom
1673%{_datadir}/%{name}/efi-ne2k_pci.rom
1674%{_datadir}/%{name}/efi-pcnet.rom
1675%{_datadir}/%{name}/efi-rtl8139.rom
1676%{_datadir}/%{name}/efi-virtio.rom
1677%{_datadir}/%{name}/efi-vmxnet3.rom
1678%{_datadir}/%{name}/kvmvapic.bin
1679%{_datadir}/%{name}/linuxboot.bin
1680%{_datadir}/%{name}/linuxboot_dma.bin
1681%{_datadir}/%{name}/multiboot.bin
f6b5cdb2 1682%{_datadir}/%{name}/multiboot_dma.bin
81e9a720
JB
1683%{_datadir}/%{name}/pvh.bin
1684%{_datadir}/%{name}/pxe-e1000.rom
1685%{_datadir}/%{name}/pxe-eepro100.rom
1686%{_datadir}/%{name}/pxe-ne2k_pci.rom
1687%{_datadir}/%{name}/pxe-pcnet.rom
1688%{_datadir}/%{name}/pxe-rtl8139.rom
1689%{_datadir}/%{name}/pxe-virtio.rom
92618e32 1690%{_datadir}/%{name}/qboot.rom
81e9a720
JB
1691%{_datadir}/%{name}/vgabios.bin
1692%{_datadir}/%{name}/vgabios-ati.bin
1693%{_datadir}/%{name}/vgabios-bochs-display.bin
1694%{_datadir}/%{name}/vgabios-cirrus.bin
1695%{_datadir}/%{name}/vgabios-qxl.bin
1696%{_datadir}/%{name}/vgabios-ramfb.bin
1697%{_datadir}/%{name}/vgabios-stdvga.bin
1698%{_datadir}/%{name}/vgabios-virtio.bin
1699%{_datadir}/%{name}/vgabios-vmware.bin
290ffd23
JP
1700%{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1701%{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1702%{_datadir}/%{name}/firmware/60-edk2-i386.json
1703%{_datadir}/%{name}/firmware/60-edk2-x86_64.json
fabf5a9c
ER
1704
1705%files system-xtensa
1706%defattr(644,root,root,755)
1707%attr(755,root,root) %{_bindir}/qemu-system-xtensa
1708%attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
93473205
JR
1709
1710%files guest-agent
008c880e 1711%defattr(644,root,root,755)
70523569
JB
1712%attr(755,root,root) %{_bindir}/qemu-ga
1713/lib/udev/rules.d/99-qemu-guest-agent.rules
93473205 1714%{systemdunitdir}/qemu-guest-agent.service
ccb0f0ea
AM
1715%attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1716%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
2f80d753 1717%{_mandir}/man7/qemu-ga-ref.7*
56eebfcf 1718%{_mandir}/man8/qemu-ga.8*
ae1c5c71 1719
f6b5cdb2
JB
1720%files module-audio-jack
1721%defattr(644,root,root,755)
1722%attr(755,root,root) %{_libdir}/%{name}/audio-jack.so
1723
ae1c5c71
JK
1724%files module-block-curl
1725%defattr(644,root,root,755)
1726%attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1727
c218d8d3 1728%if %{with glusterfs}
ae1c5c71
JK
1729%files module-block-gluster
1730%defattr(644,root,root,755)
1731%attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
c218d8d3 1732%endif
ae1c5c71 1733
c218d8d3 1734%if %{with iscsi}
ae1c5c71
JK
1735%files module-block-iscsi
1736%defattr(644,root,root,755)
1737%attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
c218d8d3 1738%endif
ae1c5c71 1739
28956417
JB
1740%if %{with libnfs}
1741%files module-block-nfs
1742%defattr(644,root,root,755)
1743%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1744%endif
1745
c218d8d3 1746%if %{with ceph}
ae1c5c71
JK
1747%files module-block-rbd
1748%defattr(644,root,root,755)
1749%attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
c218d8d3 1750%endif
ae1c5c71
JK
1751
1752%files module-block-ssh
1753%defattr(644,root,root,755)
1754%attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
28956417 1755
ccd394c8
JB
1756%files module-ui-dbus
1757%defattr(644,root,root,755)
1758%attr(755,root,root) %{_libdir}/%{name}/audio-dbus.so
1759%attr(755,root,root) %{_libdir}/%{name}/ui-dbus.so
1760
28956417
JB
1761%if %{with gtk3}
1762%files module-ui-gtk
1763%defattr(644,root,root,755)
1764%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1765%endif
1766
1767%if %{with sdl}
1768%files module-ui-sdl
1769%defattr(644,root,root,755)
1770%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1771%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1772%endif
1b60612d
JB
1773
1774%if %{with systemtap}
1775%files -n systemtap-qemu
1776%defattr(644,root,root,755)
1777%attr(755,root,root) %{_bindir}/qemu-trace-stap
1778%{_datadir}/systemtap/tapset/qemu-*.stp
1779%{_mandir}/man1/qemu-trace-stap.1*
1780%endif
d155a8f0
JB
1781
1782%if %{with vfio_user}
1783%files -n libvfio-user
1784%defattr(644,root,root,755)
1785%attr(755,root,root) %{_libdir}/libvfio-user.so.*.*.*
1786%attr(755,root,root) %ghost %{_libdir}/libvfio-user.so.0
1787
1788%files -n libvfio-user-devel
1789%defattr(644,root,root,755)
1790%attr(755,root,root) %{_libdir}/libvfio-user.so
1791%{_includedir}/vfio-user
1792%endif
This page took 0.788757 seconds and 4 git commands to generate.