Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
episcina
episcina.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File episcina.spec of Package episcina
%define bname episcina Name: %bname Version: 1.1.0 Release: 5 Summary: A Simple Erlang Connection Pool License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/erlware/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-1.1.0-epna_pool-map.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface erlang-gproc %description Episcina is designed as a pool for resources. Generally those resources are expected to be connections to some type of external thing like a sql system. However, there is nothing sql specific about episcina. You may generally consider it a small very focused pool implementation that does not try to take ownership of your work. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.1.0-4 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %if "%(%__erl -noinput -eval 'io:write(erlang:is_builtin(erlang,is_map,1)), halt().')" == "true" %patch1 -p1 %endif %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,verbose]" rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar eunit -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sun Dec 03 2017 Led <ledest@gmail.com> 1.1.0-5 - cosmetic spec changes * Sun Dec 03 2017 Led <ledest@gmail.com> 1.1.0-4 - update patches: + episcina-1.1.0-epna_pool-map.patch - apply episcina-1.1.0-epna_pool-map.patch for build on Erlang/OTP >= 17 - move docs to separate subpackage * Mon Sep 19 2016 Led <ledest@gmail.com> 1.1.0-3 - git 596889c * Fri Sep 09 2016 Led <ledest@gmail.com> 1.1.0-2 - git 77304e8 - add patches: + episcina-1.1.0-epna_pool-map.patch * Tue Dec 01 2015 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 - remove patches: + episcina-1.0.0-git.patch * Fri Jun 26 2015 Led <ledest@gmail.com> 1.0.0-2 - fix build with Erlang 18 * Sun May 31 2015 Led <ledest@gmail.com> 1.0.0-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor