File sash.spec of Package sash

# spec file for package sash (Version 3.7)
# 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

# norootforbuild

Name:           sash
BuildRequires:  ncurses-devel zlib-devel-static
Group:          System/Shells
AutoReqProv:    on
Version:        3.7
Release:        171
Summary:        A stand-alone shell with built-in commands
Source:         sash-%{version}.tar.bz2
Patch0:         sash-%{version}-install.diff
Patch1:         sash-%{version}-raid.diff
Patch2:         sash-%{version}-include.diff
Patch3:         sash-%{version}-strip.diff
Patch4:         sash-%{version}-fs.diff
Patch5:         sash-3.7-shared_libc.patch
Patch6:         sash-%{version}-ed-line-marking.diff
Patch7:         sash-plus-patches-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package includes:

-chgrp, -chmod, -chown, -cmp, -cp, -dd, -echo, -ed, -grep, -gunzip,
-gzip, -kill, -ln, -ls, -mkdir, -mknod, -more, -mount, -mv, -printenv,
-pwd, -rm, -rmdir, -sync, -tar, -touch, -umount, -where

    David I. Bell <>

%setup -q
%patch6 -p1
%patch7 -p1


mkdir -p $RPM_BUILD_ROOT/{bin,%{_mandir}/man1}
make prefix=$RPM_BUILD_ROOT install

%doc %{_mandir}/man1/sash.1.gz