781 lines
38 KiB
RPMSpec
781 lines
38 KiB
RPMSpec
|
%define javahome %{_jvmdir}/jdk
|
||
|
Name: apache-geronimo-1.2-specs
|
||
|
Version: 1.2
|
||
|
Release: 5mamba
|
||
|
Summary: Geronimo J2EE server J2EE specifications
|
||
|
Group: Development/Libraries/Java
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://geronimo.apache.org/
|
||
|
Source0: geronimo-specs-1.2-src-svn.tar.gz
|
||
|
Source1: apache-ws-scout-1.0-settings.xml
|
||
|
Source2: apache-geronimo-1.2-specs-specs-1.1.1.pom
|
||
|
# source generate by mojo-idlj-maven-plugin
|
||
|
Source3: geronimo-spec-corba-org-generatedsource.tar.gz
|
||
|
Source4: geronimo-spec-corba-2.3-org-generatedsource.tar.gz
|
||
|
Source5: geronimo-spec-corba-3.0-org-generatedsource.tar.gz
|
||
|
# JASPI bundle manifest
|
||
|
Source6: geronimo-jaspi_1.0-MANIFEST.MF
|
||
|
# *build.xml files & *.properties
|
||
|
Source7: apache-geronimo-1.2-specs-autogeneratedfiles.tar.gz
|
||
|
# need for test
|
||
|
Source8: mockobjects-jdk1.4-j2ee1.3-0.09.jar
|
||
|
|
||
|
Patch0: apache-geronimo-1.2-specs-1.2-pom_xml.patch
|
||
|
Patch1: apache-geronimo-1.2-specs-1.2-jta_1.0.1B-pom_xml.patch
|
||
|
Patch2: apache-geronimo-1.2-specs-1.2-j2ee-connector_1.5-pom_xml.patch
|
||
|
Patch3: apache-geronimo-1.2-specs-1.2-servlet_2.4-pom_xml.patch
|
||
|
#Patch4: apache-geronimo-1.2-specs-1.2-j2ee-pom_xml.patch
|
||
|
Patch4: apache-geronimo-1.2-specs-1.2-j2ee-1.4-pom_xml.patch
|
||
|
Patch5: apache-geronimo-1.2-specs-1.2-corba-2.3-pom_xml.patch
|
||
|
Patch6: apache-geronimo-1.2-specs-1.2-commonj-pom_xml.patch
|
||
|
Patch7: apache-geronimo-1.2-specs-1.2-corba.patch
|
||
|
# with ant some test fails
|
||
|
Patch8: apache-geronimo-1.2-specs-1.2-activation_1.0.2-maven-build_xml.patch
|
||
|
Patch9: apache-geronimo-1.2-specs-1.2-activation_1.1-maven-build_xml.patch
|
||
|
Patch10: apache-geronimo-1.2-specs-1.2-javamail_1.3.1-maven-build_xml.patch
|
||
|
Patch11: apache-geronimo-1.2-specs-1.2-javamail_1.4-maven-build_xml.patch
|
||
|
License: Apache Software License 2.0
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: apache-ant
|
||
|
#BuildRequires: apache-tomcat5-servletapi5
|
||
|
#BuildRequires: apache-ws-scout
|
||
|
#BuildRequires: java-excalibur-avalon-framework-api
|
||
|
#BuildRequires: java-excalibur-avalon-framework-impl
|
||
|
#BuildRequires: java-excalibur-avalon-logkit
|
||
|
#BuildRequires: java-jmock1
|
||
|
#BuildRequires: java-junit3
|
||
|
#BuildRequires: java-mockobjects
|
||
|
BuildRequires: java-mx4j
|
||
|
#BuildRequires: java-wsdl4j
|
||
|
BuildRequires: jpackage-utils
|
||
|
|
||
|
%description
|
||
|
Geronimo is Apache's ASF-licenced J2EE server project.
|
||
|
These are the J2EE-Specifications
|
||
|
|
||
|
%package javadoc
|
||
|
Group: Documentation
|
||
|
Summary: Compatibility package for %{name}
|
||
|
|
||
|
%description javadoc
|
||
|
Geronimo is Apache's ASF-licenced J2EE server project.
|
||
|
These are the J2EE-Specifications
|
||
|
|
||
|
This package contains javadoc for %{name}.
|
||
|
|
||
|
%package -n apache-geronimo-1.2-j2ee-1.4-api
|
||
|
Group: Development/Libraries/Java
|
||
|
Summary: J2EE v1.4 APIs
|
||
|
|
||
|
%description -n apache-geronimo-1.2-j2ee-1.4-api
|
||
|
Geronimo is Apache's ASF-licenced J2EE server project.
|
||
|
|
||
|
This package contains J2EE Specification (the complete set in one jar)
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q -n geronimo-specs-1.2
|
||
|
|
||
|
chmod -R go=u-w *
|
||
|
|
||
|
mkdir etc
|
||
|
cp LICENSE.txt etc
|
||
|
|
||
|
for j in $(find . -name "*.jar"); do
|
||
|
mv $j ${j}.no
|
||
|
done
|
||
|
|
||
|
%patch0
|
||
|
%patch1
|
||
|
%patch2
|
||
|
%patch3
|
||
|
%patch4
|
||
|
%patch5
|
||
|
%patch6
|
||
|
%patch7 -p1
|
||
|
|
||
|
tar -C geronimo-spec-corba/src/main/java -xf %{SOURCE3}
|
||
|
tar -C geronimo-spec-corba-2.3/src/main/java -xf %{SOURCE4}
|
||
|
tar -C geronimo-spec-corba-3.0/src/main/java -xf %{SOURCE5}
|
||
|
mkdir -p geronimo-jaspi_1.0_spec/target/classes/META-INF/
|
||
|
cp %{SOURCE6} geronimo-jaspi_1.0_spec/target/classes/META-INF/MANIFEST.MF
|
||
|
tar -xf %{SOURCE7}
|
||
|
|
||
|
%patch8
|
||
|
%patch9
|
||
|
%patch10
|
||
|
%patch11
|
||
|
|
||
|
%build
|
||
|
unset JAVA_HOME
|
||
|
export JAVA_HOME=%{javahome}
|
||
|
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/junit/junit/3.8.1
|
||
|
ln -sf $(build-classpath junit-3.8.2) $MAVEN_REPO_LOCAL/junit/junit/3.8.1/junit-3.8.1.jar
|
||
|
|
||
|
for d in \
|
||
|
geronimo-spec-commonj \
|
||
|
geronimo-activation_1.0.2_spec-1.2 \
|
||
|
geronimo-activation_1.1_spec-1.0 \
|
||
|
geronimo-el_1.0_spec-1.0 \
|
||
|
geronimo-interceptor_3.0_spec-1.0 \
|
||
|
geronimo-j2ee-deployment_1.1_spec-1.1 \
|
||
|
geronimo-jaspi_1.0_spec \
|
||
|
geronimo-jpa_3.0_spec-1.1.0 \
|
||
|
geronimo-jta_1.0.1B_spec-1.1.1 \
|
||
|
geronimo-jta_1.1_spec-1.1.0 \
|
||
|
geronimo-javaee-deployment_1.1MR3_spec-1.0 \
|
||
|
geronimo-servlet_2.4_spec-1.1.1 \
|
||
|
geronimo-servlet_2.5_spec-1.1 \
|
||
|
geronimo-ws-metadata_2.0_spec-1.1.1 ; do
|
||
|
pushd $d
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
done
|
||
|
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.1
|
||
|
cp geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.1/geronimo-jta_1.0.1B_spec-1.1.jar
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.0
|
||
|
cp geronimo-jta_1.1_spec-1.1.0/target/geronimo-jta_1.1_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.0/geronimo-jta_1.1_spec-1.0.jar
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-interceptor_3.0_spec/1.0
|
||
|
cp geronimo-interceptor_3.0_spec-1.0/target/geronimo-interceptor_3.0_spec-1.0.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-interceptor_3.0_spec/1.0/
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-activation_1.0.2_spec/1.2
|
||
|
cp geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-activation_1.0.2_spec/1.2/
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0
|
||
|
cp geronimo-activation_1.1_spec-1.0/target/geronimo-activation_1.1_spec-1.0.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0/
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-el_1.0_spec/1.0
|
||
|
cp geronimo-el_1.0_spec-1.0/target/geronimo-el_1.0_spec-1.0.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-el_1.0_spec/1.0/
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1
|
||
|
cp geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1/geronimo-servlet_2.4_spec-1.1.jar
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1
|
||
|
cp geronimo-servlet_2.5_spec-1.1/target/geronimo-servlet_2.5_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1/
|
||
|
|
||
|
pushd geronimo-annotation_1.0_spec-1.1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0
|
||
|
cp target/geronimo-annotation_1.0_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo-annotation_1.0_spec-1.0.jar
|
||
|
popd
|
||
|
pushd geronimo-ejb_2.1_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-jta_1.1_spec-1.1.0/target/geronimo-jta_1.1_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-ejb_2.1_spec/1.1
|
||
|
cp target/geronimo-ejb_2.1_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-ejb_2.1_spec/1.1/
|
||
|
popd
|
||
|
pushd geronimo-ejb_3.0_spec-1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-jta_1.1_spec-1.1.0/target/geronimo-jta_1.1_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-interceptor_3.0_spec-1.0/target/geronimo-interceptor_3.0_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-annotation_1.0_spec-1.1.0/target/geronimo-annotation_1.0_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0
|
||
|
cp target/geronimo-ejb_3.0_spec-1.0.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0/geronimo-ejb_3.0_spec-1.0.jar
|
||
|
popd
|
||
|
|
||
|
for d in geronimo-spec-corba* ; do
|
||
|
# jacorb
|
||
|
pushd $d
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework jmock1)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
done
|
||
|
pushd geronimo-javamail_1.3.1_spec-1.3
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-javamail_1.4_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-activation_1.1_spec-1.0/target/geronimo-activation_1.1_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-jsp_2.0_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework servletapi5)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-jsp_2.1_spec-1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework servletapi5)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-servlet_2.5_spec-1.1/target/geronimo-servlet_2.5_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-el_1.0_spec-1.0/target/geronimo-el_1.0_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-j2ee-connector_1.5_spec-1.1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-j2ee-jacc_1.0_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-jacc_1.1_spec-1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework servletapi5)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-servlet_2.5_spec-1.1/target/geronimo-servlet_2.5_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-j2ee-management_1.0_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework mx4j/mx4j-jmx)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-ejb_2.1_spec-1.1/target/geronimo-ejb_2.1_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-j2ee-management_1.1_spec-1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework mx4j/mx4j-jmx)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-ejb_3.0_spec-1.0/target/geronimo-ejb_3.0_spec-1.0.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/scout/scout/0.5
|
||
|
ln -sf $(build-classpath ws-scout/ws-scout) $MAVEN_REPO_LOCAL/scout/scout/0.5/scout-0.5.jar
|
||
|
pushd geronimo-jaxr_1.0_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework ws-scout/ws-scout)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/mockobjects/mockobjects-core/0.09
|
||
|
ln -sf $(build-classpath mockobjects-core) $MAVEN_REPO_LOCAL/mockobjects/mockobjects-core/0.09/mockobjects-core-0.09.jar
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/mockobjects/mockobjects-jdk1.4-j2ee1.3/0.09
|
||
|
cp %{SOURCE8} $MAVEN_REPO_LOCAL/mockobjects/mockobjects-jdk1.4-j2ee1.3/0.09/
|
||
|
pushd geronimo-jms_1.1_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath mockobjects-core junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-qname_1.1_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath wsdl4j)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-qname_1.1_spec/1.1
|
||
|
cp target/geronimo-qname_1.1_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-qname_1.1_spec/1.1/
|
||
|
popd
|
||
|
pushd geronimo-saaj_1.1_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath axis/saaj)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
mkdir -p $MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-saaj_1.1_spec/1.1
|
||
|
cp target/geronimo-saaj_1.1_spec-1.1.jar \
|
||
|
$MAVEN_REPO_LOCAL/org/apache/geronimo/specs/geronimo-saaj_1.1_spec/1.1/
|
||
|
popd
|
||
|
pushd geronimo-jaxrpc_1.1_spec-1.1
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-saaj_1.1_spec-1.1/target/geronimo-saaj_1.1_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:../geronimo-qname_1.1_spec-1.1/target/geronimo-qname_1.1_spec-1.1.jar
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath axis/jaxrpc servletapi5 junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
pushd geronimo-stax-api_1.0_spec-1.0
|
||
|
export CLASSPATH=""
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath excalibur/avalon-logkit excalibur/avalon-framework)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath bea-stax-api bea-stax-ri)
|
||
|
CLASSPATH=$CLASSPATH:$(build-classpath junit-3.8.2):target/classes:target/test-classes
|
||
|
ant \
|
||
|
-Duser.home=$PWD \
|
||
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
|
||
|
-Dmaven.settings.offline=true \
|
||
|
-Dmaven.settings.interactiveMode=false \
|
||
|
jar javadoc
|
||
|
popd
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
mkdir -p %{buildroot}%{_javadir}/geronimo
|
||
|
|
||
|
mkdir j2eetemp
|
||
|
mkdir -p geronimo-spec-j2ee/target
|
||
|
pushd j2eetemp
|
||
|
%javahome/bin/jar xf ../geronimo-j2ee-connector_1.5_spec-1.1.1/target/geronimo-j2ee-connector_1.5_spec-1.1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-j2ee-jacc_1.0_spec-1.1/target/geronimo-j2ee-jacc_1.0_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-j2ee-management_1.0_spec-1.1/target/geronimo-j2ee-management_1.0_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-ejb_2.1_spec-1.1/target/geronimo-ejb_2.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-jsp_2.0_spec-1.1/target/geronimo-jsp_2.0_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-qname_1.1_spec-1.1/target/geronimo-qname_1.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-j2ee-deployment_1.1_spec-1.1/target/geronimo-j2ee-deployment_1.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar
|
||
|
%javahome/bin/jar xf ../geronimo-saaj_1.1_spec-1.1/target/geronimo-saaj_1.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-jaxr_1.0_spec-1.1/target/geronimo-jaxr_1.0_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-jaxrpc_1.1_spec-1.1/target/geronimo-jaxrpc_1.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-spec-corba-2.3/target/geronimo-corba_2.3_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-jms_1.1_spec-1.1/target/geronimo-jms_1.1_spec-1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar
|
||
|
%javahome/bin/jar xf ../geronimo-javamail_1.3.1_spec-1.3/target/geronimo-javamail_1.3.1_spec-1.3.jar
|
||
|
%javahome/bin/jar xf ../geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-1.0.jar
|
||
|
rm -rf META-INF
|
||
|
%javahome/bin/jar cf ../geronimo-spec-j2ee/target/geronimo-j2ee_1.4_spec-1.2.jar *
|
||
|
popd
|
||
|
rm -rf j2eetemp
|
||
|
|
||
|
for d in geronimo* ; do
|
||
|
if [ -d $d/target ] ; then
|
||
|
pushd $d/target
|
||
|
for jar in *.jar; do
|
||
|
base=`basename $jar .jar`
|
||
|
base_jar=$(echo $(echo $(echo $(echo $base | sed 's:geronimo-::')| sed 's:spec:api:')| tr _ -)| sed 's:-SNAPSHOT::')
|
||
|
install -pm 644 $jar %{buildroot}%{_javadir}/geronimo/$base_jar.jar
|
||
|
if [ -d site/apidocs ] ; then
|
||
|
mkdir -p %{buildroot}%{_javadocdir}/geronimo/$base_jar
|
||
|
cp -pr site/apidocs/* %{buildroot}%{_javadocdir}/geronimo/$base_jar
|
||
|
fi
|
||
|
done
|
||
|
popd
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
rm -rf %{buildroot}%{_javadir}/geronimo/api-corba-1.0.jar
|
||
|
rm -rf %{buildroot}%{_javadocdir}/geronimo/api-corba-1.0
|
||
|
install -pm 644 geronimo-spec-corba/target/geronimo-spec-corba-1.0.jar %{buildroot}%{_javadir}/geronimo/corba-1.0-api-1.0.jar
|
||
|
mkdir -p %{buildroot}%{_javadocdir}/geronimo/corba-1.0-api-1.0
|
||
|
cp -pr geronimo-spec-corba/target/site/apidocs/* %{buildroot}%{_javadocdir}/geronimo/corba-1.0-api-1.0
|
||
|
|
||
|
(
|
||
|
cd %{buildroot}%{_javadir}/geronimo
|
||
|
ln -sf activation-1.0.2-api-1.2.jar %{buildroot}%{_javadir}/geronimo/activation-1.0.2-api.jar
|
||
|
ln -sf activation-1.1-api-1.0.jar %{buildroot}%{_javadir}/geronimo/activation-1.1-api.jar
|
||
|
ln -sf annotation-1.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/annotation-1.0-api.jar
|
||
|
ln -sf commonj-1.1-api-1.0.jar %{buildroot}%{_javadir}/geronimo/commonj-1.1-api.jar
|
||
|
ln -sf corba-1.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/corba-1.0-api.jar
|
||
|
ln -sf corba-2.3-api-1.1.jar %{buildroot}%{_javadir}/geronimo/corba-2.3-api.jar
|
||
|
ln -sf corba-3.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/corba-3.0-api.jar
|
||
|
ln -sf ejb-2.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/ejb-2.1-api.jar
|
||
|
ln -sf ejb-3.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/ejb-3.0-api.jar
|
||
|
ln -sf el-1.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/el-1.0-api.jar
|
||
|
ln -sf interceptor-3.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/interceptor-3.0-api.jar
|
||
|
ln -sf j2ee-connector-1.5-api-1.1.1.jar %{buildroot}%{_javadir}/geronimo/j2ee-connector-1.5-api.jar
|
||
|
ln -sf j2ee-deployment-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/j2ee-deployment-1.1-api.jar
|
||
|
ln -sf j2ee-jacc-1.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/j2ee-jacc-1.0-api.jar
|
||
|
ln -sf j2ee-management-1.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/j2ee-management-1.0-api.jar
|
||
|
ln -sf j2ee-management-1.1-api-1.0.jar %{buildroot}%{_javadir}/geronimo/j2ee-management-1.1-api.jar
|
||
|
ln -sf jacc-1.1-api-1.0.jar %{buildroot}%{_javadir}/geronimo/jacc-1.1-api.jar
|
||
|
ln -sf jaspi-1.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/jaspi-1.0-api.jar
|
||
|
ln -sf javaee-deployment-1.1MR3-api-1.0.jar %{buildroot}%{_javadir}/geronimo/javaee-deployment-1.1MR3-api.jar
|
||
|
ln -sf javamail-1.3.1-api-1.3.jar %{buildroot}%{_javadir}/geronimo/javamail-1.3.1-api.jar
|
||
|
ln -sf javamail-1.4-api-1.1.jar %{buildroot}%{_javadir}/geronimo/javamail-1.4-api.jar
|
||
|
ln -sf jaxr-1.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jaxr-1.0-api.jar
|
||
|
ln -sf jaxrpc-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jaxrpc-1.1-api.jar
|
||
|
ln -sf jms-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jms-1.1-api.jar
|
||
|
ln -sf jpa-3.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jpa-3.0-api.jar
|
||
|
ln -sf jsp-2.0-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jsp-2.0-api.jar
|
||
|
ln -sf jsp-2.1-api-1.0.jar %{buildroot}%{_javadir}/geronimo/jsp-2.1-api.jar
|
||
|
ln -sf jta-1.0.1B-api-1.1.1.jar %{buildroot}%{_javadir}/geronimo/jta-1.0.1B-api.jar
|
||
|
ln -sf jta-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/jta-1.1-api.jar
|
||
|
ln -sf qname-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/qname-1.1-api.jar
|
||
|
ln -sf saaj-1.1-api-1.1.jar %{buildroot}%{_javadir}/geronimo/saaj-1.1-api.jar
|
||
|
ln -sf servlet-2.4-api-1.1.1.jar %{buildroot}%{_javadir}/geronimo/servlet-2.4-api.jar
|
||
|
ln -sf servlet-2.5-api-1.1.jar %{buildroot}%{_javadir}/geronimo/servlet-2.5-api.jar
|
||
|
ln -sf stax-api-1.0-api-1.0.jar %{buildroot}%{_javadir}/geronimo/stax-api-1.0-api.jar
|
||
|
ln -sf ws-metadata-2.0-api-1.1.1.jar %{buildroot}%{_javadir}/geronimo/ws-metadata-2.0-api.jar
|
||
|
ln -sf j2ee-1.4-api-1.2.jar %{buildroot}%{_javadir}/geronimo/j2ee-1.4-api.jar
|
||
|
)
|
||
|
|
||
|
mkdir -p %{buildroot}%{_datadir}/maven2/poms
|
||
|
|
||
|
install -m 644 pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-specs.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs specs %{version} JPP/geronimo specs
|
||
|
|
||
|
install -m 644 geronimo-activation_1.0.2_spec-1.2/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-activation-1.0.2-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-activation_1.0.2_spec %{version} JPP/geronimo activation-1.0.2-api
|
||
|
|
||
|
install -m 644 geronimo-activation_1.1_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-activation-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-activation_1.1_spec 1.0 JPP/geronimo activation-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-annotation_1.0_spec-1.1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-annotation-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-annotation_1.0_spec 1.1 JPP/geronimo annotation-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-ejb_2.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-ejb-2.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-ejb_2.1_spec 1.1 JPP/geronimo ejb-2.1-api
|
||
|
|
||
|
install -m 644 geronimo-ejb_3.0_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-ejb-3.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-ejb_3.0_spec 1.0 JPP/geronimo ejb-3.0-api
|
||
|
|
||
|
install -m 644 geronimo-el_1.0_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-el-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-el_1.0_spec 1.0 JPP/geronimo el-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-interceptor_3.0_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-interceptor-3.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-interceptor_3.0_spec 1.0 JPP/geronimo interceptor-3.0-api
|
||
|
|
||
|
install -m 644 geronimo-j2ee-connector_1.5_spec-1.1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-connector-1.5-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-connector_1.5_spec 1.1.1 JPP/geronimo j2ee-connector-1.5-api
|
||
|
|
||
|
install -m 644 geronimo-j2ee-deployment_1.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-deployment-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-deployment_1.1_spec 1.1 JPP/geronimo j2ee-deployment-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-j2ee-jacc_1.0_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-jacc-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-jacc_1.0_spec 1.1 JPP/geronimo j2ee-jacc-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-j2ee-management_1.0_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-management-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-management_1.0_spec 1.1 JPP/geronimo j2ee-management-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-j2ee-management_1.1_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-management-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec 1.0 JPP/geronimo j2ee-management-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-jacc_1.1_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jacc-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jacc_1.1_spec 1.0 JPP/geronimo jacc-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-jaspi_1.0_spec/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jaspi-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jaspi_1.0_spec 1.0-SNAPSHOT JPP/geronimo jaspi-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-javaee-deployment_1.1MR3_spec-1.0/pom.xml \
|
||
|
%{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-javaee-deployment-1.1MR3.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-javaee-deployment_1.1MR3_spec 1.0 JPP/geronimo javaee-deployment-1.1MR3-api
|
||
|
|
||
|
install -m 644 geronimo-javamail_1.3.1_spec-1.3/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-javamail-1.3.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-javamail_1.3.1_spec 1.3 JPP/geronimo javamail-1.3.1-api
|
||
|
|
||
|
install -m 644 geronimo-javamail_1.4_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-javamail-1.4-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-javamail_1.4_spec 1.1 JPP/geronimo javamail-1.4-api
|
||
|
|
||
|
install -m 644 geronimo-jaxr_1.0_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jaxr-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jaxr_1.0_spec 1.1 JPP/geronimo jaxr-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-jaxrpc_1.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jaxrpc-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jaxrpc_1.1_spec 1.1 JPP/geronimo jaxrpc-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-jms_1.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jms-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jms_1.1_spec 1.1 JPP/geronimo jms-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-jpa_3.0_spec-1.1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jpa-3.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jpa_3.0_spec 1.1 JPP/geronimo jpa-3.0-api
|
||
|
|
||
|
install -m 644 geronimo-jsp_2.0_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jsp-2.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jsp_2.0_spec 1.1 JPP/geronimo jsp-2.0-api
|
||
|
|
||
|
install -m 644 geronimo-jsp_2.1_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jsp-2.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jsp_2.1_spec 1.0 JPP/geronimo jsp-2.1-api
|
||
|
|
||
|
install -m 644 geronimo-jta_1.0.1B_spec-1.1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jta-1.0.1B-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jta_1.0.1B_spec 1.1.1 JPP/geronimo jta-1.0.1B-api
|
||
|
|
||
|
install -m 644 geronimo-jta_1.1_spec-1.1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-jta-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-jta_1.1_spec 1.1 JPP/geronimo jta-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-qname_1.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-qname-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-qname_1.1_spec 1.1 JPP/geronimo qname-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-saaj_1.1_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-saaj-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-saaj_1.1_spec 1.1 JPP/geronimo saaj-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-servlet_2.4_spec-1.1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-servlet-2.4-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-servlet_2.4_spec 1.1.1 JPP/geronimo servlet-2.4-api
|
||
|
|
||
|
install -m 644 geronimo-servlet_2.5_spec-1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-servlet-2.5-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-servlet_2.5_spec 1.1 JPP/geronimo servlet-2.5-api
|
||
|
|
||
|
install -m 644 geronimo-spec-commonj/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-commonj-1.1-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-commonj_1.1_spec 1.0 JPP/geronimo commonj-1.1-api
|
||
|
|
||
|
install -m 644 geronimo-spec-corba/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-corba-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-spec-corba 1.0 JPP/geronimo corba-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-spec-corba-2.3/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-corba-2.3-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-corba_2.3_spec 1.1 JPP/geronimo corba-2.3-api
|
||
|
|
||
|
install -m 644 geronimo-spec-corba-3.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-corba-3.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-corba_3.0_spec 1.1 JPP/geronimo corba-3.0-api
|
||
|
|
||
|
install -m 644 geronimo-stax-api_1.0_spec-1.0/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-stax-api-1.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-stax-api_1.0_spec 1.0 JPP/geronimo stax-api-1.0-api
|
||
|
|
||
|
install -m 644 geronimo-ws-metadata_2.0_spec-1.1.1/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-ws-metadata-2.0-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-ws-metadata_2.0_spec 1.1.1 JPP/geronimo ws-metadata-2.0-api
|
||
|
|
||
|
install -m 644 geronimo-spec-j2ee/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.geronimo-j2ee-1.4-api.pom
|
||
|
%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee_1.4_spec 1.2 JPP/geronimo j2ee-1.4-api
|
||
|
|
||
|
#aot-compile-rpm
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post
|
||
|
%update_maven_depmap
|
||
|
|
||
|
%postun
|
||
|
%update_maven_depmap
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_javadir}/geronimo/activation-1.0.2-api-1.2.jar
|
||
|
%{_javadir}/geronimo/activation-1.0.2-api.jar
|
||
|
%{_javadir}/geronimo/activation-1.1-api-1.0.jar
|
||
|
%{_javadir}/geronimo/activation-1.1-api.jar
|
||
|
%{_javadir}/geronimo/annotation-1.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/annotation-1.0-api.jar
|
||
|
%{_javadir}/geronimo/commonj-1.1-api-1.0.jar
|
||
|
%{_javadir}/geronimo/commonj-1.1-api.jar
|
||
|
%{_javadir}/geronimo/corba-1.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/corba-1.0-api.jar
|
||
|
%{_javadir}/geronimo/corba-2.3-api-1.1.jar
|
||
|
%{_javadir}/geronimo/corba-2.3-api.jar
|
||
|
%{_javadir}/geronimo/corba-3.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/corba-3.0-api.jar
|
||
|
%{_javadir}/geronimo/ejb-2.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/ejb-2.1-api.jar
|
||
|
%{_javadir}/geronimo/ejb-3.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/ejb-3.0-api.jar
|
||
|
%{_javadir}/geronimo/el-1.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/el-1.0-api.jar
|
||
|
%{_javadir}/geronimo/interceptor-3.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/interceptor-3.0-api.jar
|
||
|
%{_javadir}/geronimo/j2ee-connector-1.5-api-1.1.1.jar
|
||
|
%{_javadir}/geronimo/j2ee-connector-1.5-api.jar
|
||
|
%{_javadir}/geronimo/j2ee-deployment-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/j2ee-deployment-1.1-api.jar
|
||
|
%{_javadir}/geronimo/j2ee-jacc-1.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/j2ee-jacc-1.0-api.jar
|
||
|
%{_javadir}/geronimo/j2ee-management-1.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/j2ee-management-1.0-api.jar
|
||
|
%{_javadir}/geronimo/j2ee-management-1.1-api-1.0.jar
|
||
|
%{_javadir}/geronimo/j2ee-management-1.1-api.jar
|
||
|
%{_javadir}/geronimo/jacc-1.1-api-1.0.jar
|
||
|
%{_javadir}/geronimo/jacc-1.1-api.jar
|
||
|
%{_javadir}/geronimo/jaspi-1.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/jaspi-1.0-api.jar
|
||
|
%{_javadir}/geronimo/javaee-deployment-1.1MR3-api-1.0.jar
|
||
|
%{_javadir}/geronimo/javaee-deployment-1.1MR3-api.jar
|
||
|
%{_javadir}/geronimo/javamail-1.3.1-api-1.3.jar
|
||
|
%{_javadir}/geronimo/javamail-1.3.1-api.jar
|
||
|
%{_javadir}/geronimo/javamail-1.4-api-1.1.jar
|
||
|
%{_javadir}/geronimo/javamail-1.4-api.jar
|
||
|
%{_javadir}/geronimo/jaxr-1.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jaxr-1.0-api.jar
|
||
|
%{_javadir}/geronimo/jaxrpc-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jaxrpc-1.1-api.jar
|
||
|
%{_javadir}/geronimo/jms-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jms-1.1-api.jar
|
||
|
%{_javadir}/geronimo/jpa-3.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jpa-3.0-api.jar
|
||
|
%{_javadir}/geronimo/jsp-2.0-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jsp-2.0-api.jar
|
||
|
%{_javadir}/geronimo/jsp-2.1-api-1.0.jar
|
||
|
%{_javadir}/geronimo/jsp-2.1-api.jar
|
||
|
%{_javadir}/geronimo/jta-1.0.1B-api-1.1.1.jar
|
||
|
%{_javadir}/geronimo/jta-1.0.1B-api.jar
|
||
|
%{_javadir}/geronimo/jta-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/jta-1.1-api.jar
|
||
|
%{_javadir}/geronimo/qname-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/qname-1.1-api.jar
|
||
|
%{_javadir}/geronimo/saaj-1.1-api-1.1.jar
|
||
|
%{_javadir}/geronimo/saaj-1.1-api.jar
|
||
|
%{_javadir}/geronimo/servlet-2.4-api-1.1.1.jar
|
||
|
%{_javadir}/geronimo/servlet-2.4-api.jar
|
||
|
%{_javadir}/geronimo/servlet-2.5-api-1.1.jar
|
||
|
%{_javadir}/geronimo/servlet-2.5-api.jar
|
||
|
%{_javadir}/geronimo/stax-api-1.0-api-1.0.jar
|
||
|
%{_javadir}/geronimo/stax-api-1.0-api.jar
|
||
|
%{_javadir}/geronimo/ws-metadata-2.0-api-1.1.1.jar
|
||
|
%{_javadir}/geronimo/ws-metadata-2.0-api.jar
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-activation-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-annotation-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-commonj-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-corba-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-ejb-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-el-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-interceptor-3.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-j2ee-connector-1.5-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-j2ee-deployment-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-j2ee-jacc-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-j2ee-management-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jacc-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jaspi-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-javaee-deployment-1.1MR3.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-javamail-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jaxr-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jaxrpc-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jms-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jpa-3.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jsp-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-jta-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-qname-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-saaj-1.1-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-servlet-*.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-specs.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-stax-api-1.0-api.pom
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-ws-metadata-2.0-api.pom
|
||
|
%{_mavendepmapfragdir}
|
||
|
%doc LICENSE.txt NOTICE.txt README.txt
|
||
|
|
||
|
%files -n apache-geronimo-1.2-j2ee-1.4-api
|
||
|
%defattr(-,root,root)
|
||
|
%{_javadir}/geronimo/j2ee-1.4-api-1.2.jar
|
||
|
%{_javadir}/geronimo/j2ee-1.4-api.jar
|
||
|
%{_datadir}/maven2/poms/JPP.geronimo-j2ee-1.4-api.pom
|
||
|
|
||
|
%files javadoc
|
||
|
%defattr(-,root,root)
|
||
|
%{_javadocdir}/geronimo
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 17 2011 gil <puntogil@libero.it> 1.2-5mamba
|
||
|
- rebuilt with java-openjdk
|
||
|
|
||
|
* Wed May 19 2010 gil <puntogil@libero.it> 1.2-4mamba
|
||
|
- rebuilt with sun-java 6u20
|
||
|
|
||
|
* Tue Feb 16 2010 gil <puntogil@libero.it> 1.2-3mamba
|
||
|
- added maven poms
|
||
|
|
||
|
* Tue Jan 12 2010 gil <puntogil@libero.it> 1.2-2mamba
|
||
|
- edit spec file
|
||
|
- rebuilt with apache ant support
|
||
|
- new sub package: apache-geronimo-1.2-j2ee-1.4-api
|
||
|
|
||
|
* Thu Mar 19 2009 gil <puntogil@libero.it> 1.2-1mamba
|
||
|
- package created by autospec
|