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