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