Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Ledest:erlang
khepri
khepri.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File khepri.spec of Package khepri
%define bname khepri Name: %bname Version: 0.13.0 Release: 1 Summary: A tree-like replicated on-disk database library for Erlang License: MPL-2.0 Group: Development/Tools/Other URL: https://github.com/rabbitmq/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: erlang >= 1:23.0 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-xmerl-devel BuildRequires: erlang-ra >= 2.9.1 BuildRequires: erlang-horus-devel >= 0.2.5 BuildRequires: erlang-otpbp-devel >= 4.3.0 # check BuildRequires: erlang-horus >= 0.2.5 BuildRequires: erlang-otpbp >= 4.3.0 %description Khepri is a tree-like replicated on-disk database library for Erlang and Elixir. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release %description doc Khepri is a tree-like replicated on-disk database library for Erlang and Elixir. This package contains documentation of %bname. %prep %setup -q -n %bname-%version #patch -p1 -P0 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), C = case lists:keyfind(edoc_opts, 1, L) of {_, [_|_] = O} -> lists:keystore(edoc_opts, 1, L, {edoc_opts, lists:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, O, [doclet, layout])}); _ -> L end, file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, C)], [raw]), init:stop().' %if %_otp_release < 24 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,svg} %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 README* %buildroot%_docdir/%name/ %check %if %_otp_release < 24 export ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" %else export ERL_COMPILER_OPTIONS="[inline,verbose]" %endif rebar -C %bname.rebar.config xref #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 May 11 2024 Led <ledest@gmail.com> 0.13.0-1 - 0.13.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.12.1-1 - 0.12.1 * Sat May 11 2024 Led <ledest@gmail.com> 0.11.0-1 - 0.11.0 - git ca24e9e * Sat May 11 2024 Led <ledest@gmail.com> 0.10.1-1 - 0.10.1 * Sat May 11 2024 Led <ledest@gmail.com> 0.9.0-1 - 0.9.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.8.0-1 - 0.8.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.7.0-1 - 0.7.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.6.0-1 - 0.6.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.5.0-2 - fix build on Erlang/OTP < 24 * Sat May 11 2024 Led <ledest@gmail.com> 0.5.0-1 - 0.5.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.4.3-1 - 0.4.3 * Sat May 11 2024 Led <ledest@gmail.com> 0.3.0-1 - 0.3.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.2.0-1 - 0.2.0 * Sat May 11 2024 Led <ledest@gmail.com> 0.1.1-1 - 0.1.1 * Sat Nov 06 2021 Led <ledest@gmail.com> 0.1.0-1 - 0.1.0 - git 49266d6
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