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