|
|
@@ -31,7 +31,7 @@ Vendor: Joe Orton
|
|
|
Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EXP]
|
|
|
Group: Web
|
|
|
-License: GPL
|
|
|
+License: LGPL
|
|
|
Version: 0.18.5
|
|
|
Release: 20020201
|
|
|
|
|
|
@@ -41,13 +41,16 @@ Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20011227, libxml, openssl
|
|
|
-PreReq: OpenPKG, openpkg >= 20011227
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20011227, libxml, openssl, zlib, libiconv
|
|
|
+PreReq: OpenPKG, openpkg >= 20011227, libxml, openssl, zlib, libiconv
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
- neon is a HTTP and WebCAD client library with a C interface.
|
|
|
+ neon is an HTTP and WebDAV client library with a C interface.
|
|
|
+ It supports persistent connections, RFC2617 basic and digest
|
|
|
+ authentication, proxy support, SSL/TLS support, XML parsing, WebDAV
|
|
|
+ resource manipulation, WebDAV metadata support, etc.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
@@ -55,14 +58,16 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
+ CPPFLAGS="-I%{l_prefix}/include" \
|
|
|
+ LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
XML2_CONFIG="%{l_prefix}/bin/xml2-config" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
- --disable-shared \
|
|
|
- --enable-static \
|
|
|
+ --with-ssl=%{l_prefix} \
|
|
|
--with-libxml2 \
|
|
|
- --without-zlib \
|
|
|
- --with-ssl=%{l_prefix}
|
|
|
+ --with-zlib \
|
|
|
+ --disable-shared \
|
|
|
+ --enable-static
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
%install
|