|
Last change
on this file since 1644 was 1638, checked in by Silvan Scherrer, 7 years ago |
|
spec: bc: Release version 1.07.1-1.
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | Summary: GNU's bc (a numeric processing language) and dc (a calculator)
|
|---|
| 2 | Name: bc
|
|---|
| 3 | Version: 1.07.1
|
|---|
| 4 | Release: 1%{?dist}
|
|---|
| 5 | License: GPL
|
|---|
| 6 | URL: http://www.gnu.org/software/bc/
|
|---|
| 7 | Group: Applications/Engineering
|
|---|
| 8 |
|
|---|
| 9 | Vendor: bww bitwise works GmbH
|
|---|
| 10 | %scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
|
|---|
| 11 |
|
|---|
| 12 | BuildRequires: readline-devel, flex, bison, texinfo, ed, dos2unix
|
|---|
| 13 |
|
|---|
| 14 | %description
|
|---|
| 15 | The bc package includes bc and dc. Bc is an arbitrary precision
|
|---|
| 16 | numeric processing arithmetic language. Dc is an interactive
|
|---|
| 17 | arbitrary precision stack based calculator, which can be used as a
|
|---|
| 18 | text mode calculator.
|
|---|
| 19 |
|
|---|
| 20 | Install the bc package if you need its number handling capabilities or
|
|---|
| 21 | if you would like to use its text mode calculator.
|
|---|
| 22 |
|
|---|
| 23 | %debug_package
|
|---|
| 24 |
|
|---|
| 25 | %prep
|
|---|
| 26 | %scm_setup
|
|---|
| 27 |
|
|---|
| 28 | %build
|
|---|
| 29 | autoreconf -fi
|
|---|
| 30 |
|
|---|
| 31 | export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
|---|
| 32 | export LIBS="-lcx"
|
|---|
| 33 |
|
|---|
| 34 | %configure --with-readline
|
|---|
| 35 | make %{?_smp_mflags}
|
|---|
| 36 |
|
|---|
| 37 | %install
|
|---|
| 38 | make install DESTDIR=$RPM_BUILD_ROOT
|
|---|
| 39 | rm -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.