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