1 Summary: POSIX-compliant implementation of /bin/sh
2 Summary(pl.UTF-8): Zgodna z POSIX implementacja /bin/sh
7 Group: Applications/Shells
8 Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
9 # Source0-md5: bc457e490a589d2f87f2333616b67931
10 URL: http://gondor.apana.org.au/~herbert/dash/
12 Requires(preun): sed >= 4.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _shell %{_bindir}/%{name}
19 DASH is a POSIX-compliant implementation of /bin/sh that aims to be as
20 small as possible. It does this without sacrificing speed where
21 possible. In fact, it is significantly faster than bash (the GNU
22 Bourne-Again SHell) for most tasks.
24 DASH is a direct descendant of the NetBSD version of ash (the Almquist
27 %description -l pl.UTF-8
28 DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak
29 najmniejszy rozmiar. Dokonano tego bez poświęcania szybkości jeśli to
30 możliwe. W rzeczywistości jest dash jest znacząco szybszy od basha
31 (GNU Bourne-Again SHell) przy większości zadań.
33 DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 if [ ! -f /etc/shells ]; then
55 echo '%{_shell}' > /etc/shells
57 grep -q '^%{_shell}$' /etc/shells || echo '%{_shell}' >> /etc/shells
61 if [ "$1" = "0" ]; then
62 %{__sed} -i -e '/^%(echo %{_shell} | sed -e 's,/,\\/,g')$/d' /etc/shells
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/dash
68 %{_mandir}/man1/dash.1*