Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
customized_hdr_histogram
customized_hdr_histogram.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File customized_hdr_histogram.spec of Package customized_hdr_histogram
%define bname customized_hdr_histogram %define sname hdr_histogram_erl Name: %bname Version: 0.3.2 Release: 1 Summary: High Dynamic Range HDR Histogram for Erlang/OTP, Elixir & LFE License: BSD-2-Clause Group: Development/Tools/Other URL: https://github.com/afronski/%sname Source: %sname-%version.tar.xz #Patch: %bname-%version-git.patch Provides: erlang-%bname = %version-%release Provides: %sname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erts-devel BuildRequires: zlib-devel # check BuildRequires: ct_run %description The HDR histogram library is an Erlang native interface function wrapper of Mike Barker's C port of Gil Tene's HDR Histogram utility. A high dynamic range histogram is one that supports recording and analyzing sampled data points across a configurable range with configurable precision within that range. The precision is expressed as a number of significant figures in the recording. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Provides: %sname-doc = %version-%release %description doc Documentation of %bname. %prep %setup -q -n %sname-%version #patch -p1 rm -f doc/edoc-info %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || {K, _} = E <- L, not lists:member(K, [deps, plugins, port_env])], [raw]), init:stop().' CFLAGS="%optflags -std=c99 -D_POSIX_C_SOURCE=199309L" 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/priv install -p -m 0755 priv/* %buildroot%_otplibdir/%bname-%version/priv/ 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/examples ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 AUTHORS README* doc/hdr_*.md %buildroot%_docdir/%name/ install -p -m 0644 examples/* %buildroot%_docdir/%name/examples/ %check rebar ct %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 * Sun Dec 03 2017 Led <ledest@gmail.com> 0.3.2-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