]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- release 4,
authorkloczek <kloczek@pld-linux.org>
Wed, 9 May 2001 00:11:42 +0000 (00:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added handling %%{bcond_off_ssl} for allow disable compile withut SSL
  support,
- rebuild against openssl 0.9.6a.

Changed files:
    lftp.spec -> 1.91

lftp.spec

index 22c0310896df8d367ee38681ad40e783bc5bac62..37217d5298351020e8b1893cec5592aef7576501 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -1,8 +1,12 @@
+#
+# Conditional build:
+# bcond_off_ssl - do not use SSL
+#
 Summary:       Commandline ftp client
 Summary(pl):   Zaawansowany klient ftp
 Name:          lftp
 Version:       2.3.9
-Release:       3
+Release:       4
 License:       GPL
 Group:         Applications/Networking
 Group(de):     Applikationen/Netzwerkwesen
@@ -17,6 +21,7 @@ BuildRequires:        ncurses-devel >= 5.2
 BuildRequires: readline-devel >= 4.2
 BuildRequires: gettext-devel
 BuildRequires: gcc-c++
+%{!??bcond_off_ssl:BuildRequires:      openssl-devel >= 0.9.6a}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +57,7 @@ automake -a -c
 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
 %configure \
        --with-modules
+       --with%{?bcond_off_ssl:out}-ssl
 %{__make}
 
 %install
This page took 0.068111 seconds and 4 git commands to generate.