Accepting request 518405 from home:vitezslav_cizek:branches:devel:libraries:c_c++

- Update to 0.30.2
  Add support for OpenSSL 1.1.x (Kurt Roeckx).
  Fix PKCS#11 support under GnuTLS 3.x.
      PKCS#11 API no longer supported with GnuTLS 2.x
- cleaned the .spec

OBS-URL: https://build.opensuse.org/request/show/518405
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=39
This commit is contained in:
Ismail Dönmez
2017-08-24 09:08:46 +00:00
committed by Git OBS Bridge
parent 539bcf78b0
commit 258ea4a08d
6 changed files with 34 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package neon
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: neon
Version: 0.30.1
Version: 0.30.2
Release: 0
Summary: An HTTP and WebDAV Client Library
License: GPL-2.0+
@@ -35,78 +35,23 @@ BuildRequires: libexpat-devel
BuildRequires: libopenssl-devel
BuildRequires: libproxy-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
Obsoletes: neon-64bit
%endif
%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 -n libneon27
Summary: An HTTP and WebDAV Client Library
Group: Development/Libraries/Other
# Drop the main package. It avoids the lib from being installed in different versions
# and generally only contained coders doc anyhow.
Group: Development/Libraries/Other
Provides: neon = %{version}
Obsoletes: neon < %{version}
# bug437293
%ifarch ppc64
Obsoletes: neon-64bit
%endif
#
%description -n libneon27
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 -n libneon-devel
Summary: An HTTP and WebDAV Client Library
@@ -116,36 +61,9 @@ Requires: libneon27 = %{version}
# renamed after openSUSE 10.3
Provides: neon-devel = %{version}
Obsoletes: neon-devel < %{version}
# bug437293
%ifarch ppc64
Obsoletes: neon-devel-64bit
%endif
%description -n libneon-devel
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)
%prep
%setup -q
@@ -172,19 +90,16 @@ find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}
%check
make check
make %{?_smp_mflags} check
%post -n libneon27 -p /sbin/ldconfig
%postun -n libneon27 -p /sbin/ldconfig
%files -n libneon27
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
%{_libdir}/*.so.27*
%files -n libneon-devel
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}
%{_bindir}/neon-config
%dir %{_includedir}/neon