erlang-neotoma/erlang-neotoma.spec

41 lines
991 B
RPMSpec
Raw Normal View History

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