Blob Blame History Raw
%global realname parse_trans
%global upstream uwiger
# Technically, we're noarch; but erlang whose directories we install into is not.
%global debug_package %{nil}


Name:		erlang-%{realname}
Version:	3.0.0
Release:	1%{?dist}
Summary:	Parse transform utilities for Erlang
Group:		Development/Languages
License:	EPL 1.1 and 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-edown
BuildRequires:	erlang-rebar


%description
Parse transform utilities for Erlang.


%prep
%setup -q -n %{realname}-%{version}


%build
%{erlang_compile}


%install
%{erlang_install}


%check
%{erlang_test}


%files
%doc doc/ examples/ README.md
%{erlang_appdir}/


%changelog
* Tue Nov 15 2016 Peter Lemenkov <lemenkov@gmail.com> - 3.0.0-1
- Ver. 3.0.0

* Wed Mar 16 2016 Peter Lemenkov <lemenkov@gmail.com> - 2.9.2-1
- Ver. 2.9.2