10 Star 0 Fork 6

src-openEuler / bc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bc.spec 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
陈亚强 提交于 2020-08-18 20:01 . rebuild for requirement package update
Name: bc
Version: 1.07.1
Release: 11
Summary: An arbitrary precision numeric processing language.
License: GPLv2+
URL: http://www.gnu.org/software/bc/
Source0: https://ftp.gnu.org/gnu/bc/%{name}-%{version}.tar.gz
BuildRequires: gcc readline-devel flex bison texinfo ed
Requires(post): info
Requires(preun):info
%description
bc is an arbitrary precision numeric processing language. Syntax
is similar to C, but differs in many substantial areas. It supports
interactive execution of statements. bc is a utility included in the
POSIX P1003.2/D11 draft standard.
%package_help
%prep
%autosetup -p1
%build
%configure --with-readline
%make_build
%install
%make_install
rm -rf %{buildroot}%{_infodir}/dir
%post help
%install_info %{_infodir}/bc.info.gz
%install_info %{_infodir}/dc.info.gz
%preun help
if [ $1 = 0 ];then
%install_info_rm %{_infodir}/bc.info.gz
%install_info_rm %{_infodir}/dc.info.gz
fi;
%files
%defattr(-,root,root)
%doc ChangeLog
%license COPYING COPYING.LIB AUTHORS
%{_bindir}/{bc,dc}
%files help
%doc FAQ NEWS README
%{_mandir}/man1/{bc*,dc*}
%{_infodir}/{bc*,dc*}
%doc Examples/
%changelog
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 1.07.1-11
- rebuild for package build
* Mon Jan 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.07.1-10
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete redundant files
* Mon Oct 21 2019 shenyangyang <shenyangyang4@huawei.com> - 1.07.1-9
- Type:NA
- ID:NA
- SUG:NA
- DESC:move AUTHORS to license directory
* Sun Sep 29 2019 shenyangyang <shenyangyang4@huawei.com> - 1.07.1-8
- Type:NA
- ID:NA
- SUG:NA
- DESC:add license files
* Wed Sep 04 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.07.1-7
- Package Init
1
https://gitee.com/src-openeuler/bc.git
git@gitee.com:src-openeuler/bc.git
src-openeuler
bc
bc
openEuler-20.03-LTS

搜索帮助