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