4 Summary: Small and fast POSIX-compliant shell
6 License: BSD-3-Clause and GPL-2.0+
7 URL: http://gondor.apana.org.au/~herbert/dash/
8 Source0: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
9 Source1001: dash.manifest
12 DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
13 possible. It does this without sacrificing speed where possible. In fact, it is
14 significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.
25 make install DESTDIR=%{buildroot}
26 mkdir -p %{buildroot}/bin
27 mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/
28 rm -rf %{buildroot}%{_bindir}/
31 grep -q '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
35 sed -i '/^\/bin\/dash$/d' /etc/shells
41 %manifest %{name}.manifest