2019-09-30 10:32:18 -04:00
|
|
|
Name: bc
|
|
|
|
|
Version: 1.07.1
|
2022-10-25 09:37:25 +00:00
|
|
|
Release: 12
|
2019-09-30 10:32:18 -04:00
|
|
|
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)
|
2019-11-06 19:03:17 +08:00
|
|
|
%doc ChangeLog
|
|
|
|
|
%license COPYING COPYING.LIB AUTHORS
|
2019-09-30 10:32:18 -04:00
|
|
|
%{_bindir}/{bc,dc}
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc FAQ NEWS README
|
|
|
|
|
%{_mandir}/man1/{bc*,dc*}
|
|
|
|
|
%{_infodir}/{bc*,dc*}
|
|
|
|
|
%doc Examples/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-10-25 09:37:25 +00:00
|
|
|
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.07.1-12
|
|
|
|
|
- rebuild for next release
|
|
|
|
|
|
2020-08-18 20:01:43 +08:00
|
|
|
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 1.07.1-11
|
|
|
|
|
- rebuild for package build
|
|
|
|
|
|
2020-01-08 14:58:24 +08:00
|
|
|
* Mon Jan 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.07.1-10
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete redundant files
|
|
|
|
|
|
2019-11-06 19:03:17 +08:00
|
|
|
* Mon Oct 21 2019 shenyangyang <shenyangyang4@huawei.com> - 1.07.1-9
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:move AUTHORS to license directory
|
|
|
|
|
|
2019-09-30 10:32:18 -04:00
|
|
|
* 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
|