update to 1.3.4 [release 1.3.4-1mamba;Sun Mar 30 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:45:40 +01:00
parent 99bb757af9
commit 6b04c8d460
2 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libserf # libserf
The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.

85
libserf.spec Normal file
View File

@ -0,0 +1,85 @@
Name: libserf
Version: 1.3.4
Release: 1mamba
Summary: High-performance asynchronous HTTP client library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: https://code.google.com/p/serf/
Source: http://serf.googlecode.com/svn/src_releases/serf-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libapr-devel
BuildRequires: libaprutil-devel
BuildRequires: libdb47
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libgdbm-devel
BuildRequires: libkeyutils-devel
BuildRequires: libkrb5-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: scons
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}.
%prep
%setup -q -n serf-%{version}
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 Mar 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
- update to 1.3.4
* Thu Nov 28 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.3.2-1mamba
- package created using the webbuild interface