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