]> git.pld-linux.org Git - packages/bush.git/blame - bush.spec
- tabs in preamble
[packages/bush.git] / bush.spec
CommitLineData
11862f6f 1Summary: Business Shell (BUSH)
a1a6fa98 2Summary(pl.UTF-8): Powłoka Biznesowa (BUSH)
11862f6f 3Name: bush
4Version: 0.9.3
5Release: 1
b72f6f23 6License: GPL v2+
11862f6f 7Group: Applications/Shells
8Source0: http://tardis.dyn.dhs.org/smiab_download/other_projects/%{name}-%{version}-src.tgz
9# Source0-md5: 05f4719e91b7e0f3194d8c4a16c2720d
10Patch0: %{name}-Makefile.patch
11URL: http://www.pegasoft.ca/bush.html
12BuildRequires: gcc-ada
13BuildRequires: postgresql-devel
14Requires(post,preun): grep
15Requires(preun): fileutils
16Requires: libgnat
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
0d00c74b 19%define _bindir /bin
20
11862f6f 21%description
e51b1ede 22BUSH, the Business Shell, is a powerful Linux/UNIX shell for designing
23secure, reliable scripts that can be later compiled as a fast
24executable programs. It can also be used an an interactive login shell
25or to generate Java Virtual Machine or .Net applications. BUSH is a
26robust and readable alternative to BASH, CSH, and (to a certain
27extent) Python and PERL. BUSH comes with 12 built-in packages
28including numerics, string processing, sound and database access.
11862f6f 29
65057945
JR
30%description -l pl.UTF-8
31BUSH, Powłoka Biznesowa jest powłoką dla systemów Linux/UNIX o
32bogatych możliwościach. Stworzona jest z myślą o konstruowaniu
33bezpiecznych i niezawodnych skryptów, które mogą potem zostać
34skompilowane do postaci szybkich programów wykonywalnych. Może być ona
35również używana jako powłoka zgłoszeniowa, lub użyta do generowania
36aplikacji Java Virtual Machine lub .Net. BUSH jest mocną i czytelną
37alternatywą w stosunku do powłok BASH, CSH, a także (w pewnym sensie)
38do języków takich jak Python czy PERL. BUSH zawiera 12 wbudowanych
39pakietów włączając w to operacje na liczbach, przetwarzanie ciągów
40znaków, dźwięki, oraz dostęp do baz danych.
11862f6f 41
42%prep
43%setup -q
44%patch0 -p1
45
46%build
e51b1ede 47%{__make} linux
11862f6f 48%{__make} \
b72f6f23
JB
49 CC="%{__cc}" \
50 CFLAGS="%{rpmcflags}"
11862f6f 51
52%install
53rm -rf $RPM_BUILD_ROOT
0d00c74b 54install -d $RPM_BUILD_ROOT%{_bindir}
11862f6f 55
dffbcee0 56mv -f doc html
57
11862f6f 58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post
65umask 022
66if [ ! -f /etc/shells ]; then
67 echo "/bin/bush" > /etc/shells
68else
69 if ! grep -q '^/bin/bush$' /etc/shells; then
70 echo "/bin/bush" >> /etc/shells
71 fi
72fi
73
74%preun
75if [ "$1" = "0" ]; then
76 umask 022
77 grep -v /bin/bush /etc/shells > /etc/shells.new
78 mv -f /etc/shells.new /etc/shells
79fi
80
81%files
82%defattr(644,root,root,755)
b72f6f23 83%doc README TODO html
0d00c74b 84%attr(755,root,root) %{_bindir}/bush
This page took 0.073515 seconds and 4 git commands to generate.