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