ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 24076
en ru
SRPMs in branches
hide window
  • 3.3.2-alt1_3jpp8
  • 3.3.2-alt1_3jpp8
Group :: Development/Java
Source RPM: disruptor
Raw spec file

Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-1.8-compat
# see

%define _localstatedir %{_var}
Name: disruptor
Version: 3.3.6
Release: alt1_8jpp8
Summary: Concurrent Programming Framework
License: ASL 2.0
# see

Patch0: disruptor-3.3.2-jmock.patch

BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.hamcrest:hamcrest-library)
BuildRequires: mvn(org.jmock:jmock-junit4)
BuildRequires: mvn(org.jmock:jmock-legacy)

%if 0
# Unavailable performance test deps

BuildRequires: mvn(org.hdrhistogram:HdrHistogram:1.2.1)

BuildArch: noarch

A High Performance Inter-Thread Messaging Library.

%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch

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

%setup -q
# Cleanup

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

%patch0 -p1

cp -p %{SOURCE1} pom.xml

# Add OSGi support

%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.3.7 . '
<Bundle-Vendor>LMAX Disruptor Development Team</Bundle-Vendor>

# fail to compile cause: incompatible hamcrest apis

rm -r src/test/java/com/lmax/disruptor/ \
# Failed to stop thread: Thread[com.lmax.disruptor.BatchEventProcessor@1d057a39,5,main]

rm -r src/test/java/com/lmax/disruptor/dsl/
# Test fails due to incompatible jmock version

#rm -f src/test/java/com/lmax/disruptor/

%mvn_file :%{name} %{name}


%mvn_build --


%files -f .mfiles
%doc --no-dereference LICENCE.txt

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

* Sat Feb 15 2020 Igor Vlasenko <viy at> 3.3.6-alt1_8jpp8
- fc update

* Sat May 25 2019 Igor Vlasenko <viy at> 3.3.6-alt1_6jpp8
- new version

* Tue Feb 05 2019 Igor Vlasenko <viy at> 3.3.6-alt1_5jpp8
- fc29 update

* Thu Apr 19 2018 Igor Vlasenko <viy at> 3.3.6-alt1_4jpp8
- java update

* Thu Nov 09 2017 Igor Vlasenko <viy at> 3.3.6-alt1_3jpp8
- fc27 update

* Wed Oct 18 2017 Igor Vlasenko <viy at> 3.3.6-alt1_2jpp8
- new jpp release

* Fri Dec 16 2016 Igor Vlasenko <viy at> 3.3.4-alt1_1jpp8
- new version

* Tue Nov 22 2016 Igor Vlasenko <viy at> 3.3.2-alt1_4jpp8
- new fc release

* Thu Feb 04 2016 Igor Vlasenko <viy at> 3.3.2-alt1_3jpp8
- java 8 mass update

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.