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