%global realname protobuffs %global upstream basho %global debug_package %{nil} Name: erlang-%{realname} Version: 0.9.1 Release: %mkrel 1 Summary: A set of Protocol Buffers tools and modules for Erlang applications Group: Development/Erlang License: MIT URL: https://github.com/%{upstream}/erlang_%{realname} VCS: scm:git:https://github.com/%{upstream}/erlang_%{realname}.git Source0: https://github.com/%{upstream}/erlang_%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Source1: erlang-protobuffs-protoc-erl BuildRequires: erlang-meck # FIXME #BuildRequires: erlang-proper BuildRequires: erlang-rebar %description A set of Protocol Buffers tools and modules for Erlang applications. %prep %autosetup -p1 -n erlang_%{realname}-%{version} %build %{erlang_compile} %install %{erlang_install} # Install Erlang protobuf compiler script install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/protoc-erl %if 0 %check %{erlang_test} %endif %files %license LICENSE %doc AUTHORS CONTRIBUTING.md README.md README_ORIG.md RELNOTES.md %{_bindir}/protoc-erl %{erlang_appdir}/ %changelog * Sat Sep 22 2018 wally <wally> 0.9.1-1.mga7 (not released yet) + Revision: 1296382 - new version 0.9.1 (sync with Fedora) * Fri May 06 2016 neoclust <neoclust> 0.8.2-2.mga6 + Revision: 1009776 - Rebuild post boostrap - imported package erlang-protobuffs