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