]> git.pld-linux.org Git - packages/qemu.git/blame - qemu.spec
BR: libblkio-devel
[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
80bac37e 1035%build
a75bdea7
ER
1036
1037build() {
1038 local target=$1
1039 shift
1040
1041 install -d build-$target
1042 cd build-$target
1043
1044 ../configure \
8bd2aee2 1045 --prefix=%{_prefix} \
ae1c5c71
JK
1046 --libdir=%{_libdir} \
1047 --libexecdir=%{_libexecdir} \
87364910 1048 --sysconfdir=%{_sysconfdir} \
a75bdea7
ER
1049 --localstatedir=%{_localstatedir} \
1050 --interp-prefix=%{_libdir}/qemu/lib-%%M \
98a1a188 1051 --cc="%{__cc}" \
e31a0f25 1052 --cxx="%{__cxx}" \
98a1a188 1053 --host-cc="%{__cc}" \
5263f8f5 1054 --disable-strip \
a75bdea7
ER
1055 --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
1056 --enable-kvm \
1057 "$@"
1058
1059 %{__make} \
1060 V=1 \
1061 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
1062
1063 cd ..
1064}
1065
1066build dynamic \
92618e32
JP
1067 --extra-cflags="%{rpmcflags} %{rpmcppflags}" \
1068 --extra-ldflags="%{rpmldflags} -Wl,-z,relro -Wl,-z,now" \
f6b5cdb2 1069 --audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
78a71650 1070 --enable-attr \
78ff8fc0 1071 %{__enable_disable brlapi} \
0f04d157 1072 %{__enable_disable canokey} \
78a71650 1073 --enable-cap-ng \
b5882bc5 1074 --enable-capstone \
78a71650
JB
1075 --enable-curl \
1076 --enable-curses \
87364910 1077 --enable-docs \
78a71650 1078 --enable-fdt \
449d43aa 1079 %{__enable_disable glusterfs} \
81e9a720 1080 %{!?with_gtk3:--disable-gtk} \
78ff8fc0 1081 %{__enable_disable iscsi libiscsi} \
81e9a720 1082 %{__enable_disable libnfs} \
d4835466 1083 %{__enable_disable pmem libpmem} \
81e9a720
JB
1084 --enable-lzo \
1085 %{__enable_disable multipath mpath} \
1086 --enable-modules \
1087 --disable-netmap \
1088 --enable-nettle \
78a71650 1089 %{__enable_disable ceph rbd} \
80dbeed1 1090 %{__enable_disable rdma} \
78a71650 1091 %{__enable_disable sdl} \
78ff8fc0 1092 %{__enable_disable seccomp} \
8806a92d 1093 --enable-slirp \
59bc1300 1094 %{__enable_disable spice} \
51b0e9f0 1095 %{__enable_disable smartcard} \
81e9a720 1096 %{__enable_disable snappy} \
ce44b534 1097 --enable-tpm \
78ff8fc0 1098 %{__enable_disable usbredir usb-redir} \
78a71650 1099 --enable-vde \
d155a8f0 1100 %{?with_vfio_user:--enable-vfio-user-server} \
81e9a720 1101 %{__enable_disable virgl virglrenderer} \
78a71650
JB
1102 --enable-virtfs \
1103 --enable-vnc-jpeg \
1104 --enable-vnc-sasl \
3187b8cc 1105 %{!?with_vte:--disable-vte} \
78a71650 1106 %{__enable_disable xen} \
81e9a720 1107 %{__enable_disable xkbcommon}
ce44b534 1108
a75bdea7
ER
1109%if %{with user_static}
1110build static \
1111 --disable-brlapi \
0f04d157 1112 --disable-canokey \
a75bdea7 1113 --disable-cap-ng \
e31a0f25 1114 --disable-capstone \
a75bdea7
ER
1115 --disable-curl \
1116 --disable-curses \
1117 --disable-gcrypt \
1118 --disable-gnutls \
1119 --disable-gtk \
1120 --disable-guest-agent \
1121 --disable-guest-agent-msi \
1122 --disable-libnfs \
d4835466 1123 --disable-linux-io-uring \
81e9a720 1124 --disable-mpath \
a75bdea7
ER
1125 --disable-nettle \
1126 --disable-pie \
1127 --disable-sdl \
cfb9a655 1128 --disable-slirp \
a75bdea7 1129 --disable-spice \
81e9a720 1130 --disable-system \
a75bdea7 1131 --disable-tools \
a75bdea7 1132 --enable-user \
81e9a720 1133 --disable-xkbcommon \
d4835466 1134 --disable-zstd \
a75bdea7 1135 --static
a75bdea7 1136%endif
cd19124e 1137
9fdf235e
JR
1138%{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
1139
cd19124e 1140%install
1141rm -rf $RPM_BUILD_ROOT
51327cc0 1142install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
70523569
JB
1143 $RPM_BUILD_ROOT/etc/{qemu,sysconfig,modules-load.d,rc.d/init.d,logrotate.d} \
1144 $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,/lib/udev/rules.d,%{_sbindir}}
5a2da1d0 1145
a75bdea7
ER
1146%if %{with user_static}
1147%{__make} -C build-static install \
1148 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
1149 DESTDIR=$RPM_BUILD_ROOT
1150
1151# Give all QEMU user emulators a -static suffix
1152for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do
81e9a720 1153 %{__mv} $src $src-static
a75bdea7
ER
1154done
1155
1156%endif
1157
1158%{__make} -C build-dynamic install \
471d1276 1159 %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
ae1c5c71 1160 DESTDIR=$RPM_BUILD_ROOT
ac6e5743 1161
81e9a720
JB
1162# let rpm generate dependencies
1163chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
1164
b418165e
MM
1165echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf
1166
a91fea76 1167install -d $RPM_BUILD_ROOT%{_sysconfdir}
1168cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
ac6e5743 1169#!/bin/sh
a91fea76 1170
ac6e5743 1171EOF
a62a2d89 1172
5ed67169
JR
1173install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
1174
e53a3a53 1175%ifarch %{ix86} %{x8664} x32
41ed6e2c 1176install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
70523569 1177install -p %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/rules.d
41ed6e2c
JR
1178%endif
1179
9fdf235e
JR
1180install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
1181install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
1182install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
1183
1184install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
1185install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1186install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1187
93473205
JR
1188# For the qemu-guest-agent subpackage install the systemd
1189# service and udev rules.
1190install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
70523569 1191install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
93473205 1192
ccb0f0ea
AM
1193install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
1194install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
1195
cfb9a655
JB
1196cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
1197
7babf190 1198# Install binfmt
e02a00f9 1199BINFMT_CPUS=" \
e53a3a53 1200%ifnarch %{ix86} %{x8664} x32
e02a00f9
JP
1201 i386 x86_64 \
1202%endif
1203%ifnarch aarch64
1204 aarch64 \
a78c5672 1205%endif
7babf190 1206%ifnarch alpha
e02a00f9 1207 alpha \
7babf190
ER
1208%endif
1209%ifnarch %{arm}
e02a00f9 1210 arm \
a78c5672 1211%endif
e02a00f9
JP
1212 aarch64_be \
1213 armeb \
1214 microblaze microblazeel \
7babf190 1215%ifnarch mips64
e02a00f9 1216 mips64 \
7babf190 1217%ifnarch mips
e02a00f9 1218 mips \
7babf190
ER
1219%endif
1220%endif
1221%ifnarch mips64el
e02a00f9 1222 mips64el \
7babf190 1223%ifnarch mipsel
e02a00f9 1224 mipsel \
7babf190
ER
1225%endif
1226%endif
1227%ifnarch m68k
e02a00f9 1228 m68k \
7babf190
ER
1229%endif
1230%ifnarch ppc ppc64 ppc64le
e02a00f9 1231 ppc ppc64 ppc64le \
a78c5672
JR
1232%endif
1233%ifnarch sparc sparc64
e02a00f9 1234 sparc sparc32plus sparc64 \
7babf190
ER
1235%endif
1236%ifnarch s390 s390x
e02a00f9 1237 s390x \
a78c5672
JR
1238%endif
1239%ifnarch sh4
e02a00f9 1240 sh4 \
a78c5672 1241%endif
e02a00f9
JP
1242 sh4eb \
1243"
1244
1245if [ -n "$BINFMT_CPUS" ]; then
1246 for cpu in $BINFMT_CPUS; do
1247 bash ./scripts/qemu-binfmt-conf.sh --systemd "$cpu" --exportdir $RPM_BUILD_ROOT/usr/lib/binfmt.d --qemu-path %{_bindir}
1248 done
28956417
JB
1249 for i in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*.conf; do
1250 %{__mv} $i ${i%.conf}-dynamic.conf
e02a00f9 1251 done
e14b0c24
ER
1252
1253 %if %{with user_static}
e02a00f9
JP
1254 for regularfmt in $RPM_BUILD_ROOT/usr/lib/binfmt.d/*; do
1255 staticfmt="${regularfmt%\-dynamic.conf}-static.conf"
1256 cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
1257 done
e14b0c24 1258 %endif
e02a00f9 1259fi
a78c5672 1260
af556ac1 1261%if %{with system_seabios}
ae1c5c71
JK
1262ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
1263# bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
af556ac1
JK
1264%endif
1265
f4914ae2 1266%if %{with gtk3}
008c880e
ER
1267%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
1268%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
a56d4cfd 1269%find_lang %{name}
78ff8fc0
JK
1270%else
1271: > qemu.lang
1272%endif
a56d4cfd 1273
cb96aade
JP
1274for t in client server; do
1275 cp -p build-dynamic/contrib/ivshmem-$t/ivshmem-$t $RPM_BUILD_ROOT%{_bindir}
1276done
1277
f6b5cdb2
JB
1278# test modules
1279%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/accel-qtest-*.so
1a808d89 1280# Windows installer icon, not used
81e9a720
JB
1281%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/qemu-nsis.bmp
1282# packaged as %doc
1283%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/edk2-licenses.txt
28956417
JB
1284
1285# cleanup Sphinx files
4171a999 1286%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/{.buildinfo,objects.inv}
2f80d753 1287
cd19124e 1288%clean
1289rm -rf $RPM_BUILD_ROOT
1290
c1d653f6 1291%pre common
a45c10b6 1292%groupadd -g 160 kvm
c1d653f6 1293%groupadd -g 276 qemu
a45c10b6 1294%useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
c1d653f6 1295
9fdf235e
JR
1296%post common
1297%systemd_post ksm.service
1298%systemd_post ksmtuned.service
1299
1300%preun common
1301%systemd_preun ksm.service
1302%systemd_preun ksmtuned.service
1303
c1d653f6
AG
1304%postun common
1305if [ "$1" = "0" ]; then
1306 %userremove qemu
1307 %groupremove qemu
a45c10b6 1308 %groupremove kvm
c1d653f6 1309fi
9fdf235e
JR
1310%systemd_reload
1311
1312%triggerpostun common -- qemu-common < 1.6.1-4
1313%systemd_trigger ksm.service
1314%systemd_trigger ksmtuned.service
cfb9a655 1315%systemd_trigger qemu-pr-helper.service
c1d653f6 1316
a78c5672 1317%post user
ba74f3cd 1318%systemd_post systemd-binfmt.service
a78c5672
JR
1319
1320%postun user
ba74f3cd 1321%systemd_post systemd-binfmt.service
a78c5672 1322
e14b0c24 1323%post user-static
ba74f3cd 1324%systemd_post systemd-binfmt.service
e14b0c24
ER
1325
1326%postun user-static
ba74f3cd 1327%systemd_post systemd-binfmt.service
e14b0c24 1328
93473205 1329%post guest-agent
ccb0f0ea
AM
1330/sbin/chkconfig --add qemu-ga
1331%service qemu-ga restart "qemu-ga"
93473205
JR
1332%systemd_reload
1333
1334%preun guest-agent
ccb0f0ea 1335if [ "$1" = "0" ]; then
c43b327d
TP
1336 %service qemu-ga stop
1337 /sbin/chkconfig --del qemu-ga
ccb0f0ea 1338fi
93473205
JR
1339%systemd_preun qemu-guest-agent.service
1340
1341%postun guest-agent
1342%systemd_reload
1343
d155a8f0
JB
1344%post -n libvfio-user -p /sbin/ldconfig
1345%postun -n libvfio-user -p /sbin/ldconfig
1346
cd19124e 1347%files
1348%defattr(644,root,root,755)
fabf5a9c 1349
f6b5cdb2
JB
1350%files devel
1351%defattr(644,root,root,755)
1352%{_includedir}/qemu-plugin.h
1353
a56d4cfd 1354%files common -f %{name}.lang
fabf5a9c 1355%defattr(644,root,root,755)
28956417 1356%doc LICENSE README.rst pc-bios/edk2-licenses.txt
a91fea76 1357%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
c980f439 1358%config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
5ed67169 1359%config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
c980f439 1360%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
b418165e
MM
1361%dir /etc/qemu
1362%attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
c980f439
JR
1363%{systemdunitdir}/ksm.service
1364%{systemdunitdir}/ksmtuned.service
cfb9a655
JB
1365%{systemdunitdir}/qemu-pr-helper.service
1366%{systemdunitdir}/qemu-pr-helper.socket
2f80d753 1367%attr(755,root,root) %{_bindir}/elf2dmp
cb96aade
JP
1368%attr(755,root,root) %{_bindir}/ivshmem-client
1369%attr(755,root,root) %{_bindir}/ivshmem-server
2f80d753 1370%attr(755,root,root) %{_bindir}/qemu-edid
81e9a720
JB
1371%if %{with xkbcommon}
1372%attr(755,root,root) %{_bindir}/qemu-keymap
1373%endif
fabf5a9c 1374%attr(755,root,root) %{_bindir}/qemu-nbd
1f265cee 1375%attr(755,root,root) %{_bindir}/qemu-pr-helper
28956417 1376%attr(755,root,root) %{_bindir}/qemu-storage-daemon
c980f439
JR
1377%attr(755,root,root) %{_sbindir}/ksmctl
1378%attr(755,root,root) %{_sbindir}/ksmtuned
81e9a720 1379%attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
e31a0f25
JB
1380%if %{with virgl}
1381%attr(755,root,root) %{_libexecdir}/vhost-user-gpu
1382%endif
92618e32 1383%attr(755,root,root) %{_libexecdir}/virtfs-proxy-helper
ae1c5c71 1384%dir %{_libdir}/%{name}
54b666b7 1385# modules without too many external dependencies
8806a92d 1386%attr(755,root,root) %{_libdir}/%{name}/block-blkio.so
67bf71fa 1387%attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so
81e9a720 1388%attr(755,root,root) %{_libdir}/%{name}/block-dmg-lzfse.so
f6b5cdb2
JB
1389%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-i386.so
1390%attr(755,root,root) %{_libdir}/%{name}/accel-tcg-x86_64.so
1777be93 1391%attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so
81e9a720
JB
1392%if %{with oss}
1393%attr(755,root,root) %{_libdir}/%{name}/audio-oss.so
1394%endif
1395%if %{with pulseaudio}
1396%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so
1397%endif
cb96aade 1398%if %{with brlapi}
92618e32 1399%attr(755,root,root) %{_libdir}/%{name}/chardev-baum.so
cb96aade 1400%endif
92618e32 1401%attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
92618e32 1402%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
54e46ffc 1403%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so}
f6b5cdb2 1404%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
54e46ffc 1405%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so}
92618e32 1406%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
f6b5cdb2 1407%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
4171a999 1408%attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
f6b5cdb2 1409%attr(755,root,root) %{_libdir}/%{name}/hw-usb-host.so
1777be93 1410%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
92618e32
JP
1411%if %{with usbredir}
1412%attr(755,root,root) %{_libdir}/%{name}/hw-usb-redirect.so
1413%endif
1414%if %{with smartcard}
1415%attr(755,root,root) %{_libdir}/%{name}/hw-usb-smartcard.so
1416%endif
1417%if %{with opengl}
1418%attr(755,root,root) %{_libdir}/%{name}/ui-egl-headless.so
1419%attr(755,root,root) %{_libdir}/%{name}/ui-opengl.so
1420%endif
81e9a720 1421%if %{with spice}
92618e32
JP
1422%attr(755,root,root) %{_libdir}/%{name}/audio-spice.so
1423%attr(755,root,root) %{_libdir}/%{name}/chardev-spice.so
81e9a720 1424%attr(755,root,root) %{_libdir}/%{name}/ui-spice-app.so
92618e32 1425%attr(755,root,root) %{_libdir}/%{name}/ui-spice-core.so
81e9a720 1426%endif
28956417
JB
1427%dir %{_datadir}/%{name}
1428%dir %{_datadir}/%{name}/firmware
1429%{_datadir}/%{name}/keymaps
1430%{_datadir}/%{name}/trace-events-all
28956417 1431%if %{with virgl}
54e46ffc 1432%dir %{_datadir}/%{name}/vhost-user
28956417
JB
1433%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1434%endif
28956417
JB
1435%{_desktopdir}/qemu.desktop
1436%{_iconsdir}/hicolor/*x*/apps/qemu.png
1437%{_iconsdir}/hicolor/32x32/apps/qemu.bmp
1438%{_iconsdir}/hicolor/scalable/apps/qemu.svg
1439%{_mandir}/man1/qemu.1*
4171a999 1440%{_mandir}/man1/qemu-storage-daemon.1*
28956417 1441%{_mandir}/man1/virtfs-proxy-helper.1*
28956417
JB
1442%{_mandir}/man7/qemu-block-drivers.7*
1443%{_mandir}/man7/qemu-cpu-models.7*
1444%{_mandir}/man7/qemu-qmp-ref.7*
4171a999 1445%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
28956417 1446%{_mandir}/man8/qemu-nbd.8*
92618e32 1447%{_mandir}/man8/qemu-pr-helper.8*
28956417 1448%{_docdir}/qemu
1777be93 1449
fabf5a9c
ER
1450%files img
1451%defattr(644,root,root,755)
1452%attr(755,root,root) %{_bindir}/qemu-img
1453%{_mandir}/man1/qemu-img.1*
1454
1455%files user
1456%defattr(644,root,root,755)
e14b0c24 1457/usr/lib/binfmt.d/qemu-*-dynamic.conf
ae1c5c71 1458%attr(755,root,root) %{_bindir}/qemu-aarch64
1777be93 1459%attr(755,root,root) %{_bindir}/qemu-aarch64_be
fabf5a9c
ER
1460%attr(755,root,root) %{_bindir}/qemu-alpha
1461%attr(755,root,root) %{_bindir}/qemu-arm
1462%attr(755,root,root) %{_bindir}/qemu-armeb
1463%attr(755,root,root) %{_bindir}/qemu-cris
4171a999 1464%attr(755,root,root) %{_bindir}/qemu-hexagon
cdd6b92f 1465%attr(755,root,root) %{_bindir}/qemu-hppa
59bc1300 1466%attr(755,root,root) %{_bindir}/qemu-i386
fabf5a9c 1467%attr(755,root,root) %{_bindir}/qemu-io
b5882bc5 1468%attr(755,root,root) %{_bindir}/qemu-loongarch64
fabf5a9c
ER
1469%attr(755,root,root) %{_bindir}/qemu-m68k
1470%attr(755,root,root) %{_bindir}/qemu-microblaze
1471%attr(755,root,root) %{_bindir}/qemu-microblazeel
1472%attr(755,root,root) %{_bindir}/qemu-mips
1473%attr(755,root,root) %{_bindir}/qemu-mipsel
a56d4cfd
JB
1474%attr(755,root,root) %{_bindir}/qemu-mips64
1475%attr(755,root,root) %{_bindir}/qemu-mips64el
1476%attr(755,root,root) %{_bindir}/qemu-mipsn32
1477%attr(755,root,root) %{_bindir}/qemu-mipsn32el
cdd6b92f 1478%attr(755,root,root) %{_bindir}/qemu-nios2
05e8f0a4 1479%attr(755,root,root) %{_bindir}/qemu-or1k
fabf5a9c
ER
1480%attr(755,root,root) %{_bindir}/qemu-ppc
1481%attr(755,root,root) %{_bindir}/qemu-ppc64
f39d158a 1482%attr(755,root,root) %{_bindir}/qemu-ppc64le
1777be93
JP
1483%attr(755,root,root) %{_bindir}/qemu-riscv32
1484%attr(755,root,root) %{_bindir}/qemu-riscv64
fabf5a9c
ER
1485%attr(755,root,root) %{_bindir}/qemu-s390x
1486%attr(755,root,root) %{_bindir}/qemu-sh4
1487%attr(755,root,root) %{_bindir}/qemu-sh4eb
1488%attr(755,root,root) %{_bindir}/qemu-sparc
1489%attr(755,root,root) %{_bindir}/qemu-sparc32plus
1490%attr(755,root,root) %{_bindir}/qemu-sparc64
59bc1300 1491%attr(755,root,root) %{_bindir}/qemu-x86_64
1777be93
JP
1492%attr(755,root,root) %{_bindir}/qemu-xtensa
1493%attr(755,root,root) %{_bindir}/qemu-xtensaeb
fabf5a9c 1494
a75bdea7
ER
1495%if %{with user_static}
1496%files user-static
1497%defattr(644,root,root,755)
e14b0c24 1498/usr/lib/binfmt.d/qemu-*-static.conf
a75bdea7 1499%attr(755,root,root) %{_bindir}/qemu-aarch64-static
1777be93 1500%attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
a75bdea7
ER
1501%attr(755,root,root) %{_bindir}/qemu-alpha-static
1502%attr(755,root,root) %{_bindir}/qemu-arm-static
1503%attr(755,root,root) %{_bindir}/qemu-armeb-static
1504%attr(755,root,root) %{_bindir}/qemu-cris-static
4171a999 1505%attr(755,root,root) %{_bindir}/qemu-hexagon-static
cdd6b92f 1506%attr(755,root,root) %{_bindir}/qemu-hppa-static
a75bdea7 1507%attr(755,root,root) %{_bindir}/qemu-i386-static
842f057a 1508%attr(755,root,root) %{_bindir}/qemu-loongarch64-static
a75bdea7
ER
1509%attr(755,root,root) %{_bindir}/qemu-m68k-static
1510%attr(755,root,root) %{_bindir}/qemu-microblaze-static
1511%attr(755,root,root) %{_bindir}/qemu-microblazeel-static
1512%attr(755,root,root) %{_bindir}/qemu-mips-static
1513%attr(755,root,root) %{_bindir}/qemu-mips64-static
1514%attr(755,root,root) %{_bindir}/qemu-mips64el-static
1515%attr(755,root,root) %{_bindir}/qemu-mipsel-static
1516%attr(755,root,root) %{_bindir}/qemu-mipsn32-static
1517%attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
cdd6b92f 1518%attr(755,root,root) %{_bindir}/qemu-nios2-static
05e8f0a4 1519%attr(755,root,root) %{_bindir}/qemu-or1k-static
a75bdea7
ER
1520%attr(755,root,root) %{_bindir}/qemu-ppc-static
1521%attr(755,root,root) %{_bindir}/qemu-ppc64-static
a75bdea7 1522%attr(755,root,root) %{_bindir}/qemu-ppc64le-static
1777be93
JP
1523%attr(755,root,root) %{_bindir}/qemu-riscv32-static
1524%attr(755,root,root) %{_bindir}/qemu-riscv64-static
a75bdea7
ER
1525%attr(755,root,root) %{_bindir}/qemu-s390x-static
1526%attr(755,root,root) %{_bindir}/qemu-sh4-static
1527%attr(755,root,root) %{_bindir}/qemu-sh4eb-static
1528%attr(755,root,root) %{_bindir}/qemu-sparc-static
1529%attr(755,root,root) %{_bindir}/qemu-sparc32plus-static
1530%attr(755,root,root) %{_bindir}/qemu-sparc64-static
a75bdea7 1531%attr(755,root,root) %{_bindir}/qemu-x86_64-static
1777be93
JP
1532%attr(755,root,root) %{_bindir}/qemu-xtensa-static
1533%attr(755,root,root) %{_bindir}/qemu-xtensaeb-static
f771d7dc 1534%{?with_systemtap:%attr(755,root,root) %{_bindir}/qemu-trace-stap-static}
a75bdea7
ER
1535%endif
1536
ae1c5c71
JK
1537%files system-aarch64
1538%defattr(644,root,root,755)
1539%attr(755,root,root) %{_bindir}/qemu-system-aarch64
290ffd23
JP
1540%{_datadir}/%{name}/edk2-aarch64-code.fd
1541%{_datadir}/%{name}/firmware/60-edk2-aarch64.json
ae1c5c71 1542
fabf5a9c
ER
1543%files system-alpha
1544%defattr(644,root,root,755)
1545%attr(755,root,root) %{_bindir}/qemu-system-alpha
81e9a720 1546%{_datadir}/%{name}/palcode-clipper
fabf5a9c
ER
1547
1548%files system-arm
1549%defattr(644,root,root,755)
1550%attr(755,root,root) %{_bindir}/qemu-system-arm
290ffd23
JP
1551%{_datadir}/%{name}/edk2-arm-code.fd
1552%{_datadir}/%{name}/edk2-arm-vars.fd
1553%{_datadir}/%{name}/firmware/60-edk2-arm.json
92618e32
JP
1554%{_datadir}/%{name}/npcm7xx_bootrom.bin
1555
1556%files system-avr
1557%defattr(644,root,root,755)
1558%attr(755,root,root) %{_bindir}/qemu-system-avr
fabf5a9c
ER
1559
1560%files system-cris
1561%defattr(644,root,root,755)
1562%attr(755,root,root) %{_bindir}/qemu-system-cris
1563
1777be93
JP
1564%files system-hppa
1565%defattr(644,root,root,755)
1566%attr(755,root,root) %{_bindir}/qemu-system-hppa
1567%{_datadir}/%{name}/hppa-firmware.img
1568
fabf5a9c
ER
1569%files system-m68k
1570%defattr(644,root,root,755)
1571%attr(755,root,root) %{_bindir}/qemu-system-m68k
1572
1573%files system-microblaze
1574%defattr(644,root,root,755)
1575%attr(755,root,root) %{_bindir}/qemu-system-microblaze
1576%attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1577
1578%files system-mips
1579%defattr(644,root,root,755)
b5882bc5 1580%attr(755,root,root) %{_bindir}/qemu-system-loongarch64
fabf5a9c
ER
1581%attr(755,root,root) %{_bindir}/qemu-system-mips
1582%attr(755,root,root) %{_bindir}/qemu-system-mipsel
1583%attr(755,root,root) %{_bindir}/qemu-system-mips64
1584%attr(755,root,root) %{_bindir}/qemu-system-mips64el
1585
cdd6b92f
JP
1586%files system-nios2
1587%defattr(644,root,root,755)
1588%attr(755,root,root) %{_bindir}/qemu-system-nios2
1589
05e8f0a4 1590%files system-or1k
92c357d4 1591%defattr(644,root,root,755)
05e8f0a4 1592%attr(755,root,root) %{_bindir}/qemu-system-or1k
92c357d4 1593
fabf5a9c
ER
1594%files system-ppc
1595%defattr(644,root,root,755)
1596%attr(755,root,root) %{_bindir}/qemu-system-ppc
1597%attr(755,root,root) %{_bindir}/qemu-system-ppc64
81e9a720 1598%{_datadir}/%{name}/bamboo.dtb
1777be93 1599%{_datadir}/%{name}/canyonlands.dtb
81e9a720
JB
1600%{_datadir}/%{name}/openbios-ppc
1601%{_datadir}/%{name}/petalogix-ml605.dtb
1602%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
b3255247 1603%{_datadir}/%{name}/qemu_vga.ndrv
81e9a720
JB
1604%{_datadir}/%{name}/skiboot.lid
1605%{_datadir}/%{name}/slof.bin
f39d158a 1606%{_datadir}/%{name}/u-boot.e500
1777be93 1607%{_datadir}/%{name}/u-boot-sam460-20100605.bin
ccd394c8
JB
1608%{_datadir}/%{name}/vof.bin
1609%{_datadir}/%{name}/vof-nvram.bin
1777be93
JP
1610
1611%files system-riscv32
1612%defattr(644,root,root,755)
1613%attr(755,root,root) %{_bindir}/qemu-system-riscv32
92618e32 1614%{_datadir}/%{name}/opensbi-riscv32-generic-fw_dynamic.bin
1777be93
JP
1615
1616%files system-riscv64
1617%defattr(644,root,root,755)
1618%attr(755,root,root) %{_bindir}/qemu-system-riscv64
92618e32 1619%{_datadir}/%{name}/opensbi-riscv64-generic-fw_dynamic.bin
fabf5a9c 1620
28956417
JB
1621%files system-rx
1622%defattr(644,root,root,755)
1623%attr(755,root,root) %{_bindir}/qemu-system-rx
1624
fabf5a9c
ER
1625%files system-s390x
1626%defattr(644,root,root,755)
1627%attr(755,root,root) %{_bindir}/qemu-system-s390x
81e9a720 1628%{_datadir}/%{name}/s390-ccw.img
b3255247 1629%{_datadir}/%{name}/s390-netboot.img
fabf5a9c
ER
1630
1631%files system-sh4
1632%defattr(644,root,root,755)
1633%attr(755,root,root) %{_bindir}/qemu-system-sh4
1634%attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1635
1636%files system-sparc
1637%defattr(644,root,root,755)
1638%attr(755,root,root) %{_bindir}/qemu-system-sparc
1639%attr(755,root,root) %{_bindir}/qemu-system-sparc64
81e9a720
JB
1640%{_datadir}/%{name}/QEMU,cgthree.bin
1641%{_datadir}/%{name}/QEMU,tcx.bin
1642%{_datadir}/%{name}/openbios-sparc32
1643%{_datadir}/%{name}/openbios-sparc64
fabf5a9c 1644
112b8450
AM
1645%files system-tricore
1646%defattr(644,root,root,755)
1647%attr(755,root,root) %{_bindir}/qemu-system-tricore
1648
fabf5a9c
ER
1649%files system-x86
1650%defattr(644,root,root,755)
1651%attr(755,root,root) %{_bindir}/qemu-system-i386
1652%attr(755,root,root) %{_bindir}/qemu-system-x86_64
e53a3a53 1653%ifarch %{ix86} %{x8664} x32
41ed6e2c 1654%config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
70523569 1655/lib/udev/rules.d/80-kvm.rules
41ed6e2c 1656%endif
af556ac1 1657%{_datadir}/%{name}/bios.bin
ae1c5c71 1658%{_datadir}/%{name}/bios-256k.bin
26eb5196 1659%{_datadir}/%{name}/bios-microvm.bin
290ffd23
JP
1660%{_datadir}/%{name}/edk2-i386-code.fd
1661%{_datadir}/%{name}/edk2-i386-secure-code.fd
1662%{_datadir}/%{name}/edk2-i386-vars.fd
1663%{_datadir}/%{name}/edk2-x86_64-code.fd
1664%{_datadir}/%{name}/edk2-x86_64-secure-code.fd
81e9a720
JB
1665%{_datadir}/%{name}/efi-e1000e.rom
1666%{_datadir}/%{name}/efi-e1000.rom
1667%{_datadir}/%{name}/efi-eepro100.rom
1668%{_datadir}/%{name}/efi-ne2k_pci.rom
1669%{_datadir}/%{name}/efi-pcnet.rom
1670%{_datadir}/%{name}/efi-rtl8139.rom
1671%{_datadir}/%{name}/efi-virtio.rom
1672%{_datadir}/%{name}/efi-vmxnet3.rom
1673%{_datadir}/%{name}/kvmvapic.bin
1674%{_datadir}/%{name}/linuxboot.bin
1675%{_datadir}/%{name}/linuxboot_dma.bin
1676%{_datadir}/%{name}/multiboot.bin
f6b5cdb2 1677%{_datadir}/%{name}/multiboot_dma.bin
81e9a720
JB
1678%{_datadir}/%{name}/pvh.bin
1679%{_datadir}/%{name}/pxe-e1000.rom
1680%{_datadir}/%{name}/pxe-eepro100.rom
1681%{_datadir}/%{name}/pxe-ne2k_pci.rom
1682%{_datadir}/%{name}/pxe-pcnet.rom
1683%{_datadir}/%{name}/pxe-rtl8139.rom
1684%{_datadir}/%{name}/pxe-virtio.rom
92618e32 1685%{_datadir}/%{name}/qboot.rom
81e9a720
JB
1686%{_datadir}/%{name}/vgabios.bin
1687%{_datadir}/%{name}/vgabios-ati.bin
1688%{_datadir}/%{name}/vgabios-bochs-display.bin
1689%{_datadir}/%{name}/vgabios-cirrus.bin
1690%{_datadir}/%{name}/vgabios-qxl.bin
1691%{_datadir}/%{name}/vgabios-ramfb.bin
1692%{_datadir}/%{name}/vgabios-stdvga.bin
1693%{_datadir}/%{name}/vgabios-virtio.bin
1694%{_datadir}/%{name}/vgabios-vmware.bin
290ffd23
JP
1695%{_datadir}/%{name}/firmware/50-edk2-i386-secure.json
1696%{_datadir}/%{name}/firmware/50-edk2-x86_64-secure.json
1697%{_datadir}/%{name}/firmware/60-edk2-i386.json
1698%{_datadir}/%{name}/firmware/60-edk2-x86_64.json
fabf5a9c
ER
1699
1700%files system-xtensa
1701%defattr(644,root,root,755)
1702%attr(755,root,root) %{_bindir}/qemu-system-xtensa
1703%attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
93473205
JR
1704
1705%files guest-agent
008c880e 1706%defattr(644,root,root,755)
70523569
JB
1707%attr(755,root,root) %{_bindir}/qemu-ga
1708/lib/udev/rules.d/99-qemu-guest-agent.rules
93473205 1709%{systemdunitdir}/qemu-guest-agent.service
ccb0f0ea
AM
1710%attr(754,root,root) /etc/rc.d/init.d/qemu-ga
1711%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/qemu-ga
2f80d753 1712%{_mandir}/man7/qemu-ga-ref.7*
56eebfcf 1713%{_mandir}/man8/qemu-ga.8*
ae1c5c71 1714
f6b5cdb2
JB
1715%files module-audio-jack
1716%defattr(644,root,root,755)
1717%attr(755,root,root) %{_libdir}/%{name}/audio-jack.so
1718
ae1c5c71
JK
1719%files module-block-curl
1720%defattr(644,root,root,755)
1721%attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1722
c218d8d3 1723%if %{with glusterfs}
ae1c5c71
JK
1724%files module-block-gluster
1725%defattr(644,root,root,755)
1726%attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
c218d8d3 1727%endif
ae1c5c71 1728
c218d8d3 1729%if %{with iscsi}
ae1c5c71
JK
1730%files module-block-iscsi
1731%defattr(644,root,root,755)
1732%attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
c218d8d3 1733%endif
ae1c5c71 1734
28956417
JB
1735%if %{with libnfs}
1736%files module-block-nfs
1737%defattr(644,root,root,755)
1738%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so
1739%endif
1740
c218d8d3 1741%if %{with ceph}
ae1c5c71
JK
1742%files module-block-rbd
1743%defattr(644,root,root,755)
1744%attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
c218d8d3 1745%endif
ae1c5c71
JK
1746
1747%files module-block-ssh
1748%defattr(644,root,root,755)
1749%attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
28956417 1750
ccd394c8
JB
1751%files module-ui-dbus
1752%defattr(644,root,root,755)
1753%attr(755,root,root) %{_libdir}/%{name}/audio-dbus.so
1754%attr(755,root,root) %{_libdir}/%{name}/ui-dbus.so
1755
28956417
JB
1756%if %{with gtk3}
1757%files module-ui-gtk
1758%defattr(644,root,root,755)
1759%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
1760%endif
1761
1762%if %{with sdl}
1763%files module-ui-sdl
1764%defattr(644,root,root,755)
1765%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so
1766%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so
1767%endif
1b60612d
JB
1768
1769%if %{with systemtap}
1770%files -n systemtap-qemu
1771%defattr(644,root,root,755)
1772%attr(755,root,root) %{_bindir}/qemu-trace-stap
1773%{_datadir}/systemtap/tapset/qemu-*.stp
1774%{_mandir}/man1/qemu-trace-stap.1*
1775%endif
d155a8f0
JB
1776
1777%if %{with vfio_user}
1778%files -n libvfio-user
1779%defattr(644,root,root,755)
1780%attr(755,root,root) %{_libdir}/libvfio-user.so.*.*.*
1781%attr(755,root,root) %ghost %{_libdir}/libvfio-user.so.0
1782
1783%files -n libvfio-user-devel
1784%defattr(644,root,root,755)
1785%attr(755,root,root) %{_libdir}/libvfio-user.so
1786%{_includedir}/vfio-user
1787%endif
This page took 0.349284 seconds and 4 git commands to generate.