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