%define with_pm_utils 1
# Non-server/HV driver defaults which are always enabled
-%define with_sasl 0%{!?_without_sasl:1}
%define with_nss_plugin 0%{!?_without_nss_plugin:1}
BuildRequires: ebtables
%endif
BuildRequires: module-init-tools
-%if %{with_sasl}
BuildRequires: cyrus-sasl-devel
-%endif
%if %{with_polkit}
%if 0%{?fedora} || 0%{?rhel} >= 7
# F22 polkit-devel doesn't pull in polkit anymore, which we need for pkcheck
# Needed for probing the power management features of the host.
Requires: pm-utils
%endif
-%if %{with_sasl}
Requires: cyrus-sasl
# Not technically required, but makes 'out-of-box' config
# work correctly & doesn't have onerous dependencies
Requires: cyrus-sasl-md5
-%endif
%description client
Shared libraries and client binaries needed to access to the
%define _without_libxl --without-libxl
%endif
-%if ! %{with_sasl}
- %define _without_sasl --without-sasl
-%endif
-
%if ! %{with_phyp}
%define _without_phyp --without-phyp
%endif
%{?_without_lxc} \
%{?_without_vbox} \
%{?_without_libxl} \
- %{?_without_sasl} \
+ --with-sasl \
--with-avahi \
%{?_without_polkit} \
--with-libvirtd \
%attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
-%if %{with_sasl}
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
-%endif
%if %{with_wireshark}
%files wireshark