2010-02-18 13:38:26 +00:00
#
2011-10-07 08:29:27 +00:00
# spec file for package dash
2010-02-18 13:38:26 +00:00
#
2018-04-20 12:34:01 +00:00
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
2013-09-27 11:38:16 +00:00
# Copyright (c) 2013 Guido Berhoerster.
2010-02-18 13:38:26 +00:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name : dash
2018-04-20 12:34:01 +00:00
Version : 0.5.9.1
2015-04-09 09:33:38 +00:00
Release : 0
2010-02-18 13:38:26 +00:00
Summary : POSIX-compliant Implementation of /bin/sh
2011-12-06 17:05:13 +00:00
License : BSD-3-Clause
2010-02-18 13:38:26 +00:00
Group : System/Shells
2013-09-27 11:38:16 +00:00
Url : http://gondor.apana.org.au/~herbert/dash/
2015-04-09 09:33:38 +00:00
Source : http://gondor.apana.org.au/~herbert/dash/files/dash-%{version} .tar.gz
2011-10-07 08:29:27 +00:00
# PATCH-FIX-UPSTREAM dash-0.5.7-do-not-close-stderr.patch gber@opensuse.org -- Prevents closing stderr when /dev/tty fails to open (backported from upstream git)
Patch0 : dash-0.5.7-do-not-close-stderr.patch
# PATCH-FIX-UPSTREAM dash-remove-backslash-before-in-double-quotes-in-variable.patch gber@opensuse.org -- Remove backslash before } in double-quotes in variable as it prevents the closing brace from terminating the substitution (from FreeBSD/Debian)
Patch1 : dash-remove-backslash-before-in-double-quotes-in-variable.patch
2013-09-27 11:38:16 +00:00
BuildRequires : libedit-devel
2010-02-18 13:38:26 +00:00
%description
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
possible without sacrificing speed where possible.
%prep
%setup -q
2011-10-07 08:29:27 +00:00
%patch0 -p1
%patch1 -p1
2010-02-18 13:38:26 +00:00
%build
2015-04-09 09:33:38 +00:00
%configure \
--enable-fnmatch \
--enable-glob \
--with-libedit
2010-02-25 13:48:30 +00:00
make %{?_smp_mflags}
2010-02-18 13:38:26 +00:00
%install
2010-02-25 13:48:30 +00:00
%make_install
2013-09-27 11:38:16 +00:00
# compatibility symlink to /bin
mkdir -p %{buildroot} /bin
ln -s %{_bindir} /dash %{buildroot} /bin/dash
2010-02-18 13:38:26 +00:00
%files
%doc ChangeLog
2013-09-27 11:38:16 +00:00
%{_bindir} /dash
2010-02-18 13:38:26 +00:00
/bin/dash
2018-04-20 12:34:01 +00:00
%{_mandir} /man1/dash.1%{ext_man}
2010-02-18 13:38:26 +00:00
%changelog