]>
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 |
04cc3a13 | 4 | Version: 0.5.8 |
a8525a3f | 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 | |
04cc3a13 JB |
9 | # Source0-md5: 5c152209680dab3c319e8923f6c51378 |
10 | Patch0: %{name}-format.patch | |
f8ca40cb | 11 | URL: http://gondor.apana.org.au/~herbert/dash/ |
eee38b54 ER |
12 | Requires(post): grep |
13 | Requires(preun): sed >= 4.0 | |
d71c985a ER |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %define _bindir /bin | |
043b23ba | 17 | %define _shell %{_bindir}/%{name} |
d71c985a ER |
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 | ||
26d3b2ff JR |
28 | %description -l pl.UTF-8 |
29 | DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak | |
fdc949b7 JB |
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 | |
26d3b2ff | 32 | (GNU Bourne-Again SHell) przy większości zadań. |
f844279f | 33 | |
26d3b2ff | 34 | DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist |
f844279f JB |
35 | SHell). |
36 | ||
d71c985a ER |
37 | %prep |
38 | %setup -q | |
04cc3a13 | 39 | %patch0 -p1 |
d71c985a ER |
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 | ||
fdc949b7 JB |
54 | %post -p %add_etc_shells -p /bin/dash |
55 | %preun -p %remove_etc_shells -p /bin/dash | |
d71c985a ER |
56 | |
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %attr(755,root,root) %{_bindir}/dash | |
60 | %{_mandir}/man1/dash.1* |