Blob Blame History Raw
Name:          disruptor
Version:       3.2.1
Release:       1%{?dist}
Summary:       Concurrent Programming Framework
License:       ASL 2.0

BuildRequires: java-devel

# test deps
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.jmock:jmock-junit4)
BuildRequires: mvn(org.jmock:jmock-legacy)

%if 0
# Unavailable performance test deps
# lib/test/hdrhistogram-1.0-SNAPSHOT.jar
BuildRequires: mvn(

# NOTE: the project is buildable with gradle by default
BuildRequires: maven-local
BuildRequires: maven-plugin-bundle
BuildRequires: maven-surefire-provider-junit4

BuildArch:     noarch

A High Performance Inter-Thread Messaging Library.

%package javadoc
Summary:       Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%setup -q

find . -name "*.class" -print -delete
find . -name "*.jar" -type f -print -delete

cp -p %{SOURCE1} pom.xml
%pom_xpath_inject "pom:project" "


%pom_xpath_inject "pom:project/pom:build" '
        <Bundle-Vendor>LMAX Disruptor Development Team</Bundle-Vendor>
%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin . '

# fail to compile cause: incompatible hamcrest apis
rm -r src/test/java/com/lmax/disruptor/ \


%mvn_file :%{name} %{name}
%mvn_build --


%files -f .mfiles
%doc LICENCE.txt

%files javadoc -f .mfiles-javadoc
%doc LICENCE.txt

* Mon Apr 21 2014 gil cattaneo <> 3.2.1-1
- update to 3.2.1

* Wed Aug 14 2013 gil cattaneo <> 3.2.0-1
- initial rpm