Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
gproc
gproc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gproc.spec of Package gproc
%define bname gproc Name: %bname Version: 0.9.1 Release: 2 Summary: Extended process dictionary for Erlang/OTP License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/uwiger/%name Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-0.9.1-pool-tests.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.4-26 # check BuildRequires: erlang-otp-base-devel BuildRequires: epmd erlang-gen_leader %description Gproc is a process dictionary for Erlang, which provides a number of useful features beyond what the built-in dictionary has: - Use any term as a process alias - Register a process under several aliases - Non-unique properties can be registered simultaneously by many processes - QLC and match specification interface for efficient queries on the dictionary - Await registration, let's you wait until a process registers itself - Atomically give away registered names and properties to another process - Counters, and aggregated counters, which automatically maintain the total of all counters with a given name - Global registry, with all the above functions applied to a network of nodes %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 0.7.0-2 %description devel Gproc is a process dictionary for Erlang. This package contains headers of %bname. %package doc Summary: %bname documentation Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 0.7.0-2 %description doc Gproc is a process dictionary for Erlang. This package contains documentation in HTML and Markdown format. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 for i in test/gproc_dist_tests.erl test/gproc_tests.erl; do echo "-compile(no_inline)." >> $i done 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:keystore(edoc_opts, 1, lists:keydelete(deps, 1, L), {edoc_opts, [{new, true}, {preprocess, true}| case lists:keyfind(edoc_opts, 1, L) of {_, [_|_] = O} -> lists:keydelete(doclet, 1, O); _ -> [] end]})), [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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,md,png,pdf} %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-*/include %exclude %_otplibdir/%bname-*/doc %files devel %defattr(-,root,root) %dir %_otplibdir/%bname-* %_otplibdir/%bname-*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat Dec 02 2023 Led <ledest@gmail.com> 0.9.1-2 - git 2ac257f * Fri May 12 2023 Led <ledest@gmail.com> 0.9.1-1 - 0.9.1 - update patches: + gproc-0.9.1-pool-tests.patch * Fri May 05 2023 Led <ledest@gmail.com> 0.9.0-2 - git 4ca45e0 * Sun Apr 18 2021 Led <ledest@gmail.com> 0.9.0-1 - 0.9.0 * Fri Oct 02 2020 Led <ledest@gmail.com> 0.8.0-11 - git 3737f2b * Sat Feb 15 2020 Led <ledest@gmail.com> 0.8.0-10 - git a94e138 * Sat Dec 28 2019 Led <ledest@gmail.com> 0.8.0-9 - update patches: + gproc-0.8.0-pool-tests.patch * Fri Dec 27 2019 Led <ledest@gmail.com> 0.8.0-8 - add patches: + gproc-0.8.0-pool-tests.patch * Sun Jul 07 2019 Led <ledest@gmail.com> 0.8.0-7 - update BuildRequires - enable %%check for Erlang/OTP 22 * Sun Jul 07 2019 Led <ledest@gmail.com> 0.8.0-6 - fix Group - disable %%check for Erlang/OTP 22 * Mon Apr 08 2019 Led <ledest@gmail.com> 0.8.0-5 - git b7b0748 * Mon Mar 25 2019 Led <ledest@gmail.com> 0.8.0-4 - add Provides * Mon Mar 25 2019 Led <ledest@gmail.com> 0.8.0-3 - add {new, true} to edoc_opts - update BuildRequires * Fri Sep 21 2018 Led <ledest@gmail.com> 0.8.0-2 - git ed37980 * Thu Jun 14 2018 Led <ledest@gmail.com> 0.8.0-1 - 0.8.0 - fix Group * Thu Jun 14 2018 Led <ledest@gmail.com> 0.7.0-6 - update BuildRequires - build HTML docs * Thu Feb 15 2018 Led <ledest@gmail.com> 0.7.0-5 - fix summary * Thu Feb 15 2018 Led <ledest@gmail.com> 0.7.0-4 - fix description * Wed Feb 14 2018 Led <ledest@gmail.com> 0.7.0-3 - update License * Tue Feb 13 2018 Led <ledest@gmail.com> 0.7.0-2 - git a30b18c - enable %%check - move headers and docs to separate subpackages * Sat Nov 04 2017 Led <ledest@gmail.com> 0.7.0-1 - 0.7.0 * Mon Sep 19 2016 Led <ledest@gmail.com> 0.6.1-2 - clean up spec - disable %%check * Wed Sep 14 2016 Led <ledest@gmail.com> 0.6.1-1 - 0.6.1 * Mon Feb 15 2016 Led <ledest@gmail.com> 0.6-1 - 0.6 * Sun Oct 11 2015 Led <ledest@gmail.com> 0.5-2 - git 4c55ba6 * Sat Jul 04 2015 Led <ledest@gmail.com> 0.5-1 - 0.5 - remove patches: + gproc-0.4-git.patch * Tue Jun 02 2015 Led <ledest@gmail.com> 0.4-3 - add patches: + gproc-0.4-git.patch * Sun May 31 2015 Led <ledest@gmail.com> 0.4-2 - add provides * Thu May 07 2015 Led <ledest@gmail.com> 0.4-1 - 0.4 * Sun Apr 12 2015 Led <ledest@gmail.com> 0.3.1-3 - clean ups - update BuildRequires * Sun Apr 05 2015 Led <ledest@gmail.com> 0.3.1-2 - clean up docs * Mon Mar 02 2015 Led <ledest@gmail.com> 0.3.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