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