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