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