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