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
|
|
|
#
|
2011-05-16 10:24:06 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-16 08:08:38 +01:00
|
|
|
|
2007-01-15 15:26:08 +01:00
|
|
|
Name: neon
|
2011-07-21 14:25:14 +02:00
|
|
|
Version: 0.29.6
|
2011-07-21 15:59:04 +02:00
|
|
|
Release: 1
|
2010-08-25 08:49:14 +02:00
|
|
|
License: GPLv2+
|
2011-05-12 21:30:30 +02:00
|
|
|
Summary: An HTTP and WebDAV Client Library
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libproxy-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: zlib-devel
|
2009-01-09 01:37:31 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: neon-64bit
|
|
|
|
%endif
|
2011-05-12 21:30:30 +02:00
|
|
|
Url: http://www.webdav.org/neon
|
2009-01-09 01:37:31 +01:00
|
|
|
#
|
2007-01-15 15:26:08 +01:00
|
|
|
Group: Development/Libraries/Other
|
2011-07-21 14:25:14 +02:00
|
|
|
Source: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
2010-02-18 16:43:24 +01:00
|
|
|
Source2: baselibs.conf
|
2011-05-12 21:30:30 +02:00
|
|
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
2009-09-11 01:48:55 +02:00
|
|
|
Patch0: %{name}-0.28.4-bloat.patch
|
2011-09-06 08:46:28 +02:00
|
|
|
Patch1: neon-aes-ni.patch
|
2011-05-12 21:30:30 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%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)
|
|
|
|
|
2007-10-11 21:59:43 +02:00
|
|
|
%package -n libneon27
|
2010-02-18 16:43:24 +01:00
|
|
|
License: GPLv2+
|
2007-10-11 21:59:43 +02:00
|
|
|
Summary: An HTTP and WebDAV Client Library
|
2007-01-15 15:26:08 +01:00
|
|
|
Group: Development/Libraries/Other
|
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.
|
|
|
|
Provides: neon = %{version}
|
|
|
|
Obsoletes: neon < %{version}
|
2009-01-09 01:37:31 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: neon-64bit
|
|
|
|
%endif
|
|
|
|
#
|
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.
|
|
|
|
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
|
2010-02-18 16:43:24 +01:00
|
|
|
License: GPLv2+
|
2007-10-11 21:59:43 +02:00
|
|
|
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}
|
2009-01-09 01:37:31 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: neon-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-10-11 21:59:43 +02:00
|
|
|
|
|
|
|
%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)
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-11-26 20:19:23 +01:00
|
|
|
%patch0
|
2011-09-06 08:46:28 +02:00
|
|
|
%patch1
|
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 \
|
|
|
|
--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
|
2011-05-12 21:30:30 +02:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%install
|
2011-05-12 21:30:30 +02:00
|
|
|
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2008-08-22 01:09:07 +02:00
|
|
|
|
|
|
|
%check
|
2011-09-06 08:46:28 +02:00
|
|
|
#make check
|
2007-01-15 15:26:08 +01:00
|
|
|
|
|
|
|
%clean
|
2011-05-12 21:30:30 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-15 15:26:08 +01:00
|
|
|
|
2008-08-22 01:09:07 +02:00
|
|
|
%post -n libneon27 -p /sbin/ldconfig
|
2007-01-15 15:26:08 +01:00
|
|
|
|
2008-08-22 01:09:07 +02:00
|
|
|
%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
|
|
|
|
%defattr(-,root,root)
|
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
|
2007-01-15 15:26:08 +01:00
|
|
|
%defattr(-,root,root)
|
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
|