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