Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
ecache
ecache.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ecache.spec of Package ecache
%define bname ecache Name: %bname Version: 2.14.2 Release: 1 Summary: Erlang ETS based cache License: MIT Group: Development/Tools/Other URL: https://github.com/Ledest/%bname Source: %bname-%version.tar.xz Provides: erlang-%bname = %version-%release BuildArch: noarch Requires: erlang >= 1:18 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description %bname is an Erlang ETS based cache. %bname stores your cache items in ets. Each cache item gets its own monitoring process to auto-delete the cache item when the TTL expires. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 2.5.5 %description doc %bname is an Erlang ETS based cache. %bname stores your cache items in ets. Each cache item gets its own monitoring process to auto-delete the cache item when the TTL expires. This package contains documentation of %bname. %prep %setup -q -n %bname-%version erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), S = [description, vsn, registered, applications, modules, env, links, licenses], file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~91p}.~n", [[E || {K, _} = E <- L, lists:member(K, [description, vsn, registered, applications, modules, env, links, licenses])]]), [raw]), init:stop().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), prim_file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)]), 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/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 install -p -m 0644 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-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat Jul 22 2023 Led <ledest@gmail.com> 2.14.2-1 - 2.14.2 * Mon Jan 02 2023 Led <ledest@gmail.com> 2.14.0-1 - 2.14.0 * Sun Oct 03 2021 Led <ledest@gmail.com> 2.13.2-1 - 2.13.2 * Thu Sep 09 2021 Led <ledest@gmail.com> 2.13.0-1 - 2.13.0 * Wed Sep 08 2021 Led <ledest@gmail.com> 2.12.0-1 - 2.12.0 * Wed Sep 08 2021 Led <ledest@gmail.com> 2.11.0-1 - 2.11.0 * Wed Sep 08 2021 Led <ledest@gmail.com> 2.10.0-1 - 2.10.0 * Sun Mar 14 2021 Led <ledest@gmail.com> 2.9.8-2 - update License * Sun Feb 23 2019 Led <ledest@gmail.com> 2.9.8-1 - 2.9.8 * Sat Feb 22 2019 Led <ledest@gmail.com> 2.9.7-1 - 2.9.7 * Thu Jan 03 2019 Led <ledest@gmail.com> 2.9.6-1 - 2.9.6 * Sat Dec 29 2018 Led <ledest@gmail.com> 2.9.5-1 - 2.9.5 * Fri Dec 14 2018 Led <ledest@gmail.com> 2.9.4-1 - 2.9.4 * Wed Apr 04 2018 Led <ledest@gmail.com> 2.9.3-1 - 2.9.3 * Wed Feb 07 2018 Led <ledest@gmail.com> 2.9.2-1 - 2.9.2 * Wed Jan 31 2018 Led <ledest@gmail.com> 2.9.1-1 - 2.9.1 * Sat Jan 27 2018 Led <ledest@gmail.com> 2.8.5-1 - 2.8.5 * Wed Jan 24 2018 Led <ledest@gmail.com> 2.8.4-1 - 2.8.4 * Wed Jan 24 2018 Led <ledest@gmail.com> 2.8.3-1 - 2.8.3 * Tue Jan 23 2018 Led <ledest@gmail.com> 2.8.2-1 - 2.8.2 * Tue Jan 23 2018 Led <ledest@gmail.com> 2.8.1-1 - 2.8.1 * Sun Dec 31 2017 Led <ledest@gmail.com> 2.8.0-2 - update URL * Mon Dec 25 2017 Led <ledest@gmail.com> 2.8.0-1 - 2.8.0 * Mon Dec 25 2017 Led <ledest@gmail.com> 2.7.1-1 - 2.7.1 * Wed Dec 06 2017 Led <ledest@gmail.com> 2.6.0-1 - 2.6.0 * Wed Nov 22 2017 Led <ledest@gmail.com> 2.5.5-1 - 2.5.5 - move docs to separate subpackage * Sun Aug 06 2017 Led <ledest@gmail.com> 2.5.3-1 - 2.5.3 * Wed Jul 26 2017 Led <ledest@gmail.com> 2.5.2-1 - 2.5.2 * Sun Jul 23 2017 Led <ledest@gmail.com> 2.5.1-1 - 2.5.1 * Wed Jul 12 2017 Led <ledest@gmail.com> 2.5.0-2 - fix %%build section * Tue Jun 27 2017 Led <ledest@gmail.com> 2.5.0-1 - 2.5.0 * Thu Jun 15 2017 Led <ledest@gmail.com> 2.4.2-1 - 2.4.2 * Wed Jun 14 2017 Led <ledest@gmail.com> 2.4.0-1 - 2.4.0 - remove patches: + 0001-fix-badmatch.patch * Wed Jun 14 2017 Led <ledest@gmail.com> 2.3.0-1 - 2.3.0 * Wed Jun 14 2017 Led <ledest@gmail.com> 2.2.0-1 - 2.2.0 - requires Erlang/OTP >= 18 - add patches: + 0001-fix-badmatch.patch * Wed Jun 14 2017 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 - remove patches: + ecache_server-delete-reaper-process-in-handle_call.patch + ecache_server-fix-find-delete-oldest-object-in-handle_call.patch + ecache_server-fix-reply-in-handle_call-reap_oldest.patch + ecache_server-kill-TTL-reaper-when-dirty-or-generic_dirty.patch + ecache_server-replace-ets-take-2-to-ets-lookup-2-and-ets-delete_object-2.patch * Thu Mar 24 2016 Led <ledest@gmail.com> 2.0.0-9 - add patches: + ecache_server-delete-reaper-process-in-handle_call.patch * Thu Mar 24 2016 Led <ledest@gmail.com> 2.0.0-8 - remove patches: + ecache_server-replace-ets-take-2-to-ets-lookup-2-and-ets-delete-2.patch - add patches: + ecache_server-replace-ets-take-2-to-ets-lookup-2-and-ets-delete_object-2.patch * Thu Mar 24 2016 Led <ledest@gmail.com> 2.0.0-7 - update patches: + ecache_server-replace-ets-take-2-to-ets-lookup-2-and-ets-delete-2.patch * Thu Mar 24 2016 Led <ledest@gmail.com> 2.0.0-6 - add patches: + ecache_server-replace-ets-take-2-to-ets-lookup-2-and-ets-delete-2.patch * Sun Mar 20 2016 Led <ledest@gmail.com> 2.0.0-5 - clean up BuildRequires - remove patches: + 0001-fix-testing-ecache-total_size-1-for-32-bit-platforms.patch + 0002-ecache_server-remove-unneeded-multiple-calls-of-os-t.patch + 0003-ecache_reaper-simplify-ecache_reaper-2-by-using-time.patch + 0004-ecache_reaper-remove-double-check-of-cache-size-for-.patch + 1001-ecache_server-fix-reply-in-handle_call-reap_oldest.patch + 1002-ecache_server-fix-find-delete-oldest-object-in-handl.patch - add patches: + ecache-2.0.0-git.patch + ecache_server-fix-reply-in-handle_call-reap_oldest.patch + ecache_server-fix-find-delete-oldest-object-in-handle_call.patch + ecache_server-kill-TTL-reaper-when-dirty-or-generic_dirty.patch * Sat Mar 12 2016 Led <ledest@gmail.com> 2.0.0-4 - add patches: + 1001-ecache_server-fix-reply-in-handle_call-reap_oldest.patch + 1002-ecache_server-fix-find-delete-oldest-object-in-handl.patch * Sat Jan 23 2016 Led <ledest@gmail.com> 2.0.0-3 - remove patches: + ecache-2.0.0-fix-tests.patch - add patches: + 0001-fix-testing-ecache-total_size-1-for-32-bit-platforms.patch + 0002-ecache_server-remove-unneeded-multiple-calls-of-os-t.patch + 0003-ecache_reaper-simplify-ecache_reaper-2-by-using-time.patch + 0004-ecache_reaper-remove-double-check-of-cache-size-for-.patch * Sat Jan 23 2016 Led <ledest@gmail.com> 2.0.0-2 - add patches: + ecache-2.0.0-fix-tests.patch * Sat Jan 23 2016 Led <ledest@gmail.com> 2.0.0-1 - 2.0.0 - enable %%check * Sat Jul 04 2015 Led <ledest@gmail.com> 0.3.1-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