%global srcname stringprep Name: erlang-%{srcname} Version: 1.0.6 Release: 1%{?dist} License: ASL 2.0 and TCL Summary: A framework for preparing Unicode strings to help input and comparison URL: https://github.com/processone/stringprep/ Source0: https://github.com/processone/stringprep/archive/%{version}.tar.gz Provides: erlang-p1_stringprep = %{version}-%{release} Obsoletes: erlang-p1_stringprep < 1.0.3 BuildRequires: erlang-rebar BuildRequires: erlang-p1_utils >= 1.0.5 %{?__erlang_nif_version:Requires: %{__erlang_nif_version}} %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. %prep %autosetup -n stringprep-%{version} %build %{rebar_compile} %install install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib install -pm755 priv/lib/* $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib/ %{erlang_install} %check %{rebar_eunit} %files %license LICENSE.txt LICENSE.TCL LICENSE.ALL %doc README.md %{erlang_appdir} %changelog * Thu Sep 15 2016 Randy Barlow - 1.0.6-1 - Update to 1.0.6 (#1365243). * Sat Jul 30 2016 Randy Barlow - 1.0.5-1 - Update to 1.0.5 (#1354104). * Tue Jul 05 2016 Jeremy Cline - 1.0.4-1 - Update to 1.0.4 (#1352599) * Fri Mar 18 2016 Randy Barlow - 1.0.3-3 - Add a debuginfo package. * Tue Mar 15 2016 Randy Barlow - 1.0.3-2 - Update to use the new Erlang specfile macros. * Thu Mar 10 2016 Randy Barlow - 1.0.3-1 - Initial release.