2007-01-15 15:26:08 +01:00
|
|
|
#
|
2011-05-16 10:24:06 +02:00
|
|
|
# spec file for package neon
|
2007-01-15 15:26:08 +01:00
|
|
|
#
|
2018-03-20 09:31:20 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 15:26:08 +01:00
|
|
|
#
|
2008-08-22 01:09:07 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 15:26:08 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-05-04 13:42:15 +02:00
|
|
|
|
2007-01-15 15:26:08 +01:00
|
|
|
Name: neon
|
2017-08-24 11:08:46 +02:00
|
|
|
Version: 0.30.2
|
2012-01-31 11:21:42 +01:00
|
|
|
Release: 0
|
2011-05-12 21:30:30 +02:00
|
|
|
Summary: An HTTP and WebDAV Client Library
|
2018-03-20 09:31:20 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-01-31 11:21:42 +01:00
|
|
|
Group: Development/Libraries/Other
|
2015-03-04 19:32:43 +01:00
|
|
|
Url: http://www.webdav.org/neon
|
|
|
|
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
|
|
|
Source1: http://www.webdav.org/neon/neon-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: baselibs.conf
|
|
|
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
|
|
|
Patch0: %{name}-0.28.4-bloat.patch
|
2018-03-20 09:31:20 +01:00
|
|
|
Patch1: fix_timeout_tests_for_ppc64le.patch
|
2015-03-04 19:32:43 +01:00
|
|
|
BuildRequires: fdupes
|
2011-05-12 21:30:30 +02:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libproxy-devel
|
2012-01-31 11:21:42 +01:00
|
|
|
BuildRequires: libtool
|
2017-08-24 11:08:46 +02:00
|
|
|
BuildRequires: pkgconfig
|
2011-05-12 21:30:30 +02:00
|
|
|
BuildRequires: zlib-devel
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
neon is an HTTP and WebDAV client library with a C interface.
|
|
|
|
|
2007-10-11 21:59:43 +02:00
|
|
|
%package -n libneon27
|
|
|
|
Summary: An HTTP and WebDAV Client Library
|
2011-05-12 21:30:30 +02:00
|
|
|
# Drop the main package. It avoids the lib from being installed in different versions
|
|
|
|
# and generally only contained coders doc anyhow.
|
2017-08-24 11:08:46 +02:00
|
|
|
Group: Development/Libraries/Other
|
2011-05-12 21:30:30 +02:00
|
|
|
Provides: neon = %{version}
|
|
|
|
Obsoletes: neon < %{version}
|
2009-01-09 01:37:31 +01:00
|
|
|
#
|
2007-01-15 15:26:08 +01:00
|
|
|
|
2007-10-11 21:59:43 +02:00
|
|
|
%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
|
2011-05-12 21:30:30 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libneon27 = %{version}
|
2008-08-22 01:09:07 +02:00
|
|
|
# renamed after openSUSE 10.3
|
2011-05-12 21:30:30 +02:00
|
|
|
Provides: neon-devel = %{version}
|
|
|
|
Obsoletes: neon-devel < %{version}
|
2007-10-11 21:59:43 +02:00
|
|
|
|
|
|
|
%description -n libneon-devel
|
|
|
|
neon is an HTTP and WebDAV client library with a C interface.
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-11-26 20:19:23 +01:00
|
|
|
%patch0
|
2018-03-20 09:31:20 +01:00
|
|
|
%ifarch ppc64le
|
|
|
|
%patch1
|
|
|
|
%endif
|
2012-06-06 18:13:18 +02:00
|
|
|
|
2007-01-15 15:26:08 +01:00
|
|
|
%build
|
|
|
|
rm -f aclocal.m4 ltmain.sh
|
|
|
|
sh autogen.sh
|
2007-07-18 22:11:00 +02:00
|
|
|
%configure \
|
|
|
|
--with-ssl \
|
2012-01-30 13:11:53 +01:00
|
|
|
--enable-threadsafe-ssl=posix \
|
2012-01-30 13:59:23 +01:00
|
|
|
--with-libproxy \
|
|
|
|
--with-expat \
|
2007-07-18 22:11:00 +02:00
|
|
|
--disable-nls \
|
2007-10-11 21:59:43 +02:00
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
2007-11-26 20:19:23 +01:00
|
|
|
--enable-warnings \
|
2008-04-06 07:08:56 +02:00
|
|
|
--with-pic
|
2015-03-04 19:32:43 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-04 19:32:43 +01:00
|
|
|
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html %{?_smp_mflags}
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes -s %{buildroot}
|
2008-08-22 01:09:07 +02:00
|
|
|
|
|
|
|
%check
|
2017-08-24 11:08:46 +02:00
|
|
|
make %{?_smp_mflags} check
|
2007-01-15 15:26:08 +01:00
|
|
|
|
2008-08-22 01:09:07 +02:00
|
|
|
%post -n libneon27 -p /sbin/ldconfig
|
|
|
|
%postun -n libneon27 -p /sbin/ldconfig
|
2007-01-15 15:26:08 +01:00
|
|
|
|
2010-08-27 14:06:59 +02:00
|
|
|
%files -n libneon27
|
2011-05-12 21:30:30 +02:00
|
|
|
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
2007-11-26 20:19:23 +01:00
|
|
|
%{_libdir}/*.so.27*
|
2007-10-11 21:59:43 +02:00
|
|
|
|
|
|
|
%files -n libneon-devel
|
2011-05-12 21:30:30 +02:00
|
|
|
%doc %{_defaultdocdir}/%{name}
|
2007-07-18 22:11:00 +02:00
|
|
|
%{_bindir}/neon-config
|
2007-11-26 20:19:23 +01:00
|
|
|
%dir %{_includedir}/neon
|
|
|
|
%{_includedir}/neon/*.h
|
2007-01-15 15:26:08 +01:00
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/neon.pc
|
2007-11-26 20:19:23 +01:00
|
|
|
|
2007-04-01 12:10:59 +02:00
|
|
|
%changelog
|