- Remove gpg-offline dep and cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsf?expand=0&rev=20
This commit is contained in:
parent
937fb5ba32
commit
385af01119
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 25 09:24:47 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove gpg-offline dep and cleanup with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 18 09:46:03 UTC 2015 - tchvatal@suse.com
|
Wed Mar 18 09:46:03 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
36
bsf.spec
36
bsf.spec
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
# icecream 0
|
|
||||||
|
|
||||||
|
|
||||||
Name: bsf
|
Name: bsf
|
||||||
@ -28,23 +27,19 @@ Source0: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{vers
|
|||||||
Source1: bsf-pom.xml
|
Source1: bsf-pom.xml
|
||||||
Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz.asc
|
Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz.asc
|
||||||
Source1001: bsf.keyring
|
Source1001: bsf.keyring
|
||||||
#Patch0: bsf-disable-rhino.patch
|
|
||||||
Patch0: build-file.patch
|
Patch0: build-file.patch
|
||||||
Patch1: build.properties.patch
|
Patch1: build.properties.patch
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: gpg-offline
|
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: jython
|
BuildRequires: jython
|
||||||
BuildRequires: rhino
|
BuildRequires: rhino
|
||||||
#!BuildIgnore: mysql-connector-java
|
#!BuildIgnore: mysql-connector-java
|
||||||
#BuildRequires: servletapi4
|
|
||||||
BuildRequires: xalan-j2
|
BuildRequires: xalan-j2
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bean Scripting Framework (BSF) is a set of Java classes that provides
|
Bean Scripting Framework (BSF) is a set of Java classes that provides
|
||||||
@ -60,23 +55,19 @@ engines.
|
|||||||
|
|
||||||
This BSF package currently supports several scripting languages: *
|
This BSF package currently supports several scripting languages: *
|
||||||
Javascript (using Rhino ECMAScript, from the Mozilla project)
|
Javascript (using Rhino ECMAScript, from the Mozilla project)
|
||||||
|
|
||||||
* XSLT Stylesheets (as a component of Apache XML project's Xalan and
|
* XSLT Stylesheets (as a component of Apache XML project's Xalan and
|
||||||
Xerces)
|
Xerces)
|
||||||
|
|
||||||
In addition, the following languages are supported with their own
|
In addition, the following languages are supported with their own
|
||||||
BSF engines: * Java (using BeanShell, from the BeanShell project)
|
BSF engines: * Java (using BeanShell, from the BeanShell project)
|
||||||
|
|
||||||
* JRuby
|
* JRuby
|
||||||
|
|
||||||
* JudoScript
|
* JudoScript
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
PreReq: coreutils
|
|
||||||
Summary: Javadoc for bsf
|
Summary: Javadoc for bsf
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
# FIXME: use proper Requires(pre/post/preun/...)
|
||||||
|
PreReq: coreutils
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
Bean Scripting Framework (BSF) is a set of Java classes which provides
|
Bean Scripting Framework (BSF) is a set of Java classes which provides
|
||||||
@ -93,14 +84,11 @@ engines.
|
|||||||
This package contains the javadoc documentation for the Bean Scripting
|
This package contains the javadoc documentation for the Bean Scripting
|
||||||
Framework.
|
Framework.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%gpg_verify %{SOURCE1000}
|
|
||||||
%setup -q
|
%setup -q
|
||||||
# remove all binary libs
|
# remove all binary libs
|
||||||
find . -name "*.jar" -exec %{__rm} -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
%{__rm} -fr bsf
|
rm -fr bsf
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -109,22 +97,22 @@ find . -name "*.jar" -exec %{__rm} -f {} \;
|
|||||||
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
|
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
|
||||||
export CLASSPATH=$(build-classpath apache-commons-logging rhino xalan-j2 jython servlet jspapi)
|
export CLASSPATH=$(build-classpath apache-commons-logging rhino xalan-j2 jython servlet jspapi)
|
||||||
ant jar
|
ant jar
|
||||||
%{__rm} -rf bsf/src/org/apache/bsf/engines/java
|
rm -rf bsf/src/org/apache/bsf/engines/java
|
||||||
ant javadocs
|
ant javadocs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
%{__install} -d -m 755 %{buildroot}%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
%{__install} -m 644 build/lib/%{name}.jar \
|
install -m 644 build/lib/%{name}.jar \
|
||||||
%{buildroot}%{_javadir}/%{name}.jar
|
%{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
# pom and depmap frag
|
# pom and depmap frag
|
||||||
%{__install} -DTm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
install -DTm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.bsf:%{name}"
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.bsf:%{name}"
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
%{__install} -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
%{__cp} -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user