Summary: The GNU Bourne Again shell (bash) version 2.04. Name: bash2 Version: 2.04 Release: 3 Group: System Environment/Shells Copyright: GPL Source0: ftp://ftp.gnu.org/pub/gnu/bash-%{version}.tar.gz Source1: ftp://ftp.gnu.org/pub/gnu/bash-doc-%{version}.tar.gz Patch0: bash-2.04-rtsig.patch Prefix: %{_prefix} Provides: bash BuildRoot: /var/tmp/%{name}-root %description The GNU Bourne Again shell (Bash) is a shell or command language interpreter that is compatible with the Bourne shell (sh). Bash incorporates useful features from the Korn shell (ksh) and the C shell (csh). Most sh scripts can be run by bash without modification. This package contains bash version 2.04, which improves POSIX compliance over previous versions. %package doc Group: Documentation Summary: Documentation for the GNU Bourne Again shell (bash) version 2.04. %description doc The bash-doc package contains documentation for the GNU Bourne Again shell version 2.04. %prep %setup -q -n bash-%{version} -a 1 %patch0 -b .rtsig echo %{version} > _distribution echo %{release} > _patchlevel echo %{_prefix} %build #CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ # ./configure --prefix=$RPM_BUILD_ROOT/usr $RPM_ARCH-redhat-linux ## ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix} %configure make %install rm -rf $RPM_BUILD_ROOT ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix} make prefix=${RPM_BUILD_ROOT}%{_prefix} install # Take out irritating ^H's from the documentation #for i in `ls doc/` ; \ #do cat doc/$i > $i ; \ #cat $i | perl -p -e 's/.//g' > doc/$i ; \ #rm $i ; \ #done [[ ! -d $RPM_BUILD_ROOT/usr/bin ]] && mkdir -p $RPM_BUILD_ROOT/usr/bin [[ ! -d $RPM_BUILD_ROOT/bin ]] && mkdir -p $RPM_BUILD_ROOT/bin ln -sf ../..%{_prefix}/bin/bash $RPM_BUILD_ROOT/bin/bash ln -sf ../..%{_prefix}/bin/bashbug $RPM_BUILD_ROOT/usr/bin/bashbug { cd $RPM_BUILD_ROOT strip ./%{_prefix}/bin/* || : cd bin ln -sf bash bash2 cd ../usr/bin ln -sf bashbug bash2bug } %clean rm -rf $RPM_BUILD_ROOT # ***** bash doesn't use install-info. It's always listed in /usr/info/dir # to prevent prereq loops %files %defattr(-,root,root) %doc CHANGES COMPAT NEWS NOTES CWRU/POSIX.NOTES %doc doc/FAQ doc/INTRO doc/article.ms %doc examples/bashdb/ examples/functions/ examples/misc/ %doc examples/scripts.noah/ examples/scripts.v2/ examples/scripts/ %doc examples/startup-files/ /bin/bash /bin/bash2 %{_prefix}/bin/bash /usr/bin/bashbug /usr/bin/bash2bug %{_prefix}/bin/bashbug %{_prefix}/man/man1/bash.1* %{_prefix}/man/man1/bashbug.1* %files doc %defattr(-,root,root) %doc doc/*.ps %changelog * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Wed Feb 02 2000 Cristian Gafton - man pages are compressed - fix description * Thu Dec 2 1999 Ken Estes - updated patch to detect what executables are required by a script. * Fri Sep 14 1999 Dale Lovelace - Remove annoying ^H's from documentation * Fri Jul 16 1999 Ken Estes - patch to detect what executables are required by a script. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Fri Mar 19 1999 Jeff Johnson - strip binaries. - include bash-doc correctly. * Thu Mar 18 1999 Preston Brown - fixed post/postun /etc/shells work. * Thu Mar 18 1999 Cristian Gafton - updated again text in the spec file * Mon Feb 22 1999 Jeff Johnson - updated text in spec file. - update to 2.03. * Fri Feb 12 1999 Cristian Gafton - build it as bash2 instead of bash * Tue Feb 9 1999 Bill Nottingham - set 'NON_INTERACTIVE_LOGIN_SHELLS' so profile gets read * Thu Jan 14 1999 Jeff Johnson - rename man pages in bash-doc to avoid packaging conflicts (#606). * Wed Dec 02 1998 Cristian Gafton - patch for the arm - use $RPM_ARCH-redhat-linux as the build target * Tue Oct 6 1998 Bill Nottingham - rewrite %pre, axe %postun (to avoid prereq loops) * Wed Aug 19 1998 Jeff Johnson - resurrect for RH 6.0. * Sun Jul 26 1998 Jeff Johnson - update to 2.02.1 * Thu Jun 11 1998 Jeff Johnson - Package for 5.2. * Mon Apr 20 1998 Ian Macdonald - added POSIX.NOTES doc file - some extraneous doc files removed - minor .spec file changes * Sun Apr 19 1998 Ian Macdonald - upgraded to version 2.02 - Alpha, MIPS & Sparc patches removed due to lack of test platforms - glibc & signal patches no longer required - added documentation subpackage (doc) * Fri Nov 07 1997 Donnie Barnes - added signal handling patch from Dean Gaudet that is based on a change made in bash 2.0. Should fix some early exit problems with suspends and fg. * Mon Oct 20 1997 Donnie Barnes - added %clean * Mon Oct 20 1997 Erik Troan - added comment explaining why install-info isn't used - added mips patch * Fri Oct 17 1997 Donnie Barnes - added BuildRoot * Tue Jun 03 1997 Erik Troan - built against glibc