Blame SPECS/bc.spec

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