Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang-pbkdf2
erlang-pbkdf2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-pbkdf2.spec of Package erlang-pbkdf2
%define bname pbkdf2 Name: erlang-%bname Version: 2.0.1 Release: 2 Summary: A PBKDF2 implementation for Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/basho/erlang-%bname.git Source: %name-%version.tar.xz BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface BuildRequires: erlang-otpbp-devel >= 4.13.0 # For check BuildRequires: erlang-eunit BuildRequires: erlang-otpbp >= 4.13.0 %description A PBKDF2 implementation for Erlang extracted from Apache CouchDB. %package doc Summary: Documentation of %name Group: Documentation/HTML Conflicts: %name < 2.0.1-1 %description doc A PBKDF2 implementation for Erlang extracted from Apache CouchDB. This package contains documentation of %name. %prep %setup -q -n %name-%version 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, ~p}.~n", [[{vsn, "%version"}|proplists:delete(vsn, L)]]), [raw]), init:stop().' %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().' %if %_otp_release > 23 ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose]" \ %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/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 %if %_otp_release > 23 ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose]" \ %endif rebar -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 * Sat Aug 21 2021 Led <ledest@gmail.com> 2.0.1-2 - use otpbp_pt for deprecated crypto functions * Sun Aug 11 2019 Led <ledest@gmail.com> 2.0.1-1 - move docs to separate subpackage. - add %%check * Tue Sep 29 2015 Led <ledest@gmail.com> 2.0.0-2 - remove unneeded empty include dir * Wed May 20 2015 Led <ledest@gmail.com> 2.0.0-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