From 1db973af9966c8a213470eecfb0d6b359d16b2b6c6d3fd394d2ef17dc0407344 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 29 Mar 2007 10:10:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bc?expand=0&rev=2 --- bc.changes | 5 +++++ bc.spec | 52 +++++++++++++++++++++++++++------------------------- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/bc.changes b/bc.changes index 086e7e5..672bfe4 100644 --- a/bc.changes +++ b/bc.changes @@ -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 diff --git a/bc.spec b/bc.spec index a97b646..578b44b 100644 --- a/bc.spec +++ b/bc.spec @@ -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