info:bc.spec -devel
Wojciech Slusarczyk
wojtek w mailbox.chemo.tuniv.szczecin.pl
Pon, 31 Sie 1998, 19:51:54 CEST
Summary: GNU bc
Summary(pl): Kalkulator bc z GNU
Name: bc
Version: 1.05
Release: 1d
Copyright: GPL
Group: Applications/Math
Source: ftp://prep.ai.mit.edu/pug/gnu/%{name}-%{version}a.tar.gz
Prereq: /sbin/install-info grep
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Summary(de): GNU bc
Summary(fr): GNU bc
Summary(tr): GNU hesap makinasý
%description
bc is a text mode calculator of sorts. It has many extended
features such as base translation. It can also accept input
from stdin and return output. dc is the RPN version.
%description -l pl
Bc jest kalkulatorem w trybie tekstowym, ma wiele rozbudowanych funkcji.
Akceptuje wprowadzanie danych ze standardowego wejścia (stdin) a wynik
kieruje na standardowe wyjście(stdout).
%description -l de
bc ist eine Art Textmodus-Rechner, der viele erweiterte Funktionen
wie Basisübersetzung enthält. Er kann auch Eingaben von
stdin annehmen und die Ergebnisse ausgeben. dc ist die RPN-Version.
%description -l fr
bc est est un outil de calcul en mode texte. Il a des fonctionnalités
étendues comme la conversion de base. il peut aussi accepter l'entrée
sur stdin et retourner le résultat. dc est la version RPN.
%description -l tr
bc metin ekranda çalýţan bir hesap makinasýdýr. Taban dönüţümü gibi ileri
yetenekleri vardýr.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usr
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1}
make prefix=$RPM_BUILD_ROOT/usr install
strip $RPM_BUILD_ROOT/usr/bin/* || :
gzip -n -9f $RPM_BUILD_ROOT/usr/info/dc.info
%post
if grep 'dc: (bc)' /usr/info/dir > /dev/null; then
grep -v 'The GNU RPN calculator' < /usr/info/dir > /usr/info/dir.$$
mv -f /usr/info/dir.$$ /usr/info/dir
fi
/sbin/install-info /usr/info/dc.info.gz /usr/info/dir --entry="* dc: (dc). The GNU RPN calculator."
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete /usr/info/dc.info.gz /usr/info/dir --entry="* dc: (dc). The GNU RPN calculator."
fi
%files
%defattr(-, root, root)
/usr/info/dc.info.gz
%attr(0711, root, root) /usr/bin/dc
%attr(0711, root, root) /usr/bin/bc
/usr/man/man1/bc.1
/usr/man/man1/dc.1
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jun 17 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[1.0.5-1d]
- build against glibc-2.1,
- updated to bc-1.05a,
- translation modified for pl,
- added %defattr support,
- changed bc permission to 711,
- build from non root's account.
* Fri Apr 24 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr
* Tue Apr 21 1998 Erik Troan <ewt w redhat.com>
- got upgrades of info entry working (I hope)
* Sun Apr 05 1998 Erik Troan <ewt w redhat.com>
- fixed incorrect info entry
* Wed Oct 15 1997 Donnie Barnes <djb w redhat.com>
- added install-info support
* Thu Sep 11 1997 Donald Barnes <djb w redhat.com>
- upgraded from 1.03 to 1.04
* Mon Jun 02 1997 Erik Troan <ewt w redhat.com>
- built against glibc
Więcej informacji o liście dyskusyjnej pld-devel-pl