7a88f9
Summary: An HTTP and WebDAV client library
7a88f9
Name: neon
7a88f9
Version: 0.30.0
7a88f9
Release: 1%{?dist}
7a88f9
License: LGPLv2+
7a88f9
Group: System Environment/Libraries
7a88f9
URL: http://www.webdav.org/neon/
7a88f9
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
7a88f9
Patch0: neon-0.27.0-multilib.patch
7a88f9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7a88f9
BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel, libproxy-devel
7a88f9
BuildRequires: pkgconfig, pakchois-devel
7a88f9
Requires: ca-certificates
7a88f9
7a88f9
%description
7a88f9
neon is an HTTP and WebDAV client library, with a C interface;
7a88f9
providing a high-level interface to HTTP and WebDAV methods along
7a88f9
with a low-level interface for HTTP request handling.  neon
7a88f9
supports persistent connections, proxy servers, basic, digest and
7a88f9
Kerberos authentication, and has complete SSL support.
7a88f9
7a88f9
%package devel
7a88f9
Summary: Development libraries and C header files for the neon library
7a88f9
Group: Development/Libraries
7a88f9
Requires: neon = %{version}-%{release}, gnutls-devel, zlib-devel, expat-devel
7a88f9
Requires: pkgconfig
7a88f9
# Documentation is GPLv2+
7a88f9
License: LGPLv2+ and GPLv2+
7a88f9
7a88f9
%description devel
7a88f9
The development library for the C language HTTP and WebDAV client library.
7a88f9
7a88f9
%prep
7a88f9
%setup -q
7a88f9
%patch0 -p1 -b .multilib
7a88f9
7a88f9
%build
7a88f9
export CC="%{__cc} -pthread"
7a88f9
# Use standard system CA bundle:
7a88f9
%define cabundle %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
7a88f9
%configure --with-expat --enable-shared --disable-static \
7a88f9
        --enable-warnings --with-ca-bundle=%{cabundle} \
7a88f9
        --with-ssl=gnutls --enable-threadsafe-ssl=posix \
7a88f9
        --with-libproxy
7a88f9
make %{?_smp_mflags}
7a88f9
7a88f9
%install
7a88f9
rm -rf $RPM_BUILD_ROOT
7a88f9
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
7a88f9
7a88f9
sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
7a88f9
      $RPM_BUILD_ROOT%{_libdir}/libneon.la
7a88f9
7a88f9
%find_lang %{name}
7a88f9
7a88f9
%clean
7a88f9
rm -rf $RPM_BUILD_ROOT
7a88f9
7a88f9
%post -p /sbin/ldconfig
7a88f9
7a88f9
%postun -p /sbin/ldconfig
7a88f9
7a88f9
%files -f %{name}.lang
7a88f9
%defattr(-,root,root)
7a88f9
%doc AUTHORS BUGS TODO src/COPYING.LIB NEWS README THANKS
7a88f9
%{_libdir}/*.so.*
7a88f9
7a88f9
%files devel
7a88f9
%defattr(-,root,root)
7a88f9
%{_bindir}/*
7a88f9
%{_includedir}/*
7a88f9
%{_libdir}/pkgconfig/neon.pc
7a88f9
%{_mandir}/man1/*
7a88f9
%{_mandir}/man3/*
7a88f9
%{_libdir}/*.*a
7a88f9
%{_libdir}/*.so
7a88f9
7a88f9
%changelog
7a88f9
* Wed Jul 31 2013 Joe Orton <jorton@redhat.com> - 0.30.0-1
7a88f9
- update to 0.30.0 (#983563, #926212)
7a88f9
7a88f9
* Mon Mar 18 2013 Joe Orton <jorton@redhat.com> - 0.29.6-6
7a88f9
- fix strict-aliasing warning (upstream r1896)
7a88f9
7a88f9
* Mon Feb 25 2013 Tomáš Mráz <tmraz@redhat.com> - 0.29.6-5
7a88f9
- fix build with gnutls3 - patch by Bartosz Brachaczek
7a88f9
7a88f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.6-4
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7a88f9
7a88f9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.6-3
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7a88f9
7a88f9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.6-2
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7a88f9
7a88f9
* Tue May  3 2011 Joe Orton <jorton@redhat.com> - 0.29.6-1
7a88f9
- update to 0.29.6
7a88f9
- correct -devel License; drop old Conflicts
7a88f9
7a88f9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.5-2
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a88f9
7a88f9
* Thu Oct 14 2010 Joe Orton <jorton@redhat.com> - 0.29.5-1
7a88f9
- update to 0.29.5
7a88f9
7a88f9
* Fri Oct  1 2010 Joe Orton <jorton@redhat.com> - 0.29.4-1
7a88f9
- update to 0.29.4
7a88f9
7a88f9
* Thu Mar 25 2010 Joe Orton <jorton@redhat.com> - 0.29.3-1
7a88f9
- update to 0.29.3
7a88f9
7a88f9
* Fri Jan  8 2010 Joe Orton <jorton@redhat.com> - 0.29.2-1
7a88f9
- update to 0.29.2
7a88f9
7a88f9
* Tue Dec 15 2009 Joe Orton <jorton@redhat.com> - 0.29.1-1
7a88f9
- update to 0.29.1
7a88f9
7a88f9
* Sun Sep 13 2009 Joe Orton <jorton@redhat.com> 0.29.0-3
7a88f9
- enable libproxy support
7a88f9
7a88f9
* Sun Sep 13 2009 Joe Orton <jorton@redhat.com> 0.29.0-1
7a88f9
- update to 0.29.0
7a88f9
7a88f9
* Wed Aug 19 2009 Joe Orton <jorton@redhat.com> 0.28.6-1
7a88f9
- update to 0.28.6
7a88f9
7a88f9
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28.5-2
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7a88f9
7a88f9
* Thu Jul  9 2009 Joe Orton <jorton@redhat.com> 0.28.5-1
7a88f9
- update to 0.28.5
7a88f9
7a88f9
* Fri Mar  6 2009 Joe Orton <jorton@redhat.com> 0.28.4-1
7a88f9
- update to 0.28.4
7a88f9
7a88f9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28.3-4
7a88f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7a88f9
7a88f9
* Mon Jan 19 2009 Joe Orton <jorton@redhat.com> 0.28.3-3
7a88f9
- use install-p in "make install" (Robert Scheck, #226189)
7a88f9
7a88f9
* Thu Aug 28 2008 Joe Orton <jorton@redhat.com> 0.28.3-2
7a88f9
- update to 0.28.3
7a88f9
7a88f9
* Wed Jun 25 2008 Joe Orton <jorton@redhat.com> 0.28.2-4
7a88f9
- rebuild for new GnuTLS
7a88f9
7a88f9
* Mon Jun  2 2008 Joe Orton <jorton@redhat.com> 0.28.2-3
7a88f9
- require ca-certificates package
7a88f9
7a88f9
* Thu Apr  3 2008 Joe Orton <jorton@redhat.com> 0.28.2-2
7a88f9
- update to 0.28.2
7a88f9
7a88f9
* Wed Apr  2 2008 Joe Orton <jorton@redhat.com> 0.28.1-3
7a88f9
- use the OpenSSL CA bundle
7a88f9
7a88f9
* Mon Mar 10 2008 Joe Orton <jorton@redhat.com> 0.28.1-2
7a88f9
- update to 0.28.1
7a88f9
7a88f9
* Tue Feb 26 2008 Joe Orton <jorton@redhat.com> 0.28.0-3
7a88f9
- rebuild against pakchois
7a88f9
7a88f9
* Wed Dec  5 2007 Joe Orton <jorton@redhat.com> 0.27.2-4
7a88f9
- trim dependency_libs in .la file
7a88f9
7a88f9
* Tue Dec  4 2007 Joe Orton <jorton@redhat.com> 0.27.2-3
7a88f9
- rebuild against GnuTLS
7a88f9
- drop static library
7a88f9
7a88f9
* Tue Sep 25 2007 Joe Orton <jorton@redhat.com> 0.27.2-2
7a88f9
- update to 0.27.2
7a88f9
7a88f9
* Thu Sep 20 2007 Joe Orton <jorton@redhat.com> 0.27.0-3
7a88f9
- fix Negotiate response verification
7a88f9
7a88f9
* Thu Aug 30 2007 Joe Orton <jorton@redhat.com> 0.27.0-2
7a88f9
- enable OpenSSL thread-safety hooks
7a88f9
7a88f9
* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 0.27.0-1
7a88f9
- update to 0.27.0 (#243638)
7a88f9
7a88f9
* Mon Aug 20 2007 Joe Orton <jorton@redhat.com> 0.25.5-7
7a88f9
- fix License
7a88f9
7a88f9
* Mon Feb  5 2007 Joe Orton <jorton@redhat.com> 0.25.5-6
7a88f9
- remove trailing dot in -devel Summary
7a88f9
- use standard BuildRoot
7a88f9
- change Group to System Environment/Libraries
7a88f9
- drop Prefix
7a88f9
7a88f9
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.25.5-5.1
7a88f9
- rebuild
7a88f9
7a88f9
* Thu Jun  1 2006 Joe Orton <jorton@redhat.com> 0.25.5-5
7a88f9
- have -devel require pkgconfig (#193355)
7a88f9
7a88f9
* Wed May 24 2006 Joe Orton <jorton@redhat.com> 0.25.5-4
7a88f9
- add multilib fixes for neon-config (#192734)
7a88f9
7a88f9
* Wed May 17 2006 Joe Orton <jorton@redhat.com> 0.25.5-3
7a88f9
- rebuild
7a88f9
7a88f9
* Mon Feb 27 2006 Joe Orton <jorton@redhat.com> 0.25.5-2
7a88f9
- don't trim exported libraries (#182997)
7a88f9
7a88f9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.25.5-1.2
7a88f9
- bump again for double-long bug on ppc(64)
7a88f9
7a88f9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.25.5-1.1
7a88f9
- rebuilt for new gcc4.1 snapshot and glibc changes
7a88f9
7a88f9
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 0.25.5-1
7a88f9
- update to 0.25.5
7a88f9
7a88f9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7a88f9
- rebuilt
7a88f9
7a88f9
* Wed Dec  7 2005 Joe Orton <jorton@redhat.com> 0.24.7-10
7a88f9
- strip unnecessary exports from .la file/neon-config
7a88f9
7a88f9
* Tue Nov  8 2005 Tomas Mraz <tmraz@redhat.com> 0.24.7-9
7a88f9
- rebuilt with new openssl
7a88f9
7a88f9
* Fri Sep 23 2005 Joe Orton <jorton@redhat.com> 0.24.7-8
7a88f9
- restore static libs for rpm
7a88f9
7a88f9
* Mon Sep 19 2005 Joe Orton <jorton@redhat.com> 0.24.7-7
7a88f9
- drop static libs, doc/html from devel docdir
7a88f9
7a88f9
* Wed Mar  2 2005 Joe Orton <jorton@redhat.com> 0.24.7-6
7a88f9
- rebuild
7a88f9
7a88f9
* Thu Feb 10 2005 Joe Orton <jorton@redhat.com> 0.24.7-5
7a88f9
- don't define min() in ne_utils.h (Caolan McNamara, #147228)
7a88f9
7a88f9
* Tue Oct 12 2004 Joe Orton <jorton@redhat.com> 0.24.7-4
7a88f9
- update to GSSAPI code from trunk
7a88f9
7a88f9
* Fri Jul 23 2004 Joe Orton <jorton@redhat.com> 0.24.7-3
7a88f9
- rebuild
7a88f9
7a88f9
* Tue Jul 20 2004 Joe Orton <jorton@redhat.com> 0.24.7-2.1
7a88f9
- rebuild
7a88f9
7a88f9
* Tue Jul  6 2004 Joe Orton <jorton@redhat.com> 0.24.7-2
7a88f9
- devel requires neon of same release, expat-devel (#127330)
7a88f9
7a88f9
* Mon Jul  5 2004 Joe Orton <jorton@redhat.com> 0.24.7-1
7a88f9
- update to 0.24.7
7a88f9
7a88f9
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
7a88f9
- rebuilt
7a88f9
7a88f9
* Wed May 19 2004 Joe Orton <jorton@redhat.com> 0.24.6-1
7a88f9
- update to 0.24.6
7a88f9
7a88f9
* Wed Apr 14 2004 Joe Orton <jorton@redhat.com> 0.24.5-2
7a88f9
- rebuild
7a88f9
7a88f9
* Wed Apr 14 2004 Joe Orton <jorton@redhat.com> 0.24.5-1
7a88f9
- update to 0.24.5 for CVE CAN-2004-0179 fix
7a88f9
7a88f9
* Thu Mar 25 2004 Joe Orton <jorton@redhat.com> 0.24.4-4
7a88f9
- implement the Negotate auth scheme, and only over SSL
7a88f9
7a88f9
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
7a88f9
- rebuilt
7a88f9
7a88f9
* Wed Feb 25 2004 Joe Orton <jorton@redhat.com> 0.24.4-3
7a88f9
- use BuildRequires not BuildPrereq, drop autoconf, libtool;
7a88f9
  -devel requires {openssl,zlib}-devel (#116744)
7a88f9
7a88f9
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 0.24.4-2
7a88f9
- rebuilt
7a88f9
7a88f9
* Mon Feb  9 2004 Joe Orton <jorton@redhat.com> 0.24.4-1
7a88f9
- update to 0.24.4
7a88f9
7a88f9
* Thu Oct  9 2003 Joe Orton <jorton@redhat.com> 0.24.3-1
7a88f9
- update to 0.24.3
7a88f9
7a88f9
* Wed Sep 24 2003 Joe Orton <jorton@redhat.com> 0.24.2-1
7a88f9
- update to 0.24.2
7a88f9
7a88f9
* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.23.9-7
7a88f9
- rebuild
7a88f9
7a88f9
* Tue Jun 24 2003 Joe Orton <jorton@redhat.com> 0.23.9-6
7a88f9
- never print libdir in --libs output
7a88f9
7a88f9
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
7a88f9
- rebuilt
7a88f9
7a88f9
* Tue Jun  3 2003 Joe Orton <jorton@redhat.com> 0.23.9-4
7a88f9
- don't regenerate docs; limit conflict with subversion
7a88f9
7a88f9
* Wed May 28 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-3
7a88f9
- build.
7a88f9
7a88f9
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
7a88f9
- add ldconfig to post/postun
7a88f9
7a88f9
* Tue May 20 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-2
7a88f9
- force expat, include neon-config, for subversion build.
7a88f9
- do "make check" (but ignore failure for now)
7a88f9
7a88f9
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.23.9-1
7a88f9
- upgrade to 0.23.9.
7a88f9
- avoid xmlto breakage generating man pages for now.
7a88f9
7a88f9
* Mon Nov 11 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-2
7a88f9
- avoid subversion-devel until libxml2 vs. expat is resolved.
7a88f9
7a88f9
* Sat Nov  9 2002 Jeff Johnson <jbj@redhat.com> 0.23.5-1
7a88f9
- Create.