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.
neon/neon.spec

114 lines
2.8 KiB

Summary: An HTTP and WebDAV client library
Name: neon
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
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;
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
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
# stupid upstream can't count
perl -pi -e "s/_RELEASE=2/_RELEASE=3/" configure
%build
%configure --with-ssl --with-expat --enable-shared
make %{?_smp_flags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%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.
* Sat Nov 9 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-1
- Create.