]> git.pld-linux.org Git - packages/dash.git/blob - dash.spec
up to 0.5.12
[packages/dash.git] / dash.spec
1 Summary:        POSIX-compliant implementation of /bin/sh
2 Summary(pl.UTF-8):      Zgodna z POSIX implementacja /bin/sh
3 Name:           dash
4 Version:        0.5.8
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Shells
8 Source0:        http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  5c152209680dab3c319e8923f6c51378
10 Patch0:         %{name}-format.patch
11 URL:            http://gondor.apana.org.au/~herbert/dash/
12 Requires(post): grep
13 Requires(preun):        sed >= 4.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _bindir                 /bin
17 %define         _shell                  %{_bindir}/%{name}
18
19 %description
20 DASH is a POSIX-compliant implementation of /bin/sh that aims to be as
21 small as possible. It does this without sacrificing speed where
22 possible. In fact, it is significantly faster than bash (the GNU
23 Bourne-Again SHell) for most tasks.
24
25 DASH is a direct descendant of the NetBSD version of ash (the Almquist
26 SHell)
27
28 %description -l pl.UTF-8
29 DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak
30 najmniejszy rozmiar. Dokonano tego bez poświęcania szybkości tam,
31 gdzie to możliwe. W rzeczywistości dash jest znacząco szybszy od basha
32 (GNU Bourne-Again SHell) przy większości zadań.
33
34 DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist
35 SHell).
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post   -p %add_etc_shells -p /bin/dash
55 %preun  -p %remove_etc_shells -p /bin/dash
56
57 %files
58 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/dash
60 %{_mandir}/man1/dash.1*
This page took 0.108598 seconds and 3 git commands to generate.