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