SHA256
3
0
forked from pool/bc
OBS User unknown 2007-03-29 10:10:29 +00:00 committed by Git OBS Bridge
parent fad85efdec
commit fbacf77161
2 changed files with 32 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 29 12:07:56 CEST 2007 - rguenther@suse.de
- add flex BuildRequires
-------------------------------------------------------------------
Wed Jan 25 21:29:59 CET 2006 - mls@suse.de

52
bc.spec
View File

@ -1,48 +1,48 @@
#
# spec file for package bc (Version 1.06)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bc
BuildRequires: ed readline-devel
URL: ftp://ftp.gnu.org/pub/gnu/bc/
License: GPL
Group: Productivity/Scientific/Math
Autoreqprov: on
PreReq: %{install_info_prereq}
Version: 1.06
Release: 752
Summary: GNU command line calculator
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.dif
Patch1: %{name}-%{version}-flex.diff
Patch2: %name-1.06-decl.diff
Patch3: %name-1.06-strict-aliasing.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Name: bc
BuildRequires: ed flex readline-devel
URL: ftp://ftp.gnu.org/pub/gnu/bc/
License: GNU General Public License (GPL)
Group: Productivity/Scientific/Math
Autoreqprov: on
PreReq: %{install_info_prereq}
Version: 1.06
Release: 793
Summary: GNU Command Line Calculator
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.dif
Patch1: %{name}-%{version}-flex.diff
Patch2: %name-1.06-decl.diff
Patch3: %name-1.06-strict-aliasing.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bc is an interpreter that supports numbers of arbitrary precision and
the interactive execution of statements. There are some similarities in
the syntax to the C programming language. A standard math library is
bc is an interpreter that supports numbers of arbitrary precision and
the interactive execution of statements. The syntax has some
similarities to the C programming language. A standard math library is
available through command line options. When used, the math library is
read in before any other input files. Bc then reads in all other files
read in before any other input files. bc then reads in all other files
from the command line, evaluating their contents. Then bc reads from
standard input (usually the keyboard).
The dc program is also included. Dc is a calculator which supports
The dc program is also included. dc is a calculator that supports
reverse-polish notation and allows unlimited precision arithmetic.
Macros can also be defined. Normally, dc reads from standard input but
can also read in files specified on the command line. A calculator with
reverse-polish notation saves numbers to a stack. Arguments to
mathematical operations (operands) are "pushed" onto the stack until
the next operator is read in which "pops" its arguments off the stack
the next operator is read in, which "pops" its arguments off the stack
and "pushes" its results back onto the stack.
@ -91,7 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/*.info*
%{_mandir}/man1/*
%changelog -n bc
%changelog
* Thu Mar 29 2007 - rguenther@suse.de
- add flex BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 19 2005 - mmj@suse.de