Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37546129
en ru br
ALT Linux repos
S:0.6.10-alt1

Group :: Development/Erlang
RPM: erlang-p1_oauth2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%global realname p1_oauth2

Name: erlang-%realname
Version: 0.6.10
Release: alt1
Summary: An Oauth2 implementation for Erlang
Group: Development/Erlang
License: MIT
Url: https://github.com/processone/p1_oauth2

BuildArch: noarch

# https://github.com/processone/p1_oauth2.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-erlang
BuildRequires: erlang-otp-devel erlang-devel
BuildRequires: /usr/bin/rebar
BuildRequires: erlang-proper
BuildRequires: erlang-meck

%description
This library is designed to simplify the implementation of the server side of
OAuth2. It is a fork of erlang-oauth2 by processone, and is needed by ejabberd.

%prep
%setup

%build
%rebar_compile

%install
%rebar_install %realname

%check
%rebar_eunit -C rebar.test.config

%files
%doc LICENSE
%doc README.md
%_erllibdir/%realname-%version

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin