erlang-neotoma/erlang-neotoma.spec
2020-08-29 18:24:02 +08:00

37 lines
890 B
RPMSpec

%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