%global realname clique %global upstream basho # Technically, we're noarch; but erlang whose directories we install into is not. %global debug_package %{nil} Name: erlang-%{realname} Version: 0.3.5 Release: 1%{?dist} Summary: CLI Framework for Erlang Group: Development/Languages License: ASL 2.0 URL: https://github.com/%{upstream}/%{realname} %if 0%{?el7}%{?fedora} VCS: scm:git:https://github.com/%{upstream}/%{realname}.git %endif Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz BuildRequires: erlang-cuttlefish BuildRequires: erlang-rebar %description Clique is an opinionated framework for building command line interfaces in Erlang. It provides users with an interface that gives them enough power to build complex CLIs, but enough constraint to make them appear consistent. %prep %setup -q -n %{realname}-%{version} %build %{erlang_compile} %install %{erlang_install} %check %{erlang_test} %files %license LICENSE %doc README.md %{erlang_appdir}/ %changelog * Wed Mar 16 2016 Peter Lemenkov - 0.3.5-1 - Ver. 0.3.5