]>
Commit | Line | Data |
---|---|---|
0b920c52 | 1 | # |
6aef4654 | 2 | # Conditional build: |
78a71650 | 3 | %bcond_without sdl # SDL UI and audio support |
ce44b534 | 4 | %bcond_without glx # OpenGL/GLX support |
78a71650 | 5 | %bcond_without ceph # Ceph/RBD support |
80dbeed1 JB |
6 | %bcond_without glusterfs # GlusterFS backend |
7 | %bcond_without rdma # RDMA-based migration support | |
ce44b534 | 8 | %bcond_with gtk2 # GTK+ 2.x instead of 3.x |
59bc1300 | 9 | %bcond_without spice # SPICE support |
78a71650 JB |
10 | %bcond_with esd # EsounD audio support |
11 | %bcond_without oss # OSS audio support | |
12 | %bcond_without pulseaudio # PulseAudio audio support | |
13 | %bcond_without xen # Xen backend driver support | |
ae8bf749 | 14 | |
cd19124e | 15 | Summary: QEMU CPU Emulator |
eec0535a | 16 | Summary(pl.UTF-8): QEMU - emulator procesora |
7b81d160 | 17 | Name: qemu |
4e8ae6f9 JB |
18 | Version: 1.7.1 |
19 | Release: 1 | |
78a71650 | 20 | License: GPL v2+ |
5a2da1d0 | 21 | Group: Applications/Emulators |
46ca1df6 | 22 | Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2 |
4e8ae6f9 | 23 | # Source0-md5: 9541063d999cf9659ed7fdce71314f31 |
008c880e | 24 | Source2: %{name}.binfmt |
41ed6e2c JR |
25 | # Loads kvm kernel modules at boot |
26 | Source3: kvm-modules-load.conf | |
27 | # Creates /dev/kvm | |
28 | Source4: 80-kvm.rules | |
9fdf235e JR |
29 | # KSM control scripts |
30 | Source5: ksm.service | |
31 | Source6: ksm.sysconfig | |
32 | Source7: ksmctl.c | |
33 | Source8: ksmtuned.service | |
34 | Source9: ksmtuned | |
35 | Source10: ksmtuned.conf | |
008c880e ER |
36 | Source11: %{name}-guest-agent.service |
37 | Source12: 99-%{name}-guest-agent.rules | |
9bcd4ab6 | 38 | Patch0: %{name}-cflags.patch |
d9002706 | 39 | Patch1: vgabios-widescreens.patch |
449d43aa JB |
40 | Patch2: %{name}-whitelist.patch |
41 | Patch3: %{name}-system-libcacard.patch | |
008c880e | 42 | Patch4: vmdk3ro.patch |
4e8ae6f9 | 43 | Patch5: %{name}-xattr.patch |
108b8fca | 44 | Patch6: libjpeg-boolean.patch |
81a493f2 | 45 | # Proof of concept, for reference, do not remove |
008c880e | 46 | Patch400: %{name}-kde_virtual_workspaces_hack.patch |
ae8bf749 | 47 | URL: http://www.qemu-project.org/ |
78a71650 JB |
48 | %{?with_opengl:BuildRequires: OpenGL-GLX-devel} |
49 | %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1} | |
b0b3ca8d | 50 | BuildRequires: alsa-lib-devel |
008c880e | 51 | BuildRequires: bcc |
b99b1652 | 52 | BuildRequires: bluez-libs-devel |
78a71650 JB |
53 | BuildRequires: brlapi-devel |
54 | %{?with_ceph:BuildRequires: ceph-devel} | |
55 | BuildRequires: curl-devel | |
56 | BuildRequires: cyrus-sasl-devel >= 2 | |
57 | %{?with_esd:BuildRequires: esound-devel} | |
58 | BuildRequires: glib2-devel >= 1:2.12 | |
1ffe7dfd | 59 | %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4} |
b99b1652 | 60 | BuildRequires: gnutls-devel |
87364910 | 61 | BuildRequires: libaio-devel |
c18e9cf6 | 62 | BuildRequires: libcacard-devel |
78a71650 JB |
63 | BuildRequires: libcap-devel |
64 | BuildRequires: libcap-ng-devel | |
65 | BuildRequires: libfdt-devel | |
80dbeed1 | 66 | %{?with_rdma:BuildRequires: libibverbs-devel} |
78a71650 JB |
67 | BuildRequires: libiscsi-devel |
68 | BuildRequires: libjpeg-devel | |
69 | BuildRequires: libpng-devel | |
80dbeed1 | 70 | %{?with_rdma:BuildRequires: librdmacm-devel} |
78a71650 | 71 | BuildRequires: libseccomp-devel |
ce44b534 JB |
72 | BuildRequires: libssh2-devel >= 1.2.8 |
73 | # for usb passthrough, when available | |
74 | #BuildRequires: libusb-devel >= 1.0.13 | |
78a71650 | 75 | BuildRequires: libuuid-devel |
98a1a188 | 76 | BuildRequires: ncurses-devel |
78a71650 | 77 | BuildRequires: nss-devel >= 3.12.8 |
995bac8b | 78 | BuildRequires: perl-Encode |
2fb8ea02 | 79 | BuildRequires: perl-tools-pod |
ba84a935 | 80 | BuildRequires: pkgconfig |
78a71650 | 81 | %{?with_pulseaudio:BuildRequires: pulseaudio-devel} |
1c6a7aa7 | 82 | BuildRequires: rpmbuild(macros) >= 1.644 |
8bb1261c | 83 | BuildRequires: sed >= 4.0 |
59bc1300 | 84 | %if %{with spice} |
e8a4bb4c GPP |
85 | BuildRequires: spice-protocol >= 0.12.0 |
86 | BuildRequires: spice-server-devel >= 0.12.0 | |
59bc1300 | 87 | %endif |
a1146336 | 88 | BuildRequires: texi2html |
22f71ecb | 89 | BuildRequires: texinfo |
b7485d2e | 90 | BuildRequires: usbredir-devel >= 0.6 |
78a71650 | 91 | BuildRequires: vde2-devel |
cad677a4 | 92 | BuildRequires: which |
78a71650 JB |
93 | %{?with_xen:BuildRequires: xen-devel >= 3.4} |
94 | BuildRequires: xfsprogs-devel | |
ba84a935 | 95 | BuildRequires: xorg-lib-libX11-devel |
78a71650 | 96 | BuildRequires: zlib-devel |
ce44b534 JB |
97 | %if %{with gtk2} |
98 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
99 | BuildRequires: vte0-devel >= 0.24.0 | |
100 | %else | |
101 | BuildRequires: gtk+3-devel >= 3.0.0 | |
102 | BuildRequires: vte-devel >= 0.32.0 | |
103 | %endif | |
fabf5a9c ER |
104 | Requires: %{name}-img = %{version}-%{release} |
105 | Requires: %{name}-system-alpha = %{version}-%{release} | |
106 | Requires: %{name}-system-arm = %{version}-%{release} | |
107 | Requires: %{name}-system-cris = %{version}-%{release} | |
108 | Requires: %{name}-system-lm32 = %{version}-%{release} | |
109 | Requires: %{name}-system-m68k = %{version}-%{release} | |
110 | Requires: %{name}-system-microblaze = %{version}-%{release} | |
111 | Requires: %{name}-system-mips = %{version}-%{release} | |
a56d4cfd | 112 | Requires: %{name}-system-moxie = %{version}-%{release} |
92c357d4 | 113 | Requires: %{name}-system-or32 = %{version}-%{release} |
ae8bf749 | 114 | Requires: %{name}-system-ppc = %{version}-%{release} |
fabf5a9c ER |
115 | Requires: %{name}-system-s390x = %{version}-%{release} |
116 | Requires: %{name}-system-sh4 = %{version}-%{release} | |
117 | Requires: %{name}-system-sparc = %{version}-%{release} | |
72ddf007 | 118 | Requires: %{name}-system-unicore32 = %{version}-%{release} |
fabf5a9c ER |
119 | Requires: %{name}-system-x86 = %{version}-%{release} |
120 | Requires: %{name}-system-xtensa = %{version}-%{release} | |
121 | Requires: %{name}-user = %{version}-%{release} | |
e03112c2 | 122 | Obsoletes: qemu-kvm |
cd19124e | 123 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
124 | ||
78a71650 | 125 | %define systempkg_req \ |
449d43aa | 126 | Requires: SDL >= 1.2.1 \ |
ce44b534 JB |
127 | Requires: usbredir >= 0.6 \ |
128 | %if %{with gtk2} \ | |
129 | Requires: gtk+2 >= 2:2.18.0 \ | |
130 | Requires: vte0 >= 0.24.0 \ | |
131 | %else \ | |
132 | Requires: gtk+3 >= 3.0.0 \ | |
133 | Requires: vte >= 0.32.0 \ | |
134 | %endif | |
78a71650 | 135 | |
98a1a188 | 136 | # some PPC/SPARC boot image in ELF format |
22f71ecb | 137 | %define _noautostrip .*%{_datadir}/qemu/.*-.* |
a154aede | 138 | |
cd19124e | 139 | %description |
140 | QEMU is a FAST! processor emulator. By using dynamic translation it | |
141 | achieves a reasonnable speed while being easy to port on new host | |
142 | CPUs. QEMU has two operating modes: | |
143 | ||
144 | - User mode emulation. In this mode, QEMU can launch Linux processes | |
145 | compiled for one CPU on another CPU. Linux system calls are converted | |
146 | because of endianness and 32/64 bit mismatches. Wine (Windows | |
147 | emulation) and DOSEMU (DOS emulation) are the main targets for QEMU. | |
148 | ||
149 | - Full system emulation. In this mode, QEMU emulates a full system, | |
8799423b ER |
150 | including a processor and various peripherials. It can also be used to |
151 | provide virtual hosting of several virtual PC on a single server. | |
cd19124e | 152 | |
27b30e9c JR |
153 | %description -l pl.UTF-8 |
154 | QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego | |
155 | tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania, | |
156 | aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy: | |
5a2da1d0 | 157 | |
27b30e9c | 158 | - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać |
5a2da1d0 | 159 | procesy linuksowe skompilowane dla jednego procesora na innym |
27b30e9c JR |
160 | procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na |
161 | niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru | |
162 | słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne | |
5a2da1d0 JB |
163 | cele QEMU. |
164 | ||
27b30e9c JR |
165 | - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system, |
166 | włączając w to procesor i różne urządzenia peryferyjne. Może być także | |
167 | używane do wirtualnego hostowania kilku wirtualnych pecetów na | |
8799423b | 168 | pojedynczym serwerze. |
5a2da1d0 | 169 | |
d86014ba | 170 | %package common |
fabf5a9c | 171 | Summary: QEMU common files needed by all QEMU targets |
d86014ba | 172 | Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU |
fabf5a9c | 173 | Group: Development/Tools |
c980f439 | 174 | Requires(post,preun,postun): systemd-units >= 38 |
14b9f266 AG |
175 | Requires(postun): /usr/sbin/groupdel |
176 | Requires(postun): /usr/sbin/userdel | |
177 | Requires(pre): /bin/id | |
178 | Requires(pre): /usr/bin/getgid | |
179 | Requires(pre): /usr/sbin/groupadd | |
180 | Requires(pre): /usr/sbin/useradd | |
ce44b534 JB |
181 | Requires: glib2 >= 1:2.12 |
182 | Requires: libssh2 >= 1.2.8 | |
c980f439 | 183 | Requires: systemd-units >= 38 |
14b9f266 AG |
184 | Provides: group(qemu) |
185 | Provides: user(qemu) | |
e03112c2 | 186 | Obsoletes: qemu-kvm-common |
fabf5a9c ER |
187 | Conflicts: qemu < 1.0-2 |
188 | ||
189 | %description common | |
190 | QEMU is a generic and open source processor emulator which achieves a | |
191 | good emulation speed by using dynamic translation. | |
192 | ||
193 | This package provides the common files needed by all QEMU targets. | |
194 | ||
d86014ba JB |
195 | %description common -l pl.UTF-8 |
196 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
197 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
198 | ||
199 | Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie | |
200 | środowiska QEMU. | |
201 | ||
202 | %package img | |
fabf5a9c | 203 | Summary: QEMU command line tool for manipulating disk images |
d86014ba | 204 | Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków |
fabf5a9c | 205 | Group: Development/Tools |
e03112c2 | 206 | Obsoletes: qemu-kvm-img |
008c880e | 207 | Conflicts: qemu < 1.0-2 |
fabf5a9c ER |
208 | |
209 | %description img | |
d86014ba JB |
210 | This package provides a command line tool for manipulating disk |
211 | images. | |
212 | ||
213 | %description img -l pl.UTF-8 | |
214 | Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji | |
215 | na obrazach dysków. | |
fabf5a9c ER |
216 | |
217 | %package user | |
218 | Summary: QEMU user mode emulation of qemu targets | |
d86014ba | 219 | Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu |
fabf5a9c ER |
220 | Group: Development/Tools |
221 | Requires: %{name}-common = %{version}-%{release} | |
1c6a7aa7 JR |
222 | Requires(post,postun): systemd-units >= 38 |
223 | Requires: systemd-units >= 38 | |
e03112c2 | 224 | Obsoletes: qemu-kvm-user |
fabf5a9c ER |
225 | |
226 | %description user | |
227 | QEMU is a generic and open source processor emulator which achieves a | |
228 | good emulation speed by using dynamic translation. | |
229 | ||
230 | This package provides the user mode emulation of QEMU targets. | |
231 | ||
d86014ba JB |
232 | %description user -l pl.UTF-8 |
233 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
234 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
235 | ||
236 | Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU. | |
237 | ||
fabf5a9c | 238 | %package system-alpha |
d86014ba JB |
239 | Summary: QEMU system emulator for Alpha |
240 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha | |
fabf5a9c ER |
241 | Group: Development/Tools |
242 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 243 | %systempkg_req |
e03112c2 | 244 | Obsoletes: qemu-kvm-system-alpha |
fabf5a9c ER |
245 | |
246 | %description system-alpha | |
247 | QEMU is a generic and open source processor emulator which achieves a | |
248 | good emulation speed by using dynamic translation. | |
249 | ||
d86014ba JB |
250 | This package provides the system emulator with Alpha CPU. |
251 | ||
252 | %description system-alpha -l pl.UTF-8 | |
253 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
254 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
255 | ||
256 | Ten pakiet zawiera emulator systemu z procesorem Alpha. | |
fabf5a9c ER |
257 | |
258 | %package system-arm | |
d86014ba JB |
259 | Summary: QEMU system emulator for ARM |
260 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM | |
fabf5a9c ER |
261 | Group: Development/Tools |
262 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 263 | %systempkg_req |
e03112c2 | 264 | Obsoletes: qemu-kvm-system-arm |
fabf5a9c ER |
265 | |
266 | %description system-arm | |
267 | QEMU is a generic and open source processor emulator which achieves a | |
268 | good emulation speed by using dynamic translation. | |
269 | ||
d86014ba JB |
270 | This package provides the system emulator for ARM. |
271 | ||
272 | %description system-arm -l pl.UTF-8 | |
273 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
274 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
275 | ||
276 | Ten pakiet zawiera emulator systemu z procesorem ARM. | |
fabf5a9c ER |
277 | |
278 | %package system-cris | |
59bc1300 | 279 | Summary: QEMU system emulator for CRIS |
d86014ba | 280 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS |
fabf5a9c ER |
281 | Group: Development/Tools |
282 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 283 | %systempkg_req |
e03112c2 | 284 | Obsoletes: qemu-kvm-system-cris |
fabf5a9c ER |
285 | |
286 | %description system-cris | |
287 | QEMU is a generic and open source processor emulator which achieves a | |
288 | good emulation speed by using dynamic translation. | |
289 | ||
d86014ba JB |
290 | This package provides the system emulator with CRIS CPU. |
291 | ||
292 | %description system-cris -l pl.UTF-8 | |
293 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
294 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
295 | ||
296 | Ten pakiet zawiera emulator systemu z procesorem CRIS. | |
fabf5a9c ER |
297 | |
298 | %package system-lm32 | |
d86014ba JB |
299 | Summary: QEMU system emulator for LM32 |
300 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32 | |
fabf5a9c ER |
301 | Group: Development/Tools |
302 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 303 | %systempkg_req |
e03112c2 | 304 | Obsoletes: qemu-kvm-system-lm32 |
fabf5a9c ER |
305 | |
306 | %description system-lm32 | |
307 | QEMU is a generic and open source processor emulator which achieves a | |
308 | good emulation speed by using dynamic translation. | |
309 | ||
d86014ba JB |
310 | This package provides the system emulator with LM32 CPU. |
311 | ||
312 | %description system-lm32 -l pl.UTF-8 | |
313 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
314 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
315 | ||
316 | Ten pakiet zawiera emulator systemu z procesorem LM32. | |
fabf5a9c ER |
317 | |
318 | %package system-m68k | |
319 | Summary: QEMU system emulator for m68k | |
d86014ba | 320 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k |
fabf5a9c ER |
321 | Group: Development/Tools |
322 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 323 | %systempkg_req |
e03112c2 | 324 | Obsoletes: qemu-kvm-system-m68k |
fabf5a9c ER |
325 | |
326 | %description system-m68k | |
327 | QEMU is a generic and open source processor emulator which achieves a | |
328 | good emulation speed by using dynamic translation. | |
329 | ||
d86014ba JB |
330 | This package provides the system emulator with m68k CPU. |
331 | ||
332 | %description system-m68k -l pl.UTF-8 | |
333 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
334 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
335 | ||
336 | Ten pakiet zawiera emulator systemu z procesorem m68k. | |
fabf5a9c ER |
337 | |
338 | %package system-microblaze | |
d86014ba JB |
339 | Summary: QEMU system emulator for MicroBlaze |
340 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze | |
fabf5a9c ER |
341 | Group: Development/Tools |
342 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 343 | %systempkg_req |
e03112c2 | 344 | Obsoletes: qemu-kvm-system-microblaze |
fabf5a9c ER |
345 | |
346 | %description system-microblaze | |
347 | QEMU is a generic and open source processor emulator which achieves a | |
348 | good emulation speed by using dynamic translation. | |
349 | ||
d86014ba JB |
350 | This package provides the system emulator with MicroBlaze CPU. |
351 | ||
352 | %description system-microblaze -l pl.UTF-8 | |
353 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
354 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
355 | ||
356 | Ten pakiet zawiera emulator systemu z procesorem MicroBlaze. | |
fabf5a9c ER |
357 | |
358 | %package system-mips | |
d86014ba JB |
359 | Summary: QEMU system emulator for MIPS |
360 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS | |
fabf5a9c ER |
361 | Group: Development/Tools |
362 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 363 | %systempkg_req |
e03112c2 | 364 | Obsoletes: qemu-kvm-system-mips |
fabf5a9c ER |
365 | |
366 | %description system-mips | |
367 | QEMU is a generic and open source processor emulator which achieves a | |
368 | good emulation speed by using dynamic translation. | |
369 | ||
d86014ba JB |
370 | This package provides the system emulator with MIPS CPU. |
371 | ||
372 | %description system-mips -l pl.UTF-8 | |
373 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
374 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
375 | ||
376 | Ten pakiet zawiera emulator systemu z procesorem MIPS. | |
fabf5a9c | 377 | |
a56d4cfd JB |
378 | %package system-moxie |
379 | Summary: QEMU system emulator for Moxie | |
380 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie | |
381 | Group: Development/Tools | |
382 | Requires: %{name}-common = %{version}-%{release} | |
383 | %systempkg_req | |
384 | ||
385 | %description system-moxie | |
386 | QEMU is a generic and open source processor emulator which achieves a | |
387 | good emulation speed by using dynamic translation. | |
388 | ||
389 | This package provides the system emulator with Moxie CPU. | |
390 | ||
391 | %description system-moxie -l pl.UTF-8 | |
392 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
393 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
394 | ||
395 | Ten pakiet zawiera emulator systemu z procesorem Moxie. | |
396 | ||
92c357d4 | 397 | %package system-or32 |
d86014ba JB |
398 | Summary: QEMU system emulator for OpenRISC |
399 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC | |
92c357d4 PS |
400 | Group: Development/Tools |
401 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 402 | %systempkg_req |
e03112c2 | 403 | Obsoletes: qemu-kvm-system-or32 |
92c357d4 PS |
404 | |
405 | %description system-or32 | |
406 | QEMU is a generic and open source processor emulator which achieves a | |
407 | good emulation speed by using dynamic translation. | |
408 | ||
d86014ba JB |
409 | This package provides the system emulator with OpenRISC CPU. |
410 | ||
411 | %description system-or32 -l pl.UTF-8 | |
412 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
413 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
414 | ||
415 | Ten pakiet zawiera emulator systemu z procesorem OpenRISC. | |
92c357d4 | 416 | |
fabf5a9c | 417 | %package system-ppc |
d86014ba JB |
418 | Summary: QEMU system emulator for PowerPC |
419 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC | |
fabf5a9c ER |
420 | Group: Development/Tools |
421 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 422 | %systempkg_req |
e03112c2 | 423 | Obsoletes: qemu-kvm-system-ppc |
fabf5a9c ER |
424 | |
425 | %description system-ppc | |
426 | QEMU is a generic and open source processor emulator which achieves a | |
427 | good emulation speed by using dynamic translation. | |
428 | ||
d86014ba JB |
429 | This package provides the system emulator with PowerPC CPU. |
430 | ||
431 | %description system-ppc -l pl.UTF-8 | |
432 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
433 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
434 | ||
435 | Ten pakiet zawiera emulator systemu z procesorem PowerPC. | |
fabf5a9c ER |
436 | |
437 | %package system-s390x | |
d86014ba JB |
438 | Summary: QEMU system emulator for S390 |
439 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390 | |
fabf5a9c ER |
440 | Group: Development/Tools |
441 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 442 | %systempkg_req |
e03112c2 | 443 | Obsoletes: qemu-kvm-system-s390x |
fabf5a9c ER |
444 | |
445 | %description system-s390x | |
446 | QEMU is a generic and open source processor emulator which achieves a | |
447 | good emulation speed by using dynamic translation. | |
448 | ||
d86014ba JB |
449 | This package provides the system emulator with S390 CPU. |
450 | ||
451 | %description system-s390x -l pl.UTF-8 | |
452 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
453 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
454 | ||
455 | Ten pakiet zawiera emulator systemu z procesorem S390. | |
fabf5a9c ER |
456 | |
457 | %package system-sh4 | |
d86014ba JB |
458 | Summary: QEMU system emulator for SH4 |
459 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4 | |
fabf5a9c ER |
460 | Group: Development/Tools |
461 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 462 | %systempkg_req |
e03112c2 | 463 | Obsoletes: qemu-kvm-system-sh4 |
fabf5a9c ER |
464 | |
465 | %description system-sh4 | |
466 | QEMU is a generic and open source processor emulator which achieves a | |
467 | good emulation speed by using dynamic translation. | |
468 | ||
d86014ba JB |
469 | This package provides the system emulator with SH4 CPU. |
470 | ||
471 | %description system-sh4 -l pl.UTF-8 | |
472 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
473 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
474 | ||
475 | Ten pakiet zawiera emulator systemu z procesorem SH4. | |
fabf5a9c ER |
476 | |
477 | %package system-sparc | |
d86014ba JB |
478 | Summary: QEMU system emulator for SPARC |
479 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC | |
fabf5a9c ER |
480 | Group: Development/Tools |
481 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 482 | %systempkg_req |
e03112c2 | 483 | Obsoletes: qemu-kvm-system-sparc |
fabf5a9c ER |
484 | |
485 | %description system-sparc | |
486 | QEMU is a generic and open source processor emulator which achieves a | |
487 | good emulation speed by using dynamic translation. | |
488 | ||
d86014ba JB |
489 | This package provides the system emulator with SPARC/SPARC64 CPU. |
490 | ||
491 | %description system-sparc -l pl.UTF-8 | |
492 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
493 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
494 | ||
495 | Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64. | |
fabf5a9c | 496 | |
72ddf007 | 497 | %package system-unicore32 |
d86014ba JB |
498 | Summary: QEMU system emulator for UniCore32 |
499 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32 | |
72ddf007 PS |
500 | Group: Development/Tools |
501 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 502 | %systempkg_req |
e03112c2 | 503 | Obsoletes: qemu-kvm-system-unicore32 |
72ddf007 PS |
504 | |
505 | %description system-unicore32 | |
506 | QEMU is a generic and open source processor emulator which achieves a | |
507 | good emulation speed by using dynamic translation. | |
508 | ||
d86014ba JB |
509 | This package provides the system emulator with UniCore32 CPU. |
510 | ||
511 | %description system-unicore32 -l pl.UTF-8 | |
512 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
513 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
514 | ||
515 | Ten pakiet zawiera emulator systemu z procesorem UniCore32. | |
72ddf007 | 516 | |
fabf5a9c ER |
517 | %package system-x86 |
518 | Summary: QEMU system emulator for x86 | |
d86014ba | 519 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86 |
fabf5a9c ER |
520 | Group: Development/Tools |
521 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 522 | %systempkg_req |
1c6a7aa7 | 523 | Obsoletes: kvm |
e03112c2 | 524 | Obsoletes: qemu-kvm-system-x86 |
fabf5a9c ER |
525 | |
526 | %description system-x86 | |
527 | QEMU is a generic and open source processor emulator which achieves a | |
528 | good emulation speed by using dynamic translation. | |
529 | ||
d86014ba JB |
530 | %description system-x86 -l pl.UTF-8 |
531 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
532 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
533 | ||
fabf5a9c | 534 | %package system-xtensa |
d86014ba JB |
535 | Summary: QEMU system emulator for Xtensa |
536 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa | |
fabf5a9c ER |
537 | Group: Development/Tools |
538 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 539 | %systempkg_req |
e03112c2 | 540 | Obsoletes: qemu-kvm-system-xtensa |
fabf5a9c ER |
541 | |
542 | %description system-xtensa | |
543 | QEMU is a generic and open source processor emulator which achieves a | |
544 | good emulation speed by using dynamic translation. | |
545 | ||
d86014ba JB |
546 | This package provides the system emulator with Xtensa CPU. |
547 | ||
548 | %description system-xtensa -l pl.UTF-8 | |
549 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
550 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
551 | ||
552 | Ten pakiet zawiera emulator systemu z procesorem Xtensa. | |
fabf5a9c | 553 | |
93473205 JR |
554 | %package guest-agent |
555 | Summary: QEMU guest agent | |
556 | Summary(pl.UTF-8): Agent gościa QEMU | |
557 | Group: Daemons | |
558 | Requires(post,preun,postun): systemd-units >= 38 | |
559 | Requires: glib2 >= 1:2.12 | |
560 | Requires: systemd-units >= 38 | |
561 | Obsoletes: qemu-kvm-guest-agent | |
562 | ||
563 | %description guest-agent | |
008c880e ER |
564 | QEMU is a generic and open source processor emulator which achieves a |
565 | good emulation speed by using dynamic translation. | |
93473205 JR |
566 | |
567 | This package provides an agent to run inside guests, which | |
568 | communicates with the host over a virtio-serial channel named | |
569 | "org.qemu.guest_agent.0". | |
570 | ||
571 | This package does not need to be installed on the host OS. | |
572 | ||
573 | %description guest-agent -l pl.UTF-8 | |
574 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
575 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
576 | ||
577 | Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w | |
578 | systemach-gościach, komunikującego się kanałem virtio-serial o nazwie | |
579 | "org.qemu.guest_agent.0". | |
580 | ||
581 | Ten pakiet nie musi być zainstalowany w systemie hosta. | |
582 | ||
cd19124e | 583 | %prep |
c21a255a | 584 | %setup -q |
3c6e2290 | 585 | %patch0 -p1 |
d9002706 | 586 | %patch1 -p1 |
449d43aa JB |
587 | %patch2 -p0 |
588 | %patch3 -p1 | |
008c880e | 589 | %patch4 -p1 |
4e8ae6f9 | 590 | %patch5 -p1 |
108b8fca | 591 | %patch6 -p1 |
c18e9cf6 JB |
592 | |
593 | %{__mv} libcacard libcacard-use-system-lib | |
0b920c52 | 594 | |
bd30ad73 GP |
595 | # workaround for conflict with alsa/error.h |
596 | ln -s ../error.h qapi/error.h | |
597 | ||
80bac37e | 598 | %build |
8bd2aee2 | 599 | ./configure \ |
3c6e2290 JR |
600 | --extra-cflags="%{rpmcflags} -I/usr/include/ncurses" \ |
601 | --extra-ldflags="%{rpmldflags}" \ | |
8bd2aee2 | 602 | --prefix=%{_prefix} \ |
87364910 | 603 | --sysconfdir=%{_sysconfdir} \ |
98a1a188 AM |
604 | --cc="%{__cc}" \ |
605 | --host-cc="%{__cc}" \ | |
5263f8f5 | 606 | --disable-strip \ |
78a71650 JB |
607 | --enable-attr \ |
608 | --enable-bluez \ | |
609 | --enable-brlapi \ | |
610 | --enable-cap-ng \ | |
611 | --enable-curl \ | |
612 | --enable-curses \ | |
87364910 | 613 | --enable-docs \ |
78a71650 | 614 | --enable-fdt \ |
449d43aa | 615 | %{__enable_disable glusterfs} \ |
78a71650 | 616 | --enable-libiscsi \ |
d5150748 | 617 | %{__enable_disable glx} \ |
78a71650 | 618 | %{__enable_disable ceph rbd} \ |
80dbeed1 | 619 | %{__enable_disable rdma} \ |
78a71650 JB |
620 | %{__enable_disable sdl} \ |
621 | --enable-seccomp \ | |
59bc1300 | 622 | %{__enable_disable spice} \ |
78a71650 | 623 | --enable-smartcard-nss \ |
ce44b534 | 624 | --enable-tpm \ |
78a71650 JB |
625 | --enable-usb-redir \ |
626 | --enable-uuid \ | |
627 | --enable-vde \ | |
628 | --enable-virtfs \ | |
629 | --enable-vnc-jpeg \ | |
87364910 | 630 | --enable-vnc-png \ |
78a71650 JB |
631 | --enable-vnc-sasl \ |
632 | --enable-vnc-tls \ | |
51327cc0 | 633 | --enable-kvm \ |
78a71650 | 634 | %{__enable_disable xen} \ |
87364910 | 635 | --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \ |
ce44b534 JB |
636 | --interp-prefix=%{_libdir}/qemu/lib-%%M \ |
637 | --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}" | |
638 | ||
5263f8f5 JB |
639 | # note: CONFIG_QEMU_HELPERDIR is used when compiling, libexecdir when installing; |
640 | # --libexecdir in configure is nop | |
641 | %{__make} \ | |
642 | V=1 \ | |
643 | CONFIG_QEMU_HELPERDIR="%{_libdir}" | |
cd19124e | 644 | |
d9002706 PS |
645 | # rebuild patched vesa tables with additional widescreen modes. |
646 | %{__make} -C roms/vgabios stdvga-bios | |
647 | ||
9fdf235e JR |
648 | %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl |
649 | ||
cd19124e | 650 | %install |
651 | rm -rf $RPM_BUILD_ROOT | |
51327cc0 JR |
652 | install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \ |
653 | $RPM_BUILD_ROOT/etc/{sysconfig,udev/rules.d,modules-load.d} \ | |
654 | $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}} | |
5a2da1d0 | 655 | |
cd19124e | 656 | %{__make} install \ |
5263f8f5 JB |
657 | DESTDIR=$RPM_BUILD_ROOT \ |
658 | libexecdir=%{_libdir} | |
ac6e5743 | 659 | |
a91fea76 | 660 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
661 | cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup | |
ac6e5743 | 662 | #!/bin/sh |
a91fea76 | 663 | |
ac6e5743 | 664 | EOF |
a62a2d89 | 665 | |
5ed67169 JR |
666 | install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf |
667 | ||
41ed6e2c | 668 | %ifarch %{ix86} %{x8664} |
008c880e | 669 | install -p scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir} |
41ed6e2c JR |
670 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf |
671 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
672 | %endif | |
673 | ||
9fdf235e JR |
674 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service |
675 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm | |
676 | install -p ksmctl $RPM_BUILD_ROOT%{_sbindir} | |
677 | ||
678 | install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service | |
679 | install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned | |
680 | install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf | |
681 | ||
93473205 JR |
682 | # For the qemu-guest-agent subpackage install the systemd |
683 | # service and udev rules. | |
684 | install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir} | |
685 | install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
686 | ||
a78c5672 JR |
687 | for i in dummy \ |
688 | %ifnarch %{ix86} %{x8664} | |
008c880e | 689 | qemu-i386 \ |
a78c5672 JR |
690 | %endif |
691 | %ifnarch arm | |
008c880e | 692 | qemu-arm \ |
a78c5672 JR |
693 | %endif |
694 | %ifnarch ppc ppc64 | |
008c880e | 695 | qemu-ppc \ |
a78c5672 JR |
696 | %endif |
697 | %ifnarch sparc sparc64 | |
008c880e | 698 | qemu-sparc \ |
a78c5672 JR |
699 | %endif |
700 | %ifnarch sh4 | |
008c880e | 701 | qemu-sh4 \ |
a78c5672 JR |
702 | %endif |
703 | ; do | |
704 | test $i = dummy && continue | |
705 | grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i.conf | |
706 | done < %{SOURCE2} | |
707 | ||
68eb235d | 708 | # packaged as %doc |
5263f8f5 JB |
709 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html |
710 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt | |
c33439fc | 711 | |
d9002706 | 712 | # install patched vesa tables with additional widescreen modes. |
ae8bf749 | 713 | cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin |
d9002706 | 714 | |
008c880e ER |
715 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de} |
716 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr} | |
a56d4cfd JB |
717 | %find_lang %{name} |
718 | ||
cd19124e | 719 | %clean |
720 | rm -rf $RPM_BUILD_ROOT | |
721 | ||
c1d653f6 | 722 | %pre common |
a45c10b6 | 723 | %groupadd -g 160 kvm |
c1d653f6 | 724 | %groupadd -g 276 qemu |
a45c10b6 | 725 | %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu |
c1d653f6 | 726 | |
9fdf235e JR |
727 | %post common |
728 | %systemd_post ksm.service | |
729 | %systemd_post ksmtuned.service | |
730 | ||
731 | %preun common | |
732 | %systemd_preun ksm.service | |
733 | %systemd_preun ksmtuned.service | |
734 | ||
c1d653f6 AG |
735 | %postun common |
736 | if [ "$1" = "0" ]; then | |
737 | %userremove qemu | |
738 | %groupremove qemu | |
a45c10b6 | 739 | %groupremove kvm |
c1d653f6 | 740 | fi |
9fdf235e JR |
741 | %systemd_reload |
742 | ||
743 | %triggerpostun common -- qemu-common < 1.6.1-4 | |
744 | %systemd_trigger ksm.service | |
745 | %systemd_trigger ksmtuned.service | |
c1d653f6 | 746 | |
a78c5672 JR |
747 | %post user |
748 | %systemd_service_restart systemd-binfmt.service | |
749 | ||
750 | %postun user | |
751 | %systemd_service_restart systemd-binfmt.service | |
752 | ||
93473205 JR |
753 | %post guest-agent |
754 | %systemd_reload | |
755 | ||
756 | %preun guest-agent | |
757 | %systemd_preun qemu-guest-agent.service | |
758 | ||
759 | %postun guest-agent | |
760 | %systemd_reload | |
761 | ||
cd19124e | 762 | %files |
763 | %defattr(644,root,root,755) | |
fabf5a9c | 764 | |
a56d4cfd | 765 | %files common -f %{name}.lang |
fabf5a9c | 766 | %defattr(644,root,root,755) |
68eb235d | 767 | %doc README qemu-doc.html qemu-tech.html qmp-commands.txt |
a91fea76 | 768 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup |
fabf5a9c | 769 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu/target-*.conf |
c980f439 | 770 | %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf |
5ed67169 | 771 | %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf |
c980f439 JR |
772 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm |
773 | %{systemdunitdir}/ksm.service | |
774 | %{systemdunitdir}/ksmtuned.service | |
7c0786d1 | 775 | %dir %{_sysconfdir}/qemu |
5263f8f5 | 776 | %attr(755,root,root) %{_bindir}/virtfs-proxy-helper |
fabf5a9c | 777 | %attr(755,root,root) %{_bindir}/qemu-nbd |
5263f8f5 | 778 | %attr(755,root,root) %{_libdir}/qemu-bridge-helper |
c980f439 JR |
779 | %attr(755,root,root) %{_sbindir}/ksmctl |
780 | %attr(755,root,root) %{_sbindir}/ksmtuned | |
cd19124e | 781 | %{_mandir}/man1/qemu.1* |
5263f8f5 | 782 | %{_mandir}/man1/virtfs-proxy-helper.1* |
98a1a188 | 783 | %{_mandir}/man8/qemu-nbd.8* |
fabf5a9c ER |
784 | |
785 | %dir %{_datadir}/qemu | |
786 | %{_datadir}/%{name}/keymaps | |
5263f8f5 | 787 | %{_datadir}/%{name}/qemu-icon.bmp |
fabf5a9c | 788 | # various bios images |
f8ecc2ec | 789 | %{_datadir}/%{name}/*.aml |
fabf5a9c ER |
790 | %{_datadir}/%{name}/*.bin |
791 | %{_datadir}/%{name}/*.rom | |
792 | %{_datadir}/%{name}/*.dtb | |
abd58763 | 793 | %{_datadir}/%{name}/qemu_logo_no_text.svg |
fabf5a9c ER |
794 | %{_datadir}/%{name}/openbios-ppc |
795 | %{_datadir}/%{name}/openbios-sparc* | |
796 | %{_datadir}/%{name}/palcode-clipper | |
a56d4cfd | 797 | %{_datadir}/%{name}/s390-ccw.img |
fabf5a9c ER |
798 | |
799 | %files img | |
800 | %defattr(644,root,root,755) | |
801 | %attr(755,root,root) %{_bindir}/qemu-img | |
802 | %{_mandir}/man1/qemu-img.1* | |
803 | ||
804 | %files user | |
805 | %defattr(644,root,root,755) | |
a78c5672 | 806 | /usr/lib/binfmt.d/qemu-*.conf |
fabf5a9c ER |
807 | %attr(755,root,root) %{_bindir}/qemu-alpha |
808 | %attr(755,root,root) %{_bindir}/qemu-arm | |
809 | %attr(755,root,root) %{_bindir}/qemu-armeb | |
810 | %attr(755,root,root) %{_bindir}/qemu-cris | |
59bc1300 | 811 | %attr(755,root,root) %{_bindir}/qemu-i386 |
fabf5a9c ER |
812 | %attr(755,root,root) %{_bindir}/qemu-io |
813 | %attr(755,root,root) %{_bindir}/qemu-m68k | |
814 | %attr(755,root,root) %{_bindir}/qemu-microblaze | |
815 | %attr(755,root,root) %{_bindir}/qemu-microblazeel | |
816 | %attr(755,root,root) %{_bindir}/qemu-mips | |
817 | %attr(755,root,root) %{_bindir}/qemu-mipsel | |
a56d4cfd JB |
818 | %attr(755,root,root) %{_bindir}/qemu-mips64 |
819 | %attr(755,root,root) %{_bindir}/qemu-mips64el | |
820 | %attr(755,root,root) %{_bindir}/qemu-mipsn32 | |
821 | %attr(755,root,root) %{_bindir}/qemu-mipsn32el | |
92c357d4 | 822 | %attr(755,root,root) %{_bindir}/qemu-or32 |
fabf5a9c ER |
823 | %attr(755,root,root) %{_bindir}/qemu-ppc |
824 | %attr(755,root,root) %{_bindir}/qemu-ppc64 | |
825 | %attr(755,root,root) %{_bindir}/qemu-ppc64abi32 | |
826 | %attr(755,root,root) %{_bindir}/qemu-s390x | |
827 | %attr(755,root,root) %{_bindir}/qemu-sh4 | |
828 | %attr(755,root,root) %{_bindir}/qemu-sh4eb | |
829 | %attr(755,root,root) %{_bindir}/qemu-sparc | |
830 | %attr(755,root,root) %{_bindir}/qemu-sparc32plus | |
831 | %attr(755,root,root) %{_bindir}/qemu-sparc64 | |
832 | %attr(755,root,root) %{_bindir}/qemu-unicore32 | |
59bc1300 | 833 | %attr(755,root,root) %{_bindir}/qemu-x86_64 |
fabf5a9c ER |
834 | |
835 | %files system-alpha | |
836 | %defattr(644,root,root,755) | |
837 | %attr(755,root,root) %{_bindir}/qemu-system-alpha | |
838 | ||
839 | %files system-arm | |
840 | %defattr(644,root,root,755) | |
841 | %attr(755,root,root) %{_bindir}/qemu-system-arm | |
842 | ||
843 | %files system-cris | |
844 | %defattr(644,root,root,755) | |
845 | %attr(755,root,root) %{_bindir}/qemu-system-cris | |
846 | ||
847 | %files system-lm32 | |
848 | %defattr(644,root,root,755) | |
849 | %attr(755,root,root) %{_bindir}/qemu-system-lm32 | |
850 | ||
851 | %files system-m68k | |
852 | %defattr(644,root,root,755) | |
853 | %attr(755,root,root) %{_bindir}/qemu-system-m68k | |
854 | ||
855 | %files system-microblaze | |
856 | %defattr(644,root,root,755) | |
857 | %attr(755,root,root) %{_bindir}/qemu-system-microblaze | |
858 | %attr(755,root,root) %{_bindir}/qemu-system-microblazeel | |
859 | ||
860 | %files system-mips | |
861 | %defattr(644,root,root,755) | |
862 | %attr(755,root,root) %{_bindir}/qemu-system-mips | |
863 | %attr(755,root,root) %{_bindir}/qemu-system-mipsel | |
864 | %attr(755,root,root) %{_bindir}/qemu-system-mips64 | |
865 | %attr(755,root,root) %{_bindir}/qemu-system-mips64el | |
866 | ||
a56d4cfd JB |
867 | %files system-moxie |
868 | %defattr(644,root,root,755) | |
869 | %attr(755,root,root) %{_bindir}/qemu-system-moxie | |
870 | ||
92c357d4 PS |
871 | %files system-or32 |
872 | %defattr(644,root,root,755) | |
873 | %attr(755,root,root) %{_bindir}/qemu-system-or32 | |
874 | ||
fabf5a9c ER |
875 | %files system-ppc |
876 | %defattr(644,root,root,755) | |
877 | %attr(755,root,root) %{_bindir}/qemu-system-ppc | |
878 | %attr(755,root,root) %{_bindir}/qemu-system-ppc64 | |
879 | %attr(755,root,root) %{_bindir}/qemu-system-ppcemb | |
880 | ||
881 | %files system-s390x | |
882 | %defattr(644,root,root,755) | |
883 | %attr(755,root,root) %{_bindir}/qemu-system-s390x | |
884 | ||
885 | %files system-sh4 | |
886 | %defattr(644,root,root,755) | |
887 | %attr(755,root,root) %{_bindir}/qemu-system-sh4 | |
888 | %attr(755,root,root) %{_bindir}/qemu-system-sh4eb | |
889 | ||
890 | %files system-sparc | |
891 | %defattr(644,root,root,755) | |
892 | %attr(755,root,root) %{_bindir}/qemu-system-sparc | |
893 | %attr(755,root,root) %{_bindir}/qemu-system-sparc64 | |
894 | ||
72ddf007 PS |
895 | %files system-unicore32 |
896 | %defattr(644,root,root,755) | |
897 | %attr(755,root,root) %{_bindir}/qemu-system-unicore32 | |
898 | ||
fabf5a9c ER |
899 | %files system-x86 |
900 | %defattr(644,root,root,755) | |
901 | %attr(755,root,root) %{_bindir}/qemu-system-i386 | |
902 | %attr(755,root,root) %{_bindir}/qemu-system-x86_64 | |
41ed6e2c JR |
903 | %ifarch %{ix86} %{x8664} |
904 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf | |
905 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules | |
906 | %attr(755,root,root) %{_bindir}/kvm_stat | |
907 | %endif | |
fabf5a9c ER |
908 | |
909 | %files system-xtensa | |
910 | %defattr(644,root,root,755) | |
911 | %attr(755,root,root) %{_bindir}/qemu-system-xtensa | |
912 | %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb | |
93473205 JR |
913 | |
914 | %files guest-agent | |
008c880e | 915 | %defattr(644,root,root,755) |
93473205 JR |
916 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules |
917 | %{systemdunitdir}/qemu-guest-agent.service | |
918 | %attr(755,root,root) %{_bindir}/qemu-ga |