source: spec/trunk/SPECS/bc.spec@ 1750

Last change on this file since 1750 was 1638, checked in by Silvan Scherrer, 7 years ago

spec: bc: Release version 1.07.1-1.

File size: 1.4 KB
Line 
1Summary: GNU's bc (a numeric processing language) and dc (a calculator)
2Name: bc
3Version: 1.07.1
4Release: 1%{?dist}
5License: GPL
6URL: http://www.gnu.org/software/bc/
7Group: Applications/Engineering
8
9Vendor: bww bitwise works GmbH
10%scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
11
12BuildRequires: readline-devel, flex, bison, texinfo, ed, dos2unix
13
14%description
15The bc package includes bc and dc. Bc is an arbitrary precision
16numeric processing arithmetic language. Dc is an interactive
17arbitrary precision stack based calculator, which can be used as a
18text mode calculator.
19
20Install the bc package if you need its number handling capabilities or
21if you would like to use its text mode calculator.
22
23%debug_package
24
25%prep
26%scm_setup
27
28%build
29autoreconf -fi
30
31export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
32export LIBS="-lcx"
33
34%configure --with-readline
35make %{?_smp_mflags}
36
37%install
38make install DESTDIR=$RPM_BUILD_ROOT
39rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
40
41%files
42%defattr(-,root,root,-)
43%license COPYING COPYING.LIB
44%doc FAQ AUTHORS NEWS README Examples/
45%{_bindir}/dc.exe
46%{_bindir}/bc.exe
47%{_mandir}/*/*
48%{_infodir}/*
49
50%changelog
51* Wed May 22 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.07.1-1
52- update to latest version
53- moved source to github
54- use scm_ macros
55
56* Thu Mar 17 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.06-1
57- first version
Note: See TracBrowser for help on using the repository browser.