apache-commons-pool2/apache-commons-pool2.spec

82 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: apache-commons-pool2
Version: 2.12.0
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
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 2.12.0-1mamba
- automatic update by autodist
* 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