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

Group :: Development/Erlang
RPM: erlang-stringprep

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%global realname stringprep

%set_verify_elf_method relaxed

Name: erlang-%realname
Version: 1.0.27
Release: alt1
Summary: Fast Stringprep implementation for Erlang / Elixir
Group: Development/Erlang
License: Apache-2.0 and TCL
Url: https://github.com/processone/stringprep

# https://github.com/processone/stringprep.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: gcc-c++

%description
Stringprep is a framework for preparing Unicode test strings
in order to increase the likelihood that string input and string comparison work.

The principle are defined in RFC-3454: Preparation of Internationalized Strings.
This library is leverage Erlang native NIF mechanism to provide extremely fast and efficient processing.
The library includes support for several Stringprep profiles used in XMPP protocole like:
   Nodeprep
   Nameprep
   Resourceprep

%prep
%setup

%build
%autoreconf
%configure
%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