Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
poolboy
poolboy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poolboy.spec of Package poolboy
%define bname poolboy Name: %bname Version: 1.5.1 Release: 3 Summary: A hunky Erlang worker pool factory License: Public domain Group: Development/Tools/Other URL: https://github.com/devinus/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Requires: erlang BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description Poolboy - a hunky Erlang worker pool factory. Poolboy is a lightweight, generic pooling library for Erlang with a focus on simplicity, performance, and rock-solid disaster recovery. %prep %setup -q -n %bname-%version #patch -p1 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), $., $\n] end, [{erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}|lists:foldl(fun proplists:delete/2, L, [erl_opts, cover_enabled])])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %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 install -p -m 0644 README* LICENSE UNLICENSE %buildroot%_docdir/%name/ ln -s %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check rebar -C %bname.rebar.config eunit %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Wed Jun 15 2016 Led <ledest@gmail.com> 1.5.1-3 - clean up spec * Fri Mar 18 2016 Led <ledest@gmail.com> 1.5.1-2 - clean up BuildRequires * Thu Apr 16 2015 Led <ledest@gmail.com> 1.5.1-1 - 1.5.1 - remove patches: + poolboy-1.4.2-git.patch * Sun Apr 12 2015 Led <ledest@gmail.com> 1.4.2-5 - clean ups * Sun Apr 05 2015 Led <ledest@gmail.com> 1.4.2-4 - add erl_opts - fix BuildRequires - clean up docs * Sun Mar 29 2015 Led <ledest@gmail.com> 1.4.2-3 - update patches: + poolboy-1.4.2-git.patch * Mon Mar 09 2015 Led <ledest@gmail.com> 1.4.2-2 - build without debug_info * Mon Mar 09 2015 Led <ledest@gmail.com> 1.4.2-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