neon/neon.spec

117 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package neon
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: neon
Version: 0.32.4
Release: 0
Summary: An HTTP and WebDAV Client Library
License: GPL-2.0-or-later
Group: Development/Libraries/Other
Accepting request 810606 from home:vitezslav_cizek:branches:devel:libraries:c_c++ - Update to 0.31.1 ADMIN: The neon website has moved to https://notroj.github.io/neon/ Restore ne_md5_read_ctx() in OpenSSL build. Fix gcc warnings on Ubuntu (Jan-Marek Glogowski). Fix various spelling mistakes in docs and headers (thanks to FOSSIES). Fix ne_asctime_parse() (Eugenij-W). Fix build with LibreSSL (Juan RP). Interface changes: none, API and ABI backwards-compatible with 0.27.x and later New interfaces and features: add more gcc “nonnull” attributes to ne_request_* functions. for OpenSSL builds, ne_md5 code uses the OpenSSL implementation add NE_SESSFLAG_SHAREPOINT session flag which enables workarounds for RFC non-compliance issues in Sharepoint ne_uri.h: add ne_path_escapef() in support of above ne_207.h: add ne_207_set_flags() likewise in support of above API clarification: ne_version_match() behaviour now matches actual 0.27+ ABI history Bug fixes: fixes for OpenSSL 1.1.1 and TLSv1.3 support fix crash with GnuTLS in client cert support (Henrik Holst) fix possible crash in ne_set_request_flag() fix build with libxml2 2.9.10 and later fix handling lock timeouts >LONG_MAX (Giuseppe Castagno) - Upstream has moved to https://notroj.github.io/neon/ * tarball checksums are no longer provided - Drop upstreamed patches: * neon-0.30.2-nulcert.patch * neon-0.30.2_ssl-fix_timeout_retvals.patch OBS-URL: https://build.opensuse.org/request/show/810606 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=57
2020-06-06 08:52:17 +02:00
URL: https://notroj.github.io/neon/
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
Source3: baselibs.conf
Source10: replace_manpage_with_links.sh
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: neon-0.28.4-bloat.patch
Patch1: fix_timeout_tests_for_ppc64le.patch
BuildRequires: krb5-devel
BuildRequires: libexpat-devel
BuildRequires: libproxy-devel
BuildRequires: libtool
BuildRequires: openssl
BuildRequires: pkgconfig
BuildRequires: xmlto
BuildRequires: zlib-devel
BuildRequires: pkgconfig(openssl)
%description
neon is an HTTP and WebDAV client library with a C interface.
%package -n libneon27
Summary: An HTTP and WebDAV Client Library
# 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}
#
%description -n libneon27
neon is an HTTP and WebDAV client library with a C interface.
%package -n libneon-devel
Summary: An HTTP and WebDAV Client Library
Group: Development/Libraries/Other
Requires: glibc-devel
Requires: libneon27 = %{version}
# renamed after openSUSE 10.3
Provides: neon-devel = %{version}
Obsoletes: neon-devel < %{version}
%description -n libneon-devel
neon is an HTTP and WebDAV client library with a C interface.
%prep
%setup -q
%patch0
%ifarch ppc64le ppc64
%patch1
%endif
%build
rm -f aclocal.m4 ltmain.sh
sh autogen.sh
%configure \
--with-ssl \
--enable-threadsafe-ssl=posix \
--with-libproxy \
--with-expat \
--disable-nls \
--enable-shared \
--disable-static \
--enable-warnings
%make_build
%install
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot}%{_mandir} -type f -exec bash %{SOURCE10} {} \;
%check
export TEST_QUIET=0
%make_build check
%post -n libneon27 -p /sbin/ldconfig
%postun -n libneon27 -p /sbin/ldconfig
%files -n libneon27
Accepting request 810606 from home:vitezslav_cizek:branches:devel:libraries:c_c++ - Update to 0.31.1 ADMIN: The neon website has moved to https://notroj.github.io/neon/ Restore ne_md5_read_ctx() in OpenSSL build. Fix gcc warnings on Ubuntu (Jan-Marek Glogowski). Fix various spelling mistakes in docs and headers (thanks to FOSSIES). Fix ne_asctime_parse() (Eugenij-W). Fix build with LibreSSL (Juan RP). Interface changes: none, API and ABI backwards-compatible with 0.27.x and later New interfaces and features: add more gcc “nonnull” attributes to ne_request_* functions. for OpenSSL builds, ne_md5 code uses the OpenSSL implementation add NE_SESSFLAG_SHAREPOINT session flag which enables workarounds for RFC non-compliance issues in Sharepoint ne_uri.h: add ne_path_escapef() in support of above ne_207.h: add ne_207_set_flags() likewise in support of above API clarification: ne_version_match() behaviour now matches actual 0.27+ ABI history Bug fixes: fixes for OpenSSL 1.1.1 and TLSv1.3 support fix crash with GnuTLS in client cert support (Henrik Holst) fix possible crash in ne_set_request_flag() fix build with libxml2 2.9.10 and later fix handling lock timeouts >LONG_MAX (Giuseppe Castagno) - Upstream has moved to https://notroj.github.io/neon/ * tarball checksums are no longer provided - Drop upstreamed patches: * neon-0.30.2-nulcert.patch * neon-0.30.2_ssl-fix_timeout_retvals.patch OBS-URL: https://build.opensuse.org/request/show/810606 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=57
2020-06-06 08:52:17 +02:00
%doc AUTHORS BUGS ChangeLog NEWS THANKS TODO
%{_libdir}/*.so.27*
%license src/COPYING.LIB
%files -n libneon-devel
%doc %{_defaultdocdir}/%{name}
%{_bindir}/neon-config
%dir %{_includedir}/neon
%{_includedir}/neon/*.h
%{_mandir}/*/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/neon.pc
%changelog