]> git.pld-linux.org Git - packages/dash.git/blame - dash.spec
up to 0.5.10.2
[packages/dash.git] / dash.spec
CommitLineData
d71c985a 1Summary: POSIX-compliant implementation of /bin/sh
5b084242 2Summary(pl.UTF-8): Zgodna z POSIX implementacja /bin/sh
d71c985a 3Name: dash
4eb40dfb
JP
4Version: 0.5.10.2
5Release: 1
d71c985a
ER
6License: GPL v2+
7Group: Applications/Shells
8Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
4eb40dfb 9# Source0-md5: 8f485f126c05d0ab800e85abfe1987aa
04cc3a13 10Patch0: %{name}-format.patch
f8ca40cb 11URL: http://gondor.apana.org.au/~herbert/dash/
eee38b54
ER
12Requires(post): grep
13Requires(preun): sed >= 4.0
d71c985a
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _bindir /bin
043b23ba 17%define _shell %{_bindir}/%{name}
d71c985a
ER
18
19%description
20DASH is a POSIX-compliant implementation of /bin/sh that aims to be as
21small as possible. It does this without sacrificing speed where
22possible. In fact, it is significantly faster than bash (the GNU
23Bourne-Again SHell) for most tasks.
24
25DASH is a direct descendant of the NetBSD version of ash (the Almquist
26SHell)
27
26d3b2ff
JR
28%description -l pl.UTF-8
29DASH to zgodna z POSIX implementacja /bin/sh, której celem jest jak
fdc949b7
JB
30najmniejszy rozmiar. Dokonano tego bez poświęcania szybkości tam,
31gdzie 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 34DASH to bezpośredni następca wersji NetBSD asha (powłoki Almquist
f844279f
JB
35SHell).
36
d71c985a
ER
37%prep
38%setup -q
04cc3a13 39%patch0 -p1
d71c985a
ER
40
41%build
42%configure
43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -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*
This page took 0.10807 seconds and 4 git commands to generate.