|
|
@@ -33,13 +33,14 @@ Class: BASE
|
|
|
Group: Web
|
|
|
License: MIT-style
|
|
|
Version: 7.16.0
|
|
|
-Release: 20061207
|
|
|
+Release: 20070120
|
|
|
|
|
|
# package options
|
|
|
-%option with_ssl yes
|
|
|
-%option with_zlib yes
|
|
|
-%option with_idn no
|
|
|
-%option with_ares no
|
|
|
+%option with_ssl yes
|
|
|
+%option with_zlib yes
|
|
|
+%option with_idn no
|
|
|
+%option with_ares no
|
|
|
+%option with_kerberos no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://curl.haxx.se/download/curl-%{version}.tar.bz2
|
|
|
@@ -65,6 +66,10 @@ PreReq: libidn
|
|
|
BuildPreReq: ares
|
|
|
PreReq: ares
|
|
|
%endif
|
|
|
+%if "%{with_kerberos}" == "yes"
|
|
|
+BuildPreReq: kerberos
|
|
|
+PreReq: kerberos
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -128,6 +133,11 @@ AutoReqProv: no
|
|
|
--enable-ares=%{l_prefix} \
|
|
|
%else
|
|
|
--disable-ares \
|
|
|
+%endif
|
|
|
+%if "%{with_kerberos}" == "yes"
|
|
|
+ --with-gssapi=%{l_prefix} \
|
|
|
+%else
|
|
|
+ --without-gssapi \
|
|
|
%endif
|
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags -O}
|