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