10 Star 0 Fork 16

src-openEuler/libserf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libserf.spec 3.08 KB
一键复制 编辑 原始数据 按行查看 历史
%global scons scons
%global scons_pkg python3-scons
Name: libserf
Version: 1.3.10
Release: 2
Summary: High-Performance Asynchronous HTTP Client Library
License: Apache-2.0
URL: https://serf.apache.org/
Source0: https://archive.apache.org/dist/serf/serf-%{version}.tar.bz2
BuildRequires: gcc, %{scons_pkg}, pkgconfig, zlib-devel
BuildRequires: apr-devel, apr-util-devel, krb5-devel, openssl-devel
Patch0: %{name}-norpath.patch
Patch1: backport-%{name}-1.3.9-errgetfunc.patch
Patch2: 0001-fix-CC-compiler-error.patch
Patch3: backport-%{name}-1.3.9-multihome.patch
%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}
Requires: %{name}%{?_isa} = %{version}-%{release} apr-devel%{?_isa}
%description devel
This package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
%autosetup -n serf-%{version} -p1
sed -i '/SHLIBVERSION/s/MAJOR/0/' SConstruct
%build
%{scons} \
CFLAGS="%{optflags}" LINKFLAGS="%{__global_ldflags}" \
PREFIX=%{_prefix} LIBDIR=%{_libdir} \
GSSAPI=%{_prefix} %{?_smp_mflags}
%install
%{scons} install --install-sandbox=%{buildroot}
%delete_la_and_a
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%{scons} %{?_smp_mflags} check || true
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license LICENSE NOTICE
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/serf-1/
%{_libdir}/*.so
%{_libdir}/pkgconfig/serf*.pc
%files help
%defattr(-,root,root)
%doc README CHANGES design-guide.txt
%changelog
* Fri Dec 13 2024 xu_ping <707078654@qq.com> - 1.3.10-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix build error due to python3-scons upgrade
* Wed Aug 09 2023 xingwei <xingwei14@h-partners.com> - 1.3.10-1
- Type:requirement
- Id:NA
- SUG:NA
- DESC:Update to version 1.3.10
* Thu May 4 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.3.9-18
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix problem of scons build of print
* Mon Apr 24 2023 sjxur <sjxur@isoftstone.com> - 1.3.9-17
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix CC compiler error
* Wed Feb 01 2023 gaihuiying <eaglegai@163.com> - 1.3.9-16
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build with openssl 3.0
* Sat Oct 22 2022 gaihuiying <eaglegai@163.com> - 1.3.9-15
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify description about libserf
* Thu Apr 28 2022 xinghe <xinghe2@h-partners.com> - 1.3.9-14
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:rebuild package
* Mon Jul 19 2021 lijingyuan <lijingyuan3@huawei.com> - 1.3.9-13
- Type:requirement
- ID:NA
- SUG:NA
- DESC:cancel gdb in buildrequires
* Fri Mar 20 2020 songnannan <songnannan2@huawei.com> - 1.3.9-12
- add gdb in buildrequires
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.9-11
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libserf.git
git@gitee.com:src-openeuler/libserf.git
src-openeuler
libserf
libserf
master

搜索帮助