From 92854799a674c2511cc8aecd7f8b37de049fc007 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Apr 11 2016 15:46:31 +0000 Subject: Initial import (#1316772). --- diff --git a/.gitignore b/.gitignore index e69de29..4cfd17d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/1.0.3.tar.gz diff --git a/erlang-stringprep.spec b/erlang-stringprep.spec new file mode 100644 index 0000000..a09551c --- /dev/null +++ b/erlang-stringprep.spec @@ -0,0 +1,63 @@ +%global srcname stringprep + + +Name: erlang-%{srcname} +Version: 1.0.3 +Release: 3%{?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 + +%{?__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 +* 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. diff --git a/sources b/sources index e69de29..591aa96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0ed6464af181e9cd589b6e5389f18ef6 1.0.3.tar.gz