java-xapool/java-xapool.spec

67 lines
1.7 KiB
RPMSpec

Name: java-xapool
Version: 1.5.0
Release: 4mamba
Summary: XA database connection pool
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://javalibs.com/artifact/xapool
Source0: http://www.java2s.com/Code/JarDownload/xapool/xapool-%{version}.jar.zip
License: LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: javapackages
#Requires: apache-log4j
#Requires: jakarta-commons-logging
#Requires: java-carol
#Requires: java-jotm
#Requires: java-p6spy
#Requires: jpackage-utils
%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.
%prep
%setup -q -c
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m 644 xapool-%{version}.jar \
%{buildroot}%{_javadir}/xapool-%{version}.jar
(
cd %{buildroot}%{_javadir}
for jar in *-%{version}*; do
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
done
)
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/xapool-%{version}.jar
%{_javadir}/xapool.jar
%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
- add java-p6spy support
- rebuilt with java-gcj-compat support
* Thu Nov 25 2010 gil <puntogil@libero.it> 1.5.0-2mamba
- rebuilt devel
* Thu Aug 20 2009 gil <puntogil@libero.it> 1.5.0-1mamba
- package created by autospec