]>
Commit | Line | Data |
---|---|---|
0b920c52 | 1 | # |
6aef4654 | 2 | # Conditional build: |
78a71650 | 3 | %bcond_without sdl # SDL UI and audio support |
8d79dc1d | 4 | %bcond_without gl # Don't require gl deps |
ddb2a917 | 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 |
3187b8cc JB |
9 | %bcond_without gtk3 # Do not build GTK+ UI |
10 | %bcond_without vte # VTE support in GTK+ UI | |
59bc1300 | 11 | %bcond_without spice # SPICE support |
78a71650 JB |
12 | %bcond_with esd # EsounD audio support |
13 | %bcond_without oss # OSS audio support | |
14 | %bcond_without pulseaudio # PulseAudio audio support | |
15 | %bcond_without xen # Xen backend driver support | |
78ff8fc0 JK |
16 | %bcond_without bluetooth # bluetooth support |
17 | %bcond_without brlapi # brlapi support | |
18 | %bcond_without smartcard # smartcard-nss support | |
19 | %bcond_without iscsi # iscsi support | |
b9ddc0a7 | 20 | %bcond_without libnfs # NFS support |
78ff8fc0 JK |
21 | %bcond_without seccomp # seccomp support |
22 | %bcond_without usbredir # usb network redirection support | |
af556ac1 | 23 | %bcond_without system_seabios # system seabios binary |
ae1c5c71 | 24 | %bcond_without snappy # snappy compression library |
a75bdea7 | 25 | %bcond_without user_static # build linux-user static packages |
3187b8cc JB |
26 | %bcond_with lttng # lttng-ust trace backend support |
27 | %bcond_with systemtap # SystemTap/dtrace trace backend support | |
24209dad | 28 | %bcond_with virgl # build virgl support |
32bf0518 | 29 | %bcond_without xkbcommon # xkbcommon support |
78ff8fc0 JK |
30 | |
31 | %if %{with gtk2} | |
32 | %undefine with_gtk3 | |
33 | %endif | |
ae8bf749 | 34 | |
789f9573 JR |
35 | %ifarch x32 |
36 | %undefine with_xen | |
37 | %endif | |
38 | ||
cd19124e | 39 | Summary: QEMU CPU Emulator |
eec0535a | 40 | Summary(pl.UTF-8): QEMU - emulator procesora |
7b81d160 | 41 | Name: qemu |
a782bf0f | 42 | Version: 3.0.0 |
a299535e | 43 | Release: 1 |
b0436c10 | 44 | License: GPL v2 |
5a2da1d0 | 45 | Group: Applications/Emulators |
b3255247 | 46 | Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz |
a782bf0f | 47 | # Source0-md5: 6a5c8df583406ea24ef25b239c3243e0 |
008c880e | 48 | Source2: %{name}.binfmt |
41ed6e2c JR |
49 | # Loads kvm kernel modules at boot |
50 | Source3: kvm-modules-load.conf | |
51 | # Creates /dev/kvm | |
52 | Source4: 80-kvm.rules | |
9fdf235e JR |
53 | # KSM control scripts |
54 | Source5: ksm.service | |
55 | Source6: ksm.sysconfig | |
56 | Source7: ksmctl.c | |
57 | Source8: ksmtuned.service | |
58 | Source9: ksmtuned | |
59 | Source10: ksmtuned.conf | |
008c880e ER |
60 | Source11: %{name}-guest-agent.service |
61 | Source12: 99-%{name}-guest-agent.rules | |
9bcd4ab6 | 62 | Patch0: %{name}-cflags.patch |
a782bf0f JP |
63 | Patch1: %{name}-whitelist.patch |
64 | Patch2: %{name}-user-execve.patch | |
65 | Patch3: %{name}-xattr.patch | |
66 | Patch4: libjpeg-boolean.patch | |
67 | Patch5: x32.patch | |
ae8bf749 | 68 | URL: http://www.qemu-project.org/ |
cf0acede | 69 | %{?with_gl:BuildRequires: OpenGL-GLX-devel} |
8d79dc1d | 70 | %{?with_gl:BuildRequires: OpenGL-devel} |
7b0056db | 71 | %{?with_sdl:BuildRequires: SDL2-devel >= 2.0} |
b0b3ca8d | 72 | BuildRequires: alsa-lib-devel |
d80aea98 | 73 | BuildRequires: bcc >= 0.16.21-2 |
78ff8fc0 JK |
74 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} |
75 | %{?with_brlapi:BuildRequires: brlapi-devel} | |
b0436c10 | 76 | BuildRequires: bzip2-devel |
78a71650 JB |
77 | %{?with_ceph:BuildRequires: ceph-devel} |
78 | BuildRequires: curl-devel | |
79 | BuildRequires: cyrus-sasl-devel >= 2 | |
80 | %{?with_esd:BuildRequires: esound-devel} | |
54b666b7 | 81 | BuildRequires: glib2-devel >= 1:2.22 |
1ffe7dfd | 82 | %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4} |
ae1c5c71 | 83 | BuildRequires: gnutls-devel > 2.10.0 |
87364910 | 84 | BuildRequires: libaio-devel |
78ff8fc0 | 85 | %{?with_smartcard:BuildRequires: libcacard-devel} |
78a71650 JB |
86 | BuildRequires: libcap-devel |
87 | BuildRequires: libcap-ng-devel | |
cf0acede | 88 | %{?with_gl:BuildRequires: libepoxy-devel} |
f6f33107 | 89 | BuildRequires: libfdt-devel >= 1.4.2 |
80dbeed1 | 90 | %{?with_rdma:BuildRequires: libibverbs-devel} |
3187b8cc | 91 | %{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0} |
1777be93 | 92 | %{?with_rdma:BuildRequires: libibumad-devel} |
78a71650 | 93 | BuildRequires: libjpeg-devel |
bfb54462 | 94 | %{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3} |
78a71650 | 95 | BuildRequires: libpng-devel |
80dbeed1 | 96 | %{?with_rdma:BuildRequires: librdmacm-devel} |
3187b8cc | 97 | %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.1} |
ce44b534 | 98 | BuildRequires: libssh2-devel >= 1.2.8 |
c218d8d3 | 99 | BuildRequires: libusb-devel >= 1.0.13 |
78a71650 | 100 | BuildRequires: libuuid-devel |
3187b8cc | 101 | %{?with_lttng:BuildRequires: lttng-ust-devel} |
c218d8d3 | 102 | BuildRequires: lzo-devel >= 2 |
98a1a188 | 103 | BuildRequires: ncurses-devel |
fc634c87 | 104 | %{?with_smartcard:BuildRequires: nss-devel >= 1:3.12.8} |
b0436c10 | 105 | BuildRequires: numactl-devel |
995bac8b | 106 | BuildRequires: perl-Encode |
2fb8ea02 | 107 | BuildRequires: perl-tools-pod |
b0436c10 | 108 | BuildRequires: pixman-devel >= 0.21.8 |
ba84a935 | 109 | BuildRequires: pkgconfig |
78a71650 | 110 | %{?with_pulseaudio:BuildRequires: pulseaudio-devel} |
1c6a7aa7 | 111 | BuildRequires: rpmbuild(macros) >= 1.644 |
af556ac1 | 112 | %{?with_system_seabios:BuildRequires: seabios} |
8bb1261c | 113 | BuildRequires: sed >= 4.0 |
c218d8d3 | 114 | %{?with_snappy:BuildRequires: snappy-devel} |
59bc1300 | 115 | %if %{with spice} |
c218d8d3 | 116 | BuildRequires: spice-protocol >= 0.12.3 |
e8a4bb4c | 117 | BuildRequires: spice-server-devel >= 0.12.0 |
59bc1300 | 118 | %endif |
3187b8cc | 119 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
a1146336 | 120 | BuildRequires: texi2html |
22f71ecb | 121 | BuildRequires: texinfo |
78ff8fc0 | 122 | %{?with_usbredir:BuildRequires: usbredir-devel >= 0.6} |
3187b8cc | 123 | %{?with_lttng:BuildRequires: userspace-rcu-devel} |
78a71650 | 124 | BuildRequires: vde2-devel |
cad677a4 | 125 | BuildRequires: which |
24209dad | 126 | %{?with_virgl:BuildRequires: virglrenderer-devel} |
78a71650 JB |
127 | %{?with_xen:BuildRequires: xen-devel >= 3.4} |
128 | BuildRequires: xfsprogs-devel | |
32bf0518 | 129 | %{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel} |
ba84a935 | 130 | BuildRequires: xorg-lib-libX11-devel |
78a71650 | 131 | BuildRequires: zlib-devel |
ce44b534 JB |
132 | %if %{with gtk2} |
133 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
3187b8cc | 134 | %{?with_vte:BuildRequires: vte0-devel >= 0.24.0} |
78ff8fc0 JK |
135 | %endif |
136 | %if %{with gtk3} | |
ce44b534 | 137 | BuildRequires: gtk+3-devel >= 3.0.0 |
3187b8cc | 138 | %{?with_vte:BuildRequires: vte2.90-devel >= 0.32.0} |
ce44b534 | 139 | %endif |
a75bdea7 ER |
140 | %if %{with user_static} |
141 | BuildRequires: glib2-static | |
142 | BuildRequires: glibc-static | |
143 | BuildRequires: pcre-static | |
144 | BuildRequires: zlib-static | |
145 | %endif | |
fabf5a9c | 146 | Requires: %{name}-img = %{version}-%{release} |
ae1c5c71 | 147 | Requires: %{name}-system-aarch64 = %{version}-%{release} |
fabf5a9c ER |
148 | Requires: %{name}-system-alpha = %{version}-%{release} |
149 | Requires: %{name}-system-arm = %{version}-%{release} | |
150 | Requires: %{name}-system-cris = %{version}-%{release} | |
1777be93 | 151 | Requires: %{name}-system-hppa = %{version}-%{release} |
fabf5a9c ER |
152 | Requires: %{name}-system-lm32 = %{version}-%{release} |
153 | Requires: %{name}-system-m68k = %{version}-%{release} | |
154 | Requires: %{name}-system-microblaze = %{version}-%{release} | |
155 | Requires: %{name}-system-mips = %{version}-%{release} | |
a56d4cfd | 156 | Requires: %{name}-system-moxie = %{version}-%{release} |
cdd6b92f | 157 | Requires: %{name}-system-nios2 = %{version}-%{release} |
05e8f0a4 | 158 | Requires: %{name}-system-or1k = %{version}-%{release} |
ae8bf749 | 159 | Requires: %{name}-system-ppc = %{version}-%{release} |
1777be93 JP |
160 | Requires: %{name}-system-riscv32 = %{version}-%{release} |
161 | Requires: %{name}-system-riscv64 = %{version}-%{release} | |
fabf5a9c ER |
162 | Requires: %{name}-system-s390x = %{version}-%{release} |
163 | Requires: %{name}-system-sh4 = %{version}-%{release} | |
164 | Requires: %{name}-system-sparc = %{version}-%{release} | |
112b8450 | 165 | Requires: %{name}-system-tricore = %{version}-%{release} |
72ddf007 | 166 | Requires: %{name}-system-unicore32 = %{version}-%{release} |
fabf5a9c ER |
167 | Requires: %{name}-system-x86 = %{version}-%{release} |
168 | Requires: %{name}-system-xtensa = %{version}-%{release} | |
169 | Requires: %{name}-user = %{version}-%{release} | |
e03112c2 | 170 | Obsoletes: qemu-kvm |
cd19124e | 171 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
172 | ||
78a71650 | 173 | %define systempkg_req \ |
5710db8f | 174 | %if %{with sdl} \ |
ae1c5c71 | 175 | Requires: SDL2 \ |
5710db8f | 176 | %endif \ |
f6f33107 | 177 | Requires: libfdt >= 1.4.2 \ |
c218d8d3 JB |
178 | %if %{with seccomp} \ |
179 | Requires: libseccomp >= 2.1.0 \ | |
180 | %endif \ | |
181 | Requires: libusb >= 1.0.13 \ | |
b0436c10 | 182 | Requires: pixman >= 0.21.8 \ |
78ff8fc0 | 183 | %if %{with usbredir} \ |
ce44b534 | 184 | Requires: usbredir >= 0.6 \ |
78ff8fc0 | 185 | %endif \ |
ce44b534 JB |
186 | %if %{with gtk2} \ |
187 | Requires: gtk+2 >= 2:2.18.0 \ | |
3187b8cc | 188 | %{?with_vte:Requires: vte0 >= 0.24.0} \ |
78ff8fc0 JK |
189 | %endif \ |
190 | %if %{with gtk3} \ | |
ce44b534 | 191 | Requires: gtk+3 >= 3.0.0 \ |
3187b8cc | 192 | %{?with_vte:Requires: vte2.90 >= 0.32.0} \ |
ce44b534 | 193 | %endif |
78a71650 | 194 | |
1b37833e AM |
195 | # don't strip/chrpath anything in there; these are boot images, roms etc |
196 | %define _noautostrip .*%{_datadir}/qemu/.* | |
197 | %define _noautochrpath .*%{_datadir}/qemu/.* | |
a154aede | 198 | |
cd19124e | 199 | %description |
200 | QEMU is a FAST! processor emulator. By using dynamic translation it | |
201 | achieves a reasonnable speed while being easy to port on new host | |
202 | CPUs. QEMU has two operating modes: | |
203 | ||
204 | - User mode emulation. In this mode, QEMU can launch Linux processes | |
205 | compiled for one CPU on another CPU. Linux system calls are converted | |
206 | because of endianness and 32/64 bit mismatches. Wine (Windows | |
207 | emulation) and DOSEMU (DOS emulation) are the main targets for QEMU. | |
208 | ||
209 | - Full system emulation. In this mode, QEMU emulates a full system, | |
8799423b ER |
210 | including a processor and various peripherials. It can also be used to |
211 | provide virtual hosting of several virtual PC on a single server. | |
cd19124e | 212 | |
27b30e9c JR |
213 | %description -l pl.UTF-8 |
214 | QEMU to szybki(!) emulator procesora. Poprzez użycie dynamicznego | |
215 | tłumaczenia osiąga rozsądną szybkość i jest łatwy do przeportowania, | |
216 | aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy: | |
5a2da1d0 | 217 | |
27b30e9c | 218 | - Emulacja trybu użytkownika. W tym trybie QEMU może uruchamiać |
5a2da1d0 | 219 | procesy linuksowe skompilowane dla jednego procesora na innym |
27b30e9c JR |
220 | procesorze. Linuksowe wywołania systemowe są tłumaczone ze względu na |
221 | niezgodność kolejności bajtów w słowie i 32/64-bitowego rozmiaru | |
222 | słowa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to główne | |
5a2da1d0 JB |
223 | cele QEMU. |
224 | ||
27b30e9c JR |
225 | - Pełna emulacja systemu. W tym trybie QEMU emuluje cały system, |
226 | włączając w to procesor i różne urządzenia peryferyjne. Może być także | |
227 | używane do wirtualnego hostowania kilku wirtualnych pecetów na | |
8799423b | 228 | pojedynczym serwerze. |
5a2da1d0 | 229 | |
d86014ba | 230 | %package common |
fabf5a9c | 231 | Summary: QEMU common files needed by all QEMU targets |
d86014ba | 232 | Summary(pl.UTF-8): Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU |
fabf5a9c | 233 | Group: Development/Tools |
c980f439 | 234 | Requires(post,preun,postun): systemd-units >= 38 |
14b9f266 AG |
235 | Requires(postun): /usr/sbin/groupdel |
236 | Requires(postun): /usr/sbin/userdel | |
237 | Requires(pre): /bin/id | |
238 | Requires(pre): /usr/bin/getgid | |
239 | Requires(pre): /usr/sbin/groupadd | |
240 | Requires(pre): /usr/sbin/useradd | |
54b666b7 | 241 | Requires: glib2 >= 1:2.22 |
bfb54462 | 242 | %{?with_libnfs:Requires: libnfs >= 1.9.3} |
ce44b534 | 243 | Requires: libssh2 >= 1.2.8 |
c980f439 | 244 | Requires: systemd-units >= 38 |
14b9f266 AG |
245 | Provides: group(qemu) |
246 | Provides: user(qemu) | |
e03112c2 | 247 | Obsoletes: qemu-kvm-common |
fabf5a9c ER |
248 | Conflicts: qemu < 1.0-2 |
249 | ||
250 | %description common | |
251 | QEMU is a generic and open source processor emulator which achieves a | |
252 | good emulation speed by using dynamic translation. | |
253 | ||
254 | This package provides the common files needed by all QEMU targets. | |
255 | ||
d86014ba JB |
256 | %description common -l pl.UTF-8 |
257 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
258 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
259 | ||
260 | Ten pakiet udostępnia wspólne pliki wymagane przez wszystkie | |
261 | środowiska QEMU. | |
262 | ||
263 | %package img | |
fabf5a9c | 264 | Summary: QEMU command line tool for manipulating disk images |
d86014ba | 265 | Summary(pl.UTF-8): Narzędzie QEMU do operacji na obrazach dysków |
fabf5a9c | 266 | Group: Development/Tools |
e03112c2 | 267 | Obsoletes: qemu-kvm-img |
008c880e | 268 | Conflicts: qemu < 1.0-2 |
fabf5a9c ER |
269 | |
270 | %description img | |
d86014ba JB |
271 | This package provides a command line tool for manipulating disk |
272 | images. | |
273 | ||
274 | %description img -l pl.UTF-8 | |
275 | Ten pakiet udostępnia działające z linii poleceń narzędzia do operacji | |
276 | na obrazach dysków. | |
fabf5a9c ER |
277 | |
278 | %package user | |
279 | Summary: QEMU user mode emulation of qemu targets | |
d86014ba | 280 | Summary(pl.UTF-8): QEMU - emulacja trybu użytkownika środowisk qemu |
fabf5a9c ER |
281 | Group: Development/Tools |
282 | Requires: %{name}-common = %{version}-%{release} | |
1c6a7aa7 JR |
283 | Requires(post,postun): systemd-units >= 38 |
284 | Requires: systemd-units >= 38 | |
e03112c2 | 285 | Obsoletes: qemu-kvm-user |
fabf5a9c ER |
286 | |
287 | %description user | |
288 | QEMU is a generic and open source processor emulator which achieves a | |
289 | good emulation speed by using dynamic translation. | |
290 | ||
291 | This package provides the user mode emulation of QEMU targets. | |
292 | ||
d86014ba JB |
293 | %description user -l pl.UTF-8 |
294 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
295 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
296 | ||
297 | Ten pakiet udostępnia emulację trybu użytkownika środowisk QEMU. | |
298 | ||
a75bdea7 ER |
299 | %package user-static |
300 | Summary: QEMU user mode emulation of qemu targets static build | |
301 | Group: Development/Tools | |
a75bdea7 ER |
302 | Requires(post,postun): systemd-units >= 38 |
303 | Requires: systemd-units >= 38 | |
304 | ||
305 | %description user-static | |
306 | QEMU is a generic and open source processor emulator which achieves a | |
307 | good emulation speed by using dynamic translation. | |
308 | ||
309 | This package provides the user mode emulation of qemu targets built as | |
310 | static binaries | |
311 | ||
ae1c5c71 | 312 | %package system-aarch64 |
c218d8d3 JB |
313 | Summary: QEMU system emulator for AArch64 |
314 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem AArch64 | |
ae1c5c71 JK |
315 | Group: Development/Tools |
316 | Requires: %{name}-common = %{version}-%{release} | |
317 | %systempkg_req | |
318 | Obsoletes: qemu-kvm-system-aarch64 | |
319 | ||
320 | %description system-aarch64 | |
321 | QEMU is a generic and open source processor emulator which achieves a | |
322 | good emulation speed by using dynamic translation. | |
323 | ||
c218d8d3 | 324 | This package provides the system emulator with AArch64 CPU. |
ae1c5c71 JK |
325 | |
326 | %description system-aarch64 -l pl.UTF-8 | |
327 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
328 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
329 | ||
c218d8d3 | 330 | Ten pakiet zawiera emulator systemu z procesorem AArch64. |
ae1c5c71 | 331 | |
fabf5a9c | 332 | %package system-alpha |
d86014ba JB |
333 | Summary: QEMU system emulator for Alpha |
334 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Alpha | |
fabf5a9c ER |
335 | Group: Development/Tools |
336 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 337 | %systempkg_req |
e03112c2 | 338 | Obsoletes: qemu-kvm-system-alpha |
fabf5a9c ER |
339 | |
340 | %description system-alpha | |
341 | QEMU is a generic and open source processor emulator which achieves a | |
342 | good emulation speed by using dynamic translation. | |
343 | ||
d86014ba JB |
344 | This package provides the system emulator with Alpha CPU. |
345 | ||
346 | %description system-alpha -l pl.UTF-8 | |
347 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
348 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
349 | ||
350 | Ten pakiet zawiera emulator systemu z procesorem Alpha. | |
fabf5a9c ER |
351 | |
352 | %package system-arm | |
d86014ba JB |
353 | Summary: QEMU system emulator for ARM |
354 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem ARM | |
fabf5a9c ER |
355 | Group: Development/Tools |
356 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 357 | %systempkg_req |
e03112c2 | 358 | Obsoletes: qemu-kvm-system-arm |
fabf5a9c ER |
359 | |
360 | %description system-arm | |
361 | QEMU is a generic and open source processor emulator which achieves a | |
362 | good emulation speed by using dynamic translation. | |
363 | ||
d86014ba JB |
364 | This package provides the system emulator for ARM. |
365 | ||
366 | %description system-arm -l pl.UTF-8 | |
367 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
368 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
369 | ||
370 | Ten pakiet zawiera emulator systemu z procesorem ARM. | |
fabf5a9c ER |
371 | |
372 | %package system-cris | |
59bc1300 | 373 | Summary: QEMU system emulator for CRIS |
d86014ba | 374 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem CRIS |
fabf5a9c ER |
375 | Group: Development/Tools |
376 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 377 | %systempkg_req |
e03112c2 | 378 | Obsoletes: qemu-kvm-system-cris |
fabf5a9c ER |
379 | |
380 | %description system-cris | |
381 | QEMU is a generic and open source processor emulator which achieves a | |
382 | good emulation speed by using dynamic translation. | |
383 | ||
d86014ba JB |
384 | This package provides the system emulator with CRIS CPU. |
385 | ||
386 | %description system-cris -l pl.UTF-8 | |
387 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
388 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
389 | ||
390 | Ten pakiet zawiera emulator systemu z procesorem CRIS. | |
fabf5a9c | 391 | |
1777be93 JP |
392 | %package system-hppa |
393 | Summary: QEMU system emulator for HP/PA | |
394 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem HP/PA | |
395 | Group: Development/Tools | |
396 | Requires: %{name}-common = %{version}-%{release} | |
397 | %systempkg_req | |
398 | ||
399 | %description system-hppa | |
400 | QEMU is a generic and open source processor emulator which achieves a | |
401 | good emulation speed by using dynamic translation. | |
402 | ||
403 | This package provides the system emulator with HP/PA CPU. | |
404 | ||
405 | %description system-hppa -l pl.UTF-8 | |
406 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
407 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
408 | ||
409 | Ten pakiet zawiera emulator systemu z procesorem HP/PA. | |
410 | ||
fabf5a9c | 411 | %package system-lm32 |
d86014ba JB |
412 | Summary: QEMU system emulator for LM32 |
413 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem LM32 | |
fabf5a9c ER |
414 | Group: Development/Tools |
415 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 416 | %systempkg_req |
e03112c2 | 417 | Obsoletes: qemu-kvm-system-lm32 |
fabf5a9c ER |
418 | |
419 | %description system-lm32 | |
420 | QEMU is a generic and open source processor emulator which achieves a | |
421 | good emulation speed by using dynamic translation. | |
422 | ||
d86014ba JB |
423 | This package provides the system emulator with LM32 CPU. |
424 | ||
425 | %description system-lm32 -l pl.UTF-8 | |
426 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
427 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
428 | ||
429 | Ten pakiet zawiera emulator systemu z procesorem LM32. | |
fabf5a9c ER |
430 | |
431 | %package system-m68k | |
432 | Summary: QEMU system emulator for m68k | |
d86014ba | 433 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem m68k |
fabf5a9c ER |
434 | Group: Development/Tools |
435 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 436 | %systempkg_req |
e03112c2 | 437 | Obsoletes: qemu-kvm-system-m68k |
fabf5a9c ER |
438 | |
439 | %description system-m68k | |
440 | QEMU is a generic and open source processor emulator which achieves a | |
441 | good emulation speed by using dynamic translation. | |
442 | ||
d86014ba JB |
443 | This package provides the system emulator with m68k CPU. |
444 | ||
445 | %description system-m68k -l pl.UTF-8 | |
446 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
447 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
448 | ||
449 | Ten pakiet zawiera emulator systemu z procesorem m68k. | |
fabf5a9c ER |
450 | |
451 | %package system-microblaze | |
d86014ba JB |
452 | Summary: QEMU system emulator for MicroBlaze |
453 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MicroBlaze | |
fabf5a9c ER |
454 | Group: Development/Tools |
455 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 456 | %systempkg_req |
e03112c2 | 457 | Obsoletes: qemu-kvm-system-microblaze |
fabf5a9c ER |
458 | |
459 | %description system-microblaze | |
460 | QEMU is a generic and open source processor emulator which achieves a | |
461 | good emulation speed by using dynamic translation. | |
462 | ||
d86014ba JB |
463 | This package provides the system emulator with MicroBlaze CPU. |
464 | ||
465 | %description system-microblaze -l pl.UTF-8 | |
466 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
467 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
468 | ||
469 | Ten pakiet zawiera emulator systemu z procesorem MicroBlaze. | |
fabf5a9c ER |
470 | |
471 | %package system-mips | |
d86014ba JB |
472 | Summary: QEMU system emulator for MIPS |
473 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem MIPS | |
fabf5a9c ER |
474 | Group: Development/Tools |
475 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 476 | %systempkg_req |
e03112c2 | 477 | Obsoletes: qemu-kvm-system-mips |
fabf5a9c ER |
478 | |
479 | %description system-mips | |
480 | QEMU is a generic and open source processor emulator which achieves a | |
481 | good emulation speed by using dynamic translation. | |
482 | ||
d86014ba JB |
483 | This package provides the system emulator with MIPS CPU. |
484 | ||
485 | %description system-mips -l pl.UTF-8 | |
486 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
487 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
488 | ||
489 | Ten pakiet zawiera emulator systemu z procesorem MIPS. | |
fabf5a9c | 490 | |
a56d4cfd JB |
491 | %package system-moxie |
492 | Summary: QEMU system emulator for Moxie | |
493 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Moxie | |
494 | Group: Development/Tools | |
495 | Requires: %{name}-common = %{version}-%{release} | |
496 | %systempkg_req | |
497 | ||
498 | %description system-moxie | |
499 | QEMU is a generic and open source processor emulator which achieves a | |
500 | good emulation speed by using dynamic translation. | |
501 | ||
502 | This package provides the system emulator with Moxie CPU. | |
503 | ||
504 | %description system-moxie -l pl.UTF-8 | |
505 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
506 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
507 | ||
508 | Ten pakiet zawiera emulator systemu z procesorem Moxie. | |
509 | ||
cdd6b92f JP |
510 | %package system-nios2 |
511 | Summary: QEMU system emulator for Nios II | |
512 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II | |
513 | Group: Development/Tools | |
514 | Requires: %{name}-common = %{version}-%{release} | |
515 | %systempkg_req | |
516 | ||
517 | %description system-nios2 | |
518 | QEMU is a generic and open source processor emulator which achieves a | |
519 | good emulation speed by using dynamic translation. | |
520 | ||
521 | This package provides the system emulator with Nios II CPU. | |
522 | ||
523 | %description system-nios2 -l pl.UTF-8 | |
524 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
525 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
526 | ||
527 | Ten pakiet zawiera emulator systemu z procesorem Nios II. | |
528 | ||
05e8f0a4 | 529 | %package system-or1k |
d86014ba JB |
530 | Summary: QEMU system emulator for OpenRISC |
531 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC | |
92c357d4 PS |
532 | Group: Development/Tools |
533 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 534 | %systempkg_req |
05e8f0a4 | 535 | Obsoletes: qemu-kvm-system-or1k |
0eeac48d | 536 | Obsoletes: qemu-system-or32 |
92c357d4 | 537 | |
05e8f0a4 | 538 | %description system-or1k |
92c357d4 PS |
539 | QEMU is a generic and open source processor emulator which achieves a |
540 | good emulation speed by using dynamic translation. | |
541 | ||
d86014ba JB |
542 | This package provides the system emulator with OpenRISC CPU. |
543 | ||
05e8f0a4 | 544 | %description system-or1k -l pl.UTF-8 |
d86014ba JB |
545 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający |
546 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
547 | ||
548 | Ten pakiet zawiera emulator systemu z procesorem OpenRISC. | |
92c357d4 | 549 | |
fabf5a9c | 550 | %package system-ppc |
d86014ba JB |
551 | Summary: QEMU system emulator for PowerPC |
552 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem PowerPC | |
fabf5a9c ER |
553 | Group: Development/Tools |
554 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 555 | %systempkg_req |
e03112c2 | 556 | Obsoletes: qemu-kvm-system-ppc |
fabf5a9c ER |
557 | |
558 | %description system-ppc | |
559 | QEMU is a generic and open source processor emulator which achieves a | |
560 | good emulation speed by using dynamic translation. | |
561 | ||
d86014ba JB |
562 | This package provides the system emulator with PowerPC CPU. |
563 | ||
564 | %description system-ppc -l pl.UTF-8 | |
565 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
566 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
567 | ||
568 | Ten pakiet zawiera emulator systemu z procesorem PowerPC. | |
fabf5a9c | 569 | |
1777be93 JP |
570 | %package system-riscv32 |
571 | Summary: QEMU system emulator for RISC-V (32 bit) | |
572 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (32 bit) | |
573 | Group: Development/Tools | |
574 | Requires: %{name}-common = %{version}-%{release} | |
575 | %systempkg_req | |
576 | ||
577 | %description system-riscv32 | |
578 | QEMU is a generic and open source processor emulator which achieves a | |
579 | good emulation speed by using dynamic translation. | |
580 | ||
581 | This package provides the system emulator with RISC-V (32 bit) CPU. | |
582 | ||
583 | %description system-riscv32 -l pl.UTF-8 | |
584 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
585 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
586 | ||
587 | Ten pakiet zawiera emulator systemu z procesorem RISC-V (32 bit). | |
588 | ||
589 | %package system-riscv64 | |
590 | Summary: QEMU system emulator for RISC-V (64 bit) | |
591 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem RISC-V (64 bit) | |
592 | Group: Development/Tools | |
593 | Requires: %{name}-common = %{version}-%{release} | |
594 | %systempkg_req | |
595 | ||
596 | %description system-riscv64 | |
597 | QEMU is a generic and open source processor emulator which achieves a | |
598 | good emulation speed by using dynamic translation. | |
599 | ||
600 | This package provides the system emulator with RISC-V (64 bit) CPU. | |
601 | ||
602 | %description system-riscv64 -l pl.UTF-8 | |
603 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
604 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
605 | ||
606 | Ten pakiet zawiera emulator systemu z procesorem RISC-V (64 bit). | |
607 | ||
fabf5a9c | 608 | %package system-s390x |
d86014ba JB |
609 | Summary: QEMU system emulator for S390 |
610 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem S390 | |
fabf5a9c ER |
611 | Group: Development/Tools |
612 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 613 | %systempkg_req |
e03112c2 | 614 | Obsoletes: qemu-kvm-system-s390x |
fabf5a9c ER |
615 | |
616 | %description system-s390x | |
617 | QEMU is a generic and open source processor emulator which achieves a | |
618 | good emulation speed by using dynamic translation. | |
619 | ||
d86014ba JB |
620 | This package provides the system emulator with S390 CPU. |
621 | ||
622 | %description system-s390x -l pl.UTF-8 | |
623 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
624 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
625 | ||
626 | Ten pakiet zawiera emulator systemu z procesorem S390. | |
fabf5a9c ER |
627 | |
628 | %package system-sh4 | |
d86014ba JB |
629 | Summary: QEMU system emulator for SH4 |
630 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SH4 | |
fabf5a9c ER |
631 | Group: Development/Tools |
632 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 633 | %systempkg_req |
e03112c2 | 634 | Obsoletes: qemu-kvm-system-sh4 |
fabf5a9c ER |
635 | |
636 | %description system-sh4 | |
637 | QEMU is a generic and open source processor emulator which achieves a | |
638 | good emulation speed by using dynamic translation. | |
639 | ||
d86014ba JB |
640 | This package provides the system emulator with SH4 CPU. |
641 | ||
642 | %description system-sh4 -l pl.UTF-8 | |
643 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
644 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
645 | ||
646 | Ten pakiet zawiera emulator systemu z procesorem SH4. | |
fabf5a9c ER |
647 | |
648 | %package system-sparc | |
d86014ba JB |
649 | Summary: QEMU system emulator for SPARC |
650 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem SPARC | |
fabf5a9c ER |
651 | Group: Development/Tools |
652 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 653 | %systempkg_req |
e03112c2 | 654 | Obsoletes: qemu-kvm-system-sparc |
fabf5a9c ER |
655 | |
656 | %description system-sparc | |
657 | QEMU is a generic and open source processor emulator which achieves a | |
658 | good emulation speed by using dynamic translation. | |
659 | ||
d86014ba JB |
660 | This package provides the system emulator with SPARC/SPARC64 CPU. |
661 | ||
662 | %description system-sparc -l pl.UTF-8 | |
663 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
664 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
665 | ||
666 | Ten pakiet zawiera emulator systemu z procesorem SPARC/SPARC64. | |
fabf5a9c | 667 | |
112b8450 | 668 | %package system-tricore |
3187b8cc JB |
669 | Summary: QEMU system emulator for TriCore |
670 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem TriCore | |
112b8450 AM |
671 | Group: Development/Tools |
672 | Requires: %{name}-common = %{version}-%{release} | |
673 | %systempkg_req | |
674 | ||
675 | %description system-tricore | |
676 | QEMU is a generic and open source processor emulator which achieves a | |
677 | good emulation speed by using dynamic translation. | |
678 | ||
3187b8cc | 679 | This package provides the system emulator with TriCore CPU. |
112b8450 AM |
680 | |
681 | %description system-sparc -l pl.UTF-8 | |
682 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
683 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
684 | ||
3187b8cc | 685 | Ten pakiet zawiera emulator systemu z procesorem TriCore. |
112b8450 | 686 | |
72ddf007 | 687 | %package system-unicore32 |
d86014ba JB |
688 | Summary: QEMU system emulator for UniCore32 |
689 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem UniCore32 | |
72ddf007 PS |
690 | Group: Development/Tools |
691 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 692 | %systempkg_req |
e03112c2 | 693 | Obsoletes: qemu-kvm-system-unicore32 |
72ddf007 PS |
694 | |
695 | %description system-unicore32 | |
696 | QEMU is a generic and open source processor emulator which achieves a | |
697 | good emulation speed by using dynamic translation. | |
698 | ||
d86014ba JB |
699 | This package provides the system emulator with UniCore32 CPU. |
700 | ||
701 | %description system-unicore32 -l pl.UTF-8 | |
702 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
703 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
704 | ||
705 | Ten pakiet zawiera emulator systemu z procesorem UniCore32. | |
72ddf007 | 706 | |
fabf5a9c ER |
707 | %package system-x86 |
708 | Summary: QEMU system emulator for x86 | |
d86014ba | 709 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem x86 |
fabf5a9c ER |
710 | Group: Development/Tools |
711 | Requires: %{name}-common = %{version}-%{release} | |
af556ac1 | 712 | %{?with_system_seabios:Requires: seabios} |
78a71650 | 713 | %systempkg_req |
1c6a7aa7 | 714 | Obsoletes: kvm |
e03112c2 | 715 | Obsoletes: qemu-kvm-system-x86 |
fabf5a9c ER |
716 | |
717 | %description system-x86 | |
718 | QEMU is a generic and open source processor emulator which achieves a | |
719 | good emulation speed by using dynamic translation. | |
720 | ||
d86014ba JB |
721 | %description system-x86 -l pl.UTF-8 |
722 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
723 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
724 | ||
fabf5a9c | 725 | %package system-xtensa |
d86014ba JB |
726 | Summary: QEMU system emulator for Xtensa |
727 | Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Xtensa | |
fabf5a9c ER |
728 | Group: Development/Tools |
729 | Requires: %{name}-common = %{version}-%{release} | |
78a71650 | 730 | %systempkg_req |
e03112c2 | 731 | Obsoletes: qemu-kvm-system-xtensa |
fabf5a9c ER |
732 | |
733 | %description system-xtensa | |
734 | QEMU is a generic and open source processor emulator which achieves a | |
735 | good emulation speed by using dynamic translation. | |
736 | ||
d86014ba JB |
737 | This package provides the system emulator with Xtensa CPU. |
738 | ||
739 | %description system-xtensa -l pl.UTF-8 | |
740 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
741 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
742 | ||
743 | Ten pakiet zawiera emulator systemu z procesorem Xtensa. | |
fabf5a9c | 744 | |
93473205 JR |
745 | %package guest-agent |
746 | Summary: QEMU guest agent | |
747 | Summary(pl.UTF-8): Agent gościa QEMU | |
748 | Group: Daemons | |
749 | Requires(post,preun,postun): systemd-units >= 38 | |
54b666b7 | 750 | Requires: glib2 >= 1:2.22 |
93473205 JR |
751 | Requires: systemd-units >= 38 |
752 | Obsoletes: qemu-kvm-guest-agent | |
753 | ||
754 | %description guest-agent | |
008c880e ER |
755 | QEMU is a generic and open source processor emulator which achieves a |
756 | good emulation speed by using dynamic translation. | |
93473205 JR |
757 | |
758 | This package provides an agent to run inside guests, which | |
759 | communicates with the host over a virtio-serial channel named | |
760 | "org.qemu.guest_agent.0". | |
761 | ||
762 | This package does not need to be installed on the host OS. | |
763 | ||
764 | %description guest-agent -l pl.UTF-8 | |
765 | QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający | |
766 | dobrą szybkość emulacji dzięki użyciu translacji dynamicznej. | |
767 | ||
768 | Ten pakiet udostępnia agenta przeznaczonego do uruchomienia w | |
769 | systemach-gościach, komunikującego się kanałem virtio-serial o nazwie | |
770 | "org.qemu.guest_agent.0". | |
771 | ||
772 | Ten pakiet nie musi być zainstalowany w systemie hosta. | |
773 | ||
ae1c5c71 JK |
774 | %package module-block-curl |
775 | Summary: QEMU module for 'curl' block devices | |
776 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl' | |
777 | Group: Development/Tools | |
778 | Requires: %{name}-common = %{version}-%{release} | |
779 | ||
780 | %description module-block-curl | |
781 | 'curl' block device support for QEMU. | |
782 | ||
783 | %description module-block-curl -l pl.UTF-8 | |
784 | Moduł QEMU dla urządeń blokowych typu 'curl'. | |
785 | ||
786 | %package module-block-gluster | |
787 | Summary: QEMU module for 'gluster' block devices | |
788 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'gluster' | |
789 | Group: Development/Tools | |
790 | Requires: %{name}-common = %{version}-%{release} | |
c218d8d3 | 791 | Requires: glusterfs-libs >= 3.4 |
ae1c5c71 JK |
792 | |
793 | %description module-block-gluster | |
794 | 'gluster' block device support for QEMU. | |
795 | ||
796 | %description module-block-gluster -l pl.UTF-8 | |
797 | Moduł QEMU dla urządeń blokowych typu 'gluster'. | |
798 | ||
799 | %package module-block-iscsi | |
800 | Summary: QEMU module for 'iscsi' block devices | |
801 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'iscsi' | |
802 | Group: Development/Tools | |
803 | Requires: %{name}-common = %{version}-%{release} | |
3187b8cc | 804 | Requires: libiscsi >= 1.9.0 |
ae1c5c71 JK |
805 | |
806 | %description module-block-iscsi | |
807 | 'iscsi' block device support for QEMU. | |
808 | ||
809 | %description module-block-iscsi -l pl.UTF-8 | |
810 | Moduł QEMU dla urządeń blokowych typu 'iscsi'. | |
811 | ||
812 | %package module-block-rbd | |
813 | Summary: QEMU module for 'rbd' block devices | |
814 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'rbd' | |
815 | Group: Development/Tools | |
816 | Requires: %{name}-common = %{version}-%{release} | |
817 | ||
818 | %description module-block-rbd | |
819 | 'rbd' block device support for QEMU. | |
820 | ||
821 | %description module-block-rbd -l pl.UTF-8 | |
822 | Moduł QEMU dla urządeń blokowych typu 'rbd'. | |
823 | ||
824 | %package module-block-ssh | |
825 | Summary: QEMU module for 'ssh' block devices | |
826 | Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'ssh' | |
827 | Group: Development/Tools | |
828 | Requires: %{name}-common = %{version}-%{release} | |
829 | ||
830 | %description module-block-ssh | |
831 | 'ssh' block device support for QEMU. | |
832 | ||
833 | %description module-block-ssh -l pl.UTF-8 | |
834 | Moduł QEMU dla urządeń blokowych typu 'ssh'. | |
835 | ||
cd19124e | 836 | %prep |
c21a255a | 837 | %setup -q |
3c6e2290 | 838 | %patch0 -p1 |
a782bf0f JP |
839 | %patch1 -p0 |
840 | %patch2 -p1 | |
99df371e | 841 | %patch3 -p1 |
008c880e | 842 | %patch4 -p1 |
4e8ae6f9 | 843 | %patch5 -p1 |
c18e9cf6 | 844 | |
bd30ad73 GP |
845 | # workaround for conflict with alsa/error.h |
846 | ln -s ../error.h qapi/error.h | |
847 | ||
80bac37e | 848 | %build |
a75bdea7 ER |
849 | |
850 | build() { | |
851 | local target=$1 | |
852 | shift | |
853 | ||
854 | install -d build-$target | |
855 | cd build-$target | |
856 | ||
857 | ../configure \ | |
8bd2aee2 | 858 | --prefix=%{_prefix} \ |
ae1c5c71 JK |
859 | --libdir=%{_libdir} \ |
860 | --libexecdir=%{_libexecdir} \ | |
87364910 | 861 | --sysconfdir=%{_sysconfdir} \ |
a75bdea7 ER |
862 | --localstatedir=%{_localstatedir} \ |
863 | --interp-prefix=%{_libdir}/qemu/lib-%%M \ | |
98a1a188 AM |
864 | --cc="%{__cc}" \ |
865 | --host-cc="%{__cc}" \ | |
5263f8f5 | 866 | --disable-strip \ |
a75bdea7 ER |
867 | --enable-trace-backends="nop%{?with_systemtap:,dtrace}%{?with_lttng:,ust}" \ |
868 | --enable-kvm \ | |
869 | "$@" | |
870 | ||
871 | %{__make} \ | |
872 | V=1 \ | |
873 | %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} | |
874 | ||
875 | cd .. | |
876 | } | |
877 | ||
878 | build dynamic \ | |
879 | --extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \ | |
880 | --extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \ | |
78a71650 | 881 | --enable-attr \ |
78ff8fc0 JK |
882 | %{__enable_disable bluetooth bluez} \ |
883 | %{__enable_disable brlapi} \ | |
78a71650 JB |
884 | --enable-cap-ng \ |
885 | --enable-curl \ | |
886 | --enable-curses \ | |
87364910 | 887 | --enable-docs \ |
78a71650 | 888 | --enable-fdt \ |
449d43aa | 889 | %{__enable_disable glusterfs} \ |
78ff8fc0 | 890 | %{__enable_disable iscsi libiscsi} \ |
78a71650 | 891 | %{__enable_disable ceph rbd} \ |
80dbeed1 | 892 | %{__enable_disable rdma} \ |
78a71650 | 893 | %{__enable_disable sdl} \ |
ae1c5c71 | 894 | --with-sdlabi=2.0 \ |
78ff8fc0 | 895 | %{__enable_disable seccomp} \ |
59bc1300 | 896 | %{__enable_disable spice} \ |
f9d90a34 | 897 | %{__enable_disable smartcard smartcard} \ |
ce44b534 | 898 | --enable-tpm \ |
78ff8fc0 | 899 | %{__enable_disable usbredir usb-redir} \ |
78a71650 JB |
900 | --enable-vde \ |
901 | --enable-virtfs \ | |
902 | --enable-vnc-jpeg \ | |
87364910 | 903 | --enable-vnc-png \ |
78a71650 | 904 | --enable-vnc-sasl \ |
3187b8cc | 905 | %{!?with_vte:--disable-vte} \ |
24209dad | 906 | %{__enable_disable virgl virglrenderer} \ |
78a71650 | 907 | %{__enable_disable xen} \ |
ae1c5c71 JK |
908 | --enable-modules \ |
909 | --disable-netmap \ | |
b9ddc0a7 | 910 | %{__enable_disable libnfs} \ |
ae1c5c71 JK |
911 | --enable-lzo \ |
912 | %{__enable_disable snappy} \ | |
87364910 | 913 | --audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \ |
78ff8fc0 JK |
914 | %if %{without gtk2} && %{without gtk3} |
915 | --disable-gtk | |
916 | %else | |
ce44b534 | 917 | --with-gtkabi="%{?with_gtk2:2.0}%{!?with_gtk2:3.0}" |
78ff8fc0 | 918 | %endif |
ce44b534 | 919 | |
a75bdea7 ER |
920 | %if %{with user_static} |
921 | build static \ | |
922 | --disable-brlapi \ | |
923 | --disable-cap-ng \ | |
924 | --disable-curl \ | |
925 | --disable-curses \ | |
926 | --disable-gcrypt \ | |
927 | --disable-gnutls \ | |
928 | --disable-gtk \ | |
929 | --disable-guest-agent \ | |
930 | --disable-guest-agent-msi \ | |
931 | --disable-libnfs \ | |
932 | --disable-nettle \ | |
933 | --disable-pie \ | |
934 | --disable-sdl \ | |
935 | --disable-spice \ | |
936 | --disable-tcmalloc \ | |
937 | --disable-tools \ | |
a75bdea7 ER |
938 | --enable-user \ |
939 | --disable-system \ | |
940 | --static | |
941 | ||
942 | %endif | |
cd19124e | 943 | |
9fdf235e JR |
944 | %{__cc} %{SOURCE7} %{rpmcflags} -o ksmctl |
945 | ||
cd19124e | 946 | %install |
947 | rm -rf $RPM_BUILD_ROOT | |
51327cc0 | 948 | install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \ |
b418165e | 949 | $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \ |
51327cc0 | 950 | $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}} |
5a2da1d0 | 951 | |
a75bdea7 ER |
952 | %if %{with user_static} |
953 | %{__make} -C build-static install \ | |
954 | %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \ | |
955 | DESTDIR=$RPM_BUILD_ROOT | |
956 | ||
957 | # Give all QEMU user emulators a -static suffix | |
958 | for src in $RPM_BUILD_ROOT%{_bindir}/qemu-*; do | |
959 | mv $src $src-static | |
960 | done | |
961 | ||
962 | %endif | |
963 | ||
964 | %{__make} -C build-dynamic install \ | |
471d1276 | 965 | %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \ |
ae1c5c71 | 966 | DESTDIR=$RPM_BUILD_ROOT |
ac6e5743 | 967 | |
b418165e MM |
968 | echo "#allow br0" > $RPM_BUILD_ROOT/etc/qemu/bridge.conf |
969 | ||
a91fea76 | 970 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
971 | cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/qemu-ifup | |
ac6e5743 | 972 | #!/bin/sh |
a91fea76 | 973 | |
ac6e5743 | 974 | EOF |
a62a2d89 | 975 | |
5ed67169 JR |
976 | install -p qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl/qemu.conf |
977 | ||
e53a3a53 | 978 | %ifarch %{ix86} %{x8664} x32 |
41ed6e2c JR |
979 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/modules-load.d/kvm.conf |
980 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
981 | %endif | |
982 | ||
9fdf235e JR |
983 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/ksm.service |
984 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ksm | |
985 | install -p ksmctl $RPM_BUILD_ROOT%{_sbindir} | |
986 | ||
987 | install -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/ksmtuned.service | |
988 | install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned | |
989 | install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf | |
990 | ||
93473205 JR |
991 | # For the qemu-guest-agent subpackage install the systemd |
992 | # service and udev rules. | |
993 | install -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir} | |
994 | install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d | |
995 | ||
7babf190 | 996 | # Install binfmt |
a78c5672 | 997 | for i in dummy \ |
e53a3a53 | 998 | %ifnarch %{ix86} %{x8664} x32 |
008c880e | 999 | qemu-i386 \ |
a78c5672 | 1000 | %endif |
7babf190 ER |
1001 | %ifnarch alpha |
1002 | qemu-alpha \ | |
1003 | %endif | |
1004 | %ifnarch %{arm} | |
008c880e | 1005 | qemu-arm \ |
a78c5672 | 1006 | %endif |
7babf190 ER |
1007 | qemu-armeb \ |
1008 | qemu-cris \ | |
1009 | qemu-microblaze qemu-microblazeel \ | |
1010 | %ifnarch mips64 | |
1011 | qemu-mips64 \ | |
1012 | %ifnarch mips | |
1013 | qemu-mips \ | |
1014 | %endif | |
1015 | %endif | |
1016 | %ifnarch mips64el | |
1017 | qemu-mips64el \ | |
1018 | %ifnarch mipsel | |
1019 | qemu-mipsel \ | |
1020 | %endif | |
1021 | %endif | |
1022 | %ifnarch m68k | |
1023 | qemu-m68k \ | |
1024 | %endif | |
1025 | %ifnarch ppc ppc64 ppc64le | |
1026 | qemu-ppc qemu-ppc64abi32 qemu-ppc64 \ | |
a78c5672 JR |
1027 | %endif |
1028 | %ifnarch sparc sparc64 | |
7babf190 ER |
1029 | qemu-sparc qemu-sparc32plus qemu-sparc64 \ |
1030 | %endif | |
1031 | %ifnarch s390 s390x | |
1032 | qemu-s390x \ | |
a78c5672 JR |
1033 | %endif |
1034 | %ifnarch sh4 | |
008c880e | 1035 | qemu-sh4 \ |
a78c5672 | 1036 | %endif |
7babf190 | 1037 | qemu-sh4eb \ |
a78c5672 JR |
1038 | ; do |
1039 | test $i = dummy && continue | |
e14b0c24 ER |
1040 | grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf |
1041 | ||
1042 | %if %{with user_static} | |
1043 | grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf | |
1044 | %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf | |
1045 | %endif | |
a78c5672 JR |
1046 | done < %{SOURCE2} |
1047 | ||
68eb235d | 1048 | # packaged as %doc |
67bf71fa | 1049 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html |
c33439fc | 1050 | |
af556ac1 | 1051 | %if %{with system_seabios} |
ae1c5c71 JK |
1052 | ln -sf /usr/share/seabios/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios-256k.bin |
1053 | # bios.bin provided by qemu is stripped to 128k, with no Xen support, keep it | |
af556ac1 JK |
1054 | for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/*.aml ; do |
1055 | bn="$(basename $f)" | |
1056 | if [ -e "/usr/share/seabios/$bn" ] ; then | |
1057 | ln -sf "/usr/share/seabios/$bn" "$f" | |
1058 | fi | |
1059 | done | |
1060 | %endif | |
1061 | ||
78ff8fc0 | 1062 | %if %{with gtk2} || %{with gtk3} |
008c880e ER |
1063 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de} |
1064 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr} | |
a56d4cfd | 1065 | %find_lang %{name} |
78ff8fc0 JK |
1066 | %else |
1067 | : > qemu.lang | |
1068 | %endif | |
a56d4cfd | 1069 | |
cd19124e | 1070 | %clean |
1071 | rm -rf $RPM_BUILD_ROOT | |
1072 | ||
c1d653f6 | 1073 | %pre common |
a45c10b6 | 1074 | %groupadd -g 160 kvm |
c1d653f6 | 1075 | %groupadd -g 276 qemu |
a45c10b6 | 1076 | %useradd -u 276 -g qemu -G kvm -c "QEMU User" qemu |
c1d653f6 | 1077 | |
9fdf235e JR |
1078 | %post common |
1079 | %systemd_post ksm.service | |
1080 | %systemd_post ksmtuned.service | |
1081 | ||
1082 | %preun common | |
1083 | %systemd_preun ksm.service | |
1084 | %systemd_preun ksmtuned.service | |
1085 | ||
c1d653f6 AG |
1086 | %postun common |
1087 | if [ "$1" = "0" ]; then | |
1088 | %userremove qemu | |
1089 | %groupremove qemu | |
a45c10b6 | 1090 | %groupremove kvm |
c1d653f6 | 1091 | fi |
9fdf235e JR |
1092 | %systemd_reload |
1093 | ||
1094 | %triggerpostun common -- qemu-common < 1.6.1-4 | |
1095 | %systemd_trigger ksm.service | |
1096 | %systemd_trigger ksmtuned.service | |
c1d653f6 | 1097 | |
a78c5672 JR |
1098 | %post user |
1099 | %systemd_service_restart systemd-binfmt.service | |
1100 | ||
1101 | %postun user | |
1102 | %systemd_service_restart systemd-binfmt.service | |
1103 | ||
e14b0c24 ER |
1104 | %post user-static |
1105 | %systemd_service_restart systemd-binfmt.service | |
1106 | ||
1107 | %postun user-static | |
1108 | %systemd_service_restart systemd-binfmt.service | |
1109 | ||
93473205 JR |
1110 | %post guest-agent |
1111 | %systemd_reload | |
1112 | ||
1113 | %preun guest-agent | |
1114 | %systemd_preun qemu-guest-agent.service | |
1115 | ||
1116 | %postun guest-agent | |
1117 | %systemd_reload | |
1118 | ||
cd19124e | 1119 | %files |
1120 | %defattr(644,root,root,755) | |
fabf5a9c | 1121 | |
a56d4cfd | 1122 | %files common -f %{name}.lang |
fabf5a9c | 1123 | %defattr(644,root,root,755) |
a75bdea7 | 1124 | %doc LICENSE README |
67bf71fa | 1125 | %doc build-dynamic/qemu-doc.html |
a91fea76 | 1126 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/qemu-ifup |
c980f439 | 1127 | %config(noreplace) %verify(not md5 mtime size) /etc/ksmtuned.conf |
5ed67169 | 1128 | %config(noreplace) %verify(not md5 mtime size) /etc/sasl/qemu.conf |
c980f439 | 1129 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ksm |
b418165e MM |
1130 | %dir /etc/qemu |
1131 | %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf | |
c980f439 JR |
1132 | %{systemdunitdir}/ksm.service |
1133 | %{systemdunitdir}/ksmtuned.service | |
56eebfcf AM |
1134 | %attr(755,root,root) %{_bindir}/ivshmem-client |
1135 | %attr(755,root,root) %{_bindir}/ivshmem-server | |
5263f8f5 | 1136 | %attr(755,root,root) %{_bindir}/virtfs-proxy-helper |
32bf0518 | 1137 | %{?with_xkbcommon:%attr(755,root,root) %{_bindir}/qemu-keymap} |
fabf5a9c | 1138 | %attr(755,root,root) %{_bindir}/qemu-nbd |
1f265cee | 1139 | %attr(755,root,root) %{_bindir}/qemu-pr-helper |
56eebfcf | 1140 | %attr(755,root,root) %{_bindir}/qemu-tilegx |
d80315be | 1141 | %attr(755,root,root) %{_libexecdir}/qemu-bridge-helper |
c980f439 JR |
1142 | %attr(755,root,root) %{_sbindir}/ksmctl |
1143 | %attr(755,root,root) %{_sbindir}/ksmtuned | |
cd19124e | 1144 | %{_mandir}/man1/qemu.1* |
5263f8f5 | 1145 | %{_mandir}/man1/virtfs-proxy-helper.1* |
1f265cee | 1146 | %{_mandir}/man7/qemu-block-drivers.7* |
98a1a188 | 1147 | %{_mandir}/man8/qemu-nbd.8* |
fabf5a9c ER |
1148 | |
1149 | %dir %{_datadir}/qemu | |
1150 | %{_datadir}/%{name}/keymaps | |
5263f8f5 | 1151 | %{_datadir}/%{name}/qemu-icon.bmp |
3ae34e73 | 1152 | %{_datadir}/%{name}/trace-events-all |
af556ac1 | 1153 | |
fabf5a9c | 1154 | # various bios images |
af556ac1 | 1155 | # all should be probably moved to the right system subpackage |
af556ac1 | 1156 | %{_datadir}/%{name}/bamboo.dtb |
3ae34e73 | 1157 | %{_datadir}/%{name}/efi-e1000e.rom |
af556ac1 JK |
1158 | %{_datadir}/%{name}/efi-e1000.rom |
1159 | %{_datadir}/%{name}/efi-eepro100.rom | |
1160 | %{_datadir}/%{name}/efi-ne2k_pci.rom | |
1161 | %{_datadir}/%{name}/efi-pcnet.rom | |
1162 | %{_datadir}/%{name}/efi-rtl8139.rom | |
1163 | %{_datadir}/%{name}/efi-virtio.rom | |
3ae34e73 | 1164 | %{_datadir}/%{name}/efi-vmxnet3.rom |
af556ac1 JK |
1165 | %{_datadir}/%{name}/kvmvapic.bin |
1166 | %{_datadir}/%{name}/linuxboot.bin | |
3ae34e73 | 1167 | %{_datadir}/%{name}/linuxboot_dma.bin |
af556ac1 | 1168 | %{_datadir}/%{name}/multiboot.bin |
fabf5a9c ER |
1169 | %{_datadir}/%{name}/openbios-ppc |
1170 | %{_datadir}/%{name}/openbios-sparc* | |
1171 | %{_datadir}/%{name}/palcode-clipper | |
af556ac1 JK |
1172 | %{_datadir}/%{name}/petalogix-ml605.dtb |
1173 | %{_datadir}/%{name}/petalogix-s3adsp1800.dtb | |
1174 | %{_datadir}/%{name}/ppc_rom.bin | |
1175 | %{_datadir}/%{name}/pxe-e1000.rom | |
1176 | %{_datadir}/%{name}/pxe-eepro100.rom | |
1177 | %{_datadir}/%{name}/pxe-ne2k_pci.rom | |
1178 | %{_datadir}/%{name}/pxe-pcnet.rom | |
1179 | %{_datadir}/%{name}/pxe-rtl8139.rom | |
1180 | %{_datadir}/%{name}/pxe-virtio.rom | |
3ae34e73 | 1181 | %{_datadir}/%{name}/QEMU,cgthree.bin |
af556ac1 | 1182 | %{_datadir}/%{name}/qemu_logo_no_text.svg |
3ae34e73 | 1183 | %{_datadir}/%{name}/QEMU,tcx.bin |
a56d4cfd | 1184 | %{_datadir}/%{name}/s390-ccw.img |
af556ac1 | 1185 | %{_datadir}/%{name}/sgabios.bin |
67bf71fa | 1186 | %{_datadir}/%{name}/skiboot.lid |
af556ac1 JK |
1187 | %{_datadir}/%{name}/slof.bin |
1188 | %{_datadir}/%{name}/spapr-rtas.bin | |
3ae34e73 | 1189 | %{_datadir}/%{name}/vgabios.bin |
af556ac1 JK |
1190 | %{_datadir}/%{name}/vgabios-cirrus.bin |
1191 | %{_datadir}/%{name}/vgabios-qxl.bin | |
1192 | %{_datadir}/%{name}/vgabios-stdvga.bin | |
54b666b7 | 1193 | %{_datadir}/%{name}/vgabios-virtio.bin |
af556ac1 | 1194 | %{_datadir}/%{name}/vgabios-vmware.bin |
fabf5a9c | 1195 | |
ae1c5c71 JK |
1196 | %dir %{_libdir}/%{name} |
1197 | ||
54b666b7 | 1198 | # modules without too many external dependencies |
67bf71fa | 1199 | %attr(755,root,root) %{_libdir}/%{name}/block-dmg-bz2.so |
32bf0518 | 1200 | %{?with_libnfs:%attr(755,root,root) %{_libdir}/%{name}/block-nfs.so} |
54b666b7 | 1201 | |
1777be93 | 1202 | %attr(755,root,root) %{_libdir}/%{name}/audio-alsa.so |
32bf0518 JK |
1203 | %{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so} |
1204 | %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so} | |
1777be93 | 1205 | %attr(755,root,root) %{_libdir}/%{name}/ui-curses.so |
32bf0518 | 1206 | %if %{with gtk2} || %{with gtk3} |
1777be93 | 1207 | %attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so |
32bf0518 JK |
1208 | %endif |
1209 | %{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so} | |
1777be93 | 1210 | |
fabf5a9c ER |
1211 | %files img |
1212 | %defattr(644,root,root,755) | |
1213 | %attr(755,root,root) %{_bindir}/qemu-img | |
1214 | %{_mandir}/man1/qemu-img.1* | |
1215 | ||
1216 | %files user | |
1217 | %defattr(644,root,root,755) | |
e14b0c24 | 1218 | /usr/lib/binfmt.d/qemu-*-dynamic.conf |
ae1c5c71 | 1219 | %attr(755,root,root) %{_bindir}/qemu-aarch64 |
1777be93 | 1220 | %attr(755,root,root) %{_bindir}/qemu-aarch64_be |
fabf5a9c ER |
1221 | %attr(755,root,root) %{_bindir}/qemu-alpha |
1222 | %attr(755,root,root) %{_bindir}/qemu-arm | |
1223 | %attr(755,root,root) %{_bindir}/qemu-armeb | |
1224 | %attr(755,root,root) %{_bindir}/qemu-cris | |
cdd6b92f | 1225 | %attr(755,root,root) %{_bindir}/qemu-hppa |
59bc1300 | 1226 | %attr(755,root,root) %{_bindir}/qemu-i386 |
fabf5a9c ER |
1227 | %attr(755,root,root) %{_bindir}/qemu-io |
1228 | %attr(755,root,root) %{_bindir}/qemu-m68k | |
1229 | %attr(755,root,root) %{_bindir}/qemu-microblaze | |
1230 | %attr(755,root,root) %{_bindir}/qemu-microblazeel | |
1231 | %attr(755,root,root) %{_bindir}/qemu-mips | |
1232 | %attr(755,root,root) %{_bindir}/qemu-mipsel | |
a56d4cfd JB |
1233 | %attr(755,root,root) %{_bindir}/qemu-mips64 |
1234 | %attr(755,root,root) %{_bindir}/qemu-mips64el | |
1235 | %attr(755,root,root) %{_bindir}/qemu-mipsn32 | |
1236 | %attr(755,root,root) %{_bindir}/qemu-mipsn32el | |
cdd6b92f | 1237 | %attr(755,root,root) %{_bindir}/qemu-nios2 |
05e8f0a4 | 1238 | %attr(755,root,root) %{_bindir}/qemu-or1k |
fabf5a9c ER |
1239 | %attr(755,root,root) %{_bindir}/qemu-ppc |
1240 | %attr(755,root,root) %{_bindir}/qemu-ppc64 | |
1241 | %attr(755,root,root) %{_bindir}/qemu-ppc64abi32 | |
f39d158a | 1242 | %attr(755,root,root) %{_bindir}/qemu-ppc64le |
1777be93 JP |
1243 | %attr(755,root,root) %{_bindir}/qemu-riscv32 |
1244 | %attr(755,root,root) %{_bindir}/qemu-riscv64 | |
fabf5a9c ER |
1245 | %attr(755,root,root) %{_bindir}/qemu-s390x |
1246 | %attr(755,root,root) %{_bindir}/qemu-sh4 | |
1247 | %attr(755,root,root) %{_bindir}/qemu-sh4eb | |
1248 | %attr(755,root,root) %{_bindir}/qemu-sparc | |
1249 | %attr(755,root,root) %{_bindir}/qemu-sparc32plus | |
1250 | %attr(755,root,root) %{_bindir}/qemu-sparc64 | |
59bc1300 | 1251 | %attr(755,root,root) %{_bindir}/qemu-x86_64 |
1777be93 JP |
1252 | %attr(755,root,root) %{_bindir}/qemu-xtensa |
1253 | %attr(755,root,root) %{_bindir}/qemu-xtensaeb | |
fabf5a9c | 1254 | |
a75bdea7 ER |
1255 | %if %{with user_static} |
1256 | %files user-static | |
1257 | %defattr(644,root,root,755) | |
e14b0c24 | 1258 | /usr/lib/binfmt.d/qemu-*-static.conf |
a75bdea7 | 1259 | %attr(755,root,root) %{_bindir}/qemu-aarch64-static |
1777be93 | 1260 | %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static |
a75bdea7 ER |
1261 | %attr(755,root,root) %{_bindir}/qemu-alpha-static |
1262 | %attr(755,root,root) %{_bindir}/qemu-arm-static | |
1263 | %attr(755,root,root) %{_bindir}/qemu-armeb-static | |
1264 | %attr(755,root,root) %{_bindir}/qemu-cris-static | |
cdd6b92f | 1265 | %attr(755,root,root) %{_bindir}/qemu-hppa-static |
a75bdea7 ER |
1266 | %attr(755,root,root) %{_bindir}/qemu-i386-static |
1267 | %attr(755,root,root) %{_bindir}/qemu-m68k-static | |
1268 | %attr(755,root,root) %{_bindir}/qemu-microblaze-static | |
1269 | %attr(755,root,root) %{_bindir}/qemu-microblazeel-static | |
1270 | %attr(755,root,root) %{_bindir}/qemu-mips-static | |
1271 | %attr(755,root,root) %{_bindir}/qemu-mips64-static | |
1272 | %attr(755,root,root) %{_bindir}/qemu-mips64el-static | |
1273 | %attr(755,root,root) %{_bindir}/qemu-mipsel-static | |
1274 | %attr(755,root,root) %{_bindir}/qemu-mipsn32-static | |
1275 | %attr(755,root,root) %{_bindir}/qemu-mipsn32el-static | |
cdd6b92f | 1276 | %attr(755,root,root) %{_bindir}/qemu-nios2-static |
05e8f0a4 | 1277 | %attr(755,root,root) %{_bindir}/qemu-or1k-static |
a75bdea7 ER |
1278 | %attr(755,root,root) %{_bindir}/qemu-ppc-static |
1279 | %attr(755,root,root) %{_bindir}/qemu-ppc64-static | |
1280 | %attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static | |
1281 | %attr(755,root,root) %{_bindir}/qemu-ppc64le-static | |
1777be93 JP |
1282 | %attr(755,root,root) %{_bindir}/qemu-riscv32-static |
1283 | %attr(755,root,root) %{_bindir}/qemu-riscv64-static | |
a75bdea7 ER |
1284 | %attr(755,root,root) %{_bindir}/qemu-s390x-static |
1285 | %attr(755,root,root) %{_bindir}/qemu-sh4-static | |
1286 | %attr(755,root,root) %{_bindir}/qemu-sh4eb-static | |
1287 | %attr(755,root,root) %{_bindir}/qemu-sparc-static | |
1288 | %attr(755,root,root) %{_bindir}/qemu-sparc32plus-static | |
1289 | %attr(755,root,root) %{_bindir}/qemu-sparc64-static | |
1290 | %attr(755,root,root) %{_bindir}/qemu-tilegx-static | |
a75bdea7 | 1291 | %attr(755,root,root) %{_bindir}/qemu-x86_64-static |
1777be93 JP |
1292 | %attr(755,root,root) %{_bindir}/qemu-xtensa-static |
1293 | %attr(755,root,root) %{_bindir}/qemu-xtensaeb-static | |
a75bdea7 ER |
1294 | %endif |
1295 | ||
ae1c5c71 JK |
1296 | %files system-aarch64 |
1297 | %defattr(644,root,root,755) | |
1298 | %attr(755,root,root) %{_bindir}/qemu-system-aarch64 | |
1299 | ||
fabf5a9c ER |
1300 | %files system-alpha |
1301 | %defattr(644,root,root,755) | |
1302 | %attr(755,root,root) %{_bindir}/qemu-system-alpha | |
1303 | ||
1304 | %files system-arm | |
1305 | %defattr(644,root,root,755) | |
1306 | %attr(755,root,root) %{_bindir}/qemu-system-arm | |
1307 | ||
1308 | %files system-cris | |
1309 | %defattr(644,root,root,755) | |
1310 | %attr(755,root,root) %{_bindir}/qemu-system-cris | |
1311 | ||
1777be93 JP |
1312 | %files system-hppa |
1313 | %defattr(644,root,root,755) | |
1314 | %attr(755,root,root) %{_bindir}/qemu-system-hppa | |
1315 | %{_datadir}/%{name}/hppa-firmware.img | |
1316 | ||
fabf5a9c ER |
1317 | %files system-lm32 |
1318 | %defattr(644,root,root,755) | |
1319 | %attr(755,root,root) %{_bindir}/qemu-system-lm32 | |
1320 | ||
1321 | %files system-m68k | |
1322 | %defattr(644,root,root,755) | |
1323 | %attr(755,root,root) %{_bindir}/qemu-system-m68k | |
1324 | ||
1325 | %files system-microblaze | |
1326 | %defattr(644,root,root,755) | |
1327 | %attr(755,root,root) %{_bindir}/qemu-system-microblaze | |
1328 | %attr(755,root,root) %{_bindir}/qemu-system-microblazeel | |
1329 | ||
1330 | %files system-mips | |
1331 | %defattr(644,root,root,755) | |
1332 | %attr(755,root,root) %{_bindir}/qemu-system-mips | |
1333 | %attr(755,root,root) %{_bindir}/qemu-system-mipsel | |
1334 | %attr(755,root,root) %{_bindir}/qemu-system-mips64 | |
1335 | %attr(755,root,root) %{_bindir}/qemu-system-mips64el | |
1336 | ||
a56d4cfd JB |
1337 | %files system-moxie |
1338 | %defattr(644,root,root,755) | |
1339 | %attr(755,root,root) %{_bindir}/qemu-system-moxie | |
1340 | ||
cdd6b92f JP |
1341 | %files system-nios2 |
1342 | %defattr(644,root,root,755) | |
1343 | %attr(755,root,root) %{_bindir}/qemu-system-nios2 | |
1344 | ||
05e8f0a4 | 1345 | %files system-or1k |
92c357d4 | 1346 | %defattr(644,root,root,755) |
05e8f0a4 | 1347 | %attr(755,root,root) %{_bindir}/qemu-system-or1k |
92c357d4 | 1348 | |
fabf5a9c ER |
1349 | %files system-ppc |
1350 | %defattr(644,root,root,755) | |
1351 | %attr(755,root,root) %{_bindir}/qemu-system-ppc | |
1352 | %attr(755,root,root) %{_bindir}/qemu-system-ppc64 | |
1353 | %attr(755,root,root) %{_bindir}/qemu-system-ppcemb | |
1777be93 | 1354 | %{_datadir}/%{name}/canyonlands.dtb |
b3255247 | 1355 | %{_datadir}/%{name}/qemu_vga.ndrv |
f39d158a | 1356 | %{_datadir}/%{name}/u-boot.e500 |
1777be93 JP |
1357 | %{_datadir}/%{name}/u-boot-sam460-20100605.bin |
1358 | ||
1359 | %files system-riscv32 | |
1360 | %defattr(644,root,root,755) | |
1361 | %attr(755,root,root) %{_bindir}/qemu-system-riscv32 | |
1362 | ||
1363 | %files system-riscv64 | |
1364 | %defattr(644,root,root,755) | |
1365 | %attr(755,root,root) %{_bindir}/qemu-system-riscv64 | |
fabf5a9c ER |
1366 | |
1367 | %files system-s390x | |
1368 | %defattr(644,root,root,755) | |
1369 | %attr(755,root,root) %{_bindir}/qemu-system-s390x | |
b3255247 | 1370 | %{_datadir}/%{name}/s390-netboot.img |
fabf5a9c ER |
1371 | |
1372 | %files system-sh4 | |
1373 | %defattr(644,root,root,755) | |
1374 | %attr(755,root,root) %{_bindir}/qemu-system-sh4 | |
1375 | %attr(755,root,root) %{_bindir}/qemu-system-sh4eb | |
1376 | ||
1377 | %files system-sparc | |
1378 | %defattr(644,root,root,755) | |
1379 | %attr(755,root,root) %{_bindir}/qemu-system-sparc | |
1380 | %attr(755,root,root) %{_bindir}/qemu-system-sparc64 | |
1381 | ||
112b8450 AM |
1382 | %files system-tricore |
1383 | %defattr(644,root,root,755) | |
1384 | %attr(755,root,root) %{_bindir}/qemu-system-tricore | |
1385 | ||
72ddf007 PS |
1386 | %files system-unicore32 |
1387 | %defattr(644,root,root,755) | |
1388 | %attr(755,root,root) %{_bindir}/qemu-system-unicore32 | |
1389 | ||
fabf5a9c ER |
1390 | %files system-x86 |
1391 | %defattr(644,root,root,755) | |
1392 | %attr(755,root,root) %{_bindir}/qemu-system-i386 | |
1393 | %attr(755,root,root) %{_bindir}/qemu-system-x86_64 | |
e53a3a53 | 1394 | %ifarch %{ix86} %{x8664} x32 |
41ed6e2c JR |
1395 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/kvm.conf |
1396 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/80-kvm.rules | |
41ed6e2c | 1397 | %endif |
af556ac1 | 1398 | %{_datadir}/%{name}/bios.bin |
ae1c5c71 | 1399 | %{_datadir}/%{name}/bios-256k.bin |
fabf5a9c ER |
1400 | |
1401 | %files system-xtensa | |
1402 | %defattr(644,root,root,755) | |
1403 | %attr(755,root,root) %{_bindir}/qemu-system-xtensa | |
1404 | %attr(755,root,root) %{_bindir}/qemu-system-xtensaeb | |
93473205 JR |
1405 | |
1406 | %files guest-agent | |
008c880e | 1407 | %defattr(644,root,root,755) |
93473205 JR |
1408 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/99-qemu-guest-agent.rules |
1409 | %{systemdunitdir}/qemu-guest-agent.service | |
1410 | %attr(755,root,root) %{_bindir}/qemu-ga | |
56eebfcf | 1411 | %{_mandir}/man8/qemu-ga.8* |
ae1c5c71 JK |
1412 | |
1413 | %files module-block-curl | |
1414 | %defattr(644,root,root,755) | |
1415 | %attr(755,root,root) %{_libdir}/%{name}/block-curl.so | |
1416 | ||
c218d8d3 | 1417 | %if %{with glusterfs} |
ae1c5c71 JK |
1418 | %files module-block-gluster |
1419 | %defattr(644,root,root,755) | |
1420 | %attr(755,root,root) %{_libdir}/%{name}/block-gluster.so | |
c218d8d3 | 1421 | %endif |
ae1c5c71 | 1422 | |
c218d8d3 | 1423 | %if %{with iscsi} |
ae1c5c71 JK |
1424 | %files module-block-iscsi |
1425 | %defattr(644,root,root,755) | |
1426 | %attr(755,root,root) %{_libdir}/%{name}/block-iscsi.so | |
c218d8d3 | 1427 | %endif |
ae1c5c71 | 1428 | |
c218d8d3 | 1429 | %if %{with ceph} |
ae1c5c71 JK |
1430 | %files module-block-rbd |
1431 | %defattr(644,root,root,755) | |
1432 | %attr(755,root,root) %{_libdir}/%{name}/block-rbd.so | |
c218d8d3 | 1433 | %endif |
ae1c5c71 JK |
1434 | |
1435 | %files module-block-ssh | |
1436 | %defattr(644,root,root,755) | |
1437 | %attr(755,root,root) %{_libdir}/%{name}/block-ssh.so |