Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > df1c8a4a3c624e15f4ceac7e3572f30f > files > 2

erlang-p1_pam-1.0.0-2.mga7.src.rpm

%global srcname p1_pam
# The Fedora Erlang convention is to avoid separating the debug symbols:
# https://fedoraproject.org/wiki/User:Peter/Erlang_Packaging_Guidelines
%global debug_package %{nil}


Name:       erlang-%{srcname}
Version:    1.0.0
Release:    %mkrel 2
Group:      Development/Erlang
Summary:    Library for ejabberd for PAM authentication support
License:    GPLv2
URL:        https://github.com/processone/epam/
Source0:    https://github.com/processone/epam/archive/%{version}.tar.gz

BuildRequires: erlang-rebar
BuildRequires: erlang-rpm-macros
BuildRequires: pam-devel

Requires: erlang-erts


%description
An Erlang library for ejabberd that helps with PAM authentication.


%prep
%autosetup -n epam-%{version}


%build
%rebar_compile


%install
install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin
install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/bin

install -pm644 ebin/* $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin
install -pm755 priv/bin/epam $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/bin/


%files
%license COPYING
%doc README.md
%{_erllibdir}/%{srcname}-%{version}


%changelog
* Sun Sep 23 2018 umeabot <umeabot> 1.0.0-2.mga7
  (not released yet)
+ Revision: 1297621
- Mageia 7 Mass Rebuild

* Fri May 06 2016 neoclust <neoclust> 1.0.0-1.mga6
+ Revision: 1009911
- imported package erlang-p1_pam