diff --git a/apache-commons-pool2.spec b/apache-commons-pool2.spec new file mode 100644 index 0000000000000000000000000000000000000000..7af6d69431fc52405a632d16e8ec4d4b3fdac012 --- /dev/null +++ b/apache-commons-pool2.spec @@ -0,0 +1,49 @@ +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 help +Summary: Javadoc for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} + +%description help +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 help -f .mfiles-javadoc +%license LICENSE.txt NOTICE.txt + +%changelog +* Tue Jul 28 2020 chengzihan - 2.4.2-1 +- Package init diff --git a/apache-commons-pool2.yaml b/apache-commons-pool2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f211a8bf5c8ed83b7d20bb5a80391ba8ac5f69dd --- /dev/null +++ b/apache-commons-pool2.yaml @@ -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: "_" diff --git a/commons-pool2-2.4.2-src.tar.gz b/commons-pool2-2.4.2-src.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5eee0c774e5b04f357e5437fd19545af64f86e53 Binary files /dev/null and b/commons-pool2-2.4.2-src.tar.gz differ