package init

This commit is contained in:
chengzihan2 2020-08-18 14:35:12 +08:00
parent 4f3e8a9ecb
commit c4dee09ec8
3 changed files with 52 additions and 0 deletions

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

@ -0,0 +1,47 @@
Name: apache-commons-pool2
Version: 2.4.2
Release: 1
Summary: Apache Commons Object Pooling Library 2.x series
License: ASL 2.0
URL: http://commons.apache.org/proper/commons-pool/
Source0: http://www.apache.org/dist/commons/pool/source/commons-pool2-2.4.2-src.tar.gz
BuildRequires: maven-local mvn(cglib:cglib) mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:) mvn(org.ow2.asm:asm-util)
BuildArch: noarch
%description
The Apache Commons Pool open source software library provides an
object pooling API and a number of object pool implementations.
Version 2 of Apache Commons Pool contains a completely re-written
pooling implementation compared to the 1.x series. In addition
to performance and scalability improvements, version 2 includes
robust instance tracking and pool monitoring.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n commons-pool2-%{version}-src
%pom_remove_plugin :maven-assembly-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
%mvn_file : %{name} commons-pool2
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.txt RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog
* Tue Jul 28 2020 chengzihan <chengzihan2@huawei.com> - 2.4.2-1
- Package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/apache/commons-pool.git
version_control: github
src_repo: apache/commons-pool
tag_prefix: "POOL_"
seperator: "_"

Binary file not shown.