%bcond_without ceph # Ceph/RBD support
%bcond_without glusterfs # GlusterFS backend
%bcond_without rdma # RDMA-based migration support
-%bcond_with xseg # Archipelago backend [non-distributable: GPLv3+ vs GPLv2-only]
%bcond_with gtk2 # GTK+ 2.x instead of 3.x
%bcond_without gtk3 # Do not build GTK+ UI
%bcond_without vte # VTE support in GTK+ UI
Summary: QEMU CPU Emulator
Summary(pl.UTF-8): QEMU - emulator procesora
Name: qemu
-Version: 2.8.0
+Version: 2.11.0
Release: 1
License: GPL v2
Group: Applications/Emulators
-Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 17940dce063b6ce450a12e719a6c9c43
+Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
+# Source0-md5: 5c823d2e01934b46a080f9e4d0695805
# Loads kvm kernel modules at boot
Source3: kvm-modules-load.conf
# Creates /dev/kvm
BuildRequires: libcap-devel
BuildRequires: libcap-ng-devel
%{?with_gl:BuildRequires: libepoxy-devel}
-BuildRequires: libfdt-devel
+BuildRequires: libfdt-devel >= 1.4.2
%{?with_rdma:BuildRequires: libibverbs-devel}
%{?with_iscsi:BuildRequires: libiscsi-devel >= 1.9.0}
BuildRequires: libjpeg-devel
BuildRequires: libssh2-devel >= 1.2.8
BuildRequires: libusb-devel >= 1.0.13
BuildRequires: libuuid-devel
-%{?with_xseg:BuildRequires: libxseg-devel}
%{?with_lttng:BuildRequires: lttng-ust-devel}
BuildRequires: lzo-devel >= 2
BuildRequires: ncurses-devel
BuildRequires: glib2-static
BuildRequires: glibc-static
BuildRequires: pcre-static
+BuildRequires: xen-static
BuildRequires: zlib-static
%endif
Requires: %{name}-img = %{version}-%{release}
Requires: %{name}-system-microblaze = %{version}-%{release}
Requires: %{name}-system-mips = %{version}-%{release}
Requires: %{name}-system-moxie = %{version}-%{release}
-Requires: %{name}-system-or32 = %{version}-%{release}
+Requires: %{name}-system-nios2 = %{version}-%{release}
+Requires: %{name}-system-or1k = %{version}-%{release}
Requires: %{name}-system-ppc = %{version}-%{release}
Requires: %{name}-system-s390x = %{version}-%{release}
Requires: %{name}-system-sh4 = %{version}-%{release}
%if %{with sdl} \
Requires: SDL2 \
%endif \
+Requires: libfdt >= 1.4.2 \
%if %{with seccomp} \
Requires: libseccomp >= 2.1.0 \
%endif \
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Requires: glib2 >= 1:2.22
+%{?with_libnfs:Requires: libnfs >= 1.9.3}
Requires: libssh2 >= 1.2.8
Provides: group(qemu)
Provides: user(qemu)
Ten pakiet zawiera emulator systemu z procesorem Moxie.
-%package system-or32
+%package system-nios2
+Summary: QEMU system emulator for Nios II
+Summary(pl.UTF-8): QEMU - emulator systemu z procesorem Nios II
+Group: Development/Tools
+Requires: %{name}-common = %{version}-%{release}
+%systempkg_req
+
+%description system-nios2
+QEMU is a generic and open source processor emulator which achieves a
+good emulation speed by using dynamic translation.
+
+This package provides the system emulator with Nios II CPU.
+
+%description system-nios2 -l pl.UTF-8
+QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
+dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
+
+Ten pakiet zawiera emulator systemu z procesorem Nios II.
+
+%package system-or1k
Summary: QEMU system emulator for OpenRISC
Summary(pl.UTF-8): QEMU - emulator systemu z procesorem OpenRISC
Group: Development/Tools
Requires: %{name}-common = %{version}-%{release}
%systempkg_req
-Obsoletes: qemu-kvm-system-or32
+Obsoletes: qemu-kvm-system-or1k
+Obsoletes: qemu-system-or32
-%description system-or32
+%description system-or1k
QEMU is a generic and open source processor emulator which achieves a
good emulation speed by using dynamic translation.
This package provides the system emulator with OpenRISC CPU.
-%description system-or32 -l pl.UTF-8
+%description system-or1k -l pl.UTF-8
QEMU to ogólny, mający otwarte źródła emulator procesora, osiągający
dobrą szybkość emulacji dzięki użyciu translacji dynamicznej.
Ten pakiet nie musi być zainstalowany w systemie hosta.
-%package module-block-archipelago
-Summary: QEMU module for Archipelago block devices
-Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych Archipelago
-Group: Development/Tools
-Requires: %{name}-common = %{version}-%{release}
-
-%description module-block-archipelago
-Archipelago block device support for QEMU.
-
-%description module-block-archipelago -l pl.UTF-8
-Moduł QEMU dla urządeń blokowych Archipelago.
-
%package module-block-curl
Summary: QEMU module for 'curl' block devices
Summary(pl.UTF-8): Moduł QEMU dla urządeń blokowych typu 'curl'
build dynamic \
--extra-cflags="%{rpmcflags} %{rpmcppflags} -fPIE -DPIE" \
--extra-ldflags="%{rpmldflags} -pie -Wl,-z,relro -Wl,-z,now" \
- %{__enable_disable xseg archipelago} \
--enable-attr \
%{__enable_disable bluetooth bluez} \
%{__enable_disable brlapi} \
%{__enable_disable smartcard smartcard} \
--enable-tpm \
%{__enable_disable usbredir usb-redir} \
- --enable-uuid \
--enable-vde \
--enable-virtfs \
--enable-vnc-jpeg \
--enable-vnc-png \
--enable-vnc-sasl \
- %{!?with_vte:--disable-vte} \
+ %{__enable_disable vte} \
%{__enable_disable xen} \
--enable-modules \
--disable-netmap \
--disable-spice \
--disable-tcmalloc \
--disable-tools \
- --disable-uuid \
--enable-user \
--disable-system \
--static
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/lib/binfmt.d \
- $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
+install -d $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
$RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
%if %{with user_static}
# packaged as %doc
%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
-%{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qmp-commands.txt
# install patched vesa tables with additional widescreen modes.
cp -p roms/vgabios/VGABIOS-lgpl-latest.stdvga.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/vgabios-stdvga.bin
%dir /etc/qemu
%attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
%attr(755,root,root) %{_bindir}/virtfs-proxy-helper
+%attr(755,root,root) %{_bindir}/qemu-keymap
%attr(755,root,root) %{_bindir}/qemu-nbd
+%attr(755,root,root) %{_bindir}/qemu-pr-helper
%attr(755,root,root) %{_bindir}/qemu-tilegx
-%attr(755,root,root) %{_libdir}/qemu-bridge-helper
+%attr(755,root,root) %{_libexecdir}/qemu-bridge-helper
%attr(755,root,root) %{_sbindir}/ksmctl
%attr(755,root,root) %{_sbindir}/ksmtuned
%{_mandir}/man1/qemu.1*
%{_mandir}/man1/virtfs-proxy-helper.1*
+%{_mandir}/man7/qemu-block-drivers.7*
%{_mandir}/man8/qemu-nbd.8*
%dir %{_datadir}/qemu
%attr(755,root,root) %{_bindir}/qemu-arm
%attr(755,root,root) %{_bindir}/qemu-armeb
%attr(755,root,root) %{_bindir}/qemu-cris
+%attr(755,root,root) %{_bindir}/qemu-hppa
%attr(755,root,root) %{_bindir}/qemu-i386
%attr(755,root,root) %{_bindir}/qemu-io
%attr(755,root,root) %{_bindir}/qemu-m68k
%attr(755,root,root) %{_bindir}/qemu-mips64el
%attr(755,root,root) %{_bindir}/qemu-mipsn32
%attr(755,root,root) %{_bindir}/qemu-mipsn32el
-%attr(755,root,root) %{_bindir}/qemu-or32
+%attr(755,root,root) %{_bindir}/qemu-nios2
+%attr(755,root,root) %{_bindir}/qemu-or1k
%attr(755,root,root) %{_bindir}/qemu-ppc
%attr(755,root,root) %{_bindir}/qemu-ppc64
%attr(755,root,root) %{_bindir}/qemu-ppc64abi32
%attr(755,root,root) %{_bindir}/qemu-arm-static
%attr(755,root,root) %{_bindir}/qemu-armeb-static
%attr(755,root,root) %{_bindir}/qemu-cris-static
+%attr(755,root,root) %{_bindir}/qemu-hppa-static
%attr(755,root,root) %{_bindir}/qemu-i386-static
%attr(755,root,root) %{_bindir}/qemu-m68k-static
%attr(755,root,root) %{_bindir}/qemu-microblaze-static
%attr(755,root,root) %{_bindir}/qemu-mipsel-static
%attr(755,root,root) %{_bindir}/qemu-mipsn32-static
%attr(755,root,root) %{_bindir}/qemu-mipsn32el-static
-%attr(755,root,root) %{_bindir}/qemu-or32-static
+%attr(755,root,root) %{_bindir}/qemu-nios2-static
+%attr(755,root,root) %{_bindir}/qemu-or1k-static
%attr(755,root,root) %{_bindir}/qemu-ppc-static
%attr(755,root,root) %{_bindir}/qemu-ppc64-static
%attr(755,root,root) %{_bindir}/qemu-ppc64abi32-static
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-system-moxie
-%files system-or32
+%files system-nios2
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/qemu-system-or32
+%attr(755,root,root) %{_bindir}/qemu-system-nios2
+
+%files system-or1k
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/qemu-system-or1k
%files system-ppc
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-system-ppc64
#%attr(755,root,root) %{_bindir}/qemu-system-ppc64le
%attr(755,root,root) %{_bindir}/qemu-system-ppcemb
+%{_datadir}/%{name}/qemu_vga.ndrv
%{_datadir}/%{name}/u-boot.e500
%files system-s390x
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-system-s390x
+%{_datadir}/%{name}/s390-netboot.img
%files system-sh4
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-ga
%{_mandir}/man8/qemu-ga.8*
-%if %{with xseg}
-%files module-block-archipelago
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/block-archipelago.so
-%endif
-
%files module-block-curl
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/block-curl.so