]>
Commit | Line | Data |
---|---|---|
d71c985a | 1 | Summary: POSIX-compliant implementation of /bin/sh |
5b084242 | 2 | Summary(pl.UTF-8): Zgodna z POSIX implementacja /bin/sh |
d71c985a | 3 | Name: dash |
4e10d2d0 | 4 | Version: 0.5.12 |
4eb40dfb | 5 | Release: 1 |
d71c985a ER |
6 | License: GPL v2+ |
7 | Group: Applications/Shells | |
8 | Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz | |
4e10d2d0 | 9 | # Source0-md5: 57222b768b84003ea4b801e5d5e0e52b |
f8ca40cb | 10 | URL: http://gondor.apana.org.au/~herbert/dash/ |
eee38b54 ER |
11 | Requires(post): grep |
12 | Requires(preun): sed >= 4.0 | |
d71c985a ER |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %define _bindir /bin | |
043b23ba | 16 | %define _shell %{_bindir}/%{name} |
d71c985a ER |
17 | |
18 | %description | |
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. | |
23 | ||
24 | DASH is a direct descendant of the NetBSD version of ash (the Almquist | |
25 | SHell) | |
26 | ||
26d3b2ff JR |
27 | %description -l pl.UTF-8 |
28 | DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak | |
fdc949b7 JB |
29 | najmniejszy rozmiar. Dokonano tego bez poświęcania szybkości tam, |
30 | gdzie to możliwe. W rzeczywistości dash jest znacząco szybszy od basha | |
26d3b2ff | 31 | (GNU Bourne-Again SHell) przy większości zadań. |
f844279f | 32 | |
26d3b2ff | 33 | DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist |
f844279f JB |
34 | SHell). |
35 | ||
d71c985a ER |
36 | %prep |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %configure | |
0229dd24 | 41 | %{__make} V=1 |
d71c985a ER |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
fdc949b7 JB |
52 | %post -p %add_etc_shells -p /bin/dash |
53 | %preun -p %remove_etc_shells -p /bin/dash | |
d71c985a ER |
54 | |
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %attr(755,root,root) %{_bindir}/dash | |
58 | %{_mandir}/man1/dash.1* |