erlang-mustache/erlang-mustache.spec

44 lines
1.1 KiB
RPMSpec
Raw Normal View History

2020-08-29 18:23:55 +08:00
%global realname mustache
%global upstream mojombo
Name: erlang-mustache
Version: 0.1.1
2023-07-23 09:39:55 +08:00
Release: 2
2020-08-29 18:23:55 +08:00
BuildArch: noarch
Summary: Mustache template engine for Erlang
License: MIT
URL: https://github.com/mojombo/mustache.erl
Source0: https://github.com/mojombo/mustache.erl/archive/v%{version}/mustache-%{version}.tar.gz
Patch1: erlang-mustache-0001-Migrate-to-a-new-Meck.patch
BuildRequires: erlang-meck
BuildRequires: erlang-rebar
2023-07-23 09:39:55 +08:00
BuildRequires: erlang-eunit
2020-08-29 18:23:55 +08:00
%description
An Erlang port of Mustache for Ruby. Mustache is a framework-agnostic template
system that enforces separation of view logic from the template file. Indeed, it
is not even possible to embed logic in the template. This allows templates to be
reused across language boundaries and for other language independent uses.
%prep
%autosetup -p1 -n mustache.erl-%{version}
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test}
%files
%license LICENSE
%doc examples/ README.md
%{erlang_appdir}/
%changelog
2023-07-23 09:39:55 +08:00
* Sun Jul 23 2023 wulei <wu_lei@hoperun.com> - 0.1.1-2
- Fix build error
2020-08-29 18:23:55 +08:00
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 0.1.1-1
- package init