summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:35:40 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:35:40 +0200
commit77cdca1692a5f53fcbbf80ace21af12a30a6b527 (patch)
treea52e347a0999455f192098fd67570d4916c98ec0
downloadrpm-erlang-bbmustache-77cdca1692a5f53fcbbf80ace21af12a30a6b527.tar.gz
rpm-erlang-bbmustache-77cdca1692a5f53fcbbf80ace21af12a30a6b527.tar.xz
rpm-erlang-bbmustache-77cdca1692a5f53fcbbf80ace21af12a30a6b527.zip
Initial specfile
-rw-r--r--erlang-bbmustache.spec39
1 files changed, 39 insertions, 0 deletions
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 <fnux@fedoraproject.org> - 1.5.0-1
+- Let there be package