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