102 lines
2.6 KiB
RPMSpec
102 lines
2.6 KiB
RPMSpec
Name: bc
|
|
Version: 1.07.1
|
|
Release: 3mamba
|
|
Summary: GNU interactive algebraic language
|
|
Group: Applications/Mathematics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://directory.fsf.org/wiki/GNU/bc
|
|
Source: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz
|
|
Patch0: %{name}-1.06-info_direntry.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libfl-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libreadline-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: flex
|
|
BuildRequires: bison
|
|
BuildRequires: texinfo
|
|
BuildRequires: ed
|
|
Requires(post): %{__install_info}
|
|
|
|
%description
|
|
Bc is an arbitrary precision numeric processing language.
|
|
Syntax is similar to C, but differs in many substantial areas.
|
|
It supports interactive execution of statements.
|
|
Bc is a utility included in the POSIX P1003.2/D11 draft standard.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%define _default_patch_fuzz 2
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure --with-readline
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeoldinstall
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
%post
|
|
%install_info %{name}.info
|
|
%install_info dc.info
|
|
exit 0
|
|
|
|
%preun
|
|
%uninstall_info %{name}.info
|
|
%uninstall_info dc.info
|
|
exit 0
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/dc
|
|
%{_infodir}/%{name}.*
|
|
%{_infodir}/dc.*
|
|
%{_mandir}/man1/%{name}.*
|
|
%{_mandir}/man1/dc.*
|
|
%doc AUTHORS COPYING COPYING.LIB
|
|
# FAQ NEWS README Examples/* Changelog
|
|
|
|
%changelog
|
|
* Fri May 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07.1-3mamba
|
|
- specfile cleanups
|
|
|
|
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07.1-2mamba
|
|
- rebuilt with debug package
|
|
|
|
* Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07.1-1mamba
|
|
- update to 1.07.1
|
|
|
|
* Sat Feb 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.06.95-1mamba
|
|
- update to 1.06.95
|
|
|
|
* Sat Mar 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.06-5mamba
|
|
- rebuilt with libreadline 6.2
|
|
|
|
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 1.06-4mamba
|
|
- new package mantainer
|
|
- fixed compilation warnings
|
|
- fixed some documentation bugs about exp and bessel functions
|
|
- rebuilt with readline support
|
|
|
|
* Tue Jun 20 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.06-3qilnx
|
|
- added info file patch
|
|
|
|
* Wed Sep 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.06-2qilnx
|
|
- install/uninstall info files
|
|
|
|
* Fri Feb 06 2004 Davide Madrisan <davide.madrisan@qilinux.it>
|
|
- first build
|