Name: mahout-collections Version: 1.0 Release: 1%{?dist} Summary: Primitive-type collections based on CERN's Colt Java API License: ASL 2.0 Url: http://mahout.apache.org/ Source0: http://www.apache.org/dist/mahout/%{name}-%{version}/%{name}-%{version}-src.zip BuildRequires: java-devel # test deps BuildRequires: junit BuildRequires: maven-local BuildRequires: mahout-collection-codegen-plugin BuildRequires: maven-site-plugin BuildRequires: maven-surefire-provider-junit4 BuildArch: noarch %description The Apache Mahoutâ„¢ machine learning library's goal is to build scalable machine learning libraries. Mahout Collections is a set of classes that provide lists, sets, and maps of primitive types, and open hash tables of objects. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q %pom_add_plugin org.apache.maven.plugins:maven-jar-plugin . " true true " %build %mvn_file :%{name} %{name} %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE README.txt RELEASE-NOTE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * Fri Sep 14 2012 gil cattaneo 1.0-1 - initial rpm