|
|
9cf4ecf |
%global srcname iconv
|
|
|
9cf4ecf |
|
|
|
559a376 |
%global p1_utils_ver 1.0.13
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
Name: erlang-%{srcname}
|
|
|
559a376 |
Version: 1.0.10
|
|
|
4082421 |
Release: 6%{?dist}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
Summary: Fast encoding conversion library for Erlang / Elixir
|
|
|
9cf4ecf |
License: ASL 2.0
|
|
|
9cf4ecf |
URL: https://github.com/processone/iconv/
|
|
|
123446e |
Source0: https://github.com/processone/iconv/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
Provides: erlang-p1_iconv = %{version}-%{release}
|
|
|
9cf4ecf |
Obsoletes: erlang-p1_iconv <= 1.0.0-2
|
|
|
9cf4ecf |
|
|
|
8c23434 |
BuildRequires: gcc
|
|
|
b1a6f7c |
BuildRequires: erlang-p1_utils >= %{p1_utils_ver}
|
|
|
9cf4ecf |
BuildRequires: erlang-rebar
|
|
|
9cf4ecf |
|
|
|
b1a6f7c |
Requires: erlang-p1_utils >= %{p1_utils_ver}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%description
|
|
|
9cf4ecf |
Erlang bindings for libiconv. This is used by ejabberd.
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%prep
|
|
|
9cf4ecf |
%autosetup -n iconv-%{version}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%build
|
|
|
9cf4ecf |
%configure --enable-nif
|
|
|
9cf4ecf |
%{rebar_compile}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%check
|
|
|
9cf4ecf |
%{rebar_eunit}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%install
|
|
|
9cf4ecf |
install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
install -pm755 priv/lib/iconv.so $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/priv/lib/
|
|
|
9cf4ecf |
%{erlang_install}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%files
|
|
|
9cf4ecf |
%license LICENSE.txt
|
|
|
9cf4ecf |
%doc README.md
|
|
|
9cf4ecf |
%{erlang_appdir}
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
|
|
|
9cf4ecf |
%changelog
|
|
|
4082421 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-6
|
|
|
4082421 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
4082421 |
|
|
|
b936b4b |
* Fri Nov 22 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.10-5
|
|
|
b936b4b |
- Rebuild for Erlang 22 (#1775733).
|
|
|
b936b4b |
|
|
|
345541f |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
|
|
|
345541f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
345541f |
|
|
|
3e6abb5 |
* Thu Feb 21 2019 Peter Lemenkov <lemenkov@gmail.com> - 1.0.10-3
|
|
|
3e6abb5 |
- Rebuild for Erlang 21
|
|
|
3e6abb5 |
|
|
|
494059b |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-2
|
|
|
494059b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
494059b |
|
|
|
559a376 |
* Sun Oct 14 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.10-1
|
|
|
559a376 |
- Update to 1.0.10.
|
|
|
559a376 |
- https://github.com/processone/iconv/blob/1.0.10/CHANGELOG.md
|
|
|
559a376 |
|
|
|
79e09f1 |
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1.0.8-2
|
|
|
79e09f1 |
- Rebuild with fixed binutils
|
|
|
79e09f1 |
|
|
|
fa5f81c |
* Sun Jul 29 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.8-1
|
|
|
fa5f81c |
- Update to 1.0.8 (#1596194).
|
|
|
fa5f81c |
- https://github.com/processone/iconv/blob/1.0.8/CHANGELOG.md
|
|
|
fa5f81c |
|
|
|
3e44708 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
|
|
3e44708 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3e44708 |
|
|
|
b1a6f7c |
* Tue Mar 27 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.7-1
|
|
|
b1a6f7c |
- Update to 1.0.7 (#1559640).
|
|
|
b1a6f7c |
- https://github.com/processone/iconv/blob/1.0.7/CHANGELOG.md
|
|
|
b1a6f7c |
|
|
|
3c1913c |
* Sun Mar 25 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.6-4
|
|
|
3c1913c |
- Re-rebuild against Erlang 20, this time with feeling (and with working dependency detection).
|
|
|
3c1913c |
- Explicitly depend on the required version of p1_utils.
|
|
|
3c1913c |
|
|
|
3a77a66 |
* Thu Feb 22 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.6-3
|
|
|
3a77a66 |
- Rebuild for Erlang 20.
|
|
|
3a77a66 |
|
|
|
30d0207 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
|
|
|
30d0207 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|