Name: yamlbeans Version: 1.09 Release: 1%{?dist} Summary: Java object graphs, to and from YAML automatically License: BSD URL: https://github.com/EsotericSoftware/yamlbeans Source0: https://github.com/EsotericSoftware/yamlbeans/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Java object graphs, to and from YAML. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} find . -name "*.class" -print -delete find . -name "*.jar" -print -delete %mvn_file com.esotericsoftware.%{name}:%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc CREDITS README.md %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Sat Jul 25 2015 gil cattaneo 1.09-1 - initial rpm