76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
|
#
|
||
|
# spec file for package dash (Version 0.5.5.1)
|
||
|
#
|
||
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# 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
|
||
|
Summary: POSIX-compliant Implementation of /bin/sh
|
||
|
Version: 0.5.5.1
|
||
|
Release: 1
|
||
|
License: BSD3c
|
||
|
Group: System/Shells
|
||
|
AutoReqProv: on
|
||
|
Source: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
|
||
|
Patch0: %{name}-0.5.5.1-do-not-close-stderr-when-dev-tty-fails-to-open.patch
|
||
|
Patch1: %{name}-0.5.5.1-correct-manpage-description-and-history.patch
|
||
|
Patch2: %{name}-0.5.5.1-fix-incorrect-savefd-conversion.patch
|
||
|
Patch3: %{name}-0.5.5.1-fix-parameter-expansion.patch
|
||
|
Url: http://gondor.apana.org.au/~herbert/dash/
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
|
||
|
possible without sacrificing speed where possible.
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
The Regents of the University of California
|
||
|
Christos Zoulas
|
||
|
Herbert Xu <herbert@gondor.apana.org.au>
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
%patch1 -p1
|
||
|
%patch2 -p1
|
||
|
%patch3 -p1
|
||
|
|
||
|
%build
|
||
|
%configure --prefix=%{_prefix} --mandir=%{_mandir}
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||
|
# move to /bin and symlink to /usr/bin
|
||
|
%__mkdir_p $RPM_BUILD_ROOT/bin
|
||
|
%__mv $RPM_BUILD_ROOT/usr/bin/dash $RPM_BUILD_ROOT/bin
|
||
|
%__ln_s ../../bin/dash $RPM_BUILD_ROOT/usr/bin/dash
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc ChangeLog
|
||
|
%doc %{_mandir}/man1/dash.1*
|
||
|
/usr/bin/dash
|
||
|
/bin/dash
|
||
|
|
||
|
%changelog
|