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