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