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-paths.patch
19 Patch1: bash-fixes.patch
20 Patch2: bash-security.patch
21 Patch3: bash-autoconf.patch
22 Patch4: bash-info.patch
23 Patch5: bash-profile.patch
24 Patch6: bash-requires.patch
25 Patch7: bash-compat.patch
26 Patch8: bash-shellfunc.patch
27 BuildRequires: ncurses-static >= 5.0
28 BuildRequires: readline-static >= 4.1
29 BuildRequires: glibc-static
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Bash is a GNU project sh-compatible shell or command language
38 interpreter. Bash (Bourne Again shell) incorporates useful features
39 from the Korn shell (ksh) and the C shell (csh). Most sh scripts can
40 be run by bash without modification. Bash offers several improvements
41 over sh, including command line editing, unlimited size command
42 history, job control, shell functions and aliases, indexed arrays of
43 unlimited size and integer arithmetic in any base from two to 64. Bash
44 is ultimately intended to conform to the IEEE POSIX P1003.2/ISO 9945.2
45 Shell and Tools standard. Bash is the default shell for Linux
46 Mandrake. You should install bash because of its popularity and power.
47 You'll probably end up using it.
50 Bash ist eine sh-kompatible Shell und Kommandosprache aus dem
51 GNU-Projekt. Bash (Bourne Again Shell) vereinigt die nützlichen
52 Features aus der Korn-Shell (ksh) und der C-Shell (csh). Die meisten
53 sh-Skripte laufen ohne Änderungen auf bash. Bash hat viele
54 Erweiterungen im Vergleich zur "normalen" sh, wie z.B.
55 Kommandozeilenbearbeitung, unbeschränkte Größe der command-history,
56 Job-Kontrolle, Shell-Funktionen und -Aliase, unbegrenzt große
57 indizierte Arrays und Integer-Arithmetik in einer Basis von 2 bis 64.
58 Hauptziel von bash ist es, den IEEE POSIX P1003.2/ISO 9945.2 Shell-
59 und Tools-Standard einzuhalten. Bash ist die Standard-Shell für Linux
63 Bash est un shell (interpréteur de commande) du projet GNU, compatible
64 avec le shell historique sh. Bash (Bourne Again SHell) comprend de
65 nombreuses fonctionnalités du Korn SHell (ksh) et du C SHell (csh). La
66 plupart des scripts sh sont exécutables sans modifications. Bash
67 comprend nombre d'améliorations par rapport à sh : édition de la ligne
68 de commande, historique illimité, contrôle des processus
69 d'arrière-plan, fonctions de shell, alias, tableaux indexés de taille
70 illimitée et calcul sur des entiers dans n'importe quelle base de 2 à
71 64. Bash est conforme au standard IEEE POSIX P1003.2/ISO 9945.2 Shell
72 and Tools. Bash est le shell par défaut de Mandrake. Vous devriez
73 l'installer du fait de sa puissance et de sa popularité. Vous finirez
74 probablement par l'utiliser.
77 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
78 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli
79 Korn i C (ksh i csh). Bash ma równie¿ zaimplementowany IEEE Posix
80 Shell oraz jest zgodny ze specyfikacj± - IEEE Working Group 1003.2.
83 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh
84 uyumlu bir komut dili yorumlayýcýsýdýr. Ayný zamanda Korn ve C
85 kabuklarýnýn (ksh ve csh) kullanýþlý özelliklerini de kapsar. Bash,
86 IEEE Posix Kabuk ve Araç ayrýntýlarýna (IEEE Working Group 1003.2)
87 uyumlu bir uygulama olarak tasarlanmýþtýr.
90 Summary: Staticly linked GNU Bourne Again Shell (bash)
91 Summary(pl): Statycznie zlinkowany GNU Bourne Again Shell (bash)
99 Bash is a GNU project sh-compatible shell or command language
100 interpreter. Bash (Bourne Again shell) incorporates useful features
101 from the Korn shell (ksh) and the C shell (csh). Most sh scripts can
102 be run by bash without modification. Bash offers several improvements
103 over sh, including command line editing, unlimited size command
104 history, job control, shell functions and aliases, indexed arrays of
105 unlimited size and integer arithmetic in any base from two to 64. Bash
106 is ultimately intended to conform to the IEEE POSIX P1003.2/ISO 9945.2
107 Shell and Tools standard. Bash is the default shell for Linux
108 Mandrake. You should install bash because of its popularity and power.
109 You'll probably end up using it. This packege contains staticly linked
112 %description static -l pl
113 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
114 standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli
115 Korn i C (ksh i csh). Bash ma równie¿ zaimplementowany IEEE Posix
116 Shell oraz jest zgodny ze specyfikacj± - IEEE Working Group 1003.2. W
117 tym pakiecie jest statycznie zlinkowany bash.
131 echo %{version} > _distribution
132 echo %{release} > _patchlevel
135 LDFLAGS="-s"; export LDFLAGS
138 --enable-help-builtin \
140 --enable-job-control \
141 --enable-restricted \
144 --enable-extended-glob \
145 --enable-dparen-arithmetic \
146 --enable-static-link \
147 --with-installed-readline
149 %{__make} TERMCAP_LIB="-ltinfo"
150 mv -f bash bash.static
151 %{__make} TERMCAP_LIB="-ltinfo" STATIC_LD=""
154 rm -rf $RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT{%{_mandir},%{_infodir}} \
156 $RPM_BUILD_ROOT/{bin,etc/skel/{C,pl}}
159 bindir=$RPM_BUILD_ROOT%{_bindir} \
160 infodir=$RPM_BUILD_ROOT%{_infodir} \
161 mandir=$RPM_BUILD_ROOT%{_mandir}
163 mv $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
164 install -s bash.static $RPM_BUILD_ROOT/bin
166 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bashrc
167 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
169 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
171 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/C/.bash_logout
172 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/C/.bash_profile
173 install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/C/.bashrc
174 install %{SOURCE5} $RPM_BUILD_ROOT/etc/skel/pl/.bashrc
176 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/bash.info,%{_mandir}/man1/*} \
177 NEWS README doc/{FAQ,INTRO}
180 if [ ! -f /etc/shells ]; then
181 echo "/bin/bash" > /etc/shells
182 echo "/bin/rbash" >> /etc/shells
184 if ! grep '^/bin/bash$' /etc/shells > /dev/null; then
185 echo "/bin/bash" >> /etc/shells
187 if ! grep '^/bin/rbash$' /etc/shells > /dev/null; then
188 echo "/bin/rbash" >> /etc/shells
192 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
195 if [ ! -f /etc/shells ]; then
196 echo "/bin/bash.static" > /etc/shells
198 if ! grep '^/bin/bash.static$' /etc/shells > /dev/null; then
199 echo "/bin/bash.static" >> /etc/shells
205 grep -v /bin/bash /etc/shells | grep -v /bin/rbash > /etc/shells.new
206 mv -f /etc/shells.new /etc/shells
211 grep -v /bin/bash.static /etc/shells > /etc/shells.new
212 mv -f /etc/shells.new /etc/shells
216 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
219 rm -rf $RPM_BUILD_ROOT
222 %defattr(644,root,root,755)
223 %doc {NEWS,README}.gz doc/{FAQ,INTRO}.gz
225 %config %{_sysconfdir}/bashrc
227 /etc/skel/C/.bash_logout
228 /etc/skel/C/.bash_profile
230 %lang(pl) /etc/skel/pl/.bashrc
232 %attr(755,root,root) /bin/bash
233 %attr(755,root,root) /bin/rbash
234 %attr(755,root,root) %{_bindir}/bashbug
236 %{_infodir}/bash.info.gz
240 %defattr(644,root,root,755)
241 %attr(755,root,root) /bin/bash.static