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