Name: libserf Version: 1.3.10 Release: 1mamba Summary: High-performance asynchronous HTTP client library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://code.google.com/archive/p/serf Source: https://archive.apache.org/dist/serf/serf-%{version}.tar.bz2 #Source: http://serf.googlecode.com/svn/src_releases/serf-%{version}.tar.bz2 Patch0: libserf-1.3.9-scons-python3.patch License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libapr-devel BuildRequires: libaprutil-devel BuildRequires: libdb53-devel BuildRequires: libe2fs-devel BuildRequires: libexpat-devel BuildRequires: libgdbm-devel BuildRequires: libkrb5-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libuuid-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: scons %description The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n serf-%{version} #%patch 0 -p1 sed -i '/SHLIBVERSION/s,MAJOR,0,' SConstruct %build scons \ PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ APR=%{_prefix} \ OPENSSL=%{_prefix} \ ZLIB=%{_prefix} \ GSSAPI=%{_prefix} \ CFLAGS="%{optflags}" \ APR_STATIC=no %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" scons install --install-sandbox=%{buildroot} find %{buildroot} -name '*.*a' -exec rm -vf {} ';' %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc LICENSE %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %doc CHANGES README NOTICE design-guide.txt %changelog * Sun Aug 06 2023 Automatic Build System 1.3.10-1mamba - automatic version update by autodist * Wed Dec 09 2020 Silvan Calarco 1.3.9-2mamba - rebuilt with debug package * Wed Dec 14 2016 Silvan Calarco 1.3.9-1mamba - update to 1.3.9 * Sun Nov 09 2014 Automatic Build System 1.3.8-1mamba - automatic update by autodist * Tue Aug 12 2014 Automatic Build System 1.3.7-1mamba - automatic version update by autodist * Thu Jun 12 2014 Automatic Build System 1.3.6-1mamba - automatic version update by autodist * Mon May 26 2014 Automatic Build System 1.3.5-1mamba - automatic update by autodist * Sun Mar 30 2014 Silvan Calarco 1.3.4-1mamba - update to 1.3.4 * Thu Nov 28 2013 Stefano Cotta Ramusino 1.3.2-1mamba - package created using the webbuild interface