a720e4
Name:           bsf
a720e4
Version:        2.4.0
a720e4
Release:        43%{?dist}
a720e4
Summary:        Bean Scripting Framework
a720e4
License:        ASL 2.0
a720e4
URL:            http://commons.apache.org/bsf/
a720e4
BuildArch:      noarch
a720e4
a720e4
Source0:        http://apache.mirror.anlx.net//commons/%{name}/source/%{name}-src-%{version}.tar.gz
a720e4
Source1:        %{name}-pom.xml
a720e4
a720e4
Patch0:         build-file.patch
a720e4
Patch1:         build.properties.patch
a720e4
a720e4
BuildRequires:  javapackages-local
a720e4
BuildRequires:  ant
a720e4
BuildRequires:  apache-parent
a720e4
BuildRequires:  xalan-j2
a720e4
BuildRequires:  apache-commons-logging
a720e4
a720e4
%description
a720e4
Bean Scripting Framework (BSF) is a set of Java classes which provides
a720e4
scripting language support within Java applications, and access to Java
a720e4
objects and methods from scripting languages. BSF allows one to write
a720e4
JSPs in languages other than Java while providing access to the Java
a720e4
class library. In addition, BSF permits any Java application to be
a720e4
implemented in part (or dynamically extended) by a language that is
a720e4
embedded within it. This is achieved by providing an API that permits
a720e4
calling scripting language engines from within Java, as well as an
a720e4
object registry that exposes Java objects to these scripting language
a720e4
engines.
a720e4
a720e4
BSF supports several scripting languages currently:
a720e4
* Javascript (using Rhino ECMAScript, from the Mozilla project)
a720e4
* Python (using either Jython or JPython)
a720e4
* Tcl (using Jacl)
a720e4
* NetRexx (an extension of the IBM REXX scripting language in Java)
a720e4
* XSLT Stylesheets (as a component of Apache XML project's Xalan and
a720e4
Xerces)
a720e4
a720e4
In addition, the following languages are supported with their own BSF
a720e4
engines:
a720e4
* Java (using BeanShell, from the BeanShell project)
a720e4
* JRuby
a720e4
* JudoScript
a720e4
a720e4
%prep
a720e4
%setup -q
a720e4
%patch0 -p1
a720e4
%patch1 -p1
a720e4
find -name \*.jar -delete
a720e4
a720e4
%mvn_file : %{name}
a720e4
%mvn_alias : org.apache.bsf:
a720e4
a720e4
%build
a720e4
export CLASSPATH=$(build-classpath apache-commons-logging xalan-j2)
a720e4
ant -Dsource.level=1.6 jar
a720e4
a720e4
%mvn_artifact %{SOURCE1} build/lib/%{name}.jar
a720e4
a720e4
%install
a720e4
%mvn_install
a720e4
a720e4
%files -f .mfiles
a720e4
%license LICENSE.txt NOTICE.txt
a720e4
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
a720e4
a720e4
%changelog
a720e4
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.0-43
a720e4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
a720e4
  Related: rhbz#1991688
a720e4
a720e4
* Mon Jun 21 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-42
a720e4
- Remove dependency on rhino
a720e4
- Resolves: rhbz#1971743
a720e4
a720e4
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0:2.4.0-41
a720e4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
a720e4
a720e4
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-40
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a720e4
a720e4
* Fri Aug 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0:2.4.0-39
a720e4
- Re-enable JavaScript support (RHBZ#1858613).
a720e4
a720e4
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-38
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a720e4
a720e4
* Mon Jul 20 2020 Fabio Valentini <decathorpe@gmail.com> - 0:2.4.0-37
a720e4
- Adaptations for Java 11 compatibility.
a720e4
a720e4
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:2.4.0-36
a720e4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
a720e4
a720e4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-35
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a720e4
a720e4
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-32
a720e4
- Mass rebuild for javapackages-tools 201902
a720e4
a720e4
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-32
a720e4
- Mass rebuild for javapackages-tools 201902
a720e4
a720e4
* Wed Aug 14 2019 Fabio Valentini <decathorpe@gmail.com> - 0:2.4.0-34
a720e4
- Remove BuildRequires: rhino.
a720e4
a720e4
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-33
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a720e4
a720e4
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-31
a720e4
- Mass rebuild for javapackages-tools 201901
a720e4
a720e4
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-32
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a720e4
a720e4
* Mon Aug 20 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-31
a720e4
- Re-add bulid dependency on rhino
a720e4
a720e4
* Tue Jul 17 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-30
a720e4
- Remove bulid dependency on rhino
a720e4
a720e4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-29
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a720e4
a720e4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-28
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a720e4
a720e4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-27
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a720e4
a720e4
* Fri Feb 10 2017 Michael Simacek <msimacek@redhat.com> - 0:2.4.0-26
a720e4
- Add missing BR apache-parent
a720e4
a720e4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-25
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a720e4
a720e4
* Tue Jun 14 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-24
a720e4
- Cleanup package
a720e4
a720e4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.4.0-23
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a720e4
a720e4
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-22
a720e4
- Add build-requires on javapackages-local
a720e4
a720e4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-21
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a720e4
a720e4
* Thu May 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-20
a720e4
- Disable javadoc doclint
a720e4
a720e4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-19
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a720e4
a720e4
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-18
a720e4
- Use .mfiles generated during build
a720e4
- Update to current packaging guidelines
a720e4
a720e4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-17
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a720e4
a720e4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-16
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a720e4
a720e4
* Thu Nov 22 2012 Tomas Radej <tradej@redhat.com> - 0:2.4.0-15
a720e4
- Fixed URL of Source0
a720e4
a720e4
* Tue Nov 20 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4.0-14
a720e4
- Remove unneeded BR: jython
a720e4
a720e4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-13
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a720e4
a720e4
* Fri Mar 16 2012 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.0-12
a720e4
- Drop jsp/servlet api dependencies, leftovers from the past.
a720e4
a720e4
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-11
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a720e4
a720e4
* Fri Dec  2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.4.0-10
a720e4
- Fixes according to latest guidelines
a720e4
- Fix maven depmap
a720e4
a720e4
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.0-9
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a720e4
a720e4
* Tue Sep 21 2010 Orion Poplawski <orion@cora.nwra.com> - 0:2.4.0-8
a720e4
- Build against rhino for JavaScript support
a720e4
a720e4
* Mon Jun 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.4.0-7
a720e4
- Added pom file to enable maven dependency resolution
a720e4
- Fix Source0 URL
a720e4
- Fix Group designation
a720e4
a720e4
* Mon Jun  7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.4.0-6
a720e4
- Fix BR after jakarta-commons rename
a720e4
a720e4
* Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.0-5
a720e4
- Drop gcj support.
a720e4
- Build against servlet and jsp apis from tomcat6.
a720e4
a720e4
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 2.4.0-4
a720e4
- Fix License (ASL 2.0 and not 1.1) (rhbz#554465).
a720e4
a720e4
* Mon Sep 14 2009 Christoph Höger <choeger@cs.tu-berlin.de> - 0:2.4.0-3
a720e4
- Fix typo in Requires
a720e4
a720e4
* Wed Sep 09 2009 Christoph Höger <choeger@cs.tu-berlin.de> - 0:2.4.0-1
a720e4
- New Upstream release: 2.4.0
a720e4
- Add jython build dependency to include bsf-jython engine
a720e4
a720e4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3.0-15
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a720e4
a720e4
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3.0-14
a720e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a720e4
a720e4
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:2.3.0-13
a720e4
- drop repotag
a720e4
- fix license
a720e4
a720e4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:2.3.0-12jpp.2
a720e4
- Autorebuild for GCC 4.3
a720e4
a720e4
* Wed Mar 07 2007 Permaine Cheung <pcheung@redhat.com> 0:2.3.0-11jpp.2
a720e4
- Update spec file as per Fedora guidelines
a720e4
a720e4
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-11jpp.1
a720e4
- Added missing requirements.
a720e4
a720e4
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 0:2.3.0-10jpp_2fc
a720e4
- Rebuilt
a720e4
a720e4
* Fri Jul 21 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-10jpp_2fc
a720e4
- Removing vendor and distribution tags.
a720e4
a720e4
* Thu Jul 20 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-10jpp_1fc
a720e4
- Added conditional native compilation.
a720e4
- From gbenson@redhat:
a720e4
-   Build without Jython or Rhino for now.
a720e4
-   Build with servletapi5.
a720e4
-   Avoid Sun-specific classes.
a720e4
a720e4
* Wed Apr 26 2006 Fernando Nasser <fnasser@redhat.com>  0:2.3.0-9jpp
a720e4
- First JPP 1.7 build
a720e4
a720e4
* Wed Nov 3 2004 Nicolas Mailhot <nim@jpackage.org>  0:2.3.0-8jpp
a720e4
- Clean up specfile a bit
a720e4
a720e4
* Fri Aug 20 2004 Ralph Apel <r.apel at r-apel.de> 0:2.3.0-7jpp
a720e4
- Build with ant-1.6.2
a720e4
a720e4
* Thu Oct 09 2003 David Walluck <david@anti-microsoft.org> 0:2.3.0-6jpp
a720e4
- add javadoc symlinks
a720e4
- change Apache Software License to Apache License
a720e4
a720e4
* Tue Aug 26 2003 David Walluck <david@anti-microsoft.org> 0:2.3.0-5jpp
a720e4
- remove all Requires
a720e4
a720e4
* Fri Apr 12 2003 David Walluck <david@anti-microsoft.org> 0:2.3.0-4jpp
a720e4
- fix strange permissions
a720e4
a720e4
* Fri Apr 11 2003 David Walluck <david@anti-microsoft.org> 0:2.3.0-3jpp
a720e4
- rebuild for jpackage 1.5
a720e4
a720e4
* Wed Jan 22 2003 David Walluck <david@anti-microsoft.org> 2.3.0-2jpp
a720e4
- Requires/BuildRequires: xalan-j2
a720e4
- update %%description
a720e4
a720e4
* Mon Jan 13 2003 David Walluck <david@anti-microsoft.org> 2.3.0-1jpp
a720e4
- version 2.3.0 (first jakarta release)
a720e4
a720e4
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.2-5jpp
a720e4
- vendor, distribution, group tags
a720e4
- versioned dir for javadoc
a720e4
- section macro
a720e4
a720e4
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.2-4jpp
a720e4
- javadoc in javadoc package
a720e4
a720e4
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.2-3jpp
a720e4
- removed packager tag
a720e4
- new jpp extension
a720e4
- fixed url
a720e4
a720e4
* Sat Oct 6 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.2-2jpp
a720e4
- first unified release
a720e4
- used original tarball
a720e4
- s/jPackage/JPackage
a720e4
a720e4
* Thu Aug 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.2-1jpp
a720e4
- first Mandrake release