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