]> git.pld-linux.org Git - packages/bc.git/blob - bc.spec
- revision up to 5.
[packages/bc.git] / bc.spec
1 Summary:        GNU bc
2 Summary(de):    GNU bc 
3 Summary(fr):    GNU bc
4 Summary(pl):    Kalkulator bc GNU
5 Summary(tr):    GNU hesap makinasý
6 Name:           bc
7 Version:        1.05a
8 Release:        5
9 Copyright:      GPL
10 Group:          Applications/Math
11 Source:         ftp://prep.ai.mit.edu/pug/gnu/%{name}-%{version}.tar.gz
12 Patch0:         bc-info.patch
13 Prereq:         /sbin/install-info 
14 Prereq:         grep
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %description
18 bc is a text mode calculator of sorts.  It has many extended
19 features such as base translation.  It can also accept input
20 from stdin and return output. dc is the RPN version.
21
22 %description -l de
23 bc ist eine Art Textmodus-Rechner, der viele erweiterte Funktionen
24 wie Basisübersetzung enthält. Er kann auch Eingaben von
25 stdin annehmen und die Ergebnisse ausgeben. dc ist die RPN-Version.
26
27 %description -l fr
28 bc est est un outil de calcul en mode texte. Il a des fonctionnalités
29 étendues comme la conversion de base. il peut aussi accepter l'entrée
30 sur stdin et retourner le résultat. dc est la version RPN.
31
32 %description -l pl
33 Bc to kalkulator pracuj±cy w trybie tekstowym, który posiada wiele 
34 rozbudowanych funkcji. W czasie pracy mo¿e pobieraæ dane ze standardowego
35 wej¶cia (stdin) i wysy³aæ je na standardowe wyj¶cie (stdout).
36
37 %description -l tr
38 bc metin ekranda çalýþan bir hesap makinasýdýr. Taban dönüþümü gibi ileri
39 yetenekleri vardýr.
40
41 %prep
42 %setup  -q -n %{name}-1.05
43 %patch0 -p1
44
45 %build
46 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
47 ./configure \
48         --prefix=/usr
49 make
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
54
55 make prefix=$RPM_BUILD_ROOT/usr install
56
57 gzip -9nf $RPM_BUILD_ROOT/usr/{info/dc.info,man/man1/*}
58
59 %post
60 /sbin/install-info /usr/info/dc.info.gz /etc/info-dir
61
62 %preun
63 if [ $1 = 0 ]; then
64         /sbin/install-info --delete /usr/info/dc.info.gz /etc/info-dir
65 fi
66
67 %files
68 %defattr(644,root,root,755)
69 %attr(755,root,root) /usr/bin/*
70 /usr/man/man1/*
71 /usr/info/dc.info.gz
72
73 %clean 
74 rm -rf $RPM_BUILD_ROOT
75
76 %changelog
77 * Tue Dec 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
78   [1.05a-3]
79 - standarized {un}registering info pages (added bc-info.patch),
80 - added gzipping man pages.
81
82 * Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
83   [1.05a-2]
84 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
85 - added using %%{name} and %%{version} in Source,
86 - added "rm -rf $RPM_BUILD_ROOT on top %install,
87 - simplifications in %files nad %install,
88 - added full %attr description in %files.
89
90 * Wed Jun 17 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
91 - added pl translation,
92 - added %defattr support,
93 - build from non root's account.
94
95 * Sun Jun 07 1998 Prospector System <bugs@redhat.com>
96 - translations modified for de
97
98 * Thu Jun 04 1998 Jeff Johnson <jbj@redhat.com>
99 - updated to 1.05 with build root.
100
101 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
102 - translations modified for de, fr, tr
103
104 * Tue Apr 21 1998 Erik Troan <ewt@redhat.com>
105 - got upgrades of info entry working (I hope)
106
107 * Sun Apr 05 1998 Erik Troan <ewt@redhat.com>
108 - fixed incorrect info entry
109
110 * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
111 - added install-info support
112
113 * Thu Sep 11 1997 Donald Barnes <djb@redhat.com>
114 - upgraded from 1.03 to 1.04
115
116 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
117 - built against glibc
This page took 0.040531 seconds and 4 git commands to generate.