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.0 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: erlang-pbkdf2-2.0.0.tar.xz BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface # For check BuildRequires: erlang-eunit %description A PBKDF2 implementation for Erlang extracted from Apache CouchDB. %prep %setup -q erl -noshell -eval ' A = "src/%bname.app.src", {ok, [{application, %bname, L}]} = file:consult(A), file:write_file(A, io_lib:format("{application, %bname, ~p}.~n", [[{vsn, "%version"}|proplists:delete(vsn, L)]])), halt().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> io_lib:format("~p.~n", [E]) end, [{erl_opts, [slim,inline|proplists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}|proplists:delete(erl_opts, L)])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %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 %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * 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