%define version 3.7 %define rel 0pe3 Summary: stand-alone shell with built-in commands Name: sash Version: %{version} Release: %rel Source: http://www.pcug.org.au/~dbell/%{name}-%{version}.tar.gz URL: http://www.pcug.org.au/~dbell/ Copyright: GPL Packager: yoshinobu syouzi Group: System Environment/Shells BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The sash program is a stand-alone shell which is useful for recovering from certain types of system failures. In particular, it was created in order to cope with the problem of missing shared libraries or important executables. %prep %setup %build cp -f $RPM_SOURCE_DIR/Makefile.sash $RPM_BUILD_DIR/%{name}-%{version}/Makefile %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install gzip $RPM_BUILD_ROOT/usr/share/man/man1/* %files %defattr(-,root,root) /sbin/* /usr/share/man/man1/* %doc CHANGES README Makefile %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %changelog * Wed Nov 24 2004 yoshinobu syouzi - first packaged for private use.