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