6649a7cd4569829c70747d73f9355ba1fc37e301 — Timothée Floure 3 months ago 2b39cf5 master
Initial specfile for erlang-hex_core
1 files changed, 39 insertions(+), 0 deletions(-)

A erlang-hex_core/erlang-hex_core.spec
A erlang-hex_core/erlang-hex_core.spec => erlang-hex_core/erlang-hex_core.spec +39 -0
@@ 0,0 1,39 @@
+ %global upstream hexpm
+ %global realname hex_core
+ 
+ Name:     erlang-%{realname}
+ Version:  0.4.0
+ Release:  1%{?dist}
+ Summary:  Reference implementation of Hex specifications
+ License:  ASL 2.0
+ URL:      https://github.com/%{upstream}/%{realname}
+ Source0:  https://repo.hex.pm/tarballs/%{realname}-%{version}.tar
+ BuildArch:     noarch
+ BuildRequires: erlang-rebar
+ BuildRequires: erlang-proper
+ Requires:      erlang-proper
+ 
+ %description
+ %{summary}.
+ 
+ %prep
+ %setup -c -q
+ tar xzf contents.tar.gz # contained in source0
+ 
+ %build
+ %{erlang_compile}
+ 
+ %install
+ %{erlang_install}
+ 
+ %check
+ %{erlang_test}
+ 
+ %files
+ %license LICENSE
+ %doc README.md
+ %{erlang_appdir}/
+ 
+ %changelog
+ * Tue Feb 05 2019 Timothée Floure <fnux@fedoraproject.org> - 0.4.0-1
+ - Let there be package