Name: dash
Version: 0.5.4
Release: 3%{?dist}
Summary: Small and fast POSIX-compliant shell
Group: System Environment/Shells
License: BSD
URL: http://gondor.apana.org.au/~herbert/dash/
Source0: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/bin
mv $RPM_BUILD_ROOT%{_bindir}/dash $RPM_BUILD_ROOT/bin/
rm -rf $RPM_BUILD_ROOT%{_bindir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
/bin/dash
%{_datadir}/man/man1/dash.1.gz
%changelog
* Fri Feb 08 2008 Warren Togami <wtogami@redhat.com> 0.5.4-3
- rebuild for gcc-4.3
* Wed Nov 07 2007 Warren Togami <wtogami@redhat.com> 0.5.4-2
- move to /bin/dash
- BSD license tag
* Fri Nov 02 2007 Warren Togami <wtogami@redhat.com> 0.5.4-1
- initial package