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