1 Summary: Business Shell (BUSH)
2 Summary(pl): Pow³oka Biznesowa (BUSH)
7 Group: Applications/Shells
8 Source0: http://tardis.dyn.dhs.org/smiab_download/other_projects/%{name}-%{version}-src.tgz
9 # Source0-md5: 05f4719e91b7e0f3194d8c4a16c2720d
10 Patch0: %{name}-Makefile.patch
11 URL: http://www.pegasoft.ca/bush.html
12 BuildRequires: gcc-ada
13 BuildRequires: postgresql-devel
14 Requires(post,preun): grep
15 Requires(preun): fileutils
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 BUSH, the Business Shell, is a powerful Linux/UNIX shell for designing
21 secure, reliable scripts that can be later compiled as a fast
22 executable programs. It can also be used an an interactive login shell
23 or to generate Java Virtual Machine or .Net applications. BUSH is a
24 robust and readable alternative to BASH, CSH, and (to a certain
25 extent) Python and PERL. BUSH comes with 12 built-in packages
26 including numerics, string processing, sound and database access.
29 BUSH, Pow³oka Biznesowa jest pow³ok± dla systemów Linux/UNIX o
30 bogatych mo¿liwo¶ciach. Stworzona jest z my¶l± o konstruowaniu
31 bezpiecznych i niezawodnych skryptów, które mog± potem zostaæ
32 skompilowane do postaci szybkich programów wykonywalnych. Mo¿e byæ ona
33 równie¿ u¿ywana jako pow³oka zg³oszeniowa, lub u¿yta do generowania
34 aplikacji Java Virtual Machine lub .Net. BUSH jest mocn± i czyteln±
35 alternatyw± w stosunku do pow³ok BASH, CSH, a tak¿e (w pewnym sensie)
36 do jêzyków takich jak Python czy PERL. BUSH zawiera 12 wbudowanych
37 pakietów w³±czaj±c w to operacje na liczbach, przetwarzanie ci±gów
38 znaków, d¼wiêki, oraz dostêp do baz danych.
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT/bin
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
64 if [ ! -f /etc/shells ]; then
65 echo "/bin/bush" > /etc/shells
67 if ! grep -q '^/bin/bush$' /etc/shells; then
68 echo "/bin/bush" >> /etc/shells
73 if [ "$1" = "0" ]; then
75 grep -v /bin/bush /etc/shells > /etc/shells.new
76 mv -f /etc/shells.new /etc/shells
80 %defattr(644,root,root,755)
82 %attr(755,root,root) /bin/bush