%global srcname iconv %global p1_utils_ver 1.0.13 Name: erlang-%{srcname} Version: 1.0.10 Release: 1%{?dist} Summary: Fast encoding conversion library for Erlang / Elixir License: ASL 2.0 URL: https://github.com/processone/iconv/ Source0: https://github.com/processone/iconv/archive/%{version}/%{srcname}-%{version}.tar.gz Provides: erlang-p1_iconv = %{version}-%{release} Obsoletes: erlang-p1_iconv <= 1.0.0-2 BuildRequires: gcc BuildRequires: erlang-p1_utils >= %{p1_utils_ver} BuildRequires: erlang-rebar Requires: erlang-p1_utils >= %{p1_utils_ver} %description Erlang bindings for libiconv. This is used by ejabberd. %prep %autosetup -n iconv-%{version} %build %configure --enable-nif %{rebar_compile} %check %{rebar_eunit} %install install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib install -pm755 priv/lib/iconv.so $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib/ %{erlang_install} %files %license LICENSE.txt %doc README.md %{erlang_appdir} %changelog * Sun Oct 14 2018 Randy Barlow - 1.0.10-1 - Update to 1.0.10. - https://github.com/processone/iconv/blob/1.0.10/CHANGELOG.md * Tue Jul 31 2018 Florian Weimer - 1.0.8-2 - Rebuild with fixed binutils * Sun Jul 29 2018 Randy Barlow - 1.0.8-1 - Update to 1.0.8 (#1596194). - https://github.com/processone/iconv/blob/1.0.8/CHANGELOG.md * Fri Jul 13 2018 Fedora Release Engineering - 1.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 27 2018 Randy Barlow - 1.0.7-1 - Update to 1.0.7 (#1559640). - https://github.com/processone/iconv/blob/1.0.7/CHANGELOG.md * Sun Mar 25 2018 Randy Barlow - 1.0.6-4 - Re-rebuild against Erlang 20, this time with feeling (and with working dependency detection). - Explicitly depend on the required version of p1_utils. * Thu Feb 22 2018 Randy Barlow - 1.0.6-3 - Rebuild for Erlang 20. * Wed Feb 07 2018 Fedora Release Engineering - 1.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 10 2017 Randy Barlow - 1.0.6-1 - Update to 1.0.6 (#1496434). - https://github.com/processone/iconv/blob/1.0.6/CHANGELOG.md * Wed Aug 02 2017 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Sat Jul 29 2017 Randy Barlow - 1.0.5-1 - Update to 1.0.5 (#1434801). * Wed Jul 26 2017 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild