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