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