Summary: POSIX-compliant implementation of /bin/sh
-Summary(pl): Zgodna z POSIX implementacja /bin/sh
+Summary(pl.UTF-8): Zgodna z POSIX implementacja /bin/sh
Name: dash
-Version: 0.5.3
-Release: 0.1
+Version: 0.5.12
+Release: 1
License: GPL v2+
Group: Applications/Shells
Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
-# Source0-md5: 1a3cd6669459be4344ec55ec9d4914f8
+# Source0-md5: 57222b768b84003ea4b801e5d5e0e52b
URL: http://gondor.apana.org.au/~herbert/dash/
Requires(post): grep
Requires(preun): sed >= 4.0
DASH is a direct descendant of the NetBSD version of ash (the Almquist
SHell)
-%description -l pl
-DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak
-najmniejszy rozmiar. Dokonano tego bez po¶wiêcania szybko¶ci je¶li to
-mo¿liwe. W rzeczywisto¶ci jest dash jest znacz±co szybszy od basha
-(GNU Bourne-Again SHell) przy wiêkszo¶ci zadañ.
+%description -l pl.UTF-8
+DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak
+najmniejszy rozmiar. Dokonano tego bez poświęcania szybkości tam,
+gdzie to możliwe. W rzeczywistości dash jest znacząco szybszy od basha
+(GNU Bourne-Again SHell) przy większości zadań.
-DASH to bezpo¶redni nastêpca wersji NetBSD asha (pow³oki Almquist
+DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist
SHell).
%prep
%build
%configure
-%{__make}
+%{__make} V=1
%install
rm -rf $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
+%post -p %add_etc_shells -p /bin/dash
+%preun -p %remove_etc_shells -p /bin/dash
%files
%defattr(644,root,root,755)