Author: glen Date: Wed May 31 23:00:48 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: dash.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/dash.spec diff -u /dev/null SPECS/dash.spec:1.1 --- /dev/null Thu Jun 1 01:00:48 2006 +++ SPECS/dash.spec Thu Jun 1 01:00:42 2006 @@ -0,0 +1,67 @@ +# $Revision$, $Date$ +Summary: POSIX-compliant implementation of /bin/sh +Name: dash +Version: 0.5.3 +Release: 0.1 +License: GPL v2+ +Group: Applications/Shells +Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz +# Source0-md5: 1a3cd6669459be4344ec55ec9d4914f8 +URL: http://gondor.apana.org.au/~herbert/dash/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _bindir /bin +%define _shell %{_bindir}/posh + +%description +DASH is a POSIX-compliant implementation of /bin/sh that aims to be as +small as possible. It does this without sacrificing speed where +possible. In fact, it is significantly faster than bash (the GNU +Bourne-Again SHell) for most tasks. + +DASH is a direct descendant of the NetBSD version of ash (the Almquist +SHell) + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +if [ ! -f /etc/shells ]; then + umask 022 + echo '%{_shell}' > /etc/shells +else + grep -q '^%{_shell}$' /etc/shells || echo '%{_shell}' >> /etc/shells +fi + +%preun +if [ "$1" = "0" ]; then + %{__sed} -i -e '/^%(echo %{_shell} | sed -e 's,/,\\/,g')$/d' /etc/shells +fi + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/dash +%{_mandir}/man1/dash.1* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/05/31 23:00:42 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
