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