diff --git a/README.md b/README.md index 686a8be..a2b2e2f 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/apache-commons-pool2.spec b/apache-commons-pool2.spec new file mode 100644 index 0000000..533ff9a --- /dev/null +++ b/apache-commons-pool2.spec @@ -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 +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 2.11.1-1mamba +- update to 2.11.1 + +* Sun Feb 27 2011 gil 1.5.5-1mamba +- update to 1.5.5 + +* Wed Nov 10 2010 gil 1.4-2mamba +- rebuilt devel + +* Thu Jun 11 2009 gil 1.4-1mamba +- update to 1.4 +- renamed to legacy apache-commons-pool (ex jakarta) + +* Sun Mar 08 2009 gil 1.3-1mamba +- package created by autospec