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 Source2: bash-skel-.bash_logout
15 Source3: bash-skel-.bash_profile
16 Source4: bash-skel-.bashrc
17 Source5: bash-skel_pl-.bashrc
18 Patch0: bash-arm.patch
19 Patch1: bash-fixes.patch
20 Patch2: bash-paths.patch
21 Patch3: bash-security.patch
22 Patch4: bash-autoconf.patch
23 Patch5: bash-info.patch
24 BuildPrereq: ncurses-devel
25 PreReq: /sbin/install-info
28 Buildroot: /tmp/%{name}-%{version}-root
31 Bash is an sh-compatible command language interpreter that executes commands
32 read from the standard input or from a file. Bash also incorporates useful
33 features from the Korn and C shells (ksh and csh).
35 Bash is ultimately intended to be a conformant implementation of the IEEE
36 Posix Shell and Tools specification (IEEE Working Group 1003.2).
39 Bash ist ein sh-kompatibler Befehlssprachen-Interpreter, der über die
40 Standardeingabe oder eine Datei gelesene Befehle ausführt. Bash beinhaltet
41 außerdem nützliche Funktionen der Korn- und der C-Shell (ksh und csh).
43 Bash soll eine kompatible Implementierung der 'IEEE Posix Shell and Tools
44 Specification' (IEEE Working Group 1003.2) sein.
47 Bash est un interpréteur de commande compatible sh qui exécute les commandes
48 lues sur l'entrée standard ou depuis un fichier. Bash inclue également des
49 fonctionnalités utiles des shells Korn et C (ksh et csh).
51 Bash est prévu pour être une implémentation de shell conforme la
52 spécification Posix IEEE sur les shell et les outils (Groupe de travail IEEE
56 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
57 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci
58 shelli Korn i C (ksh i csh).
60 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
61 specyfikacj± - IEEE Working Group 1003.2.
64 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh uyumlu
65 bir komut dili yorumlayýcýsýdýr. Ayný zamanda Korn ve C kabuklarýnýn (ksh ve
66 csh) kullanýþlý özelliklerini de kapsar. Bash, IEEE Posix Kabuk ve Araç
67 ayrýntýlarýna (IEEE Working Group 1003.2) uyumlu bir uygulama olarak
71 Summary: Staticly linked GNU Bourne Again Shell (bash)
72 Summary(pl): Statycznie zlinkowany GNU Bourne Again Shell (bash)
80 Bash is an sh-compatible command language interpreter that executes commands
81 read from the standard input or from a file. Bash also incorporates useful
82 features from the Korn and C shells (ksh and csh).
84 Bash is ultimately intended to be a conformant implementation of the IEEE
85 Posix Shell and Tools specification (IEEE Working Group 1003.2).
87 This packege contains staticly linked version of bash.
89 %description static -l pl
90 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
91 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli Korn i
94 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
95 specyfikacj± - IEEE Working Group 1003.2.
97 W tym pakiecie jest statycznie zlinkowany bash.
109 LDFLAGS="-s"; export LDFLAGS
112 --enable-help-builtin \
114 --enable-job-control \
115 --enable-restricted \
118 --enable-extended-glob \
119 --enable-dparen-arithmetic \
122 make TERMCAP_LIB="-lncurses"
124 make TERMCAP_LIB="-lncurses" STATIC_LD=""
127 rm -rf $RPM_BUILD_ROOT
128 install -d $RPM_BUILD_ROOT{%{_mandir},%{_infodir}} \
129 $RPM_BUILD_ROOT/{bin,etc/skel/{C,pl}}
132 bindir=$RPM_BUILD_ROOT%{_bindir} \
133 infodir=$RPM_BUILD_ROOT%{_infodir} \
134 mandir=$RPM_BUILD_ROOT%{_mandir}
136 mv $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
137 install -s bash.static $RPM_BUILD_ROOT/bin
139 install %{SOURCE1} $RPM_BUILD_ROOT/etc/bashrc
140 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
141 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
143 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/C/.bash_logout
144 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/C/.bash_profile
145 install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/C/.bashrc
146 install %{SOURCE5} $RPM_BUILD_ROOT/etc/skel/pl/.bashrc
148 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/bash.info,%{_mandir}/man1/*} \
149 NEWS README doc/{FAQ,INTRO}
152 if [ ! -f /etc/shells ]; then
153 echo "/bin/bash" > /etc/shells
154 echo "/bin/rbash" >> /etc/shells
156 if ! grep '^/bin/bash$' /etc/shells > /dev/null; then
157 echo "/bin/bash" >> /etc/shells
159 if ! grep '^/bin/rbash$' /etc/shells > /dev/null; then
160 echo "/bin/rbash" >> /etc/shells
164 /sbin/install-info %{_infodir}/bash.info.gz /etc/info-dir
167 if [ ! -f /etc/shells ]; then
168 echo "/bin/bash.static" > /etc/shells
170 if ! grep '^/bin/bash.static$' /etc/shells > /dev/null; then
171 echo "/bin/bash.static" >> /etc/shells
177 grep -v /bin/bash /etc/shells | grep -v /bin/rbash > /etc/shells.new
178 mv /etc/shells.new /etc/shells
181 /sbin/install-info --delete %{_infodir}/bash.info.gz /etc/info-dir
185 grep -v /bin/bash.static /etc/shells > /etc/shells.new
186 mv /etc/shells.new /etc/shells
190 rm -rf $RPM_BUILD_ROOT
193 %defattr(644,root,root,755)
194 %doc {NEWS,README}.gz doc/{FAQ,INTRO}.gz
198 %lang(pl) /etc/skel/pl/.*
200 %attr(755,root,root) /bin/bash
201 %attr(755,root,root) /bin/rbash
202 %attr(755,root,root) %{_bindir}/bashbug
204 %{_infodir}/bash.info.gz
208 %attr(755,root,root) /bin/bash.static