]> git.pld-linux.org Git - packages/bc.git/blob - bc.spec
cosmetic
[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:        7
9 Copyright:      GPL
10 Group:          Applications/Math
11 Group(pl):      Aplikacje/Matematyczne
12 Source:         ftp://prep.ai.mit.edu/pug/gnu/%{name}-%{version}.tar.gz
13 Patch0:         bc-info.patch
14 Prereq:         /sbin/install-info 
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 %patch -p1
44
45 %build
46 aclocal && autoconf
47 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
48     ./configure \
49         --prefix=%{_prefix} \
50         %{_target_platform}
51
52 make
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
58
59 make \
60     prefix=$RPM_BUILD_ROOT%{_prefix} \
61     install
62
63 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/dc.info,%{_mandir}/man1/*}
64
65 %post
66 /sbin/install-info %{_infodir}/dc.info.gz /etc/info-dir
67
68 %preun
69 if [ "$1" = "0" ]; then
70         /sbin/install-info --delete %{_infodir}/dc.info.gz /etc/info-dir
71 fi
72
73 %files
74 %defattr(644,root,root,755)
75
76 %attr(755,root,root) %{_bindir}/*
77
78 %{_mandir}/man1/*
79 %{_infodir}/dc.info.gz
80
81 %clean 
82 rm -rf $RPM_BUILD_ROOT
83
84 %changelog
85 * Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
86   [1.05a-7]
87 - based on RH spec,
88 - spec rewrited by PLD team,
89 - pl translation Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
This page took 0.085271 seconds and 4 git commands to generate.