%bcond_without lua # Disable Lua scripting
%bcond_without openssl # Disable OpenSSL support
%bcond_without perl # Disable Perl scripting
+%bcond_without smb # Disable SMB protocol support
#
%if %{with gnutls}
%undefine with_openssl
BuildRequires: ncurses-devel >= 5.1
%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d}
%{?with_perl:BuildRequires: perl-devel}
+%{?with_smb:BuildRequires: samba-client}
BuildRequires: zlib-devel
BuildRequires: tetex
Provides: webclient
--enable-finger \
--enable-gopher \
--enable-nntp \
+ %{!?with_smb:--disable-smb} \
%{?with_256:--enable-256-colors} \
--enable-exmode \
%{?with_leds:--enable-leds} \