]> git.pld-linux.org Git - packages/bc.git/blob - bc.spec
- added using CVS keywords in %changelog (for automating them).
[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/bc/%{name}-%{version}.tar.gz
13 Patch0:         bc-info.patch
14 Patch1:         bc-DESTDIR.patch
15 Prereq:         /sbin/install-info 
16 Buildroot:      /tmp/%{name}-%{version}-root
17
18 %description
19 bc is a text mode calculator of sorts.  It has many extended
20 features such as base translation.  It can also accept input
21 from stdin and return output. dc is the RPN version.
22
23 %description -l de
24 bc ist eine Art Textmodus-Rechner, der viele erweiterte Funktionen
25 wie Basisübersetzung enthält. Er kann auch Eingaben von
26 stdin annehmen und die Ergebnisse ausgeben. dc ist die RPN-Version.
27
28 %description -l fr
29 bc est est un outil de calcul en mode texte. Il a des fonctionnalités
30 étendues comme la conversion de base. il peut aussi accepter l'entrée
31 sur stdin et retourner le résultat. dc est la version RPN.
32
33 %description -l pl
34 Bc to kalkulator pracuj±cy w trybie tekstowym, który posiada wiele 
35 rozbudowanych funkcji. W czasie pracy mo¿e pobieraæ dane ze standardowego
36 wej¶cia (stdin) i wysy³aæ je na standardowe wyj¶cie (stdout).
37
38 %description -l tr
39 bc metin ekranda çalýþan bir hesap makinasýdýr. Taban dönüþümü gibi ileri
40 yetenekleri vardýr.
41
42 %prep
43 %setup  -q -n %{name}-1.05
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 aclocal
49 LDFLAGS="-s"; export LDFLAGS
50 %configure 
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 install DESTDIR=$RPM_BUILD_ROOT
60
61 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/dc.info,%{_mandir}/man1/*}
62
63 %post
64 /sbin/install-info %{_infodir}/dc.info.gz /etc/info-dir
65
66 %preun
67 if [ "$1" = "0" ]; then
68         /sbin/install-info --delete %{_infodir}/dc.info.gz /etc/info-dir
69 fi
70
71 %files
72 %defattr(644,root,root,755)
73
74 %attr(755,root,root) %{_bindir}/*
75
76 %{_mandir}/man1/*
77 %{_infodir}/dc.info.gz
78
79 %clean 
80 rm -rf $RPM_BUILD_ROOT
This page took 0.031349 seconds and 4 git commands to generate.