Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
fast_tls
fast_tls.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fast_tls.spec of Package fast_tls
%define bname fast_tls Name: %bname Version: 1.1.16 Release: 1 Summary: TLS / SSL OpenSSL-based native driver for Erlang / Elixir License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/processone/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: %bname-1.1.15-fix-build-docs.patch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erts-devel erlang-public_key-devel BuildRequires: pkg-config pkgconfig(openssl) # check BuildRequires: p1_utils >= 1.0.16 %description Fast TSL is a native TLS / SSL driver for Erlang / Elixir. It is based on OpenSSL, a proven and efficient TLS implementation. It is designed for efficiency, speed and compliance. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %bname < 1.0.17 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %patch1 -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:keydelete(files, 1, L)]), [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:foldl(fun proplists:delete/2, lists:keystore(erl_opts, 1, L, {erl_opts, lists:keydelete(src_dirs, 1, proplists:get_value(erl_opts, L, []))}), [deps, port_env])), [raw]), init:stop().' LIBS="$(pkg-config --libs openssl)" CFLAGS="%optflags -DHAS_ERTS_EXIT" CC="%__cc" \ ERL_COMPILER_OPTIONS="[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/priv/lib install -p -m 0755 priv/lib/* %buildroot%_otplibdir/%bname-%version/priv/lib/ 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/%name-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 CHANGELOG.* CONTRIBUTING.* README.* %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[verbose]" rebar %{?_smp_mflags} -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 * Thu Jun 29 2023 Led <ledest@gmail.com> 1.1.16-1 - 1.1.16 * Thu Jun 29 2023 Led <ledest@gmail.com> 1.1.15-2 - remove 'inline' option * Sun Jun 12 2022 Led <ledest@gmail.com> 1.1.15-1 - 1.1.15 - update patches: + fast_tls-1.1.15-fix-build-docs.patch * Sat Feb 29 2020 Led <ledest@gmail.com> 1.1.4-1 - 1.1.4 * Fri Nov 01 2019 Led <ledest@gmail.com> 1.1.2-1 - 1.1.2 - git 229184f * Sat Mar 16 2019 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 - git 3ff3dc1 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.26-1 - 1.0.26 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.25-2 - update BuildRequires * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.25-1 - 1.0.25 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.23-1 - 1.0.23 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.22-1 - 1.0.22 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.19-1 - 1.0.19 - update patches: + fast_tls-1.0.19-fix-build-docs.patch * Sun Nov 26 2017 Led <ledest@gmail.com> 1.0.17-1 - 1.0.17 - move docs to separate subpackage * Sun Jul 16 2017 Led <ledest@gmail.com> 1.0.14-1 - 1.0.14 * Sun Apr 02 2017 Led <ledest@gmail.com> 1.0.11-2 - add 'inline' option * Thu Mar 30 2017 Led <ledest@gmail.com> 1.0.11-1 - 1.0.11 * Sun Feb 19 2017 Led <ledest@gmail.com> 1.0.10-4 - git 940b773 - update patches: + fast_tls-1.0.10-g940b773-fix-build-docs.patch * Sun Feb 12 2017 Led <ledest@gmail.com> 1.0.10-3 - enable %%check * Sat Feb 11 2017 Led <ledest@gmail.com> 1.0.10-2 - remove 'inline' option * Mon Jan 16 2017 Led <ledest@gmail.com> 1.0.10-1 - 1.0.10 * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.9-2 - add missed priv * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.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