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