Blame SPECS/bc.spec

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