apache-commons-pool: package init

This commit is contained in:
daidai_is_here 2019-12-23 11:28:20 +08:00
parent 0ce8f78f90
commit 85abda47ef
2 changed files with 46 additions and 0 deletions

46
apache-commons-pool.spec Normal file
View File

@ -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 <daiqianwen@huawei.com> - 1.6-18
- Package init

BIN
commons-pool-1.6-src.tar.gz Normal file

Binary file not shown.