Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
eredis
eredis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eredis.spec of Package eredis
%define bname eredis Name: %bname Version: 1.2.0 Release: 2 Summary: Non-blocking Redis client for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/wooga/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-fix-doc-typo.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # check BuildRequires: redis %description Non-blocking Redis client for Erlang with focus on performance and robustness. Supported Redis features: - Any command, through eredis:q/2 - Transactions - Pipelining - Authentication & multiple dbs - Pubsub %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 1.1.0-1 %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.1.0-1 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 rm -f src/basho_* %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 %{?_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/%name install -p -m 0644 AUTHORS LICENSE README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check PATH=%_sbindir${PATH:+:$PATH} redis-server & rebar -C %bname.rebar.config eunit && rc=0 || rc=1 kill %%1 exit $rc %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 * Fri Jun 14 2019 Led <ledest@gmail.com> 1.2.0-2 - git 6845ed5 * Mon Oct 29 2018 Led <ledest@gmail.com> 1.2.0-1 - 1.2.0 - git 6a8253f * Fri Dec 15 2017 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 - move headers and docs to separate subpackages * Fri Jun 16 2017 Led <ledest@gmail.com> 1.0.8-9 - git 0951eff - add patches: + eredis-fix-doc-typo.patch * Sun May 21 2017 Led <ledest@gmail.com> 1.0.8-8 - fix config * Sun May 21 2017 Led <ledest@gmail.com> 1.0.8-7 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.8-6 - update BuildRequires * Wed Mar 30 2016 Led <ledest@gmail.com> 1.0.8-5 - update %%check * Fri Mar 18 2016 Led <ledest@gmail.com> 1.0.8-4 - clean up BuildRequires * Tue Dec 01 2015 Led <ledest@gmail.com> 1.0.8-3 - git bf12ecb * Sat Jul 04 2015 Led <ledest@gmail.com> 1.0.8-2 - remove patches: + eredis-1.0.7-doc.patch - update patches: + eredis-1.0.8-git.patch * Fri May 29 2015 Led <ledest@gmail.com> 1.0.8-1 - 1.0.8 - add %%check section - add patches: + eredis-1.0.8-git.patch * Mon Apr 20 2015 Led <ledest@gmail.com> 1.0.7-2 - clean ups * Mon Apr 20 2015 Led <ledest@gmail.com> 1.0.7-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