1 Star 0 Fork 11

王昊/libbsd

forked from src-openEuler/libbsd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libbsd.spec 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
王昊 提交于 2021-08-03 13:51 . init
Name: libbsd
Version: 0.10.0
Release: 1
Summary: Library providing BSD-compatible functions for portability
URL: http://libbsd.freedesktop.org/
License: BSD and ISC and Copyright only and Public Domain
Source0: http://libbsd.freedesktop.org/releases/libbsd-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: autoconf automake libtool
BuildRequires: make
%description
libbsd provides useful functions commonly found on BSD systems, and
lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same
code over and over again on each project.
%package devel
Summary: Development files for libbsd
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for the libbsd library.
%package ctor-static
Summary: Development files for libbsd
Requires: %{name}%{?_isa} = %{version}-%{release}
%description ctor-static
The libbsd-ctor static library is required if setproctitle() is to be used
when libbsd is loaded via dlopen() from a threaded program. This can be
configured using "pkg-config --libs libbsd-ctor".
%prep
%setup
%build
#autoreconf -fiv
%configure
%make_build V=1
%check
%make_build check V=1
%install
%make_install V=1
rm %{buildroot}%{_libdir}/%{name}.a
rm %{buildroot}%{_libdir}/%{name}.la
rm %{buildroot}%{_mandir}/man3/explicit_bzero.3bsd
%ldconfig_scriptlets
%files
%license COPYING
%doc README TODO ChangeLog
%{_libdir}/%{name}.so.*
%files devel
%{_mandir}/man3/*.3bsd.*
%{_mandir}/man7/%{name}.7.*
%{_includedir}/bsd
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}-overlay.pc
%files ctor-static
%{_libdir}/%{name}-ctor.a
%{_libdir}/pkgconfig/%{name}-ctor.pc
%changelog
* Wed Aug 2 2021 kylinhao <wanghao6@kylinos.cn> - 0.10.0-1 - Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kylinhao/libbsd.git
git@gitee.com:kylinhao/libbsd.git
kylinhao
libbsd
libbsd
master

搜索帮助