@ -1,85 +1,111 @@
Summary: An HTTP and WebDAV client library
Name: neon
Version: 0.23.5
Release: 2
Version: 0.24.3
Release: 1
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
Patch0: neon-0.23.9-config.patch
Patch1: neon-0.24.3-ssltest.patch
BuildPreReq: expat-devel, openssl-devel, zlib-devel, krb5-devel
BuildPreReq: autoconf, libtool, pkgconfig
BuildRoot: %{_tmppath}/%{name}-root
Conflicts: subversion < 0.22.2-4
%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).
neon is an HTTP and WebDAV client library, with a C interface;
providing a high-level interface to HTTP and WebDAV methods along
with a low-level interface for HTTP request handling. neon
supports persistent connections, proxy servers, basic, digest and
Kerberos authentication, and has complete SSL support.
%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}
Conflicts: subversion-devel < 0.22.2-4
%description devel
The development library for the C language HTTP and WebDAV client library.
%prep
%setup -q
%patch0 -p1 -b .config
%patch1 -p1 -b .ssltest
%build
%configure --with-ssl --enable-shared --with-force-ssl
# stupid upstream can't count
perl -pi -e "s/_RELEASE=2/_RELEASE=3/" configure
make
make docs
%build
%configure --with-ssl --with-expat --enable-shared
make %{?_smp_flags}
%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
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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.*.*
%doc AUTHORS BUGS TODO ChangeLog src/COPYING.LIB NEWS README THANKS
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/*
%{_libdir}/pkgconfig/neon.pc
%doc doc/html
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%changelog
* Thu Oct 9 2003 Joe Orton <jorton@redhat.com> 0.24.3-1
- update to 0.24.3
* Wed Sep 24 2003 Joe Orton <jorton@redhat.com> 0.24.2-1
- update to 0.24.2
* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.23.9-7
- rebuild
* Tue Jun 24 2003 Joe Orton <jorton@redhat.com> 0.23.9-6
- never print libdir in --libs output
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jun 3 2003 Joe Orton <jorton@redhat.com> 0.23.9-4
- don't regenerate docs; limit conflict with subversion
* Wed May 28 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-3
- build.
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add ldconfig to post/postun
* Tue May 20 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-2
- force expat, include neon-config, for subversion build.
- do "make check" (but ignore failure for now)
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-1
- upgrade to 0.23.9.
- avoid xmlto breakage generating man pages for now.
* Mon Nov 11 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-2
- avoid subversion-devel until libxml2 vs. expat is resolved.