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