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

Revision 8067, 6.5 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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