Name: squirrelsh Summary: A cross-platform alternative to system shell Version: 1.2.5 Release: %mkrel 1 Source0: http://switch.dl.sourceforge.net/project/squirrelsh/Squirrel%20Shell/1.2.5/%{name}-%{version}-src.tar.bz2 URL: http://squirrelsh.sourceforge.net/ Patch0: squirrelsh-configure.patch Group: Shells License: GPLv2 BuildRequires: libpcre-devel %description Squirrel Shell is a cross-platform alternative to system shells like sh in Unix-like systems and cmd.exe (command.com) in Microsoft® Windows®. It is based on Squirrel scripting language which has these features: . object-oriented programming; . C++-like syntax; . dynamic typing; . delegation; . generators; . exception handling; . weak references; . more on http://www.squirrel-lang.org. Cross-platform nature of Squirrel Shell lets users write one script and use it everywhere instead of writing several scripts for doing the same thing, but in different OSes. Since Squirrel is a generic scripting language, this gives users more power as they aren't limited to functionality, specific to some dedicated purpose. %prep %setup -q %patch0 %build %_configure --prefix=%{_prefix} %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %__rm -f doc/%name.1 doc/%name.tex %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/squirrelsh %doc COPYING* HISTORY README doc %{_mandir}/man1/*