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