apache-commons-pool: package init
This commit is contained in:
parent
0ce8f78f90
commit
85abda47ef
46
apache-commons-pool.spec
Normal file
46
apache-commons-pool.spec
Normal 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
BIN
commons-pool-1.6-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user