Group :: Development/Erlang
RPM: erlang-stun
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%define realname stun
Name: erlang-%realname
Version: 1.0.47
Release: alt1
Summary: STUN and TURN library for Erlang / Elixir
Group: Development/Erlang
License: Apache-2.0
Url: https://github.com/processone/stun
BuildArch: noarch
# https://github.com/processone/stun.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-erlang
BuildRequires: erlang-otp-devel erlang-devel
BuildRequires: /usr/bin/rebar
BuildRequires: erlang-p1_utils
BuildRequires: erlang-fast_tls
%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
%setup
%build
%rebar_compile
%install
%rebar_install %realname
%check
%rebar_eunit
%files
%doc LICENSE.txt
%doc README.md
%_erllibdir/%realname-%version
%changelog
…
Full changelog you can see here
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%define realname stun
Name: erlang-%realname
Version: 1.0.47
Release: alt1
Summary: STUN and TURN library for Erlang / Elixir
Group: Development/Erlang
License: Apache-2.0
Url: https://github.com/processone/stun
BuildArch: noarch
# https://github.com/processone/stun.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-erlang
BuildRequires: erlang-otp-devel erlang-devel
BuildRequires: /usr/bin/rebar
BuildRequires: erlang-p1_utils
BuildRequires: erlang-fast_tls
%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
%setup
%build
%rebar_compile
%install
%rebar_install %realname
%check
%rebar_eunit
%files
%doc LICENSE.txt
%doc README.md
%_erllibdir/%realname-%version
%changelog
…
Full changelog you can see here