Name: junit-benchmarks Version: 0.7.2 Release: 1%{?dist} Summary: Code benchmarking in JUnit4 License: ASL 2.0 URL: http://labs.carrotsearch.com/junit-benchmarks.html Source0: https://github.com/carrotsearch/junit-benchmarks/archive/release/%{version}.tar.gz BuildRequires: java-devel BuildRequires: mvn(com.h2database:h2) BuildRequires: mvn(junit:junit) BuildRequires: mvn(mysql:mysql-connector-java) BuildRequires: mvn(org.sonatype.oss:oss-parent) # test deps BuildRequires: mvn(dom4j:dom4j) BuildRequires: mvn(jaxen:jaxen) BuildRequires: mvn(org.codehaus.jackson:jackson-core-asl) BuildRequires: mvn(org.codehaus.jackson:jackson-mapper-asl) %if 0 BuildRequires: mvn(mysql:mysql-connector-mxj:5.0.12) BuildRequires: mvn(org.easytesting:fest-assert-core:2.0M10) %endif BuildRequires: maven-local BuildRequires: maven-enforcer-plugin BuildRequires: maven-surefire-provider-junit4 BuildArch: noarch %description A framework for writing performance micro-benchmarks using JUnit4 annotations. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-release-%{version} %pom_remove_plugin :maven-clover2-plugin # require retrotranslator %pom_remove_plugin :maven-antrun-plugin %pom_remove_dep mysql:mysql-connector-mxj %pom_remove_dep org.easytesting:fest-assert-core rm -r src/test/java/com/carrotsearch/junitbenchmarks/TestAssumptions.java %build %mvn_file : %{name} %mvn_build %install %mvn_install %files -f .mfiles %doc README junit-benchmarks.LICENSE %files javadoc -f .mfiles-javadoc %doc junit-benchmarks.LICENSE %changelog * Tue Aug 27 2013 gil cattaneo 0.7.2-1 - update to 0.7.2 * Fri Sep 14 2012 gil cattaneo 0.4.0-1 - initial rpm