diff --git a/erlang-neotoma.spec b/erlang-neotoma.spec new file mode 100644 index 0000000..52f4ddc --- /dev/null +++ b/erlang-neotoma.spec @@ -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 - 1.7.4-1 +- package init diff --git a/erlang-neotoma.yaml b/erlang-neotoma.yaml new file mode 100644 index 0000000..d83e69f --- /dev/null +++ b/erlang-neotoma.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: seancribbs/neotoma +tag_prefix: "^" +seperator: "." diff --git a/neotoma-1.7.4.tar.gz b/neotoma-1.7.4.tar.gz new file mode 100644 index 0000000..1d313d5 Binary files /dev/null and b/neotoma-1.7.4.tar.gz differ