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