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 Wed Jan 25 21:29:59 CET 2006 - mls@suse.de

28
bc.spec
View File

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