]> git.pld-linux.org Git - packages/bc.git/commitdiff
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
authorkloczek <kloczek@pld-linux.org>
Mon, 28 Sep 1998 21:44:37 +0000 (21:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added using %%{name} and %%{version} in Source,
- added "rm -rf $RPM_BUILD_ROOT on top %install,
- simplifications in %files nad %install,
- added full %attr description in %files.
By Wojtek Ślusarczyk <wojtek@shadow.eu.org>:
- added pl translation,
- added %defattr support,
- build from non root's account.

Changed files:
    bc.spec -> 1.1

bc.spec [new file with mode: 0644]

diff --git a/bc.spec b/bc.spec
new file mode 100644 (file)
index 0000000..ed2a0f0
--- /dev/null
+++ b/bc.spec
@@ -0,0 +1,112 @@
+Summary:     GNU bc
+Summary(de): GNU bc 
+Summary(fr): GNU bc
+Summary(pl): Kalkulator bc GNU
+Summary(tr): GNU hesap makinasý
+Name:        bc
+Version:     1.05a
+Release:     1
+Copyright:   GPL
+Group:       Applications/Math
+Source:      ftp://prep.ai.mit.edu/pug/gnu/%{name}-%{version}.tar.gz
+Prereq:      /sbin/install-info grep
+Buildroot:   /tmp/%{name}-%{version}-root
+
+%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 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 pl
+Bc to kalkulator pracuj±cy w trybie tekstowym, który posiada wiele 
+rozbudowanych funkcji. W czasie pracy mo¿e pobieraæ dane ze standardowego
+wej¶cia (stdin) i wysy³aæ je na standardowe wyj¶cie (stdout).
+
+%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 -n %{name}-1.05
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usr
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
+
+make prefix=$RPM_BUILD_ROOT/usr install
+
+strip $RPM_BUILD_ROOT/usr/bin/*
+
+gzip -nf9 $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
+%attr(755, root, root) /usr/bin/*
+%attr(644, root,  man) /usr/man/man1/*
+%attr(644, root, root)/usr/info/dc.info.gz
+
+%clean 
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
+* Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.05a-2]
+- changed Buildroot to /tmp/%%{name}-%%{version}-root,
+- added using %%{name} and %%{version} in Source,
+- added "rm -rf $RPM_BUILD_ROOT on top %install,
+- simplifications in %files nad %install,
+- added full %attr description in %files.
+
+* Wed Jun 17 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
+- added pl translation,
+- added %defattr support,
+- build from non root's account.
+
+* Sun Jun 07 1998 Prospector System <bugs@redhat.com>
+- translations modified for de
+
+* Thu Jun 04 1998 Jeff Johnson <jbj@redhat.com>
+- updated to 1.05 with build root.
+
+* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
+- translations modified for de, fr, tr
+
+* Tue Apr 21 1998 Erik Troan <ewt@redhat.com>
+- got upgrades of info entry working (I hope)
+
+* Sun Apr 05 1998 Erik Troan <ewt@redhat.com>
+- fixed incorrect info entry
+
+* Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
+- added install-info support
+
+* Thu Sep 11 1997 Donald Barnes <djb@redhat.com>
+- upgraded from 1.03 to 1.04
+
+* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
+- built against glibc
This page took 0.080203 seconds and 4 git commands to generate.