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