]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- add --without smb bcond
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 2 Feb 2005 15:17:53 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elinks.spec -> 1.113

elinks.spec

index cec595159940f9c43c9cfbfe4d03b857451f0e83..98d3b45ad450bc17443487f787cba7055fe6cc57 100644 (file)
@@ -12,6 +12,7 @@
 %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
@@ -50,6 +51,7 @@ BuildRequires:        gpm-devel
 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
@@ -100,6 +102,7 @@ mv -f po/{no,nb}.po
        --enable-finger \
        --enable-gopher \
        --enable-nntp \
+       %{!?with_smb:--disable-smb} \
        %{?with_256:--enable-256-colors} \
        --enable-exmode \
        %{?with_leds:--enable-leds} \
This page took 0.087742 seconds and 4 git commands to generate.