Initial build

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2016-05-09 19:35:41 +03:00
parent c82bde090e
commit 2330e3fbb9
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/eflame-0.tar.gz

55
erlang-eflame.spec Normal file
View File

@ -0,0 +1,55 @@
%global realname eflame
%global upstream slfritchie
# Technically, we're noarch; but erlang whose directories we install into is not.
%global debug_package %{nil}
Name: erlang-%{realname}
Version: 0
Release: 0.1.gita085181%{?dist}
Summary: Flame Graph profiler for Erlang
Group: Development/Languages
License: MIT
URL: https://github.com/%{upstream}/%{realname}
%if 0%{?el7}%{?fedora}
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
%endif
#Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
Source0: https://github.com/%{upstream}/%{realname}/archive/a08518142126f5fc541a3a3c4a04c27f24448bae/%{realname}-%{version}.tar.gz
BuildRequires: erlang-rebar
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Flame Graph profiler for Erlang.
%prep
%setup -q -n %{realname}-a08518142126f5fc541a3a3c4a04c27f24448bae
%build
%{erlang_compile}
%install
%{erlang_install}
install -D -p -m 0755 flamegraph.pl %{buildroot}%{erlang_appdir}/bin/flamegraph.pl
install -D -p -m 0755 flamegraph.riak-color.pl %{buildroot}%{erlang_appdir}/bin/flamegraph.riak-color.pl
%check
%{erlang_test}
%files
%license LICENSE
%doc README.md README-Riak-Example.md
%{erlang_appdir}/
%changelog
* Fri Apr 22 2016 Peter Lemenkov <lemenkov@gmail.com> - 0-0.1.gita085181
- Initial build

View File

@ -0,0 +1 @@
3a7ca85d9a946a6a0239e18450d61e85 eflame-0.tar.gz