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