1 Star 0 Fork 9

EulerOSWander/npth_1

forked from src-openEuler/npth 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
npth.spec 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
EulerOSWander 提交于 2022-03-10 16:28 . posix: Add npth_poll/npth_ppoll
Name: npth
Version: 1.6
Release: 5
Summary: The New GNU Portable Threads library
License: LGPLv2+
URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
Source: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
BuildRequires: make gcc automake
%description
The NPth package contains a very portable POSIX/ANSI-C based
library for Unix platforms which provides non-preemptive
priority-based scheduling for multiple threads of execution
(multithreading) inside event-driven applications. All threads
run in the same address space of the server application, but
each thread has its own individual program-counter, run-time
stack, signal mask and errno variable.
%package devel
Summary: Development files for %{name}
Patch6000: backport-0001-w32-Use-cast-by-uintptr_t-for-thread-ID.patch
Patch6001: add-test-cases.patch
Patch6002: backport-0002-posix-Add-npth_poll-npth_ppoll.patch
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
aclocal
automake
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -name '*.la' -delete -print
%check
make check
%post
%ldconfig_scriptlets
%files
%license COPYING.LIB
%{_libdir}/lib%{name}.so.*
%files devel
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}.h
%{_datadir}/aclocal/%{name}.m4
%changelog
* Thu Mar 10 2022 EulerOSWander <314264452@qq.com> - 1.6-5
- DESC: posix: Add npth_poll/npth_ppoll
* Tue Mar 1 2022 yaowenbinHW <yaowenbin@huawei.com> - 1.6-4
- DESC: add test cases
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.6-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Sep 28 2020 EulerOSWander <314264452@qq.com> - 1.6-2
- Use cast by uintptr_t for thread ID.
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 1.6-1
- Package update
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-7
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/euleroswander/npth_1.git
git@gitee.com:euleroswander/npth_1.git
euleroswander
npth_1
npth_1
master

搜索帮助