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

Revision 521, 6.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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