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