Name: sh Summary: Fast, sh-compliant shell Summary(pl): Szybka powłoka kompatybinla z sh Version: 5.2.14 Release: 1 License: Public Domain with Free & GPL additions Group: System Environment/Shells Source0: ftp://ftp.cs.mun.ca/pub/pdksh/pdksh-%{version}.tar.gz # Source0-md5: 871106b3bd937e1afba9f2ef7c43aef3 Patch0: pdksh-history.patch.bz2 Patch1: ftp://ftp.cs.mun.ca/pub/pdksh/pdksh-%{version}-patches.1.bz2 Patch2: ftp://ftp.cs.mun.ca/pub/pdksh/pdksh-%{version}-patches.2.bz2 Patch3: pdksh-debian.patch.bz2 Patch4: pdksh-EDITMODE.patch.bz2 Patch5: pdksh-rlimit_locks.patch.bz2 Patch6: pdksh-eval-segv.patch.bz2 Patch7: pdksh-awful-free-bug.patch.bz2 Patch8: pdksh-no_stop_alias.patch.bz2 Patch9: pdksh-man_no_plusminus.patch.bz2 Patch10: pdksh-circumflex.patch.bz2 Patch11: pdksh-siglist-sort.patch.bz2 Patch12: pdksh-hex.patch.bz2 URL: http://www.cs.mun.ca/~michael/pdksh BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: /bin/sh NoSource: 0 %description Pdksh, a remimplementation of ksh, is a command interpreter that is intended for both interactive and shell script use. Its command language is a superset of the sh(1) shell language. This package contains only sh shell. %description -l pl Pdksh jest implementacją powłoki ksh. Komendy pdksh są zgodne z komendami powłoki sh(1). W tym pakiecie jest sam sh. %prep %setup -q -n pdksh-%{version} %patch0 -p1 %patch1 -p2 %patch2 -p0 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p0 %patch12 -p1 %build CFLAGS="%{optflags} -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT" \ %configure --enable-shell=sh \ --enable-brace-expand %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install exec_prefix=%{buildroot} \ mandir=%{buildroot}%{_mandir}/man1 %clean %{__rm} -rf %{buildroot} %{_builddir}/%{buildsubdir} %files %defattr(644,root,root,755) %attr(755,root,root) /bin/sh %{_mandir}/man?/* %changelog * Tue Mar 15 2005 Bart Kreska - Changed name from pdksh to sh * Fri Jan 07 2005 Bart Kreska - Added mode patches