Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
syn
syn.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File syn.spec of Package syn
%define bname syn Name: %bname Version: 2.1.1 Release: 1 Summary: A global process registry and process group manager for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/ostinelli/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # check BuildRequires: epmd erlang-common_test %description Syn is a Erlang Process Registry and Process Group manager that has the following features: Syn is a process registry that has the following features: - Global Process Registry (i.e. a process is uniquely identified with a Key across all the nodes of a cluster). - Global Process Group manager (i.e. a group is uniquely identified with a Name across all the nodes of a cluster). - Any term can be used as Key and Name. - A message can be published to all members of a Process Group (PubSub mechanism). - Fast writes. - Automatically handles conflict resolution (such as net splits). - Configurable callbacks. - Processes are automatically monitored and removed from the registry if they die. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 1.6.2-2 %description devel Syn is a Erlang Process Registry and Process Group manager. This package contains headers of %bname. %package doc Summary: %bname documentation Group: Documentation/HTML Conflicts: %name < 1.6.2-2 %description doc Syn is a Erlang Process Registry and Process Group manager. This package contains documentation in HTML format. %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, 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 -C %bname.rebar.config ct -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/include %exclude %_otplibdir/%bname-*/doc %files devel %defattr(-,root,root) %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Thu Jan 16 2020 Led <ledest@gmail.com> 2.1.1-1 - 2.1.1 * Tue Dec 17 2019 Led <ledest@gmail.com> 2.0.3-1 - 2.0.3 * Sat May 05 2018 Led <ledest@gmail.com> 1.6.3-1 - 1.6.3 * Thu Feb 15 2018 Led <ledest@gmail.com> 1.6.2-4 - fix summary and description * Tue Feb 13 2018 Led <ledest@gmail.com> 1.6.2-3 - git 71c253d * Thu Dec 14 2017 Led <ledest@gmail.com> 1.6.2-2 - move headers and docs to separate subpackages * Thu Dec 14 2017 Led <ledest@gmail.com> 1.6.2-1 - 1.6.2 * Fri Sep 08 2017 Led <ledest@gmail.com> 1.6.1-2 - enable %%check * Mon Apr 17 2017 Led <ledest@gmail.com> 1.6.1-1 - 1.6.1 * Mon Dec 12 2016 Led <ledest@gmail.com> 1.6.0-1 - 1.6.0 * Mon Aug 29 2016 Led <ledest@gmail.com> 1.5.0-1 - 1.5.0 * Sun May 29 2016 Led <ledest@gmail.com> 1.4.0-1 - 1.4.0 * Thu Apr 07 2016 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 * Mon Jan 18 2016 Led <ledest@gmail.com> 0.10.1-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