From 77cdca1692a5f53fcbbf80ace21af12a30a6b527 Mon Sep 17 00:00:00 2001 From: Timothée Floure Date: Sun, 15 Jul 2018 10:35:40 +0200 Subject: Initial specfile --- erlang-bbmustache.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 erlang-bbmustache.spec diff --git a/erlang-bbmustache.spec b/erlang-bbmustache.spec new file mode 100644 index 0000000..36230b4 --- /dev/null +++ b/erlang-bbmustache.spec @@ -0,0 +1,39 @@ +%global realname bbmustache +%global upstream soranoba + +# Technically we're noarch, but our install path is not. +%global debug_package %{nil} + +Name: erlang-%{realname} +Version: 1.5.0 +Release: 1%{?dist} +Summary: Binary pattern match Based Mustache template engine +License: MIT +URL: https://github.com/%{upstream}/%{realname} +Source0: https://github.com/%{upstream}/%{realname}/archive/v%{version}/%{realname}-v%{version}.tar.gz +BuildRequires: erlang-rebar +Requires: erlang-rebar + +%description +%{summary}. + +%prep +%autosetup -n %{realname}-%{version} + +%build +%{erlang_compile} + +%install +%{erlang_install} + +%check +%{erlang_test} + +%files +%license LICENSE +%doc README.md doc/ +%{erlang_appdir}/ + +%changelog +* Sun Jul 15 2018 Timothée Floure - 1.5.0-1 +- Let there be package -- cgit