Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
leo_backend_db
leo_backend_db.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leo_backend_db.spec of Package leo_backend_db
%define bname leo_backend_db Name: %bname Version: 1.2.27 Release: 7 Summary: Common modules for LeoFS and others License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/leo-project/%name Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-leo_commons-devel BuildRequires: erlang-bitcask-devel # check BuildRequires: erlang-proper erlang-meck BuildRequires: erlang-leo_commons BuildRequires: erlang-bitcask eleveldb %description %bname is common modules for LeoFS and others. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release %description devel %bname is common modules for LeoFS and others. This package contains headers of %bname. %package doc Summary: %bname documentation Group: Documentation/HTML %description doc %bname is common modules for LeoFS and others. This package contains documentation in HTML format. %prep %setup -q -n %bname-%version #patch0 -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, L, {vsn, "%version"})]), [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:keyreplace(require_otp_vsn, 1, lists:keydelete(deps, 1, L), {require_otp_vsn, "18|19|20|21|22|23|24|25|26"})), [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ 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 ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %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 * Sat Sep 02 2023 Led <ledest@gmail.com> 1.2.27-7 - add 26 to require_otp_vsn * Sun Aug 07 2022 Led <ledest@gmail.com> 1.2.27-6 - add 24, 25 to require_otp_vsn * Wed Jul 21 2021 Led <ledest@gmail.com> 1.2.27-5 - add 23 to require_otp_vsn * Sat Jul 06 2019 Led <ledest@gmail.com> 1.2.27-4 - update BuildRequires * Sat Jul 06 2019 Led <ledest@gmail.com> 1.2.27-3 - add 21, 22 to require_otp_vsn * Sun Feb 25 2018 Led <ledest@gmail.com> 1.2.27-2 - fix Group * Sat Feb 17 2018 Led <ledest@gmail.com> 1.2.27-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