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