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