3 Summary: Business Shell (BUSH)
4 Summary(pl): Pow³oka Biznesowa (BUSH)
9 Group: Applications/Shells
10 Source0: http://tardis.dyn.dhs.org/smiab_download/other_projects/%{name}-%{version}-src.tgz
11 # Source0-md5: 05f4719e91b7e0f3194d8c4a16c2720d
12 Patch0: %{name}-Makefile.patch
13 URL: http://www.pegasoft.ca/bush.html
14 BuildRequires: gcc-ada
15 BuildRequires: postgresql-devel
16 Requires(post,preun): grep
17 Requires(preun): fileutils
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 BUSH, the Business Shell, is a powerful Linux/UNIX shell for designing secure,
23 reliable scripts that can be later compiled as a fast executable programs.
24 It can also be used an an interactive login shell or to generate
25 Java Virtual Machine or .Net applications. BUSH is a robust and readable
26 alternative to BASH, CSH, and (to a certain extent) Python and PERL.
27 BUSH comes with 12 built-in packages including numerics, string processing,
28 sound and database access.
31 BUSH, Pow³oka Biznesowa jest pow³ok± dla systemów Linux/UNIX o bogatych
32 mo¿liwo¶ciach. Stworzona jest z my¶l± o konstruowaniu bezpiecznych i
33 niezawodnych skryptów, które mog± potem zostaæ skompilowane do postaci
34 szybkich programów wykonywalnych. Mo¿e byæ ona równie¿ u¿ywana jako
35 pow³oka zg³oszeniowa, lub u¿yta do generowania aplikacji Java Virtual Machine
36 lub .Net. BUSH jest mocn± i czyteln± alternatyw± w stosunku do pow³ok
37 BASH, CSH, a tak¿e (w pewnym sensie) do jêzyków takich jak Python czy PERL.
38 BUSH zawiera 12 wbudowanych pakietów w³±czaj±c w to operacje na
39 liczbach, przetwarzanie ci±gów znaków, d¼wiêki, oraz dostêp do baz danych.
48 CC="%{__cc}" CFLAGS="%{rpmcflags}"
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)
81 %doc TODO README COPYING html
83 %attr(755,root,root) /bin/bush