apache-commons-collections4/apache-commons-collections4.spec
2014-03-04 09:05:19 +01:00

50 lines
1.3 KiB
RPMSpec

Summary: Extension of the Java Collections Framework
Name: apache-commons-collections4
Version: 4.0
Release: 2%{?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
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.0-2
- Use Requires: java-headless rebuild (#1067528)
* Mon Jan 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0-1
- Initial packaging