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 >= 5.0
27 Prereq: /usr/sbin/fix-info-dir
30 Buildroot: /tmp/%{name}-%{version}-root
35 Bash is a GNU project sh-compatible shell or command language interpreter.
36 Bash (Bourne Again shell) incorporates useful features from the Korn shell
37 (ksh) and the C shell (csh). Most sh scripts can be run by bash without
40 Bash offers several improvements over sh, including command line editing,
41 unlimited size command history, job control, shell functions and aliases,
42 indexed arrays of unlimited size and integer arithmetic in any base from two
43 to 64. Bash is ultimately intended to conform to the IEEE POSIX P1003.2/ISO
44 9945.2 Shell and Tools standard.
46 Bash is the default shell for Linux Mandrake. You should install bash
47 because of its popularity and power. You'll probably end up using it.
50 Bash ist eine sh-kompatible Shell und Kommandosprache aus dem GNU-Projekt.
51 Bash (Bourne Again Shell) vereinigt die nützlichen Features aus der
52 Korn-Shell (ksh) und der C-Shell (csh). Die meisten sh-Skripte laufen ohne
55 Bash hat viele Erweiterungen im Vergleich zur "normalen" sh, wie z.B.
56 Kommandozeilenbearbeitung, unbeschränkte Größe der command-history,
57 Job-Kontrolle, Shell-Funktionen und -Aliase, unbegrenzt große indizierte
58 Arrays und Integer-Arithmetik in einer Basis von 2 bis 64. Hauptziel von
59 bash ist es, den IEEE POSIX P1003.2/ISO 9945.2 Shell- und Tools-Standard
62 Bash ist die Standard-Shell für Linux Mandrake.
65 Bash est un shell (interpréteur de commande) du projet GNU, compatible avec
66 le shell historique sh. Bash (Bourne Again SHell) comprend de nombreuses
67 fonctionnalités du Korn SHell (ksh) et du C SHell (csh). La plupart des
68 scripts sh sont exécutables sans modifications.
70 Bash comprend nombre d'améliorations par rapport à sh : édition de la ligne
71 de commande, historique illimité, contrôle des processus d'arrière-plan,
72 fonctions de shell, alias, tableaux indexés de taille illimitée et calcul
73 sur des entiers dans n'importe quelle base de 2 à 64. Bash est conforme au
74 standard IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools.
76 Bash est le shell par défaut de Mandrake. Vous devriez l'installer du fait de
77 sa puissance et de sa popularité. Vous finirez probablement par l'utiliser.
80 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
81 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci
82 shelli Korn i C (ksh i csh).
84 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
85 specyfikacj± - IEEE Working Group 1003.2.
88 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh uyumlu
89 bir komut dili yorumlayýcýsýdýr. Ayný zamanda Korn ve C kabuklarýnýn (ksh ve
90 csh) kullanýþlý özelliklerini de kapsar. Bash, IEEE Posix Kabuk ve Araç
91 ayrýntýlarýna (IEEE Working Group 1003.2) uyumlu bir uygulama olarak
95 Summary: Staticly linked GNU Bourne Again Shell (bash)
96 Summary(pl): Statycznie zlinkowany GNU Bourne Again Shell (bash)
104 Bash is a GNU project sh-compatible shell or command language interpreter.
105 Bash (Bourne Again shell) incorporates useful features from the Korn shell
106 (ksh) and the C shell (csh). Most sh scripts can be run by bash without
109 Bash offers several improvements over sh, including command line editing,
110 unlimited size command history, job control, shell functions and aliases,
111 indexed arrays of unlimited size and integer arithmetic in any base from two
112 to 64. Bash is ultimately intended to conform to the IEEE POSIX P1003.2/ISO
113 9945.2 Shell and Tools standard.
115 Bash is the default shell for Linux Mandrake. You should install bash
116 because of its popularity and power. You'll probably end up using it.
118 This packege contains staticly linked version of bash.
120 %description static -l pl
121 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
122 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli Korn i
125 Bash ma równie¿ zaimplementowany IEEE Posix Shell oraz jest zgodny ze
126 specyfikacj± - IEEE Working Group 1003.2.
128 W tym pakiecie jest statycznie zlinkowany bash.
141 echo %{version} > _distribution
142 echo %{release} > _patchlevel
145 LDFLAGS="-s"; export LDFLAGS
148 --enable-help-builtin \
150 --enable-job-control \
151 --enable-restricted \
154 --enable-extended-glob \
155 --enable-dparen-arithmetic \
158 make TERMCAP_LIB="-ltinfo"
160 make TERMCAP_LIB="-ltinfo" STATIC_LD=""
163 rm -rf $RPM_BUILD_ROOT
164 install -d $RPM_BUILD_ROOT{%{_mandir},%{_infodir}} \
165 $RPM_BUILD_ROOT/{bin,etc/skel/{C,pl}}
168 bindir=$RPM_BUILD_ROOT%{_bindir} \
169 infodir=$RPM_BUILD_ROOT%{_infodir} \
170 mandir=$RPM_BUILD_ROOT%{_mandir}
172 mv $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
173 install -s bash.static $RPM_BUILD_ROOT/bin
175 install %{SOURCE1} $RPM_BUILD_ROOT/etc/bashrc
176 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
177 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
179 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/C/.bash_logout
180 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/C/.bash_profile
181 install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/C/.bashrc
182 install %{SOURCE5} $RPM_BUILD_ROOT/etc/skel/pl/.bashrc
184 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/bash.info,%{_mandir}/man1/*} \
185 NEWS README doc/{FAQ,INTRO}
188 if [ ! -f /etc/shells ]; then
189 echo "/bin/bash" > /etc/shells
190 echo "/bin/rbash" >> /etc/shells
192 if ! grep '^/bin/bash$' /etc/shells > /dev/null; then
193 echo "/bin/bash" >> /etc/shells
195 if ! grep '^/bin/rbash$' /etc/shells > /dev/null; then
196 echo "/bin/rbash" >> /etc/shells
200 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
203 if [ ! -f /etc/shells ]; then
204 echo "/bin/bash.static" > /etc/shells
206 if ! grep '^/bin/bash.static$' /etc/shells > /dev/null; then
207 echo "/bin/bash.static" >> /etc/shells
213 grep -v /bin/bash /etc/shells | grep -v /bin/rbash > /etc/shells.new
214 mv /etc/shells.new /etc/shells
219 grep -v /bin/bash.static /etc/shells > /etc/shells.new
220 mv /etc/shells.new /etc/shells
224 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
227 rm -rf $RPM_BUILD_ROOT
230 %defattr(644,root,root,755)
231 %doc {NEWS,README}.gz doc/{FAQ,INTRO}.gz
235 /etc/skel/C/.bash_logout
236 /etc/skel/C/.bash_profile
238 %lang(pl) /etc/skel/pl/.bashrc
240 %attr(755,root,root) /bin/bash
241 %attr(755,root,root) /bin/rbash
242 %attr(755,root,root) %{_bindir}/bashbug
244 %{_infodir}/bash.info.gz
248 %attr(755,root,root) /bin/bash.static