Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
gen_rpc
gen_rpc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gen_rpc.spec of Package gen_rpc
%def_with lager %define bname gen_rpc Name: %bname Version: 2.1.0 Release: 18 Summary: A scalable RPC library for Erlang-VM based languages License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/priestjim/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: 0001-Fix-sol_socket-to-sol_tcp-issue-due-to-API-change-79.patch Patch11: %bname-2.1.0-message_queue_data-off_heap.patch Patch12: %bname-2.1.0-ssl.patch Patch13: %bname-2.1.0-stacktrace.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Requires: erlang-otp-base >= 1:18 %{?_with_lager:Requires: erlang-lager >= 3.0} BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang >= 1:18 BuildRequires: erlang-hut-devel >= 1.2 BuildRequires: erlang-otpbp-devel >= 0.37.0 %{?_with_lager:BuildRequires: erlang-lager-devel >= 3.0} BuildRequires: erlang-otpbp-devel >= 4.26.0 BuildRequires: erlang-otpbp >= 4.26.0 %description %bname is a scalable RPC library for Erlang-VM based languages. %banme uses a mailbox-per-node architecture and gen_tcp processes to parallelize data reception from multiple nodes without blocking the VM's distributed port. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 2.1.0-6 %description devel %bname is a scalable RPC library for Erlang-VM based languages. %banme uses a mailbox-per-node architecture and gen_tcp processes to parallelize data reception from multiple nodes without blocking the VM's distributed port. This package contains headers of %bname. %package doc Summary: %bname documentation Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 2.1.0-6 %description doc %bname is a scalable RPC library for Erlang-VM based languages. %banme uses a mailbox-per-node architecture and gen_tcp processes to parallelize data reception from multiple nodes without blocking the VM's distributed port. This package contains documentation in HTML format. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 %patch11 -p1 %patch12 -p1 %patch13 -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, lists:foldl(fun(E, A) -> lists:keydelete(E, 1, A) end, L, [files, maintainers]), {vsn, "%version"})]), [raw]), init:stop().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || {K, _} = E <- L, not lists:member(K, [deps, plugins])], [raw]), init:stop().' %if %_otp_release >= 21 ERL_COMPILER_OPTIONS="[inline,verbose%{?_with_lager:,{d,'HUT_LAGER'},{parse_transform,lager_transform}}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}%{?_with_lager:,{d,'HUT_LAGER'},{parse_transform,lager_transform}}]" \ %endif 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/priv/ssl install -p -m 0644 priv/ssl/* %buildroot%_otplibdir/%bname-%version/priv/ssl/ 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 *.md %buildroot%_docdir/%name/ %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 * Sun Jul 09 2023 Led <ledest@gmail.com> 2.1.0-18 - fix build on Erlang/OTP < 21 * Sat Aug 06 2022 Led <ledest@gmail.com> 2.1.0-17 - update BuildRequires * Sat Aug 21 2021 Led <ledest@gmail.com> 2.1.0-16 - add patches: + gen_rpc-2.1.0-stacktrace.patch * Fri Jul 12 2019 Led <ledest@gmail.com> 2.1.0-15 - update patches: + gen_rpc-2.1.0-ssl.patch * Fri Jul 12 2019 Led <ledest@gmail.com> 2.1.0-14 - add patches: + gen_rpc-2.1.0-ssl.patch * Sat Jul 06 2019 Led <ledest@gmail.com> 2.1.0-13 - fix descriptions - update Provides * Sat Jul 06 2019 Led <ledest@gmail.com> 2.1.0-12 - fix build on Erlang/OTP >= 21 * Sat Jul 06 2019 Led <ledest@gmail.com> 2.1.0-11 - fix build on Erlang/OTP >= 21 * Thu Jan 03 2019 Led <ledest@gmail.com> 2.1.0-10 - revert added {preprocess, true} in edoc_opts - update BuildRequires * Thu Jan 03 2019 Led <ledest@gmail.com> 2.1.0-9 - add {preprocess, true} to edoc_opts * Sun Dec 30 2018 Led <ledest@gmail.com> 2.1.0-8 - add patches: + gen_rpc-2.1.0-message_queue_data-off_heap.patch - update Requires and BuildRequires * Sun Dec 30 2018 Led <ledest@gmail.com> 2.1.0-7 - add patches: + 0001-Fix-sol_socket-to-sol_tcp-issue-due-to-API-change-79.patch * Tue Feb 27 2018 Led <ledest@gmail.com> 2.1.0-6 - update BuildRequires - move headers and docs to separate subpackages * Tue May 09 2017 Led <ledest@gmail.com> 2.1.0-5 - improve BuildRequires * Fri May 05 2017 Led <ledest@gmail.com> 2.1.0-4 - update Requires and BuildRequires * Fri Mar 24 2017 Led <ledest@gmail.com> 2.1.0-3 - git 6e17cac * Fri Mar 10 2017 Led <ledest@gmail.com> 2.1.0-2 - update BuildRequires * Tue Dec 27 2016 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 - git 1b6518b * Tue May 24 2016 Led <ledest@gmail.com> 1.0.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