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