diff --git a/.gitignore b/.gitignore index e69de29..9584ead 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/commons-collections4-4.0-src.tar.gz diff --git a/apache-commons-collections4.spec b/apache-commons-collections4.spec new file mode 100644 index 0000000..c13f068 --- /dev/null +++ b/apache-commons-collections4.spec @@ -0,0 +1,46 @@ +Summary: Extension of the Java Collections Framework +Name: apache-commons-collections4 +Version: 4.0 +Release: 1%{?dist} +License: ASL 2.0 +URL: http://commons.apache.org/proper/commons-collections/ +BuildArch: noarch + +Source0: http://www.apache.org/dist/commons/collections/source/commons-collections4-4.0-src.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.commons:commons-parent) +BuildRequires: mvn(org.apache.maven.plugins:maven-checkstyle-plugin) +BuildRequires: mvn(org.easymock:easymock) + +%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 : %{name} commons-collections4 + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.txt RELEASE-NOTES.txt +%doc LICENSE.txt NOTICE.txt + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + +%changelog +* Mon Jan 27 2014 Mikolaj Izdebski - 4.0-1 +- Initial packaging diff --git a/sources b/sources index e69de29..3092896 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d0f1e679725945eaf3e2f0c0a33532a5 commons-collections4-4.0-src.tar.gz