Name: riffle Version: 1.0.0 Release: 1%{?dist} Summary: Annotations and Classes for managing and executing dependent processes License: ASL 2.0 # http://github.com/cwensel/riffle URL: https://github.com/Cascading/riffle Source0: https://github.com/Cascading/riffle/archive/%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.hamcrest:hamcrest-core) BuildArch: noarch %description Riffle is a lightweight Java library for executing collections of dependent processes as a single process. This library provides Java Annotations for tagging classes and methods supporting required life-cycle stages, and a simple utility for invoking instances of those classes in dependency order. It is intended that more robust work-flow tools adopt these Annotations allowing users and developers across diverse projects to implement and link to a single life-cycle model without inheriting any incompatible license restrictions. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{version} # cleanup find -name "*.jar" -print -delete find -name "*.class" -delete cat > pom.xml << EOF 4.0.0 %{name} %{name} jar %{version} %{url} UTF-8 1.7 1.7 \${maven.build.timestamp} yyyy junit junit 4.11 test org.hamcrest hamcrest-core 1.3 test org.apache.maven.plugins maven-compiler-plugin 3.3 \${maven.compiler.source} \${maven.compiler.target} org.apache.maven.plugins maven-javadoc-plugin 2.10 \${maven.compiler.source} \${project.build.sourceEncoding} public %{name} \${project.version} API %{name} \${project.version} API -Xdoclint:none EOF %mvn_file %{name}:%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.txt %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Sat Nov 07 2015 gil cattaneo 1.0.0-1 - update to 1.0.0 * Tue Mar 10 2015 gil cattaneo 0.1-0.1.dev - initial rpm