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