]> git.pld-linux.org Git - packages/qemu.git/blob - qemu.spec
- added sh patch
[packages/qemu.git] / qemu.spec
1 # TODO: archipelago (libxseg) on bcond (GPL v3 vs v2-only conflict)
2 #
3 # Conditional build:
4 %bcond_without  sdl             # SDL UI and audio support
5 %bcond_without  ceph            # Ceph/RBD support
6 %bcond_without  glusterfs       # GlusterFS backend
7 %bcond_without  rdma            # RDMA-based migration support
8 %bcond_with     gtk2            # GTK+ 2.x instead of 3.x
9 %bcond_without  gtk3            # Do not build GTK+ UI
10 %bcond_without  vte             # VTE support in GTK+ UI
11 %bcond_without  spice           # SPICE support
12 %bcond_with     esd             # EsounD audio support
13 %bcond_without  oss             # OSS audio support
14 %bcond_without  pulseaudio      # PulseAudio audio support
15 %bcond_without  xen             # Xen backend driver support
16 %bcond_without  bluetooth       # bluetooth support
17 %bcond_without  brlapi          # brlapi support
18 %bcond_without  smartcard       # smartcard-nss support
19 %bcond_without  iscsi           # iscsi support
20 %bcond_without  libnfs          # NFS support
21 %bcond_without  seccomp         # seccomp support
22 %bcond_without  usbredir        # usb network redirection support
23 %bcond_without  system_seabios  # system seabios binary
24 %bcond_without  snappy          # snappy compression library
25 %bcond_with     lttng           # lttng-ust trace backend support
26 %bcond_with     systemtap       # SystemTap/dtrace trace backend support
27
28 %if %{with gtk2}
29 %undefine with_gtk3
30 %endif
31
32 %ifarch x32
33 %undefine       with_xen
34 %endif
35
36 Summary:        QEMU CPU Emulator
37 Summary(pl.UTF-8):      QEMU - emulator procesora
38 Name:           qemu
39 Version:        2.4.0.1
40 Release:        1
41 License:        GPL v2
42 Group:          Applications/Emulators
43 Source0:        http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
44 # Source0-md5:  c99445164e77184a9ba2e7dbf7ed5c29
45 Source2:        %{name}.binfmt
46 # Loads kvm kernel modules at boot
47 Source3:        kvm-modules-load.conf
48 # Creates /dev/kvm
49 Source4:        80-kvm.rules
50 # KSM control scripts
51 Source5:        ksm.service
52 Source6:        ksm.sysconfig
53 Source7:        ksmctl.c
54 Source8:        ksmtuned.service
55 Source9:        ksmtuned
56 Source10:       ksmtuned.conf
57 Source11:       %{name}-guest-agent.service
58 Source12:       99-%{name}-guest-agent.rules
59 Patch0:         %{name}-cflags.patch
60 Patch1:         vgabios-widescreens.patch
61 Patch2:         %{name}-whitelist.patch
62 Patch3:         %{name}-system-libcacard.patch
63 Patch4:         %{name}-xattr.patch
64 Patch5:         libjpeg-boolean.patch
65 Patch6:         x32.patch
66 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_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-curl
672 Summary:        QEMU module for 'curl' block devices
673 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'curl'
674 Group:          Development/Tools
675 Requires:       %{name}-common = %{version}-%{release}
676
677 %description module-block-curl
678 'curl' block device support for QEMU.
679
680 %description module-block-curl -l pl.UTF-8
681 Moduł QEMU dla urządeń blokowych typu 'curl'.
682
683 %package module-block-gluster
684 Summary:        QEMU module for 'gluster' block devices
685 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'gluster'
686 Group:          Development/Tools
687 Requires:       %{name}-common = %{version}-%{release}
688 Requires:       glusterfs-libs >= 3.4
689
690 %description module-block-gluster
691 'gluster' block device support for QEMU.
692
693 %description module-block-gluster -l pl.UTF-8
694 Moduł QEMU dla urządeń blokowych typu 'gluster'.
695
696 %package module-block-iscsi
697 Summary:        QEMU module for 'iscsi' block devices
698 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'iscsi'
699 Group:          Development/Tools
700 Requires:       %{name}-common = %{version}-%{release}
701 Requires:       libiscsi >= 1.9.0
702
703 %description module-block-iscsi
704 'iscsi' block device support for QEMU.
705
706 %description module-block-iscsi -l pl.UTF-8
707 Moduł QEMU dla urządeń blokowych typu 'iscsi'.
708
709 %package module-block-rbd
710 Summary:        QEMU module for 'rbd' block devices
711 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'rbd'
712 Group:          Development/Tools
713 Requires:       %{name}-common = %{version}-%{release}
714
715 %description module-block-rbd
716 'rbd' block device support for QEMU.
717
718 %description module-block-rbd -l pl.UTF-8
719 Moduł QEMU dla urządeń blokowych typu 'rbd'.
720
721 %package module-block-ssh
722 Summary:        QEMU module for 'ssh' block devices
723 Summary(pl.UTF-8):      Moduł QEMU dla urządeń blokowych typu 'ssh'
724 Group:          Development/Tools
725 Requires:       %{name}-common = %{version}-%{release}
726
727 %description module-block-ssh
728 'ssh' block device support for QEMU.
729
730 %description module-block-ssh -l pl.UTF-8
731 Moduł QEMU dla urządeń blokowych typu 'ssh'.
732
733 %prep
734 %setup -q
735 %patch0 -p1
736 %patch1 -p1
737 %patch2 -p0
738 %patch3 -p1
739 %patch4 -p1
740 %patch5 -p1
741 %patch6 -p1
742 %patch7 -p1
743
744 %{__mv} libcacard libcacard-use-system-lib
745
746 # workaround for conflict with alsa/error.h
747 ln -s ../error.h qapi/error.h
748
749 %build
750 ./configure \
751         --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
752         --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
753         --prefix=%{_prefix} \
754         --libdir=%{_libdir} \
755         --libexecdir=%{_libexecdir} \
756         --sysconfdir=%{_sysconfdir} \
757         --cc="%{__cc}" \
758         --host-cc="%{__cc}" \
759         --disable-strip \
760         --enable-attr \
761         %{__enable_disable bluetooth bluez} \
762         %{__enable_disable brlapi} \
763         --enable-cap-ng \
764         --enable-curl \
765         --enable-curses \
766         --enable-docs \
767         --enable-fdt \
768         %{__enable_disable glusterfs} \
769         %{__enable_disable iscsi libiscsi} \
770         %{__enable_disable ceph rbd} \
771         %{__enable_disable rdma} \
772         %{__enable_disable sdl} \
773         --with-sdlabi=2.0 \
774         %{__enable_disable seccomp} \
775         %{__enable_disable spice} \
776         %{__enable_disable smartcard smartcard-nss} \
777         --enable-tpm \
778         --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \
779         %{__enable_disable usbredir usb-redir} \
780         --enable-uuid \
781         --enable-vde \
782         --enable-virtfs \
783         --enable-vnc-jpeg \
784         --enable-vnc-png \
785         --enable-vnc-sasl \
786         --enable-vnc-tls \
787         %{!?with_vte:--disable-vte} \
788         --enable-kvm \
789         %{__enable_disable xen} \
790         --enable-modules \
791         --disable-netmap \
792         %{__enable_disable libnfs} \
793         --enable-lzo \
794         %{__enable_disable snappy} \
795         --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
796         --interp-prefix=%{_libdir}/qemu/lib-%%M \
797 %if %{without gtk2} && %{without gtk3}
798         --disable-gtk
799 %else
800         --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}"
801 %endif
802
803 %{__make} \
804         V=1 \
805         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n}
806
807 # rebuild patched vesa tables with additional widescreen modes.
808 %{__make} -C roms/vgabios stdvga-bios
809
810 %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl
811
812 %install
813 rm -rf $RPM_BUILD_ROOT
814 install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
815         $RPM_BUILD_ROOT/etc/{sysconfig,udev/rules.d,modules-load.d} \
816         $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
817
818 %{__make} install \
819         %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \
820         DESTDIR=$RPM_BUILD_ROOT
821
822 install -d $RPM_BUILD_ROOT%{_sysconfdir}
823 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup
824 #!/bin/sh
825
826 EOF
827
828 install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf
829
830 %ifarch %{ix86} %{x8664} x32
831 install -p scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}
832 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf
833 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
834 %endif
835
836 install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service
837 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm
838 install -p ksmctl $RPM_BUILD_ROOT%{_sbindir}
839
840 install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service
841 install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
842 install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
843
844 # For the qemu-guest-agent subpackage install the systemd
845 # service and udev rules.
846 install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
847 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
848
849 for i in dummy \
850 %ifnarch %{ix86} %{x8664} x32
851         qemu-i386 \
852 %endif
853 %ifnarch arm
854         qemu-arm \
855 %endif
856 %ifnarch ppc ppc64
857         qemu-ppc \
858 %endif
859 %ifnarch sparc sparc64
860         qemu-sparc \
861 %endif
862 %ifnarch sh4
863         qemu-sh4 \
864 %endif
865 ; do
866         test $i = dummy && continue
867         grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i.conf
868 done < %{SOURCE2}
869
870 # packaged as %doc
871 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html
872 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
873
874 # install patched vesa tables with additional widescreen modes.
875 cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
876
877 %if %{with system_seabios}
878 ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin
879 # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it
880 for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do
881         bn="$(basename $f)"
882         if [ -e "/usr/share/seabios/$bn" ] ; then
883                 ln -sf "/usr/share/seabios/$bn" "$f"
884         fi
885 done
886 %endif
887
888 %if %{with gtk2} || %{with gtk3}
889 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
890 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
891 %find_lang %{name}
892 %else
893 : > qemu.lang
894 %endif
895
896 %clean
897 rm -rf $RPM_BUILD_ROOT
898
899 %pre common
900 %groupadd -g 160 kvm
901 %groupadd -g 276 qemu
902 %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu
903
904 %post common
905 %systemd_post ksm.service
906 %systemd_post ksmtuned.service
907
908 %preun common
909 %systemd_preun ksm.service
910 %systemd_preun ksmtuned.service
911
912 %postun common
913 if [ "$1" = "0" ]; then
914         %userremove qemu
915         %groupremove qemu
916         %groupremove kvm
917 fi
918 %systemd_reload
919
920 %triggerpostun common -- qemu-common < 1.6.1-4
921 %systemd_trigger ksm.service
922 %systemd_trigger ksmtuned.service
923
924 %post user
925 %systemd_service_restart systemd-binfmt.service
926
927 %postun user
928 %systemd_service_restart systemd-binfmt.service
929
930 %post guest-agent
931 %systemd_reload
932
933 %preun guest-agent
934 %systemd_preun qemu-guest-agent.service
935
936 %postun guest-agent
937 %systemd_reload
938
939 %files
940 %defattr(644,root,root,755)
941
942 %files common -f %{name}.lang
943 %defattr(644,root,root,755)
944 %doc LICENSE README qemu-doc.html qemu-tech.html qmp-commands.txt
945 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup
946 %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf
947 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf
948 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm
949 %{systemdunitdir}/ksm.service
950 %{systemdunitdir}/ksmtuned.service
951 %attr(755,root,root) %{_bindir}/virtfs-proxy-helper
952 %attr(755,root,root) %{_bindir}/qemu-nbd
953 %attr(755,root,root) %{_libdir}/qemu-bridge-helper
954 %attr(755,root,root) %{_sbindir}/ksmctl
955 %attr(755,root,root) %{_sbindir}/ksmtuned
956 %{_mandir}/man1/qemu.1*
957 %{_mandir}/man1/virtfs-proxy-helper.1*
958 %{_mandir}/man8/qemu-nbd.8*
959
960 %dir %{_datadir}/qemu
961 %{_datadir}/%{name}/keymaps
962 %{_datadir}/%{name}/qemu-icon.bmp
963 %{_datadir}/%{name}/trace-events
964
965 # various bios images
966 # all should be probably moved to the right system subpackage
967 %{_datadir}/%{name}/QEMU,cgthree.bin
968 %{_datadir}/%{name}/QEMU,tcx.bin
969 %{_datadir}/%{name}/bamboo.dtb
970 %{_datadir}/%{name}/efi-e1000.rom
971 %{_datadir}/%{name}/efi-eepro100.rom
972 %{_datadir}/%{name}/efi-ne2k_pci.rom
973 %{_datadir}/%{name}/efi-pcnet.rom
974 %{_datadir}/%{name}/efi-rtl8139.rom
975 %{_datadir}/%{name}/efi-virtio.rom
976 %{_datadir}/%{name}/kvmvapic.bin
977 %{_datadir}/%{name}/linuxboot.bin
978 %{_datadir}/%{name}/multiboot.bin
979 %{_datadir}/%{name}/openbios-ppc
980 %{_datadir}/%{name}/openbios-sparc*
981 %{_datadir}/%{name}/palcode-clipper
982 %{_datadir}/%{name}/petalogix-ml605.dtb
983 %{_datadir}/%{name}/petalogix-s3adsp1800.dtb
984 %{_datadir}/%{name}/ppc_rom.bin
985 %{_datadir}/%{name}/pxe-e1000.rom
986 %{_datadir}/%{name}/pxe-eepro100.rom
987 %{_datadir}/%{name}/pxe-ne2k_pci.rom
988 %{_datadir}/%{name}/pxe-pcnet.rom
989 %{_datadir}/%{name}/pxe-rtl8139.rom
990 %{_datadir}/%{name}/pxe-virtio.rom
991 %{_datadir}/%{name}/qemu_logo_no_text.svg
992 %{_datadir}/%{name}/s390-ccw.img
993 %{_datadir}/%{name}/s390-zipl.rom
994 %{_datadir}/%{name}/sgabios.bin
995 %{_datadir}/%{name}/slof.bin
996 %{_datadir}/%{name}/spapr-rtas.bin
997 %{_datadir}/%{name}/vgabios-cirrus.bin
998 %{_datadir}/%{name}/vgabios-qxl.bin
999 %{_datadir}/%{name}/vgabios-stdvga.bin
1000 %{_datadir}/%{name}/vgabios-virtio.bin
1001 %{_datadir}/%{name}/vgabios-vmware.bin
1002 %{_datadir}/%{name}/vgabios.bin
1003
1004 %dir %{_libdir}/%{name}
1005
1006 # modules without too many external dependencies
1007 %attr(755,root,root) %{_libdir}/%{name}/block-dmg.so
1008
1009 %files img
1010 %defattr(644,root,root,755)
1011 %attr(755,root,root) %{_bindir}/qemu-img
1012 %{_mandir}/man1/qemu-img.1*
1013
1014 %files user
1015 %defattr(644,root,root,755)
1016 /usr/lib/binfmt.d/qemu-*.conf
1017 %attr(755,root,root) %{_bindir}/qemu-aarch64
1018 %attr(755,root,root) %{_bindir}/qemu-alpha
1019 %attr(755,root,root) %{_bindir}/qemu-arm
1020 %attr(755,root,root) %{_bindir}/qemu-armeb
1021 %attr(755,root,root) %{_bindir}/qemu-cris
1022 %attr(755,root,root) %{_bindir}/qemu-i386
1023 %attr(755,root,root) %{_bindir}/qemu-io
1024 %attr(755,root,root) %{_bindir}/qemu-m68k
1025 %attr(755,root,root) %{_bindir}/qemu-microblaze
1026 %attr(755,root,root) %{_bindir}/qemu-microblazeel
1027 %attr(755,root,root) %{_bindir}/qemu-mips
1028 %attr(755,root,root) %{_bindir}/qemu-mipsel
1029 %attr(755,root,root) %{_bindir}/qemu-mips64
1030 %attr(755,root,root) %{_bindir}/qemu-mips64el
1031 %attr(755,root,root) %{_bindir}/qemu-mipsn32
1032 %attr(755,root,root) %{_bindir}/qemu-mipsn32el
1033 %attr(755,root,root) %{_bindir}/qemu-or32
1034 %attr(755,root,root) %{_bindir}/qemu-ppc
1035 %attr(755,root,root) %{_bindir}/qemu-ppc64
1036 %attr(755,root,root) %{_bindir}/qemu-ppc64abi32
1037 %attr(755,root,root) %{_bindir}/qemu-ppc64le
1038 %attr(755,root,root) %{_bindir}/qemu-s390x
1039 %attr(755,root,root) %{_bindir}/qemu-sh4
1040 %attr(755,root,root) %{_bindir}/qemu-sh4eb
1041 %attr(755,root,root) %{_bindir}/qemu-sparc
1042 %attr(755,root,root) %{_bindir}/qemu-sparc32plus
1043 %attr(755,root,root) %{_bindir}/qemu-sparc64
1044 %attr(755,root,root) %{_bindir}/qemu-unicore32
1045 %attr(755,root,root) %{_bindir}/qemu-x86_64
1046
1047 %files system-aarch64
1048 %defattr(644,root,root,755)
1049 %attr(755,root,root) %{_bindir}/qemu-system-aarch64
1050
1051 %files system-alpha
1052 %defattr(644,root,root,755)
1053 %attr(755,root,root) %{_bindir}/qemu-system-alpha
1054
1055 %files system-arm
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_bindir}/qemu-system-arm
1058
1059 %files system-cris
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_bindir}/qemu-system-cris
1062
1063 %files system-lm32
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_bindir}/qemu-system-lm32
1066
1067 %files system-m68k
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{_bindir}/qemu-system-m68k
1070
1071 %files system-microblaze
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_bindir}/qemu-system-microblaze
1074 %attr(755,root,root) %{_bindir}/qemu-system-microblazeel
1075
1076 %files system-mips
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_bindir}/qemu-system-mips
1079 %attr(755,root,root) %{_bindir}/qemu-system-mipsel
1080 %attr(755,root,root) %{_bindir}/qemu-system-mips64
1081 %attr(755,root,root) %{_bindir}/qemu-system-mips64el
1082
1083 %files system-moxie
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_bindir}/qemu-system-moxie
1086
1087 %files system-or32
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_bindir}/qemu-system-or32
1090
1091 %files system-ppc
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_bindir}/qemu-system-ppc
1094 %attr(755,root,root) %{_bindir}/qemu-system-ppc64
1095 #%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
1096 %attr(755,root,root) %{_bindir}/qemu-system-ppcemb
1097 %{_datadir}/%{name}/u-boot.e500
1098
1099 %files system-s390x
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{_bindir}/qemu-system-s390x
1102
1103 %files system-sh4
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_bindir}/qemu-system-sh4
1106 %attr(755,root,root) %{_bindir}/qemu-system-sh4eb
1107
1108 %files system-sparc
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_bindir}/qemu-system-sparc
1111 %attr(755,root,root) %{_bindir}/qemu-system-sparc64
1112
1113 %files system-tricore
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_bindir}/qemu-system-tricore
1116
1117 %files system-unicore32
1118 %defattr(644,root,root,755)
1119 %attr(755,root,root) %{_bindir}/qemu-system-unicore32
1120
1121 %files system-x86
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_bindir}/qemu-system-i386
1124 %attr(755,root,root) %{_bindir}/qemu-system-x86_64
1125 %ifarch %{ix86} %{x8664} x32
1126 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf
1127 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules
1128 %attr(755,root,root) %{_bindir}/kvm_stat
1129 %endif
1130 %{_datadir}/%{name}/bios.bin
1131 %{_datadir}/%{name}/bios-256k.bin
1132 %{_datadir}/%{name}/acpi-dsdt.aml
1133 %{_datadir}/%{name}/q35-acpi-dsdt.aml
1134
1135 %files system-xtensa
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) %{_bindir}/qemu-system-xtensa
1138 %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb
1139
1140 %files guest-agent
1141 %defattr(644,root,root,755)
1142 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules
1143 %{systemdunitdir}/qemu-guest-agent.service
1144 %attr(755,root,root) %{_bindir}/qemu-ga
1145
1146 %files module-block-curl
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_libdir}/%{name}/block-curl.so
1149
1150 %if %{with glusterfs}
1151 %files module-block-gluster
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so
1154 %endif
1155
1156 %if %{with iscsi}
1157 %files module-block-iscsi
1158 %defattr(644,root,root,755)
1159 %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so
1160 %endif
1161
1162 %if %{with ceph}
1163 %files module-block-rbd
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so
1166 %endif
1167
1168 %files module-block-ssh
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so
This page took 0.189039 seconds and 3 git commands to generate.