package init
This commit is contained in:
parent
63ae65f9b4
commit
3665517e28
20
xapool-1.5.0-build.patch
Normal file
20
xapool-1.5.0-build.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- build.xml 2012-04-22 17:46:46.430376816 +0200
|
||||
+++ build.xml-gil 2012-04-22 17:41:12.211402170 +0200
|
||||
@@ -80,6 +80,8 @@
|
||||
optimize="${compiler.optimize}">
|
||||
<classpath refid="externals.classpath"/>
|
||||
<include name="**/*.java"/>
|
||||
+ <exclude name="**/org/enhydra/jdbc/instantdb/*.java"/>
|
||||
+ <exclude name="**/org/enhydra/jdbc/oracle/*.java"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
@@ -210,7 +212,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}"/>
|
||||
1038
xapool-1.5.0-jdk7.patch
Normal file
1038
xapool-1.5.0-jdk7.patch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
xapool-1.5.0-src-clean.tar.gz
Normal file
BIN
xapool-1.5.0-src-clean.tar.gz
Normal file
Binary file not shown.
6
xapool-1.5.0.pom
Normal file
6
xapool-1.5.0.pom
Normal file
@ -0,0 +1,6 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.experlog</groupId>
|
||||
<artifactId>xapool</artifactId>
|
||||
<version>1.5.0</version>
|
||||
</project>
|
||||
59
xapool.spec
Normal file
59
xapool.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: xapool
|
||||
Version: 1.5.0
|
||||
Release: 14
|
||||
Summary: A series of open source code about XA JDBC Pool
|
||||
License: LGPLv2+
|
||||
URL: http://xapool.ow2.org/
|
||||
Source0: %{name}-%{version}-src-clean.tar.gz
|
||||
Source1: http://repo1.maven.org/maven2/com/experlog/%{name}/%{version}/%{name}-%{version}.pom
|
||||
Patch0000: %{name}-%{version}-build.patch
|
||||
Patch0001: %{name}-%{version}-jdk7.patch
|
||||
BuildRequires: ant apache-commons-logging geronimo-jta java-devel javapackages-local
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
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 XA connections.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for xapool package
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help documents for xapool package.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}-src -p1
|
||||
find . -name "*.jar" -delete
|
||||
find . -name "*.class" -delete
|
||||
find . -name "*.java~" -delete
|
||||
|
||||
rm -rf $(find . -name "CVS")
|
||||
|
||||
sed -i "s|Class-Path: idb.jar classes12.jar jta-spec1_0_1.jar log4j.jar \
|
||||
commons-logging.jar p6psy.jar||" archive/xapool.mf
|
||||
|
||||
ln -sf $(build-classpath commons-logging) externals/
|
||||
ln -sf $(build-classpath geronimo-jta) externals/
|
||||
|
||||
rm -r src/org/enhydra/jdbc/instantdb src/org/enhydra/jdbc/oracle
|
||||
|
||||
%mvn_file com.experlog:%{name} %{name}
|
||||
|
||||
%build
|
||||
ant dist
|
||||
|
||||
%install
|
||||
%mvn_artifact %{SOURCE1} output/dist/lib/%{name}.jar
|
||||
%mvn_install -J output/dist/jdoc
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc README.txt
|
||||
|
||||
%changelog
|
||||
* Fri Dec 20 2019 wutao <wutao61@huawei.com> - 1.5.0-14
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user