!1 package init
From: @yaokai13 Reviewed-by: @yanzh_h Signed-off-by: @yanzh_h
This commit is contained in:
commit
e2db7d0dc6
36
erlang-neotoma.spec
Normal file
36
erlang-neotoma.spec
Normal file
@ -0,0 +1,36 @@
|
||||
%global realname neotoma
|
||||
%global upstream seancribbs
|
||||
Name: erlang-neotoma
|
||||
Version: 1.7.4
|
||||
Release: 1
|
||||
BuildArch: noarch
|
||||
Summary: Erlang library and packrat parser-generator for parsing expression grammars
|
||||
License: MIT
|
||||
URL: http://github.com/seancribbs/neotoma
|
||||
Source0: https://github.com/seancribbs/neotoma/archive/%{version}/neotoma-%{version}.tar.gz
|
||||
BuildRequires: erlang-rebar
|
||||
%description
|
||||
Erlang library and packrat parser-generator for parsing expression grammars.
|
||||
|
||||
%prep
|
||||
%setup -q -n neotoma-%{version}
|
||||
|
||||
%build
|
||||
%{erlang_compile}
|
||||
|
||||
%install
|
||||
%{erlang_install}
|
||||
mkdir -p %{buildroot}%{erlang_appdir}/priv
|
||||
install -p -m 0644 priv/neotoma_parse.peg priv/peg_includes.hrl %{buildroot}%{erlang_appdir}/priv/
|
||||
|
||||
%check
|
||||
%{erlang_test}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc extra/ README.textile
|
||||
%{erlang_appdir}/
|
||||
|
||||
%changelog
|
||||
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 1.7.4-1
|
||||
- package init
|
||||
4
erlang-neotoma.yaml
Normal file
4
erlang-neotoma.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: seancribbs/neotoma
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
BIN
neotoma-1.7.4.tar.gz
Normal file
BIN
neotoma-1.7.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user