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