Name: multiverse Version: 0.7.0 Release: 1%{?dist} Summary: Software Transactional Memory for Java & the JVM License: ASL 2.0 URL: http://multiverse.codehaus.org/ Source0: https://github.com/pveentjer/Multiverse/archive/%{name}-%{version}.tar.gz # test deps BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.mockito:mockito-all) BuildRequires: maven-local BuildArch: noarch %description Multiverse is a Java based Software Transactional Memory (STM) implementation that wants to realize the following goals: 1. Language independent: so it can be used without relying on instrumentation and therefore can easily be used with other languages that can run on the JVM like Scala, Groovy or JRuby. 2. Framework: for different STM implementation. This makes it easy to experiment with new features or build a customized STM implementation. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n Multiverse-%{name}-%{version} find . -name '*.jar' -delete find . -name '*.class' -delete # org.apache.maven.wagon:wagon-webdav-jackrabbit:1.0-beta-7 %pom_xpath_remove "pom:build/pom:extensions" %build # test fails at random %mvn_file org.multiverse:%{name}-core %{name}-core %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.test.failure.ignore=true %install %mvn_install %files -f .mfiles %doc LICENSE README.md %files javadoc -f .mfiles-javadoc %doc LICENSE %changelog * Tue Sep 04 2012 gil cattaneo 0.7.0-1 - initial rpm