Blame SPECS/bsf.spec

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