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