Initial packaging

This commit is contained in:
Mikolaj Izdebski 2014-02-10 16:22:42 +01:00
parent 8180361628
commit 693d6a4e71
3 changed files with 48 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/commons-collections4-4.0-src.tar.gz

View File

@ -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 <mizdebsk@redhat.com> - 4.0-1
- Initial packaging

View File

@ -0,0 +1 @@
d0f1e679725945eaf3e2f0c0a33532a5 commons-collections4-4.0-src.tar.gz