Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
leo_pod
leo_pod.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leo_pod.spec of Package leo_pod
%define bname leo_pod Name: %bname Version: 0.6.9 Release: 7 Summary: A Fast Erlang worker pool manager License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/leo-project/%name Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description %bname is an Erlang worker pool manager, which does not use ETS (Eralng Term Storage). %package doc Summary: %bname documentation Group: Documentation/HTML %description doc %bname is an Erlang worker pool manager, which does not use ETS (Eralng Term Storage). This package contains documentation in HTML format. %prep %setup -q -n %bname-%version #patch -p1 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~81p}.~n", [lists:keystore(vsn, 1, L, {vsn, "%version"})]), [raw]), init:stop().' %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, lists:keyreplace(require_otp_vsn, 1, lists:keydelete(deps, 1, L), {require_otp_vsn, "R16B*|17|18|19|20|21|22|23|24|25|26"})), [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 ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config 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 * Sat Sep 02 2023 Led <ledest@gmail.com> 0.6.9-7 - add 26 to require_otp_vsn * Sun Aug 07 2022 Led <ledest@gmail.com> 0.6.9-6 - add 25 to require_otp_vsn * Sun Aug 22 2021 Led <ledest@gmail.com> 0.6.9-5 - add 24 to require_otp_vsn * Tue May 19 2020 Led <ledest@gmail.com> 0.6.9-4 - add 23 to require_otp_vsn * Sat Jul 06 2019 Led <ledest@gmail.com> 0.6.9-3 - add 21, 22 to require_otp_vsn * Sun Feb 25 2018 Led <ledest@gmail.com> 0.6.9-2 - fix Group * Fri Feb 16 2018 Led <ledest@gmail.com> 0.6.9-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