From a404343a2512175c53c61ab669b72bff68393d2d Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Apr 12 2016 15:49:45 +0000 Subject: Initial import (#1317183). --- diff --git a/.gitignore b/.gitignore index e69de29..63185b5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/1.0.1.tar.gz diff --git a/erlang-stun.spec b/erlang-stun.spec new file mode 100644 index 0000000..2490c9b --- /dev/null +++ b/erlang-stun.spec @@ -0,0 +1,54 @@ +%global srcname stun +# Erlang packages don't seem to ship debug files, as the build process does not generate them +%global debug_package %{nil} + + +Name: erlang-%{srcname} +Version: 1.0.1 +Release: 1%{?dist} + +License: ASL 2.0 +Summary: STUN and TURN library for Erlang / Elixir +URL: https://github.com/processone/stun/ +Source0: https://github.com/processone/stun/archive/%{version}.tar.gz + +Provides: erlang-p1_stun = %{version}-%{release} +Obsoletes: erlang-p1_stun < 1.0.1 + +BuildRequires: erlang-edoc +BuildRequires: erlang-rebar +BuildRequires: erlang-fast_tls +BuildRequires: erlang-p1_utils + + +%description +STUN and TURN library for Erlang / Elixir. Both STUN (Session Traversal +Utilities for NAT) and TURN standards are used as techniques to establish media +connection between peers for VoIP (for example using SIP or Jingle) and WebRTC. + + +%prep +%autosetup -n stun-%{version} + + +%build +%{rebar_compile} + + +%install +%{erlang_install} + + +%check +%{rebar_eunit} + + +%files +%license LICENSE.txt +%doc README.md +%{erlang_appdir} + + +%changelog +* Sat Mar 12 2016 Randy Barlow - 1.0.1-1 +- Initial release. diff --git a/sources b/sources index e69de29..dbac066 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +68e4dc3ac80c4012c3fba570523d322e 1.0.1.tar.gz