1 Summary: GNU Bourne Again Shell (bash)
2 Summary(de): GNU Bourne Again Shell (bash)
3 Summary(fr): Le shell Bourne Again de GNU
4 Summary(pl): 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 Patch6: bash-requires.patch
25 Patch7: bash-profile.patch
26 BuildRequires: ncurses-static
27 Prereq: /usr/sbin/fix-info-dir
30 Buildroot: /tmp/%{name}-%{version}-root
33 Bash is a GNU project sh-compatible shell or command language interpreter.
34 Bash (Bourne Again shell) incorporates useful features from the Korn shell
35 (ksh) and the C shell (csh). Most sh scripts can be run by bash without
38 Bash offers several improvements over sh, including command line editing,
39 unlimited size command history, job control, shell functions and aliases,
40 indexed arrays of unlimited size and integer arithmetic in any base from two
41 to 64. Bash is ultimately intended to conform to the IEEE POSIX P1003.2/ISO
42 9945.2 Shell and Tools standard.
44 Bash is the default shell for Linux Mandrake. You should install bash
45 because of its popularity and power. You'll probably end up using it.
48 Bash ist eine sh-kompatible Shell und Kommandosprache aus dem GNU-Projekt.
49 Bash (Bourne Again Shell) vereinigt die nützlichen Features aus der
50 Korn-Shell (ksh) und der C-Shell (csh). Die meisten sh-Skripte laufen ohne
53 Bash hat viele Erweiterungen im Vergleich zur "normalen" sh, wie z.B.
54 Kommandozeilenbearbeitung, unbeschränkte Größe der command-history,
55 Job-Kontrolle, Shell-Funktionen und -Aliase, unbegrenzt große indizierte
56 Arrays und Integer-Arithmetik in einer Basis von 2 bis 64. Hauptziel von
57 bash ist es, den IEEE POSIX P1003.2/ISO 9945.2 Shell- und Tools-Standard
60 Bash ist die Standard-Shell für Linux Mandrake.
63 Bash est un shell (interpréteur de commande) du projet GNU, compatible avec
64 le shell historique sh. Bash (Bourne Again SHell) comprend de nombreuses
65 fonctionnalités du Korn SHell (ksh) et du C SHell (csh). La plupart des
66 scripts sh sont exécutables sans modifications.
68 Bash comprend nombre d'améliorations par rapport à sh : édition de la ligne
69 de commande, historique illimité, contrôle des processus d'arrière-plan,
70 fonctions de shell, alias, tableaux indexés de taille illimitée et calcul
71 sur des entiers dans n'importe quelle base de 2 à 64. Bash est conforme au
72 standard IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools.
74 Bash est le shell par défaut de Mandrake. Vous devriez l'installer du fait de
75 sa puissance et de sa popularité. Vous finirez probablement par l'utiliser.
78 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
79 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci
80 shelli Korn i C (ksh i csh).
82 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
83 specyfikacj± - IEEE Working Group 1003.2.
86 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh uyumlu
87 bir komut dili yorumlayýcýsýdýr. Ayný zamanda Korn ve C kabuklarýnýn (ksh ve
88 csh) kullanýþlý özelliklerini de kapsar. Bash, IEEE Posix Kabuk ve Araç
89 ayrýntýlarýna (IEEE Working Group 1003.2) uyumlu bir uygulama olarak
93 Summary: Staticly linked GNU Bourne Again Shell (bash)
94 Summary(pl): Statycznie zlinkowany GNU Bourne Again Shell (bash)
102 Bash is a GNU project sh-compatible shell or command language interpreter.
103 Bash (Bourne Again shell) incorporates useful features from the Korn shell
104 (ksh) and the C shell (csh). Most sh scripts can be run by bash without
107 Bash offers several improvements over sh, including command line editing,
108 unlimited size command history, job control, shell functions and aliases,
109 indexed arrays of unlimited size and integer arithmetic in any base from two
110 to 64. Bash is ultimately intended to conform to the IEEE POSIX P1003.2/ISO
111 9945.2 Shell and Tools standard.
113 Bash is the default shell for Linux Mandrake. You should install bash
114 because of its popularity and power. You'll probably end up using it.
116 This packege contains staticly linked version of bash.
118 %description static -l pl
119 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
120 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli Korn i
123 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
124 specyfikacj± - IEEE Working Group 1003.2.
126 W tym pakiecie jest statycznie zlinkowany bash.
139 echo %{version} > _distribution
140 echo %{release} > _patchlevel
143 LDFLAGS="-s"; export LDFLAGS
146 --enable-help-builtin \
148 --enable-job-control \
149 --enable-restricted \
152 --enable-extended-glob \
153 --enable-dparen-arithmetic \
156 make TERMCAP_LIB="-lncurses"
158 make TERMCAP_LIB="-lncurses" STATIC_LD=""
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT{%{_mandir},%{_infodir}} \
163 $RPM_BUILD_ROOT/{bin,etc/skel/{C,pl}}
166 bindir=$RPM_BUILD_ROOT%{_bindir} \
167 infodir=$RPM_BUILD_ROOT%{_infodir} \
168 mandir=$RPM_BUILD_ROOT%{_mandir}
170 mv $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
171 install -s bash.static $RPM_BUILD_ROOT/bin
173 install %{SOURCE1} $RPM_BUILD_ROOT/etc/bashrc
174 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
175 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
177 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/C/.bash_logout
178 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/C/.bash_profile
179 install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/C/.bashrc
180 install %{SOURCE5} $RPM_BUILD_ROOT/etc/skel/pl/.bashrc
182 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/bash.info,%{_mandir}/man1/*} \
183 NEWS README doc/{FAQ,INTRO}
186 if [ ! -f /etc/shells ]; then
187 echo "/bin/bash" > /etc/shells
188 echo "/bin/rbash" >> /etc/shells
190 if ! grep '^/bin/bash$' /etc/shells > /dev/null; then
191 echo "/bin/bash" >> /etc/shells
193 if ! grep '^/bin/rbash$' /etc/shells > /dev/null; then
194 echo "/bin/rbash" >> /etc/shells
198 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
201 if [ ! -f /etc/shells ]; then
202 echo "/bin/bash.static" > /etc/shells
204 if ! grep '^/bin/bash.static$' /etc/shells > /dev/null; then
205 echo "/bin/bash.static" >> /etc/shells
211 grep -v /bin/bash /etc/shells | grep -v /bin/rbash > /etc/shells.new
212 mv /etc/shells.new /etc/shells
217 grep -v /bin/bash.static /etc/shells > /etc/shells.new
218 mv /etc/shells.new /etc/shells
222 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
225 rm -rf $RPM_BUILD_ROOT
228 %defattr(644,root,root,755)
229 %doc {NEWS,README}.gz doc/{FAQ,INTRO}.gz
233 /etc/skel/C/.bash_logout
234 /etc/skel/C/.bash_profile
236 %lang(pl) /etc/skel/pl/.bashrc
238 %attr(755,root,root) /bin/bash
239 %attr(755,root,root) /bin/rbash
240 %attr(755,root,root) %{_bindir}/bashbug
242 %{_infodir}/bash.info.gz
246 %attr(755,root,root) /bin/bash.static