From f099f351e19387db46663b5247de8ca8d7fd3113 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Jan 09 2016 23:00:57 +0000 Subject: Initial import (#1295075) --- diff --git a/.gitignore b/.gitignore index e69de29..f1ce3d5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/1.0.0.tar.gz diff --git a/erlang-cache_tab.spec b/erlang-cache_tab.spec new file mode 100644 index 0000000..2f703b2 --- /dev/null +++ b/erlang-cache_tab.spec @@ -0,0 +1,49 @@ +%global srcname p1_cache_tab +# Erlang packages don't seem to ship debug files, as the build process does not generate them +%global debug_package %{nil} + + +Name: erlang-cache_tab +Version: 1.0.0 +Release: 1%{?dist} +Summary: Erlang cache table application + +License: GPLv2 +URL: https://github.com/processone/cache_tab/ +Source0: https://github.com/processone/cache_tab/archive/%{version}.tar.gz + +Requires: erlang-erts +Requires: erlang-p1_utils +BuildRequires: erlang-rebar +BuildRequires: erlang-rpm-macros +BuildRequires: erlang-p1_utils + + +%description +This 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. + + +%prep +%autosetup -n cache_tab-%{version} + + +%build +%rebar_compile + + +%install +install -p -D -m 644 ebin/* --target-directory=$RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin + + +%files +%license COPYING +%{_erllibdir}/%{srcname}-%{version} + + +%changelog +* Sat Jan 9 2016 Jeremy Cline - 1.0.0-1 +- Initial release. diff --git a/sources b/sources index e69de29..17ff78b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3c6dd1b9576a876b6bc6bebcd583ad4b 1.0.0.tar.gz