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