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