apache-commons-pool/apache-commons-pool.spec
2019-12-23 11:28:20 +08:00

47 lines
1.3 KiB
RPMSpec

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