diff --git a/apache-commons-pool.spec b/apache-commons-pool.spec new file mode 100644 index 0000000..e0221f5 --- /dev/null +++ b/apache-commons-pool.spec @@ -0,0 +1,46 @@ +Name: apache-commons-pool +Version: 1.6 +Release: 18 +Summary: Apache Commons Pool +License: ASL 2.0 +URL: http://commons.apache.org/pool/ +Source0: http://www.apache.org/dist/commons/pool/source/commons-pool-%{version}-src.tar.gz + +BuildArch: noarch +BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:) + +%description +Apache Commons Pool package is used to create and maintain an object pooling package to be +distributed under the ASF license. The package supports a variety of pool implementations, +but encourages support of an interface that makes these implementations interchangeable. + +%package help +Summary: Help documentation of apache-commons-pool +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} + +%description help +Help documentation for apache-commons-pool package. + +%prep +%autosetup -n commons-pool-%{version}-src -p1 + +%mvn_alias : org.apache.commons:commons-pool +%mvn_file : apache-commons-pool commons-pool + +%build +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE.txt + +%files help -f .mfiles-javadoc +%doc NOTICE.txt README.txt RELEASE-NOTES.txt + +%changelog +* Fri Dec 20 2019 daiqianwen - 1.6-18 +- Package init + diff --git a/commons-pool-1.6-src.tar.gz b/commons-pool-1.6-src.tar.gz new file mode 100644 index 0000000..32a00f8 Binary files /dev/null and b/commons-pool-1.6-src.tar.gz differ