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