2024-01-06 00:02:59 +01:00
|
|
|
Name: java-bsh
|
2024-01-06 00:03:00 +01:00
|
|
|
Version: 2.1.1
|
2024-01-06 00:02:59 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 00:02:59 +01:00
|
|
|
Summary: Lightweight Scripting for Java
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.beanshell.org/
|
2024-01-06 00:02:59 +01:00
|
|
|
Source0: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-%{version}.jar
|
|
|
|
Source1: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-bsf-%{version}.jar
|
|
|
|
Source2: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-classgen-%{version}.jar
|
|
|
|
Source3: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-classpath-%{version}.jar
|
|
|
|
Source4: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-commands-%{version}.jar
|
|
|
|
Source5: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-core-%{version}.jar
|
|
|
|
Source6: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-reflect-%{version}.jar
|
|
|
|
Source7: https://github.com/beanshell/beanshell/releases/download/%{version}/bsh-util-%{version}.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
License: LGPL, Sun Public License
|
2024-01-06 00:02:59 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
|
|
|
Provides: java-bsh2
|
|
|
|
Obsoletes: java-bsh2 <= 2.0b4
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
BeanShell is a small, free, embeddable, Java source interpreter with object scripting language features, written in Java. BeanShell executes standard Java statements and expressions, in addition to obvious scripting commands and syntax. BeanShell supports scripted objects as simple method closures like those in Perl and JavaScript(tm).
|
|
|
|
You can use BeanShell interactively for Java experimentation and debugging or as a simple scripting engine for your applications. In short: BeanShell is a dynamically interpreted Java, plus some useful stuff. Another way to describe it is to say that in many ways BeanShell is to Java as Tcl/Tk is to C: BeanShell is embeddable - You can call BeanShell from your Java applications to execute Java code dynamically at run-time or to provide scripting extensibility for your applications.
|
2024-01-06 00:02:59 +01:00
|
|
|
Alternatively, you can call your Java applications and objects from BeanShell; working with Java objects and APIs dynamically. Since BeanShell is written in Java and runs in the same space as your application, you can freely pass references to "real live" objects into scripts and return them as results.bsh.org.objectweb.asm.ClassWriter cannot be applied to
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%package bsf
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Summary: BSF support for %{name}
|
|
|
|
Provides: java-bsh2-bsf
|
|
|
|
Obsoletes: java-bsh2-bsf <= 2.0b4
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%description bsf
|
|
|
|
BeanShell - Lightweight Scripting for Java.
|
|
|
|
This package contains BSF support for %{name}.
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%package classgen
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Summary: ASM support for %{name}
|
|
|
|
Provides: java-classgen
|
|
|
|
Obsoletes: java-classgen <= 2.0b4
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%description classgen
|
|
|
|
BeanShell - Lightweight Scripting for Java.
|
|
|
|
This package contains ASM support for %{name}.
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:02:59 +01:00
|
|
|
%setup -q -c -D -T
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
install -D -m 644 %{SOURCE0} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE1} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-bsf-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE2} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-classgen-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE3} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-classpath-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE4} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-commands-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE5} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-core-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE6} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-reflect-%{version}.jar
|
|
|
|
install -m 644 %{SOURCE7} \
|
|
|
|
%{buildroot}%{_javadir}/bsh-util-%{version}.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
(
|
2024-01-06 00:02:59 +01:00
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}*; do
|
|
|
|
ln -sf ${jar} ${jar/-%{version}/}
|
|
|
|
done
|
2024-01-06 00:02:59 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/bsh-%{version}.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
%{_javadir}/bsh.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
%{_javadir}/bsh-classpath-%{version}.jar
|
|
|
|
%{_javadir}/bsh-classpath.jar
|
|
|
|
%{_javadir}/bsh-commands-%{version}.jar
|
|
|
|
%{_javadir}/bsh-commands.jar
|
|
|
|
%{_javadir}/bsh-core-%{version}.jar
|
|
|
|
%{_javadir}/bsh-core.jar
|
|
|
|
%{_javadir}/bsh-reflect-%{version}.jar
|
|
|
|
%{_javadir}/bsh-reflect.jar
|
|
|
|
%{_javadir}/bsh-util-%{version}.jar
|
|
|
|
%{_javadir}/bsh-util.jar
|
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%files bsf
|
2024-01-06 00:02:59 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:02:59 +01:00
|
|
|
%{_javadir}/bsh-bsf-%{version}.jar
|
|
|
|
%{_javadir}/bsh-bsf.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
%files classgen
|
2024-01-06 00:02:59 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:02:59 +01:00
|
|
|
%{_javadir}/bsh-classgen-%{version}.jar
|
|
|
|
%{_javadir}/bsh-classgen.jar
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:03:00 +01:00
|
|
|
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
* Wed Jun 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
* Sat Nov 27 2010 gil <puntogil@libero.it> 2.0b4-3mamba
|
|
|
|
- fix broken link in %{_datadir}/bsh2/bshservlet-wbsh
|
2024-01-06 00:02:59 +01:00
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
* Thu Nov 04 2010 gil <puntogil@libero.it> 2.0b4-2mamba
|
2024-01-06 00:02:59 +01:00
|
|
|
- rebuilt devel
|
|
|
|
|
2024-01-06 00:02:59 +01:00
|
|
|
* Tue Mar 17 2009 gil <puntogil@libero.it> 2.0b4-1mamba
|
|
|
|
- update to 2.0b4
|
|
|
|
- renamed java-bsh2
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
* Tue Mar 17 2009 gil <puntogil@libero.it> 1.3.0-3mamba
|
2024-01-06 00:02:59 +01:00
|
|
|
- add maven poms
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
* Fri Mar 13 2009 gil <puntogil@libero.it> 1.3.0-2mamba
|
2024-01-06 00:02:59 +01:00
|
|
|
- add sub package console
|
2024-01-06 00:02:59 +01:00
|
|
|
|
|
|
|
* Thu Mar 05 2009 gil <puntogil@libero.it> 1.3.0-1mamba
|
|
|
|
- package created by autospec
|