apache-commons-pool/apache-commons-pool.spec
2022-11-15 17:37:32 +08:00

50 lines
1.4 KiB
RPMSpec

Name: apache-commons-pool
Version: 1.6
Release: 19
Summary: Apache Commons Pool
License: ASL 2.0
URL: http://commons.apache.org/pool/
Source0: https://archive.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
* Tue Nov 15 2022 yaoxin <yaoxin30@h-partners.com> - 1.6-19
- Modify invalid Source
* Fri Dec 20 2019 daiqianwen <daiqianwen@huawei.com> - 1.6-18
- Package init