1 |
Name: squirrelsh |
2 |
Summary: A cross-platform alternative to system shell |
3 |
Version: 1.2.5 |
4 |
Release: %mkrel 1 |
5 |
Source0: http://switch.dl.sourceforge.net/project/squirrelsh/Squirrel%20Shell/1.2.5/%{name}-%{version}-src.tar.bz2 |
6 |
URL: http://squirrelsh.sourceforge.net/ |
7 |
Patch0: squirrelsh-configure.patch |
8 |
Group: Shells |
9 |
License: GPLv2 |
10 |
|
11 |
BuildRequires: libpcre-devel |
12 |
|
13 |
%description |
14 |
Squirrel Shell is a cross-platform alternative to system shells like |
15 |
sh in Unix-like systems and cmd.exe (command.com) in Microsoft® Windows®. |
16 |
It is based on Squirrel scripting language which has these features: |
17 |
. object-oriented programming; |
18 |
. C++-like syntax; |
19 |
. dynamic typing; |
20 |
. delegation; |
21 |
. generators; |
22 |
. exception handling; |
23 |
. weak references; |
24 |
. more on http://www.squirrel-lang.org. |
25 |
Cross-platform nature of Squirrel Shell lets users write one script and use |
26 |
it everywhere instead of writing several scripts for doing the same thing, |
27 |
but in different OSes. Since Squirrel is a generic scripting language, this |
28 |
gives users more power as they aren't limited to functionality, specific to |
29 |
some dedicated purpose. |
30 |
|
31 |
%prep |
32 |
%setup -q |
33 |
%patch0 |
34 |
|
35 |
%build |
36 |
%_configure --prefix=%{_prefix} |
37 |
%make |
38 |
|
39 |
%install |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
%makeinstall_std |
42 |
%__rm -f doc/%name.1 doc/%name.tex |
43 |
%find_lang %{name} |
44 |
|
45 |
%clean |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%files -f %{name}.lang |
49 |
%defattr(-,root,root,-) |
50 |
%{_bindir}/squirrelsh |
51 |
%doc COPYING* HISTORY README doc |
52 |
%{_mandir}/man1/* |