update to 2.11.1 [release 2.11.1-1mamba;Fri Aug 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:28:13 +01:00
parent 4c06ccefcf
commit 50f58b0821
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,9 @@
# apache-commons-pool2
Pool provides an Object-pooling API, with three major aspects:
1. A generic object pool interface that clients and
implementors can use to provide easily interchangable pooling implementations.
2. A toolkit for creating modular object pools.
3. Several general purpose pool implementations.

78
apache-commons-pool2.spec Normal file
View File

@ -0,0 +1,78 @@
Name: apache-commons-pool2
Version: 2.11.1
Release: 1mamba
Summary: Jakarta Commons Pool Package
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://commons.apache.org/proper/commons-pool/
Source0: https://dlcdn.apache.org//commons/pool/binaries/commons-pool2-%{version}-bin.tar.gz
License: Apache Software License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: javapackages
%description
Pool provides an Object-pooling API, with three major aspects:
1. A generic object pool interface that clients and
implementors can use to provide easily interchangable pooling implementations.
2. A toolkit for creating modular object pools.
3. Several general purpose pool implementations.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
Jakarta Commons Pool Package.
This package contains javadoc for %{name}
%prep
%setup -q -n commons-pool2-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}/pool
install -p -m 644 commons-pool2-%{version}.jar \
%{buildroot}%{_javadir}/pool/commons-pool2-%{version}.jar
(
cd %{buildroot}%{_javadir}/pool
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}/pool/commons-pool2-%{version}.jar
%{_javadir}/pool/commons-pool2.jar
%doc LICENSE.txt
%changelog
* Fri Aug 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.1-1mamba
- update to 2.11.1
* Sun Feb 27 2011 gil <puntogil@libero.it> 1.5.5-1mamba
- update to 1.5.5
* Wed Nov 10 2010 gil <puntogil@libero.it> 1.4-2mamba
- rebuilt devel
* Thu Jun 11 2009 gil <puntogil@libero.it> 1.4-1mamba
- update to 1.4
- renamed to legacy apache-commons-pool (ex jakarta)
* Sun Mar 08 2009 gil <puntogil@libero.it> 1.3-1mamba
- package created by autospec