Blob Blame History Raw
%global realname sidejob
%global upstream basho


Name:		erlang-%{realname}
Version:	2.0.2
Release:	%autorelease
BuildArch:	noarch
Summary:	An Erlang library that implements a parallel, capacity-limited request pool
License:	ASL 2.0
URL:		https://github.com/%{upstream}/%{realname}
VCS:		scm:git:https://github.com/%{upstream}/%{realname}.git
Source0:	https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
Patch:		erlang-sidejob-0001-Don-t-compile-with-export_all.patch
BuildRequires:	erlang-rebar


%description
An Erlang library that implements a parallel, capacity-limited request pool. In
sidejob, these pools are called resources. A resource is managed by multiple
gen_server like processes which can be sent calls and casts using sidejob:call
or sidejob:cast respectively.


%prep
%autosetup -p1 -n %{realname}-%{version}


%build
%{erlang_compile}


%install
%{erlang_install}


%check
# Requires a proprietary test-site, QuickCheck
# FIXME port to erlang-proper ?
%{erlang_test}


%files
%{erlang_appdir}/


%changelog
%autochangelog