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