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