Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
sbroker
sbroker.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sbroker.spec of Package sbroker
%define bname sbroker Name: %bname Version: 1.0.0 %define pre %nil Release: 6 Summary: Sojourn-time based active queue management Erlang library License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/fishcakez/%bname Source: %bname-%version%pre.tar.xz Patch0: %bname-%version%pre-git.patch Patch1: 0011-resume-the-process-before-it-asking-new-msg.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface # check BuildRequires: epmd erlang-common_test erlang-proper %description Sojourn Broker - process broker for matchmaking between two groups of Erlang processes using sojourn time based active queue management to prevent congestion. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %bname < 1.0.0-5 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version%pre %patch0 -p1 %patch1 -p1 %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 %check ERL_COMPILER_OPTIONS='[inline,verbose]' rebar -C %bname.rebar.config ct %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 Jul 06 2019 Led <ledest@gmail.com> 1.0.0-6 - add patches: + 0011-resume-the-process-before-it-asking-new-msg.patch * Sun May 21 2018 Led <ledest@gmail.com> 1.0.0-5 - git 10f7e39 - mode docs to separate subpackage * Sun May 21 2017 Led <ledest@gmail.com> 1.0.0-4 - revert BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 1.0.0-3 - update BuildRequires * Thu Mar 30 2017 Led <ledest@gmail.com> 1.0.0-2 - git 48e9841 * Thu Oct 27 2016 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 * Sun Oct 09 2016 Led <ledest@gmail.com> 1.0.0-0.2 - 1.0.0-beta.5 * Thu Sep 08 2016 Led <ledest@gmail.com> 1.0.0-0.1 - 1.0.0-beta.3 * Sun Jan 31 2016 Led <ledest@gmail.com> 0.6.2-2 - add epmd to BuildRequires * Sat Sep 12 2015 Led <ledest@gmail.com> 0.6.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