You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.3 KiB
88 lines
2.3 KiB
21 years ago
|
Summary: An HTTP and WebDAV client library
|
||
|
Name: neon
|
||
|
Version: 0.23.5
|
||
|
Release: 2
|
||
|
Copyright: LGPL
|
||
|
Group: Applications/Publishing
|
||
|
Prefix: %{_prefix}
|
||
|
URL: http://www.webdav.org/neon
|
||
|
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
||
|
BuildPreReq: libxml2-devel
|
||
|
BuildPreReq: autoconf >= 2.53
|
||
|
BuildPreReq: automake >= 1.5
|
||
|
BuildPreReq: xmlto
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%description
|
||
|
neon is an HTTP and WebDAV client library, with a C interface. Featuring:
|
||
|
* High-level interface to HTTP and WebDAV methods (PUT, GET, HEAD etc)
|
||
|
* Low-level interface to HTTP request handling, to allow implementing
|
||
|
new methods easily.
|
||
|
* HTTP/1.1 and HTTP/1.0 persistent connections
|
||
|
* RFC2617 basic and digest authentication (including auth-int, md5-sess)
|
||
|
* Proxy support (including basic/digest authentication)
|
||
|
* Generic WebDAV 207 XML response handling mechanism
|
||
|
* XML parsing using the expat or libxml parsers
|
||
|
* Easy generation of error messages from 207 error responses
|
||
|
* WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL.
|
||
|
* WebDAV metadata support: set and remove properties, query any set of
|
||
|
properties (PROPPATCH/PROPFIND).
|
||
|
|
||
|
%package devel
|
||
|
Summary: Static libraries and C header files for the neon library.
|
||
|
Group: Development/Libraries
|
||
|
|
||
|
# XXX avoid subversion-devel until libxml2 vs. expat is resolved.
|
||
|
Conflicts: subversion-devel
|
||
|
Requires: neon = %{version}
|
||
|
|
||
|
%description devel
|
||
|
The development library for the C language HTTP and WebDAV client library.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure --with-ssl --enable-shared --with-force-ssl
|
||
|
|
||
|
make
|
||
|
make docs
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
%makeinstall
|
||
|
|
||
|
# XXX Concatenate TODO lists
|
||
|
cat TODO >> doc/TODO
|
||
|
|
||
|
# XXX avoid subversion-devel until libxml2 vs. expat is resolved.
|
||
|
rm -rf ${RPM_BUILD_ROOT}%{_bindir}
|
||
|
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc AUTHORS BUGS ChangeLog doc/* INSTALL.win32 NEWS README THANKS
|
||
|
# XXX avoid subversion-devel until libxml2 vs. expat is resolved.
|
||
|
#%{_bindir}/*
|
||
|
#%{_mandir}/man1/*
|
||
|
#%{_libdir}/*.so.*
|
||
|
%{_libdir}/*.so.*.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/*
|
||
|
%{_mandir}/man3/*
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
|
||
|
%changelog
|
||
|
* Mon Nov 11 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-2
|
||
|
- avoid subversion-devel until libxml2 vs. expat is resolved.
|
||
|
|
||
|
* Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-1
|
||
|
- Create.
|