- updated info patch
- removed obsolete readline,flex,save_adr patches
+++ /dev/null
---- configure.in-orig Thu Jul 10 13:07:11 2003
-+++ configure.in Thu Jul 10 13:07:14 2003
-@@ -68,7 +68,7 @@
- ])
-
- if test "$LEX" = "flex" ; then
-- LEX="flex -I8"
-+ LEX="flex -I"
- else
- if test "$bcrl" = "y" ; then
- AC_MSG_WARN(readline works only with flex.)
-diff -Nur bc-1.06.orig/doc/dc.texi bc-1.06/doc/dc.texi
---- bc-1.06.orig/doc/dc.texi Thu Aug 31 17:57:43 2000
-+++ bc-1.06/doc/dc.texi Sat Aug 4 14:02:58 2001
-@@ -21,8 +21,9 @@
+--- bc-1.07.1/doc/dc.texi.orig 2017-06-08 19:14:57.069763192 +0200
++++ bc-1.07.1/doc/dc.texi 2017-06-08 19:21:18.129758838 +0200
+@@ -18,8 +18,9 @@
+ @syncodeindex pg fn
+@dircategory Miscellaneous:
@direntry
+@dircategory Miscellaneous:
@direntry
--* dc: (dc). Arbritrary precision RPN ``Desktop Calculator''.
-+* dc: (dc). Arbritrary precision RPN ``Desktop Calculator''
+-* dc: (dc). Arbitrary precision RPN ``Desktop Calculator''.
++* dc: (dc). Arbitrary precision RPN ``Desktop Calculator''
- This file documents @sc{dc}, an arbitrary precision calculator.
-@@ -88,6 +89,14 @@
- @page
+ @copying
+--- bc-1.07.1/doc/bc.texi.orig 2017-04-07 23:55:49.000000000 +0200
++++ bc-1.07.1/doc/bc.texi 2017-06-08 19:22:03.059758327 +0200
+@@ -16,8 +16,9 @@
+ @c end tex
- @node Top, Introduction, (dir), (dir)
-+@top dc
-+
-+DC is a reverse-polish desk calculator which supports unlimited
-+precision arithmetic. It also allows you to define and call macros.
-+Normally DC reads from the standard input; if any command arguments are
-+given to it, they are filenames, and DC reads and executes the contents
-+of the files instead of reading from standard input. All normal output
-+is to standard output; all error messages are written to standard error.
+ @ifinfo
++@dircategory Miscellaneous:
+ @direntry
+-* bc: (bc). An arbitrary precision calculator language.
++* bc: (bc). An arbitrary precision calculator language
+ @end direntry
+ @end ifinfo
- @menu
- * Introduction:: Introduction
+++ /dev/null
---- bc-1.06/bc/scan.l.wiget Fri Apr 13 18:49:49 2001
-+++ bc-1.06/bc/scan.l Fri Apr 13 18:50:58 2001
-@@ -143,7 +143,6 @@
-
- /* Definitions for readline access. */
- extern FILE *rl_instream;
--_PROTOTYPE(char *readline, (char *));
-
- /* rl_input puts upto MAX characters into BUF with the number put in
- BUF placed in *RESULT. If the yy input file is the same as
+++ /dev/null
---- bc-1.06/bc/load.c.s390 Wed Sep 13 20:22:38 2000
-+++ bc-1.06/bc/load.c Wed Sep 5 16:10:18 2001
-@@ -156,7 +156,10 @@
- long label_no;
- long vaf_name; /* variable, array or function number. */
- long func;
-- program_counter save_adr;
-+ /* Make save_adr static. Otherwise the whole address save stuff doesn't make
-+ any sense at all and break e.g. on S390.
-+ 09/05/01 Phil Knirsch <pknirsch@redhat.de> */
-+ static program_counter save_adr;
-
- /* Initialize. */
- str = code;
Summary(tr.UTF-8): GNU hesap makinası
Summary(uk.UTF-8): GNU bc (мова обробки чисел) та dc (калькулятор)
Name: bc
Summary(tr.UTF-8): GNU hesap makinası
Summary(uk.UTF-8): GNU bc (мова обробки чисел) та dc (калькулятор)
Name: bc
-Version: 1.06
-Release: 24
+Version: 1.07.1
+Release: 1
License: GPL v2+
Group: Applications/Math
Source0: http://ftp.gnu.org/gnu/bc/%{name}-%{version}.tar.gz
License: GPL v2+
Group: Applications/Math
Source0: http://ftp.gnu.org/gnu/bc/%{name}-%{version}.tar.gz
-# Source0-md5: d44b5dddebd8a7a7309aea6c36fda117
+# Source0-md5: cda93857418655ea43590736fc3ca9fc
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: ae2cf58a4382d6a0bfeaab3a6a11bd30
Source2: bc.desktop
Source3: dc.desktop
Source4: bc.png
Patch0: %{name}-info.patch
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: ae2cf58a4382d6a0bfeaab3a6a11bd30
Source2: bc.desktop
Source3: dc.desktop
Source4: bc.png
Patch0: %{name}-info.patch
-Patch1: %{name}-readline.patch
-Patch2: %{name}-flex.patch
-Patch3: %{name}-save_adr.patch
URL: http://www.gnu.org/software/bc/
URL: http://www.gnu.org/software/bc/
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
%prep
%setup -q
%patch0 -p1
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p0
-%patch3 -p1
%build
%{__aclocal}
%{__autoconf}
%build
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
--with-readline
%{__automake}
%configure \
--with-readline