]> git.pld-linux.org Git - packages/dash.git/blobdiff - dash.spec
up to 0.5.12
[packages/dash.git] / dash.spec
index e69f120492f6f1777fdb189ead99a787f6e44089..5c4159aa3d447d9d2ba016aeeb078bed3469c7d7 100644 (file)
--- a/dash.spec
+++ b/dash.spec
@@ -1,12 +1,12 @@
 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
@@ -24,13 +24,13 @@ Bourne-Again SHell) for most tasks.
 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
@@ -38,7 +38,7 @@ SHell).
 
 %build
 %configure
-%{__make}
+%{__make} V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,18 +49,8 @@ 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)
This page took 0.094414 seconds and 4 git commands to generate.