%bcond_without ceph # Ceph/RBD support
%bcond_without glusterfs # GlusterFS backend
%bcond_without rdma # RDMA-based migration support
%bcond_without ceph # Ceph/RBD support
%bcond_without glusterfs # GlusterFS backend
%bcond_without rdma # RDMA-based migration support
%bcond_without gtk3 # Do not build GTK+ UI
%bcond_without vte # VTE support in GTK+ UI
%bcond_without spice # SPICE support
%bcond_without gtk3 # Do not build GTK+ UI
%bcond_without vte # VTE support in GTK+ UI
%bcond_without spice # SPICE support
Release: 1
License: GPL v2
Group: Applications/Emulators
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
Release: 1
License: GPL v2
Group: Applications/Emulators
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
%{?with_esd:BuildRequires: esound-devel}
BuildRequires: glib2-devel >= 1:2.22
%{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
%{?with_esd:BuildRequires: esound-devel}
BuildRequires: glib2-devel >= 1:2.22
%{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4}
BuildRequires: libaio-devel
%{?with_smartcard:BuildRequires: libcacard-devel}
BuildRequires: libcap-devel
BuildRequires: libaio-devel
%{?with_smartcard:BuildRequires: libcacard-devel}
BuildRequires: libcap-devel
%{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
BuildRequires: libpng-devel
%{?with_rdma:BuildRequires: librdmacm-devel}
%{?with_libnfs:BuildRequires: libnfs-devel >= 1.9.3}
BuildRequires: libpng-devel
%{?with_rdma:BuildRequires: librdmacm-devel}
BuildRequires: libssh2-devel >= 1.2.8
BuildRequires: libusb-devel >= 1.0.13
BuildRequires: libuuid-devel
BuildRequires: libssh2-devel >= 1.2.8
BuildRequires: libusb-devel >= 1.0.13
BuildRequires: libuuid-devel
%{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: zlib-devel
%{?with_xkbcommon:BuildRequires: xorg-lib-libxkbcommon-devel}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: zlib-devel
%endif \
Requires: libusb >= 1.0.13 \
Requires: pixman >= 0.21.8 \
%if %{with usbredir} \
Requires: usbredir >= 0.6 \
%endif \
%endif \
Requires: libusb >= 1.0.13 \
Requires: pixman >= 0.21.8 \
%if %{with usbredir} \
Requires: usbredir >= 0.6 \
%endif \
--enable-lzo \
%{__enable_disable snappy} \
--audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
--enable-lzo \
%{__enable_disable snappy} \
--audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
%find_lang %{name}
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
%find_lang %{name}
%{_datadir}/%{name}/slof.bin
%{_datadir}/%{name}/spapr-rtas.bin
%{_datadir}/%{name}/vgabios.bin
%{_datadir}/%{name}/slof.bin
%{_datadir}/%{name}/spapr-rtas.bin
%{_datadir}/%{name}/vgabios.bin
%{_datadir}/%{name}/vgabios-stdvga.bin
%{_datadir}/%{name}/vgabios-virtio.bin
%{_datadir}/%{name}/vgabios-vmware.bin
%{_datadir}/%{name}/vgabios-stdvga.bin
%{_datadir}/%{name}/vgabios-virtio.bin
%{_datadir}/%{name}/vgabios-vmware.bin
%{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
%{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
%{?with_pulseaudio:%attr(755,root,root) %{_libdir}/%{name}/audio-pa.so}
%{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/audio-sdl.so}
%attr(755,root,root) %{_libdir}/%{name}/ui-curses.so
%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
%endif
%{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
%attr(755,root,root) %{_libdir}/%{name}/ui-gtk.so
%endif
%{?with_sdl:%attr(755,root,root) %{_libdir}/%{name}/ui-sdl.so}
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-system-ppc
%attr(755,root,root) %{_bindir}/qemu-system-ppc64
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qemu-system-ppc
%attr(755,root,root) %{_bindir}/qemu-system-ppc64
%{_datadir}/%{name}/canyonlands.dtb
%{_datadir}/%{name}/qemu_vga.ndrv
%{_datadir}/%{name}/u-boot.e500
%{_datadir}/%{name}/canyonlands.dtb
%{_datadir}/%{name}/qemu_vga.ndrv
%{_datadir}/%{name}/u-boot.e500