1 Summary: GNU Bourne Again Shell (bash)
2 Summary(pl): GNU Bourne Again Shell (bash)
3 Summary(de): GNU Bourne Again Shell (bash)
4 Summary(fr): GNU Bourne Again Shell (bash)
5 Summary(tr): GNU Bourne Again Shell (bash)
12 Source0: ftp://prep.ai.mit.edu/pub/gnu/bash/%{name}-%{version}.tar.gz
14 Patch0: bash-arm.patch
15 Patch1: bash-fixes.patch
16 Patch2: bash-paths.patch
17 Patch3: bash-security.patch
18 Patch4: bash-autoconf.patch
19 Patch5: bash-info.patch
22 Prereq: /sbin/install-info
23 BuildPrereq: ncurses-devel
24 Buildroot: /tmp/%{name}-%{version}-root
27 Bash is an sh-compatible command language interpreter that
28 executes commands read from the standard input or from a
29 file. Bash also incorporates useful features from the
30 Korn and C shells (ksh and csh).
32 Bash is ultimately intended to be a conformant implementation
33 of the IEEE Posix Shell and Tools specification (IEEE
34 Working Group 1003.2).
37 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
38 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci
39 shelli Korn i C (ksh i csh).
41 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
42 specyfikacj± - IEEE Working Group 1003.2.
45 Bash ist ein sh-kompatibler Befehlssprachen-Interpreter, der
46 über die Standardeingabe oder eine Datei gelesene Befehle ausführt.
47 Bash beinhaltet außerdem nützliche Funktionen der Korn- und der
48 C-Shell (ksh und csh).
50 Bash soll eine kompatible Implementierung der
51 'IEEE Posix Shell and Tools Specification' (IEEE
52 Working Group 1003.2) sein.
55 Bash est un interpréteur de commande compatible sh qui exécute
56 les commandes lues sur l'entrée standard ou depuis un fichier.
57 Bash inclue également des fonctionnalités utiles des shells Korn et C
60 Bash est prévu pour être une implémentation de shell conforme la
61 spécification Posix IEEE sur les shell et les outils (Groupe de
65 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh uyumlu
66 bir komut dili yorumlayýcýsýdýr. Ayný zamanda Korn ve C kabuklarýnýn (ksh ve
67 csh) kullanýþlý özelliklerini de kapsar. Bash, IEEE Posix Kabuk ve Araç
68 ayrýntýlarýna (IEEE Working Group 1003.2) uyumlu bir uygulama olarak
81 LDFLAGS="-s" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
85 --enable-help-builtin \
87 --enable-job-control \
91 --enable-extended-glob \
92 --infodir=%{_infodir} %{_target_platform}
97 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/{usr/share/{man,info},bin,etc}
102 prefix=$RPM_BUILD_ROOT%{_prefix} \
103 infodir=$RPM_BUILD_ROOT%{_infodir} \
104 mandir=$RPM_BUILD_ROOT%{_mandir} \
106 mv $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin/bash
108 rm -f $RPM_BUILD_ROOT%{_bindir}/{installed-bash,bash.old}
110 install %{SOURCE1} $RPM_BUILD_ROOT/etc/bashrc
112 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
114 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
116 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/bash.info,%{_mandir}/man1/*} \
120 mv /etc/shells /etc/shells.org
121 (cat /etc/shells.org; echo "/bin/bash"; echo "/bin/rbash" ) | sort -u > /etc/shells
122 rm -f /etc/shells.org
123 /sbin/install-info %{_infodir}/bash.info.gz /etc/info-dir
126 if [ "$1" = "0" ]; then
127 mv /etc/shells /etc/shells.org
128 cat /etc/shells.org | egrep -v "/bin/bash|/bin/rbash" > /etc/shells
129 rm -f /etc/shells.org
130 /sbin/install-info --delete %{_infodir}/bash.info.gz /etc/info-dir
134 rm -rf $RPM_BUILD_ROOT
137 %defattr(644,root,root,755)
138 %doc {NEWS,README}.gz
142 %attr(755,root,root) /bin/*
143 %attr(755,root,root) %{_bindir}/*
145 %{_infodir}/bash.info.gz
149 * Wed May 19 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
154 * Mon May 3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
156 - added {un}registering info page for bash (added bash-info.patch).
158 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
160 - removed /bin/sh link from bash (this is now provided by pdksh),
161 - removed man group from man pages,
162 - gzipping instead bzipping2 man pages,
163 - rewrited %post, %preun,
164 - removed %config and %verify rules from /etc/bashrc (all extensions can be
165 added by adding /etc/profile.d/*.sh scripts).
167 * Sun Sep 05 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
169 - fixed files permissions,
170 - build with restricted shell support.
172 * Wed Jun 17 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
174 - build against glibc-2.1,
175 - translation modified for pl,
176 - added %defattr support,
177 - build from non root's account,