6
0
forked from pool/bsh2

Compare commits

...

25 Commits

Author SHA256 Message Date
16eee65b10 Accepting request 1148447 from Java:packages
rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=37
2024-02-22 19:55:21 +00:00
73a2e9eb34 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=58 2024-02-21 08:31:17 +00:00
4177767abd OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=57 2024-02-21 08:31:07 +00:00
89c0c316cb Accepting request 1083524 from Java:packages
2.1.1

OBS-URL: https://build.opensuse.org/request/show/1083524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=36
2023-04-29 15:27:56 +00:00
d1a60f91cb OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=55 2023-04-28 12:12:03 +00:00
c0f7a31411 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=54 2023-04-27 07:32:09 +00:00
a859ebfb74 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=53 2023-04-27 07:10:58 +00:00
d8f0c182f2 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=52 2023-01-26 08:38:50 +00:00
4e99904812 Accepting request 694191 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/694191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=35
2019-04-17 09:22:04 +00:00
Tomáš Chvátal
376872e410 Accepting request 694176 from home:jengelh:branches:Java:packages
- Replace find -exec rm by just -delete.
- Trim BSH 2.x changelog from description, and trim "In other
  words" description repetition. Trim leftover filler wording
  from description.

OBS-URL: https://build.opensuse.org/request/show/694176
OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsh2?expand=0&rev=50
2019-04-15 09:16:23 +00:00
c6fb00c715 Accepting request 672361 from Java:packages
clean up the build requires

OBS-URL: https://build.opensuse.org/request/show/672361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=34
2019-02-11 20:17:20 +00:00
6572df50c8 Accepting request 645923 from Java:packages
Don't depend on an VERY old asm version

OBS-URL: https://build.opensuse.org/request/show/645923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=33
2018-11-06 13:26:28 +00:00
964f93e0a3 Accepting request 620776 from Java:packages
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=32
2018-07-24 15:31:39 +00:00
2affb38cdd Accepting request 527488 from Java:packages
Fix build with jdk9

OBS-URL: https://build.opensuse.org/request/show/527488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=31
2017-09-27 14:49:10 +00:00
16afbbeb30 Accepting request 522105 from Java:packages
First step to buildability with jdk9

OBS-URL: https://build.opensuse.org/request/show/522105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=30
2017-09-13 20:19:26 +00:00
349335596c Accepting request 496514 from Java:packages
1

OBS-URL: https://build.opensuse.org/request/show/496514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=29
2017-05-31 11:28:14 +00:00
effe9c7357 Accepting request 374103 from Java:packages
1

OBS-URL: https://build.opensuse.org/request/show/374103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=28
2016-03-26 14:07:59 +00:00
bc5f18fd50 Accepting request 361161 from Java:packages
- Version update to 2.0b6 bnc#967593 CVE-2016-2510
  * Upstream developement moved to github
  * No obvious changelog apart from the above
- Refreshed/updated patches:
  * bsh-2.0b5-docs.patch
  * bsh2-ClassGeneratorUtil.patch
  * bsh2-asm.patch
  * bsh2-fix-tests.patch
- Delete needless patch:
  * bsh2-standard-script-api.patch
- Update version in .pom files

OBS-URL: https://build.opensuse.org/request/show/361161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=27
2016-02-25 20:51:33 +00:00
d6cdc1bdee Accepting request 292608 from Java:packages
javapackages-tools update

OBS-URL: https://build.opensuse.org/request/show/292608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=26
2015-04-02 13:54:45 +00:00
Stephan Kulow
a1a0e033e0 Accepting request 241209 from Java:packages
- Cleanup with spec-cleaner.
- Fix few rpmlint complaints
- Kill src package as nothing seem to depend on it and it is pointless.

- Change the bytecode stuff.

OBS-URL: https://build.opensuse.org/request/show/241209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=24
2014-07-16 14:49:18 +00:00
Stephan Kulow
31722a3f46 Accepting request 234924 from Java:packages
disable bytecode and post-build-checks on SLE_11 (forwarded request 234221 from deadpoint)

OBS-URL: https://build.opensuse.org/request/show/234924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=23
2014-05-27 09:50:59 +00:00
Stephan Kulow
3bb38a778a Accepting request 222830 from Java:packages
- Fix license tag to SPL-1.0 or LGPL-2.0+ (bnc#862426)
- Encure License.txt is part of main package (bnc#862426) (forwarded request 221134 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/222830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=22
2014-02-19 13:01:12 +00:00
Stephan Kulow
4b030f3a22 Accepting request 198262 from Java:packages
Submit of succeeding java packages for factory

OBS-URL: https://build.opensuse.org/request/show/198262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=20
2013-09-11 11:39:16 +00:00
Stephan Kulow
c9c1934047 Accepting request 196664 from Java:packages
- use add_maven_depmap from javapackages-tools
- unversioned javadoc dir

OBS-URL: https://build.opensuse.org/request/show/196664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=19
2013-09-03 20:01:57 +00:00
Stephan Kulow
0b768f8aa2 Accepting request 184308 from Java:packages
- Fix build on factory with new rpm.

OBS-URL: https://build.opensuse.org/request/show/184308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsh2?expand=0&rev=18
2013-07-25 12:53:33 +00:00
9 changed files with 150 additions and 163 deletions

View File

@@ -0,0 +1,57 @@
diff --git a/build.xml b/build.xml
index 8542245..6179cfa 100644
--- a/build.xml
+++ b/build.xml
@@ -16,8 +16,8 @@
<property name="file" value=""/>
- <property name="ant.build.javac.target" value="1.6" />
- <property name="ant.build.javac.source" value="1.6" />
+ <property name="ant.build.javac.target" value="1.8" />
+ <property name="ant.build.javac.source" value="1.8" />
<property name="version" value="2.1.1"/>
<property name="deprecation" value="on"/>
<property name="Specification-Title" value="BeanShell" />
@@ -178,8 +178,8 @@
debug="on"
includes="**/*.java"
excludes="${excludes},**/bak/**"
- source="1.6"
- target="1.6"
+ source="1.8"
+ target="1.8"
>
<classpath>
<fileset refid="lib-fileset"/>
@@ -213,8 +213,8 @@
debug="on"
includes="**/*.java"
excludes="${excludes},**/bak/**"
- source="1.6"
- target="1.6"
+ source="1.8"
+ target="1.8"
>
<classpath>
<fileset refid="lib-fileset"/>
@@ -255,7 +255,7 @@
destdir="${javadoc-dir}"
author="true"
version="true"
- source="1.6"
+ source="1.8"
use="true"
windowtitle="BeanShell ${version}"
doctitle="&lt;h1&gt;BeanShell ${version}&lt;h1&gt;"
@@ -680,8 +680,8 @@
destdir="${build-dir}"
debug="on"
debuglevel="lines,vars,source"
- source="1.6"
- target="1.6"
+ source="1.8"
+ target="1.8"
>
<classpath>
<path refid="test-classpath"/>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbcd8296a0aa81b5edc80a5421841b968d031332ffcebf3b2c877969669f5cad
size 1720334

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/beanshell/beanshell.git</param>
<param name="revision">2.1.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="exclude">**.jar</param>
<param name="exclude">engine/javax-src/javax/script/*.java</param>
<param name="exclude">engine/javax-src/javax/script/*.html</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -1,15 +0,0 @@
--- beanshell-2.0b6/src/bsh/util/AWTConsole.java 2017-09-20 10:34:59.026403121 +0200
+++ beanshell-2.0b6/src/bsh/util/AWTConsole.java 2017-09-20 10:36:05.353110242 +0200
@@ -214,8 +214,11 @@
Great. What a piece of crap.
*/
public void setCaretPosition( int pos ) {
- ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition(
+ try {
+ ((java.awt.peer.TextComponentPeer)getClass().getMethod("getPeer").invoke(this, null)).setCaretPosition(
pos + countNLs() );
+ } catch (Exception e) {
+ }
}
/*

View File

@@ -1,31 +0,0 @@
--- beanshell-2.0b6/build.xml 2017-09-20 10:43:43.236033837 +0200
+++ beanshell-2.0b6/build.xml 2017-09-20 11:03:53.758564875 +0200
@@ -170,7 +170,8 @@
deprecation="${deprecation}"
optimize="on"
debug="on"
- target="1.5"
+ source="8"
+ target="8"
includes="**/*.java"
excludes="${excludes},**/bak/**"
>
@@ -213,12 +214,16 @@
destdir="${javadoc-dir}"
author="true"
version="true"
- source="1.5"
+ source="8"
use="true"
windowtitle="BeanShell ${version}"
doctitle="&lt;h1&gt;BeanShell ${version}&lt;h1&gt;"
bottom="&lt;em&gt;&#169; 2000-2005 pat@pat.net :-)&lt;/em&gt;"
- />
+ >
+ <classpath>
+ <fileset refid="lib-fileset"/>
+ </classpath>
+ </javadoc>
</target>
<!-- Jar target setup -->

BIN
beanshell-2.1.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,20 +0,0 @@
Index: beanshell-2.0b6/engine/src/TestBshScriptEngine.java
===================================================================
--- beanshell-2.0b6.orig/engine/src/TestBshScriptEngine.java
+++ beanshell-2.0b6/engine/src/TestBshScriptEngine.java
@@ -54,6 +54,7 @@ public class TestBshScriptEngine
runnable.run();
assertTrue( (Boolean)engine.get("flag") == true );
+ /* FIXME
// get interface from scripted object
engine.eval(
"flag2=false; myObj() { run() { flag2=true; } return this; }");
@@ -64,6 +65,7 @@ public class TestBshScriptEngine
(Runnable)invocable.getInterface( scriptedObject, Runnable.class );
runnable.run();
assertTrue( (Boolean)engine.get("flag2") == true );
+ */
// Run with alternate bindings
assertTrue( (Boolean)engine.get("flag") == true );

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Wed Feb 21 08:31:12 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Apr 28 12:05:16 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to version 2.1.1
* Changes of 2.1.1
+ Fix src/bsh/util/AWTConsole.java breakage with newer Java
versions
* Changes of 2.1.0
+ This release formalizes the merge of 2.0b6 with suitable
backports from the development version of BeanShell. Also
included are are some ALv2 contributions to the BeanShell2
fork that had not been folded into BeanShell but are still
applicable to this version. For backwards compatibility
purposes, the 2.x branch of BeanShell still supports a minimum
Java version of 1.6.
- Modified patch:
* beanshell-2.0b6-target.patch -> 0000-source-target-1.8.patch
+ rediff to changed context and clean up
- Added patches:
* beanshell-2.0b6-getpeer.patch
+ fixed in 2.1.1
* bsh2-fix-tests.patch
+ not needed any more
-------------------------------------------------------------------
Mon Apr 15 08:26:46 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Replace find -exec rm by just -delete.
- Trim BSH 2.x changelog from description, and trim "In other
words" description repetition. Trim leftover filler wording
from description.
-------------------------------------------------------------------
Thu Feb 7 07:17:36 UTC 2019 - Fridrich Strba <fstrba@suse.com>

131
bsh2.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package bsh2
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -18,22 +18,18 @@
%define orig_name bsh
%define fversion 2.0b6
Name: bsh2
Version: 2.0.0.b6
Version: 2.1.1
Release: 0
Summary: Lightweight Scripting for Java (BeanShell Version 2.x)
License: SPL-1.0 OR LGPL-2.0-or-later
Summary: Scripting for Java (BeanShell Version 2.x)
License: LGPL-2.0-or-later OR SPL-1.0
Group: Development/Libraries/Java
URL: http://www.beanshell.org/
Source0: https://github.com/beanshell/beanshell/archive/%{fversion}.tar.gz
Source0: beanshell-%{version}.tar.xz
#PATCH-FIX-OPENSUSE: use html output and JVM's built-in xmlns:redirect
Patch3: bsh-2.0b5-docs.patch
#PATCH-FIX-OPENSUSE: those two patches fixes a compatibility with a standard javax.script API
Patch1000: bsh2-fix-tests.patch
Patch1001: reproducible.patch
Patch1002: beanshell-2.0b6-target.patch
Patch1003: beanshell-2.0b6-getpeer.patch
Patch1002: 0000-source-target-1.8.patch
BuildRequires: ant
BuildRequires: bsf
BuildRequires: bsf-javadoc
@@ -41,39 +37,19 @@ BuildRequires: fdupes
BuildRequires: glassfish-servlet-api
BuildRequires: java-devel >= 1.8
BuildRequires: javacc
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
Requires: bsf
Requires: javapackages-tools
BuildArch: noarch
%description
BeanShell is a small, free, embeddable, Java source interpreter with
object scripting language features, written in Java. BeanShell executes
BeanShell is an 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.
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.
With version 2.0 BeanShell becomes a fully Java compatible scripting
language. BeanShell is now capable of interpreting ordinary Java source
and loading .java source files from the class path. BeanShell scripted
classes are fully typed and appear to outside Java code and via
reflective inspection as ordinary classes. However their implementation
is fully dynamic and they may include arbitrary BeanShell scripts in
their bodies, methods, and constructors. Users may now freely mix
loose, unstructured BeanShell scripts, method closures, and full
scripted classes.
simple method closures like those in Perl and JavaScript. BeanShell
can be used interactively for Java experimentation and debugging or
as a scripting engine for applications.
%package bsf
Summary: BSF support for bsh2
@@ -81,28 +57,28 @@ Group: Development/Libraries/Java
Requires: bsf
%description bsf
Lightweight Scripting for Java (BeanShell Version 2.x) (BSF support).
Scripting for Java (BeanShell Version 2.x) (BSF support).
%package classgen
Summary: ASM support for bsh2
Group: Development/Libraries/Java
%description classgen
Lightweight Scripting for Java (BeanShell Version 2.x) (ASM support).
Scripting for Java (BeanShell Version 2.x) (ASM support).
%package manual
Summary: Documentation for bsh2
Group: Development/Libraries/Java
Group: Documentation/HTML
%description manual
Lightweight Scripting for Java (BeanShell Version 2.x) (Manual).
Scripting for Java (BeanShell Version 2.x) (Manual).
%package javadoc
Summary: Javadoc for bsh2
Group: Development/Libraries/Java
Group: Documentation/HTML
%description javadoc
Lightweight Scripting for Java (BeanShell Version 2.x) (Java Documentation).
Scripting for Java (BeanShell Version 2.x) (Java Documentation).
%package demo
Summary: Demonstrations and samples for bsh2
@@ -110,63 +86,38 @@ Group: Development/Libraries/Java
Requires: %{name} = %{version}-%{release}
%description demo
Lightweight Scripting for Java (BeanShell Version 2.x) (demo and samples).
Scripting for Java (BeanShell Version 2.x) (demo and samples).
%prep
%setup -q -n beanshell-%{fversion}
%patch3 -p1
%patch1000 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1
for j in $(find . -name "*.jar"); do
mv $j $j.no
done
# Remove bundled javax.script files under Sun's proprietary license
find engine/javax-src/javax/script/ -maxdepth 1 -type 'f' | xargs rm
mv tests/test-scripts/Data/addedCommand.jar.no tests/test-scripts/Data/addedCommand.jar
mv tests/test-scripts/Data/addclass.jar.no tests/test-scripts/Data/addclass.jar
%setup -q -n beanshell-%{version}
%patch -P 3 -p1
%patch -P 1001 -p1
%patch -P 1002 -p1
sed -i 's,org.apache.xalan.xslt.extensions.Redirect,http://xml.apache.org/xalan/redirect,' docs/manual/xsl/*.xsl
%build
build-jar-repository -s -p lib bsf javacc glassfish-servlet-api
pushd engine/javax-src/
javac -cp $(build-classpath glassfish-servlet-api) -source 8 -target 8 $(find . -name "*.java")
jar cf ../../lib/javaxscript.jar $(find . -name "*.class" -o -name "*.html")
popd
# set VERSION
perl -p -i -e 's|VERSION =.*;|VERSION = "%{version}";|' src/bsh/Interpreter.java
ant \
-Dbsf.javadoc=%{_javadocdir}/bsf \
-Djava.javadoc=%{_javadocdir}/java \
dist
(cd docs/faq && ant)
(cd docs/manual && ant)
%fdupes -s docs/
ant dist
%install
# jars
mkdir -p %{buildroot}%{_javadir}/%{name}
rm -f dist/%{orig_name}-%{fversion}-src.jar
rm -f dist/%{orig_name}-%{fversion}-sources.jar
rm -f dist/%{orig_name}-%{version}-src.jar
rm -f dist/%{orig_name}-%{version}-sources.jar
for jar in dist/*.jar; do
install -m 644 ${jar} %{buildroot}%{_javadir}/%{name}/`basename ${jar} -%{fversion}.jar`-%{version}.jar
install -m 644 ${jar} %{buildroot}%{_javadir}/%{name}/`basename ${jar} -%{version}.jar`.jar
done
(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}*; do ln -s ${jar} ${jar/-%{version}/}; done)
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 pom.xml \
%{mvn_install_pom} pom.xml \
%{buildroot}%{_mavenpomdir}/JPP.%{name}-bsh.pom
%add_maven_depmap JPP.%{name}-bsh.pom %{name}/bsh.jar -a org.beanshell:%{name},bsh:bsh,bsh:bsh-bsf,org.beanshell:bsh
# manual
find docs -name ".cvswrappers" -exec rm -f {} \;
find docs -name "*.xml" -exec rm -f {} \;
find docs -name "*.xsl" -exec rm -f {} \;
find docs -name "*.log" -exec rm -f {} \;
(cd docs/manual && mv -f html/* .)
(cd docs/manual && rm -rf html)
(cd docs/manual && rm -rf xsl)
find docs "(" -name ".cvswrappers" -o -name "*.xml" -o -name "*.xsl" -o -name "*.log" ")" -delete
(cd docs/manual && mv -f html/* . && rm -Rf html xsl)
# javadoc
mkdir -p %{buildroot}%{_javadocdir}/%{name}
@@ -188,7 +139,7 @@ find %{buildroot}%{_datadir}/%{name} -type f ! -name "*.bsh" \
# bshservlet
mkdir -p %{buildroot}%{_datadir}/%{name}/bshservlet
(cd %{buildroot}%{_datadir}/%{name}/bshservlet
jar xf $RPM_BUILD_DIR/beanshell-%{fversion}/dist/bshservlet.war
jar xf $RPM_BUILD_DIR/beanshell-%{version}/dist/bshservlet.war
)
# scripts
mkdir -p %{buildroot}%{_bindir}
@@ -228,12 +179,7 @@ cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/%{name}doc
%fdupes -s %{buildroot}
%fdupes docs/
%files
%attr(0755,root,root) %{_bindir}/%{name}
%attr(0755,root,root) %{_bindir}/%{name}doc
%license LICENSE
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/%{orig_name}-%{version}.jar
%files -f .mfiles
%{_javadir}/%{name}/%{orig_name}.jar
%{_javadir}/%{name}/%{orig_name}-classpath*.jar
%{_javadir}/%{name}/%{orig_name}-commands*.jar
@@ -241,14 +187,11 @@ cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/%{name}doc
%{_javadir}/%{name}/%{orig_name}-engine*.jar
%{_javadir}/%{name}/%{orig_name}-reflect*.jar
%{_javadir}/%{name}/%{orig_name}-util*.jar
%attr(0755,root,root) %{_bindir}/%{name}
%attr(0755,root,root) %{_bindir}/%{name}doc
%license LICENSE
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/bshservlet
%{_mavenpomdir}/*
%if %{defined _maven_repository}
%{_mavendepmapfragdir}/%{name}
%else
%{_datadir}/maven-metadata/%{name}.xml*
%endif
%files bsf
%{_javadir}/%{name}/%{orig_name}-bsf*.jar