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