source: projects/specs/trunk/b/bc/bc-vl.spec @ 12134

Revision 12134, 7.3 KB checked in by ara_t, 5 years ago (diff)

bc: rebuild with readline-8.0

Line 
1Summary: GNU's bc (a numeric processing language) and dc (a calculator).
2#'
3Summary(ja): GNU bc (計算言語) と dc (計算機)
4Name: bc
5Version: 1.06.95
6Release: 4%{?_dist_release}
7License: GPLv2+
8URL:    http://www.gnu.org/software/bc/
9Group:  Applications/Engineering
10
11Source: ftp://alpha.gnu.org/gnu/bc/bc-%{version}.tar.bz2
12Patch1: bc-1.06-dc_ibase.patch
13Patch2: bc-1.06.95-memleak.patch
14Patch3: bc-1.06.95-matlib.patch
15Patch4: bc-1.06.95-sigintmasking.patch
16Patch5: bc-1.06.95-doc.patch
17
18Requires(post): /sbin/install-info
19Requires(preun): /sbin/install-info
20Buildroot: %{_tmppath}/%{name}-%{version}-%{version}-root
21BuildRequires: readline-devel, flex, bison, texinfo
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27The bc package includes bc and dc. Bc is an arbitrary precision
28numeric processing arithmetic language. Dc is an interactive
29arbitrary precision stack based calculator, which can be used as a
30text mode calculator.
31
32Install the bc package if you need its number handling capabilities or
33if you would like to use its text mode calculator.
34
35%description -l ja
36bc パッケージには bc と dc が含まれています.
37bc は任意精度の計算言語です.dc はスタックを用いた対話型計算機で,
38テキストモードの計算機として使うことが出来ます.
39
40数を使った処理を行いたい場合,テキストモードの計算機を使いたい場合は
41この bc パッケージをインストールして下さい.
42
43
44%prep
45%setup -q
46%patch1 -p1 -b .dc_ibase
47%patch2 -p1 -b .memleak
48%patch3 -p1 -b .matlib
49%patch4 -p1 -b .sigintmask
50%patch5 -p1 -b .doc
51
52%build
53%configure --with-readline
54make %{?_smp_mflags}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59make install DESTDIR=$RPM_BUILD_ROOT
60rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66if [ -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then
67  /sbin/install-info %{_infodir}/bc.info.gz %{_infodir}/dir \
68  --entry="* bc: (bc).                      The GNU calculator language." || :
69  /sbin/install-info %{_infodir}/dc.info.gz %{_infodir}/dir \
70  --entry="* dc: (dc).                      The GNU RPN calculator." || :
71fi
72
73%preun
74if [ $1 = 0 -a -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then
75  /sbin/install-info --delete %{_infodir}/bc.info.gz %{_infodir}/dir \
76  --entry="* bc: (bc).                      The GNU calculator language." || :
77  /sbin/install-info --delete %{_infodir}/dc.info.gz %{_infodir}/dir \
78  --entry="* dc: (dc).                      The GNU RPN calculator." || :
79fi
80
81%files
82%defattr(-,root,root)
83%doc COPYING COPYING.LIB FAQ AUTHORS NEWS README Examples/
84%{_bindir}/bc
85%{_bindir}/dc
86%{_mandir}/*/*
87%{_infodir}/*
88
89%changelog
90* Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 1.06.95-4
91- rebuild with readline-8.0
92
93* Sat Mar 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.06.95-3
94- added Patch4 and 5 from Fedora
95  * Wed Oct 02 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.06.95-11
96  - man and info patched - clarified scale after multiplication
97  * Thu Sep 08 2011 Ondrej Vasik <ovasik@redhat.com> 1.06.95-4
98  - do not mask SIGINT in dc when reading from stdin (#697340)
99- rebuilt with readline 6.3
100
101* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.06.95-2
102- rebuild with VineSeed environment
103
104* Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.06.95-1
105- update to upstream alpha.
106- update fedora patches
107- add BR: bison, texinfo
108
109* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.06-20
110- spec in utf-8
111
112* Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.06-19
113- added Patch5 and 6 from Fedora
114  * Wed Aug 22 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-28
115  - fixed incorrect processing of decimal separator
116  * Thu Jul 26 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-27
117  - Added library string.h to remove warnings.
118- applied new versioning policy
119 
120* Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.06-18vl3
121- change Group to Applications/Edutainment. <BTS:VineLinux:163>
122 
123* Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.06-18vl2
124- rebuild with readline-5.1
125
126* Sat Sep 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.06-18vl1
127- added Patch3 from Fedora
128  * Thu Aug 14 2003 Thomas Woerner <twoerner@redhat.com> 1.06-15
129  - fixed incorrect capitalization in bc info page (#89851)
130
131* Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.06-10vl2
132- rebuild with readline-4.3
133
134* Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.06-10vl1
135- based on 1.06-10vl1 from Rawhide and built for Vine Linux
136- added Japanese summary and description
137
138* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
139- automated rebuild
140
141* Thu May 23 2002 Tim Powers <timp@redhat.com>
142- automated rebuild
143
144* Tue Feb 26 2002 Trond Eivind Glomsr <teg@redhat.com> 1.06-8
145- Rebuild
146
147* Mon Feb  4 2002 Trond Eivind Glomsr <teg@redhat.com> 1.06-7
148- s/Copyright/License/
149- The %%doc file AUTHOR should be AUTHORS
150
151* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
152- automated rebuild
153
154* Sun Sep  9 2001 Phil Knirsch <phil@redhat.de> 1.06-5
155- Fixed a variable initialization problem in load.c which broke badly on S390.
156
157* Fri May 11 2001 Preston Brown <pbrown@redhat.com> 1.06-4
158- use mktemp, not the pid shell variable, in rpm scriptlets
159
160* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.06-3
161- rebuild with new readline
162- Add patch to fix compilation with recent readline versions
163
164* Fri Dec 01 2000 Trond Eivind Glomsr <teg@redhat.com>
165- Add COPYING, COPYING.LIB, FAQ, AUTHORS, NEWS, README
166
167* Sun Nov 19 2000 Florian La Roche <Florian.LaRoche@redhat.de>
168- update to bc 1.06
169
170* Fri Jul 21 2000 Trond Eivind Glomsr <teg@redhat.com>
171- rebuild
172
173* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
174- automatic rebuild
175
176* Tue Jun 06 2000 Trond Eivind Glomsr <teg@redhat.com>
177- use %%makeinstall, %%configure, %%{_mandir}, %%{_infodir}
178  and %%{_tmppath} 
179
180* Wed May 10 2000 Trond Eivind Glomsr <teg@redhat.com>
181- added URL
182- let build system handle man page gzipping
183
184* Thu Apr 06 2000 Trond Eivind Glomsr <teg@redhat.com>
185- fixed bug 7145 (long commands -> coredump)
186- removed explicit stripping, it does this by itself anyway
187- gzipped man-pages
188
189* Thu Mar 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
190- Rebuild with new readline (4.1)
191
192* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
193- Rebuild with new readline (4.0)
194- fix Source URL
195- some spec file cleanups
196
197* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
198- handle compressed manpages
199
200* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
201- auto rebuild in the new build environment (release 4)
202
203* Thu Jan 21 1999 Jeff Johnson <jbj@redhat.com>
204- use %configure
205
206* Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
207- update to 1.05a.
208
209* Sun Jun 07 1998 Prospector System <bugs@redhat.com>
210- translations modified for de
211
212* Thu Jun 04 1998 Jeff Johnson <jbj@redhat.com>
213- updated to 1.05 with build root.
214
215* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
216- translations modified for de, fr, tr
217
218* Tue Apr 21 1998 Erik Troan <ewt@redhat.com>
219- got upgrades of info entry working (I hope)
220
221* Sun Apr 05 1998 Erik Troan <ewt@redhat.com>
222- fixed incorrect info entry
223
224* Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
225- added install-info support
226
227* Thu Sep 11 1997 Donald Barnes <djb@redhat.com>
228- upgraded from 1.03 to 1.04
229
230* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
231- built against glibc
Note: See TracBrowser for help on using the repository browser.