%define name neon %define version 0.23.5 %define release 1 %define serial 1 Summary: An HTTP and WebDAV client library Name: %{name} Version: %{version} Release: %{release} Serial: %{serial} Copyright: GPL Group: Libraries/Networking Source: http://www.webdav.org/neon/%{name}-%{version}.tar.gz URL: http://www.webdav.org/neon BuildRoot: %{_tmppath}/%{name}-%{version} Packager: Matt Hyclak Vendor: http://www.ling.ohio-state.edu/~hyclak/software.php Requires: openssl-devel Requires: /sbin/ldconfig %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 header files for neon Group: Development/Libraries Requires: %{name} = %{version} %description devel Static libraries and C header files for the neon library. %prep %setup -q %build %configure --with-ssl --enable-shared make %install rm -rf %{buildroot} %makeinstall %clean rm -rf ${buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/* %{_bindir}/neon-config %{_libdir}/*.so* %files devel %defattr(-,root,root) %{_includedir}/neon %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * Thu Jan 16 2003 Eric Hopper - Updated to neon 0.23.5 - Changed spec file to use more macros. * Mon Oct 08 2001 Matt Hyclak - Updated to neon 0.17.1 * Mon Jul 23 2001 Dan Berger - Sepperated into neon and neon-devel packages, cleaned up .spec file * Mon Jul 02 2001 Matt Hyclak - Updated to neon 0.15.3 * Fri Jun 15 2001 Matt Hyclak - Updated to neon 0.15.1 * Wed Jun 06 2001 Matt Hyclak - Created .spec and built first RPM based on 0.15.0