]> git.pld-linux.org Git - packages/beanshell.git/blob - beanshell.spec
- I see no arch specific files here. noarch the package
[packages/beanshell.git] / beanshell.spec
1 #
2 # Conditional build:
3 %bcond_without  bsf     # without BSF support
4 #
5 Summary:        BeanShell - Lightweight Scripting for Java
6 Summary(pl):    BeanShell - lekkie skrypty dla Javy
7 Name:           beanshell
8 Version:        2.0
9 Release:        0.b2.1
10 License:        Sun Public License or LGPL
11 Group:          Development/Languages/Java
12 Source0:        http://www.beanshell.org/bsh-%{version}b2-src.jar
13 # Source0-md5:  f9c938446e5d97b74fd37f3bdbebf84a
14 Patch0:         %{name}-jdk1.5.patch
15 URL:            http://www.beanshell.org/
16 %{?with_bsf:BuildRequires:      bsf}
17 BuildRequires:  jakarta-ant >= 1.3
18 BuildRequires:  jdk >= 1.3
19 BuildRequires:  unzip
20 Requires:       jre >= 1.1
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 BeanShell is a small, free, embeddable Java source interpreter with
26 object scripting language features, written in Java. BeanShell
27 dynamically executes standard Java syntax and extends it with common
28 scripting conveniences such as loose types, commands, and method
29 closures like those in Perl and JavaScript.
30
31 %description -l pl
32 BeanShell to ma³y, darmowy, osadzalny interpreter kodu ¼ród³owego Javy
33 z cechami obiektowych jêzyków skryptowych, napisany w Javie. BeanShell
34 dynamicznie wykonuje standardow± sk³adniê Javy i rozszerza j± o
35 popularne wygodne elementy skryptowe, takie jak lu¼ne typy, polecenia
36 i dope³nienia metod podobnie jak Perl czy JavaScript.
37
38 %prep
39 %setup -q -c
40 %patch0 -p0
41
42 %build
43 cd BeanShell
44 ant jarall \
45         %{!?with_bsf:-Dexclude-bsf='bsh/util/BeanShellBSFEngine.java,TestBshBSF.java'}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_javadir}
50
51 cd BeanShell/dist
52 install bsh-*.jar $RPM_BUILD_ROOT%{_javadir}
53 ln -sf bsh-*.jar $RPM_BUILD_ROOT%{_javadir}/bsh.jar
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc BeanShell/{asm/README-asm.txt,bsf/README,docs/faq/faq.html,docs/images,docs/manual,src/{*.html,*.txt}}
61 %{_javadir}/*.jar
This page took 0.056385 seconds and 4 git commands to generate.