Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37726529
en ru br
ALT Linux repos
S:0.32.2-alt1
D:0.25.4-alt1
5.0: 0.28.3-alt2
4.1: 0.24.7-alt3.1.M41.1
4.0: 0.24.7-alt3.1
3.0: 0.24.7-alt3

Group :: System/Libraries
RPM: libneon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libneon
Version: 0.24.7
Release: alt3.1.M41.1

Summary: neon is an HTTP and WebDAV client library
License: LGPL
Group: System/Libraries
Url: http://www.webdav.org/neon
Packager: Sviatoslav Sviridov <svd at altlinux.ru>

Source: %url/neon-%version.tar.bz2
Patch: neon-0.24.7-alt-linkage.patch

# Security patches

Patch21: neon-0.24.7-CVE-2009-2473.patch
Patch22: neon-0.24.7-CVE-2009-2474.patch

%def_enable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

# Automatically added by buildreq on Mon Feb 23 2004

BuildRequires: libexpat-devel libkrb5-devel libssl-devel openssl pkgconfig zlib-devel

%package devel
Summary: Header files for neon HTTP and WebDAV client library
Group: System/Libraries
Requires: %name = %version-%release

%package devel-static
Summary: neon HTTP and WebDAV static client library
Group: System/Libraries
Requires: %name-devel = %version-%release

%description
neon is an HTTP and WebDAV client library, with a C language API.
Provides lower-level interfaces to directly implement new HTTP
methods, and higher-level interfaces so that you don't have to
worry about the lower-level stuff.

%description devel
neon is an HTTP and WebDAV client library, with a C language API.
Provides lower-level interfaces to directly implement new HTTP
methods, and higher-level interfaces so that you don't have to
worry about the lower-level stuff.

%description devel-static
neon is an HTTP and WebDAV client library, with a C language API.
Provides lower-level interfaces to directly implement new HTTP
methods, and higher-level interfaces so that you don't have to
worry about the lower-level stuff.

%prep
%setup -q -n neon-%version
%patch -p1

# Security patches

%patch21 -p1
%patch22 -p1

%build
%configure \
--enable-shared=yes \
%{subst_enable static} \
--with-ssl \
--with-expat \
#
%make_build

%install
%define docdir %_docdir/neon-%version
%__rm -rf %buildroot%docdir
%makeinstall
%__mkdir_p %buildroot%docdir
%__install -pm644 AUTHORS NEWS README TODO BUGS THANKS doc/*.txt \
%buildroot%docdir/
bzip2 -9f %buildroot%docdir/NEWS

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/lib*.so.*
%dir %docdir
%docdir/[A-Z]*

%files devel
%_bindir/*
%_includedir/*
%_libdir/lib*.so
%_libdir/pkgconfig/*
%_man1dir/*
%_man3dir/*
%dir %docdir
%docdir/[a-z]*

%if_enabled static
%files devel-static
%_libdir/lib*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin