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