repackaged using upstream binary jar [release 1.5.0-4mamba;Fri Aug 19 2022]
This commit is contained in:
parent
55915df0f6
commit
01fa5beba9
@ -1,19 +0,0 @@
|
|||||||
--- xapool-1.5.0-src/build.xml 2005-05-03 12:09:01.000000000 +0200
|
|
||||||
+++ xapool-1.5.0-src/build.xml-gil 2009-10-10 18:02:04.000000000 +0200
|
|
||||||
@@ -71,6 +71,7 @@
|
|
||||||
<target name="compile.base">
|
|
||||||
<mkdir dir="${build}/classes"/>
|
|
||||||
<javac
|
|
||||||
+ source="1.4"
|
|
||||||
srcdir="${src}"
|
|
||||||
destdir="${build}/classes"
|
|
||||||
deprecation="${compiler.deprecation}"
|
|
||||||
@@ -209,7 +210,7 @@
|
|
||||||
packagenames="org.enhydra.*"
|
|
||||||
destdir="${dist.jdoc}"
|
|
||||||
windowtitle="XAPool Developer Documentation"
|
|
||||||
- author="true" version="true" use="true" >
|
|
||||||
+ author="true" version="true" use="true" source="1.4" >
|
|
||||||
<doctitle><![CDATA[<h1>XAPool Developer Documentation</h1>]]></doctitle>
|
|
||||||
<sourcepath>
|
|
||||||
<pathelement path="${src}"/>
|
|
@ -1,6 +0,0 @@
|
|||||||
<project>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>com.experlog</groupId>
|
|
||||||
<artifactId>xapool</artifactId>
|
|
||||||
<version>1.5.0</version>
|
|
||||||
</project>
|
|
109
java-xapool.spec
109
java-xapool.spec
@ -1,96 +1,40 @@
|
|||||||
%define javahome /usr/lib/jvm/jdk-gcj
|
|
||||||
Name: java-xapool
|
Name: java-xapool
|
||||||
Version: 1.5.0
|
Version: 1.5.0
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: XA database connection pool
|
Summary: XA database connection pool
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: gil <puntogil@libero.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://xapool.ow2.org/
|
URL: https://javalibs.com/artifact/xapool
|
||||||
Source0: http://download.forge.objectweb.org/xapool/xapool-%{version}-src.tgz
|
Source0: http://www.java2s.com/Code/JarDownload/xapool/xapool-%{version}.jar.zip
|
||||||
Source1: java-xapool-1.5.0.pom
|
|
||||||
Patch0: java-xapool-1.5.0-build_xml.patch
|
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildRequires: apache-ant
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: apache-geronimo-1.2-specs
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: apache-log4j
|
BuildRequires: javapackages
|
||||||
BuildRequires: jakarta-commons-logging
|
Requires: javapackages
|
||||||
BuildRequires: java-carol
|
#Requires: apache-log4j
|
||||||
BuildRequires: java-gcj-compat
|
#Requires: jakarta-commons-logging
|
||||||
BuildRequires: java-hsqldb
|
#Requires: java-carol
|
||||||
BuildRequires: java-jotm
|
#Requires: java-jotm
|
||||||
BuildRequires: java-junit3
|
#Requires: java-p6spy
|
||||||
BuildRequires: java-p6spy
|
#Requires: jpackage-utils
|
||||||
BuildRequires: jpackage-utils
|
|
||||||
Requires: apache-log4j
|
|
||||||
Requires: jakarta-commons-logging
|
|
||||||
Requires: java-carol
|
|
||||||
Requires: java-jotm
|
|
||||||
Requires: java-p6spy
|
|
||||||
Requires: jpackage-utils
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XAPool is an XA database connection pool. XAPool implements javax.sql.XADataSource, and
|
XAPool is an XA database connection pool. XAPool implements javax.sql.XADataSource, and
|
||||||
provides connection pooling facilities. XAPool allows to pool objects, JDBC connections and
|
provides connection pooling facilities. XAPool allows to pool objects, JDBC connections and
|
||||||
XA connections.
|
XA connections.
|
||||||
|
|
||||||
%package javadoc
|
|
||||||
Group: Documentation
|
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
XAPool is an XA database connection pool.
|
|
||||||
|
|
||||||
This package contains javadoc for %{name}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -c
|
||||||
%setup -q -n xapool-%{version}-src
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
for j in $(find . -name "*.jar"); do
|
|
||||||
mv $j $j.no
|
|
||||||
done
|
|
||||||
|
|
||||||
pushd externals
|
|
||||||
ln -sf $(build-classpath carol/ow_carol) carol.jar
|
|
||||||
ln -sf $(build-classpath howl-logger) howl.jar
|
|
||||||
ln -sf $(build-classpath jotm/jotm) jotm.jar
|
|
||||||
ln -sf $(build-classpath jotm/jotm_jrmp_stubs) jotm_jrmp_stubs.jar
|
|
||||||
ln -sf $(build-classpath commons-logging) commons-logging.jar
|
|
||||||
ln -sf $(build-classpath geronimo/j2ee-connector-1.5-api-1.1.1) connector-1_5.jar
|
|
||||||
ln -sf $(build-classpath geronimo/jta-1.0.1B-api-1.1.1) jta-spec1_0_1.jar
|
|
||||||
ln -sf $(build-classpath log4j) log4j.jar
|
|
||||||
ln -sf $(build-classpath junit-3.8.2) junit.jar
|
|
||||||
ln -sf $(build-classpath p6spy) p6spy.jar
|
|
||||||
|
|
||||||
# mv externals/jonas_timer.jar.no
|
|
||||||
# mv externals/idb.jar.no
|
|
||||||
# mv externals/classes12.jar.no oracle-jdbc-thin
|
|
||||||
popd
|
|
||||||
|
|
||||||
ln -sf $(build-classpath hsqldb) test/jotmxapooltest/lib/hsqldb.jar
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export JAVA_HOME=%javahome
|
|
||||||
export CLASSPATH=""
|
|
||||||
CLASSPATH=$CLASSPATH:$(build-classpath commons-logging carol/ow_carol howl-logger)
|
|
||||||
CLASSPATH=$CLASSPATH:$(build-classpath geronimo/j2ee-connector-1.5-api geronimo/jta-1.0.1B-api)
|
|
||||||
CLASSPATH=$CLASSPATH:$(build-classpath log4j jotm/jotm jotm/jotm_jrmp_stubs hsqldb p6spy)
|
|
||||||
ant
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
install -D -m 644 xapool-%{version}.jar \
|
||||||
mkdir -p %{buildroot}%{_datadir}/maven2/poms
|
|
||||||
|
|
||||||
install -m 644 output/dist/lib/xapool.jar \
|
|
||||||
%{buildroot}%{_javadir}/xapool-%{version}.jar
|
%{buildroot}%{_javadir}/xapool-%{version}.jar
|
||||||
%add_to_maven_depmap com.experlog xapool %{version} JPP xapool
|
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/maven2/poms/JPP-xapool.pom
|
|
||||||
|
|
||||||
(
|
(
|
||||||
cd %{buildroot}%{_javadir}
|
cd %{buildroot}%{_javadir}
|
||||||
@ -99,33 +43,18 @@ install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/maven2/poms/JPP-xapool.pom
|
|||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/xapool-%{version}
|
|
||||||
cp -pr output/dist/jdoc/* %{buildroot}%{_javadocdir}/xapool-%{version}
|
|
||||||
ln -s xapool-%{version} %{buildroot}%{_javadocdir}/xapool
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_javadir}/xapool-%{version}.jar
|
%{_javadir}/xapool-%{version}.jar
|
||||||
%{_javadir}/xapool.jar
|
%{_javadir}/xapool.jar
|
||||||
%{_datadir}/maven2/poms
|
|
||||||
%{_mavendepmapfragdir}
|
|
||||||
%doc README.txt
|
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_javadocdir}/xapool-%{version}
|
|
||||||
%{_javadocdir}/xapool
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-4mamba
|
||||||
|
- repackaged using upstream binary jar
|
||||||
|
|
||||||
* Sun Mar 06 2011 gil <puntogil@libero.it> 1.5.0-3mamba
|
* Sun Mar 06 2011 gil <puntogil@libero.it> 1.5.0-3mamba
|
||||||
- add java-p6spy support
|
- add java-p6spy support
|
||||||
- rebuilt with java-gcj-compat support
|
- rebuilt with java-gcj-compat support
|
||||||
|
Loading…
Reference in New Issue
Block a user