Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37038116
en ru br
ALT Linux repositórios
S:1.3.10-alt1

Group :: Sistema/Bibliotecas
RPM: libserf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name:    libserf
Version: 1.3.10
Release: alt1

Summary: High-Performance Asynchronous HTTP Client Library
License: Apache-2.0
URL:     http://serf.apache.org/
Group:   System/Libraries

Source0: https://archive.apache.org/dist/serf/serf-%{version}.tar.bz2
Patch1: libserf-norpath.patch

BuildRequires: libapr1-devel
BuildRequires: libaprutil1-devel
BuildRequires: libkrb5-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
BuildRequires: scons
BuildRequires: pkgconfig

%description
The serf library is a C-based HTTP client library built upon the Apache
Portable Runtime (APR) library. It multiplexes connections, running the
read/write communication asynchronously. Memory copies and
transformations are kept to a minimum to provide high performance
operation.

%package  devel
Summary:  Development files for %name
Group:    Development/C
Requires: %name = %version-%release
Requires: libapr1-devel

%description devel
This package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -qn serf-%version
%patch1 -p1

# Shared library versioning support in scons is worse than awful...

# minimally, here fix the soname to match serf-1.2.x.  Minor version
# handling should be fixed too; really requires better upstream support:
# http://scons.tigris.org/issues/show_bug.cgi?id=2869
sed -i '/SHLIBVERSION/s/MAJOR/0/' SConstruct

%build
scons-3 \
     CFLAGS="%{optflags}" \
     PREFIX=%_prefix \
     LIBDIR=%_libdir \
     GSSAPI=%_prefix \
     %{?_smp_mflags}

%install
scons-3 install --install-sandbox=%{buildroot}
rm -f %buildroot%_libdir/*{.la,.a}

%check
# Use the libserf from $PWD
#LD_LIBRARY_PATH=$PWD scons %{?_smp_mflags} check || true

%files
%doc LICENSE NOTICE
%_libdir/*.so.*

%files devel
%doc CHANGES README design-guide.txt
%_includedir/serf-1/
%_libdir/*.so
%_libdir/pkgconfig/serf*.pc

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009