package init
This commit is contained in:
parent
a5de6b18b4
commit
572255fdd9
40
apache-commons-collections4.spec
Normal file
40
apache-commons-collections4.spec
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Summary: Extension of the Java Collections Framework
|
||||||
|
Name: apache-commons-collections4
|
||||||
|
Version: 4.1
|
||||||
|
Release: 1
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://commons.apache.org/proper/commons-collections/
|
||||||
|
Source0: http://archive.apache.org/dist/commons/collections/source/commons-collections4-%{version}-src.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) mvn(org.easymock:easymock)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Commons-Collections seek to build upon the JDK classes by providing
|
||||||
|
new interfaces, implementations and utilities.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package provides %{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n commons-collections4-%{version}-src
|
||||||
|
%mvn_file : commons-collections4 %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.collections4
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc RELEASE-NOTES.txt
|
||||||
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 chengzihan <chengzihan2@huawei.com> - 4.1-1
|
||||||
|
- Package init
|
||||||
4
apache-commons-collections4.yaml
Normal file
4
apache-commons-collections4.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://gitbox.apache.org/repos/asf?p=commons-collections.git
|
||||||
|
tag_prefix: "commons-collections-"
|
||||||
|
seperator: "."
|
||||||
BIN
commons-collections4-4.1-src.tar.gz
Normal file
BIN
commons-collections4-4.1-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user