41 lines
796 B
RPMSpec
41 lines
796 B
RPMSpec
Name: bc
|
|
Version: 1.08.1
|
|
Release: 1%{?dist}
|
|
Summary: bc is an arbitrary precision numeric processing language
|
|
|
|
License: GPL-3+
|
|
URL: http://www.gnu.org/software/bc
|
|
Source0: https://mirror.tochlab.net/pub/gnu/bc/bc-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc make texinfo
|
|
Requires: bash
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
|
|
%files
|
|
%{_bindir}/bc
|
|
%{_bindir}/dc
|
|
%{_datadir}
|
|
|
|
|
|
|
|
%changelog
|
|
* Mon Dec 29 2025 Dmitrii Tochanskii <tochanskiy@tochlab.ru>
|
|
-
|