# # spec file for package dash (Version 0.5.6.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Guido Berhoerster. # # 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.6.1 Release: 1 License: BSD3c Group: System/Shells AutoReqProv: on Source: dash-%{version}.tar.bz2 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 %prep %setup -q %build %configure make %{?_smp_mflags} %install %make_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