File sash.spec of Package sash
#
# spec file for package sash
#
# Copyright (c) 2013 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: sash
BuildRequires: libext2fs-devel
BuildRequires: ncurses-devel
BuildRequires: zlib-devel-static
Version: 3.7
Release: 0
Summary: A stand-alone shell with built-in commands
License: ISC
Group: System/Shells
Source: http://members.tip.net.au/~dbell/programs/sash-%{version}.tar.gz
Url: http://www.tip.net.au/~dbell
Patch0: sash-%{version}-install.diff
Patch1: sash-%{version}-raid.diff
Patch2: sash-%{version}-include.diff
Patch3: sash-%{version}-strip.diff
Patch4: sash-3.7-ext2_fs-header.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
%description
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
Authors:
--------
David I. Bell <dbell@canb.auug.org.au>
%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
%patch4 -p1
%patch5
%patch6 -p1
%patch7 -p1
%build
export RPM_OPT_FLAGS
make CC="%__cc"
%install
mkdir -p $RPM_BUILD_ROOT/{bin,%{_mandir}/man1}
make prefix=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc README
/bin/sash
%doc %{_mandir}/man1/sash.1.gz
%changelog