Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562515
en ru br
ALT Linux repos
S:1.07.1-alt1
5.0: 1.06-alt2
4.1: 1.06-alt2
4.0: 1.06-alt2
3.0: 1.06-ipl6mdk

Group :: Sciences/Mathematics
RPM: bc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: bc
Version: 1.06
Release: ipl6mdk

Summary: GNU's bc (a numeric processing language) and dc (a calculator)
License: GPL
Group: Sciences/Mathematics
Url: http://www.gnu.org/software/%name/
Packager: Stanislav Ievlev <inger at altlinux.ru>

Source: ftp://ftp.gnu.org/pub/gnu/%name-%version.tar.bz2
Patch1: %name-1.06-alt-texinfo.patch
Patch2: %name-1.06-alt-readline.patch
Patch3: %name-1.06-alt-tinfo.patch
Patch4: %name-1.06-owl-functions-fix.patch

Requires(post): %install_info
Requires(preun): %uninstall_info

# Automatically added by buildreq on Sun Jun 30 2002

BuildRequires: flex libreadline-devel libtinfo-devel

%description
This package includes bc and dc.  bc implements a numeric processing
language with interactive execution of statements.  dc is a stack-based
calculator.  Both bc and dc support arbitrary precision arithmetic.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
autoreconf -fisv
%configure --with-readline
%make_build

%install
%makeinstall

%post
%install_info {bc,dc}.info

%preun
%uninstall_info {bc,dc}.info

%files
%_bindir/*
%_mandir/man?/*
%_infodir/*.info*
%doc Examples AUTHORS FAQ NEWS README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin