erlang-neotoma/erlang-neotoma.spec
2023-07-23 10:15:11 +08:00

41 lines
991 B
RPMSpec

%global realname neotoma
%global upstream seancribbs
Name: erlang-neotoma
Version: 1.7.4
Release: 2
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
BuildRequires: erlang-eunit
%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
* Sun Jul 23 2023 wulei <wu_lei@hoperun.com> - 1.7.4-2
- Fix build error
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 1.7.4-1
- package init