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