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