diff --git a/apache-commons-collections4.spec b/apache-commons-collections4.spec new file mode 100644 index 0000000..7d2f834 --- /dev/null +++ b/apache-commons-collections4.spec @@ -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 - 4.1-1 +- Package init diff --git a/apache-commons-collections4.yaml b/apache-commons-collections4.yaml new file mode 100644 index 0000000..38939f2 --- /dev/null +++ b/apache-commons-collections4.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://gitbox.apache.org/repos/asf?p=commons-collections.git +tag_prefix: "commons-collections-" +seperator: "." diff --git a/commons-collections4-4.1-src.tar.gz b/commons-collections4-4.1-src.tar.gz new file mode 100644 index 0000000..6670f3e Binary files /dev/null and b/commons-collections4-4.1-src.tar.gz differ