Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
cache_tab
cache_tab.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cache_tab.spec of Package cache_tab
%define bname cache_tab Name: %bname Version: 1.0.30 Release: 1 Summary: In-memory cache Erlang / Elixir library 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.0.9-doc.patch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erts-devel # check BuildRequires: erlang-p1_utils >= 1.0.25 %description %bname application is intended to proxy back-end operations for Key-Value insert, lookup and delete and maintain a cache of those Key-Values in-memory, to save back-end operations. Operations are intended to be atomic between back-end and cache tables. The lifetime of the cache object and the max size of the cache can be defined as table parameters to limit the size of the in-memory tables. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release %description devel %bname application is intended to proxy back-end operations for Key-Value insert, lookup and delete and maintain a cache of those Key-Values in-memory, to save back-end operations. This package contains headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %bname < 1.1.18 %description doc %bname application is intended to proxy back-end operations for Key-Value insert, lookup and delete and maintain a cache of those Key-Values in-memory, to save back-end operations. This package contains documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %patch1 -p1 %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().' ERL_COMPILER_OPTIONS='[inline,verbose]' rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar -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/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='[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 * Mon Jun 13 2022 Led <ledest@gmail.com> 1.0.30-1 - 1.0.30 * Sat Feb 29 2020 Led <ledest@gmail.com> 1.0.22-1 - 1.0.22 - remove patches: + cache_tab-1.0.12-nif.patch * Fri Nov 01 2019 Led <ledest@gmail.com> 1.0.19-1 - 1.0.19 * Sun Mar 17 2019 Led <ledest@gmail.com> 1.0.18-2 - update BuildRequires * Sun Mar 17 2019 Led <ledest@gmail.com> 1.0.18-1 - 1.0.18 - git 098da1c - move docs to separate subpackage - add devel subpackage * Fri Dec 15 2017 Led <ledest@gmail.com> 1.0.12-1 - 1.0.12 - add patches: + cache_tab-1.0.12-nif.patch * Sat Sep 30 2017 Led <ledest@gmail.com> 1.0.11-1 - 1.0.11 * Thu Sep 14 2017 Led <ledest@gmail.com> 1.0.10-1 - 1.0.10 * Sun Jul 16 2017 Led <ledest@gmail.com> 1.0.9-1 - 1.0.9 - add patches: + cache_tab-1.0.9-doc.patch * Sun May 21 2017 Led <ledest@gmail.com> 1.0.7-3 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.7-2 - update BuildRequires * Thu Mar 30 2017 Led <ledest@gmail.com> 1.0.7-1 - 1.0.7 * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.6-2 - update BuildRequires * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.6-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