4d6a2c
Summary: GNU's bc (a numeric processing language) and dc (a calculator)
4d6a2c
Name: bc
4d6a2c
Version: 1.07.1
4d6a2c
Release: 14%{?dist}
4d6a2c
License: GPLv2+
4d6a2c
URL: http://www.gnu.org/software/bc/
4d6a2c
Source: http://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz
4d6a2c
Patch1: bc-1.06-dc_ibase.patch
4d6a2c
Patch2: bc-1.06.95-doc.patch
4d6a2c
BuildRequires:  gcc
4d6a2c
BuildRequires: readline-devel, flex, bison, texinfo, ed
4d6a2c
BuildRequires: make
4d6a2c
4d6a2c
%description
4d6a2c
The bc package includes bc and dc. Bc is an arbitrary precision
4d6a2c
numeric processing arithmetic language. Dc is an interactive
4d6a2c
arbitrary precision stack based calculator, which can be used as a
4d6a2c
text mode calculator.
4d6a2c
4d6a2c
Install the bc package if you need its number handling capabilities or
4d6a2c
if you would like to use its text mode calculator.
4d6a2c
4d6a2c
%prep
4d6a2c
%autosetup -p1
4d6a2c
4d6a2c
%build
4d6a2c
%configure --with-readline
4d6a2c
%make_build
4d6a2c
4d6a2c
%install
4d6a2c
%make_install
4d6a2c
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
4d6a2c
4d6a2c
%files
4d6a2c
%license COPYING COPYING.LIB
4d6a2c
%doc FAQ AUTHORS NEWS README Examples/
4d6a2c
%{_bindir}/dc
4d6a2c
%{_bindir}/bc
4d6a2c
%{_mandir}/*/*
4d6a2c
%{_infodir}/*
4d6a2c
4d6a2c
%changelog
4d6a2c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.07.1-14
4d6a2c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4d6a2c
  Related: rhbz#1991688
4d6a2c
4d6a2c
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.07.1-13
4d6a2c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4d6a2c
4d6a2c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-12
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4d6a2c
4d6a2c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-11
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4d6a2c
4d6a2c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-10
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-9
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4d6a2c
4d6a2c
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.07.1-8
4d6a2c
- Rebuild for readline 8.0
4d6a2c
4d6a2c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-7
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4d6a2c
4d6a2c
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-6
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-5
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Sep 13 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 1.07.1-4
4d6a2c
- Cleanup spec
4d6a2c
4d6a2c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-3
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-2
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4d6a2c
4d6a2c
* Mon May 15 2017 Kevin Fenzi <kevin@scrye.com> - 1.07.1-1https://bugs.archlinux.org/task/53546
4d6a2c
- Update to 1.07.1
4d6a2c
- Fixes a bug that breaks kernel builds ( https://bugs.archlinux.org/task/53546 )
4d6a2c
4d6a2c
* Mon May 15 2017 Ondrej Vasik <ovasik@redhat.com> - 1.07-2
4d6a2c
- build seems to be racy now, removing parallel build for now
4d6a2c
- add build dep on "ed"
4d6a2c
4d6a2c
* Wed May 10 2017 Ondrej Vasik <ovasik@redhat.com> - 1.07-1
4d6a2c
- new upstream version 1.07, dropped patches already appllied
4d6a2c
  in usptream version
4d6a2c
4d6a2c
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.06.95-18
4d6a2c
- Install COPYING[.*] using the %%license macro
4d6a2c
4d6a2c
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.06.95-17
4d6a2c
- Rebuild for readline 7.x
4d6a2c
4d6a2c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.06.95-16
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-15
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4d6a2c
4d6a2c
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.06.95-14
4d6a2c
- Rebuilt for Fedora 23 Change
4d6a2c
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
4d6a2c
4d6a2c
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-13
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4d6a2c
4d6a2c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-12
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Oct 02 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.06.95-11
4d6a2c
- man and info patched - clarified scale after multiplication
4d6a2c
4d6a2c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-10
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-9
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4d6a2c
4d6a2c
* Tue Oct 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-8
4d6a2c
- Minor spec cleanup
4d6a2c
4d6a2c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-7
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4d6a2c
4d6a2c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-6
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-5
4d6a2c
- Rebuilt for glibc bug#747377
4d6a2c
4d6a2c
* Thu Sep 08 2011 Ondrej Vasik <ovasik@redhat.com> 1.06.95-4
4d6a2c
- do not mask SIGINT in dc when reading from stdin (#697340)
4d6a2c
4d6a2c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06.95-3
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Dec 22 2010 Ondrej Vasik <ovasik@redhat.com> 1.06.95-2
4d6a2c
- fix possible segfault in arrays handling(debbug #586969)
4d6a2c
- initialize f_void to work with math lib again(#664080)
4d6a2c
4d6a2c
* Thu Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> 1.06.95-1
4d6a2c
- update to upstream alpha 1.06.95 (in use in Gentoo, Slackware
4d6a2c
  for quite a long time, marked stable there)
4d6a2c
- removed already applied patches, fix small memory leak
4d6a2c
  (gentoo patch)
4d6a2c
- add missing BR for bison and texinfo
4d6a2c
4d6a2c
* Thu Aug 20 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.06-36
4d6a2c
- Don't complain if installing with --excludedocs (#515934)
4d6a2c
4d6a2c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-35
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4d6a2c
4d6a2c
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-34
4d6a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4d6a2c
4d6a2c
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.06-33
4d6a2c
- Autorebuild for GCC 4.3
4d6a2c
4d6a2c
* Fri Jan 04 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.06-32
4d6a2c
- Added Examples directory into doc
4d6a2c
- Added bc info file
4d6a2c
4d6a2c
* Fri Dec 14 2007 Stepan Kasal <skasal@redhat.com> 1.06-31
4d6a2c
- Remove bc-1.06-flex.patch
4d6a2c
- do not run autofoo
4d6a2c
- fix the Licence tag
4d6a2c
4d6a2c
* Fri Dec 07 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-30
4d6a2c
- Package review (#225611)
4d6a2c
4d6a2c
* Tue Sep 18 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-29
4d6a2c
- update of source URI
4d6a2c
4d6a2c
* Wed Aug 22 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-28
4d6a2c
- fixed incorrect processing of decimal separator
4d6a2c
- Resolves: #253729
4d6a2c
4d6a2c
* Thu Jul 26 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-27
4d6a2c
- dc accepts the input which contains wrong symbols of radix in same way like bc
4d6a2c
- Resolves: #151844
4d6a2c
- Added library string.h to remove warnings.
4d6a2c
4d6a2c
* Mon Feb 26 2007 Thomas Woerner <twoerner@redhat.com> 1.06-26
4d6a2c
- removed grep and mktemp usage from post script, also the requires
4d6a2c
4d6a2c
* Mon Feb 26 2007 Karsten Hopp <karsten@redhat.com> 1.06-25
4d6a2c
- flex supports -8 now (pmachata)
4d6a2c
4d6a2c
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.06-24
4d6a2c
- fix buildroot
4d6a2c
- remove trailing dot from summary
4d6a2c
- fix post/preun requirements
4d6a2c
- use make install DESTDIR=...
4d6a2c
- convert changelog to utf-8
4d6a2c
- use smp flags
4d6a2c
- use 'flex -I' instead 'flex -I8' (not supported anymore)
4d6a2c
- run autofoo stuff to update files for current automake
4d6a2c
4d6a2c
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com>
4d6a2c
- scripts should never fail: rhbz#223677
4d6a2c
4d6a2c
* Mon Jan 22 2007 Thomas Woerner <twoerner@redhat.com> 1.06-22
4d6a2c
- rebuild for ncurses
4d6a2c
4d6a2c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.06-21
4d6a2c
- rebuild
4d6a2c
- add missing br automake
4d6a2c
4d6a2c
* Tue Jun  6 2006 Thomas Woerner <twoerner@redhat.com> 1.06-20
4d6a2c
- added missing flex build require
4d6a2c
4d6a2c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.06-19.2.1
4d6a2c
- bump again for double-long bug on ppc(64)
4d6a2c
4d6a2c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.06-19.2
4d6a2c
- rebuilt for new gcc4.1 snapshot and glibc changes
4d6a2c
4d6a2c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4d6a2c
- rebuilt
4d6a2c
4d6a2c
* Mon Nov 21 2005 Thomas Woerner <twoerner@redhat.com> 1.06-19
4d6a2c
- fixed rpm macro usage in chengelog (#137800)
4d6a2c
4d6a2c
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 1.06-18
4d6a2c
- Rebuilt for new readline.
4d6a2c
4d6a2c
* Fri Oct  8 2004 Thomas Woerner <twoerner@redhat.com> 1.06-17.1
4d6a2c
- added BuildRequires for readline-devel (#134699)
4d6a2c
4d6a2c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
4d6a2c
- rebuilt
4d6a2c
4d6a2c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
4d6a2c
- rebuilt
4d6a2c
4d6a2c
* Thu Aug 14 2003 Thomas Woerner <twoerner@redhat.com> 1.06-15
4d6a2c
- fixed incorrect capitalization in bc info page (#89851)
4d6a2c
4d6a2c
* Tue Jun 17 2003 Thomas Woerner <twoerner@redhat.com> 1.06-14
4d6a2c
- rebuild
4d6a2c
4d6a2c
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
4d6a2c
- rebuilt
4d6a2c
4d6a2c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
4d6a2c
- rebuilt
4d6a2c
4d6a2c
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.06-11
4d6a2c
- rebuild on all arches
4d6a2c
4d6a2c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
4d6a2c
- automated rebuild
4d6a2c
4d6a2c
* Thu May 23 2002 Tim Powers <timp@redhat.com>
4d6a2c
- automated rebuild
4d6a2c
4d6a2c
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-8
4d6a2c
- Rebuild
4d6a2c
4d6a2c
* Mon Feb  4 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-7
4d6a2c
- s/Copyright/License/
4d6a2c
- The %%doc file AUTHOR should be AUTHORS
4d6a2c
4d6a2c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
4d6a2c
- automated rebuild
4d6a2c
4d6a2c
* Wed Sep  9 2001 Phil Knirsch <phil@redhat.de> 1.06-5
4d6a2c
- Fixed a variable initialization problem in load.c which broke badly on S390.
4d6a2c
4d6a2c
* Fri May 11 2001 Preston Brown <pbrown@redhat.com> 1.06-4
4d6a2c
- use mktemp, not the pid shell variable, in rpm scriptlets
4d6a2c
4d6a2c
* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.06-3
4d6a2c
- rebuild with new readline
4d6a2c
- Add patch to fix compilation with recent readline versions
4d6a2c
4d6a2c
* Fri Dec 01 2000 Trond Eivind Glomsrød <teg@redhat.com>
4d6a2c
- Add COPYING, COPYING.LIB, FAQ, AUTHORS, NEWS, README
4d6a2c
4d6a2c
* Sun Nov 19 2000 Florian La Roche <Florian.LaRoche@redhat.de>
4d6a2c
- update to bc 1.06
4d6a2c
4d6a2c
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
4d6a2c
- rebuild
4d6a2c
4d6a2c
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
4d6a2c
- automatic rebuild
4d6a2c
4d6a2c
* Tue Jun 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
4d6a2c
- use %%makeinstall, %%configure, %%{_mandir}, %%{_infodir}
4d6a2c
  and %%{_tmppath}  
4d6a2c
4d6a2c
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
4d6a2c
- added URL
4d6a2c
- let build system handle man page gzipping
4d6a2c
4d6a2c
* Thu Apr 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
4d6a2c
- fixed bug 7145 (long commands -> coredump) 
4d6a2c
- removed explicit stripping, it does this by itself anyway
4d6a2c
- gzipped man-pages
4d6a2c
4d6a2c
* Thu Mar 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
4d6a2c
- Rebuild with new readline (4.1)
4d6a2c
4d6a2c
* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
4d6a2c
- Rebuild with new readline (4.0)
4d6a2c
- fix Source URL
4d6a2c
- some spec file cleanups
4d6a2c
4d6a2c
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
4d6a2c
- handle compressed manpages
4d6a2c
4d6a2c
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
4d6a2c
- auto rebuild in the new build environment (release 4)
4d6a2c
4d6a2c
* Thu Jan 21 1999 Jeff Johnson <jbj@redhat.com>
4d6a2c
- use %%configure
4d6a2c
4d6a2c
* Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
4d6a2c
- update to 1.05a.
4d6a2c
4d6a2c
* Sun Jun 07 1998 Prospector System <bugs@redhat.com>
4d6a2c
- translations modified for de
4d6a2c
4d6a2c
* Thu Jun 04 1998 Jeff Johnson <jbj@redhat.com>
4d6a2c
- updated to 1.05 with build root.
4d6a2c
4d6a2c
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
4d6a2c
- translations modified for de, fr, tr
4d6a2c
4d6a2c
* Tue Apr 21 1998 Erik Troan <ewt@redhat.com>
4d6a2c
- got upgrades of info entry working (I hope)
4d6a2c
4d6a2c
* Sun Apr 05 1998 Erik Troan <ewt@redhat.com>
4d6a2c
- fixed incorrect info entry
4d6a2c
4d6a2c
* Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
4d6a2c
- added install-info support
4d6a2c
4d6a2c
* Thu Sep 11 1997 Donald Barnes <djb@redhat.com>
4d6a2c
- upgraded from 1.03 to 1.04
4d6a2c
4d6a2c
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
4d6a2c
- built against glibc