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