Группа :: Разработка/Perl
Пакет: perl-Crypt-Curve25519
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Crypt-Curve25519
Name: perl-%dist
Version: 0.07
Release: alt1
Summary: Generate shared secret using elliptic-curve Diffie-Hellman function
License: %perl_license
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/K/KA/KARASIK/%{dist}-%{version}.tar.gz
BuildRequires: rpm-build-licenses
# Automatically added by buildreq on Thu Feb 18 2016
# optimized out: perl-parent
BuildRequires: perl-Encode perl-devel
%description
Generate shared secret using elliptic-curve Diffie-Hellman function
%prep
%setup -q -n %{dist}-%{version}
%ifarch %e2k
# see mcst#1802; check with lcc >= 1.24; s/uint128_t/uintmax_t/g fails tests
cc --version | grep -q '^lcc:1.24' || sed -i 's,=\$x64,=0,;' Makefile.PL
%endif
# https://github.com/ajgb/crypt-curve25519/issues/9
grep -rl "fmul" ./ | xargs sed -i 's/fmul/fixedvar/g'
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes curve25519-donna-license.md README.md
%perl_vendor_archlib/Crypt
%perl_vendor_autolib/Crypt
%changelog
…
Полный changelog можно просмотреть здесь
%define dist Crypt-Curve25519
Name: perl-%dist
Version: 0.07
Release: alt1
Summary: Generate shared secret using elliptic-curve Diffie-Hellman function
License: %perl_license
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/K/KA/KARASIK/%{dist}-%{version}.tar.gz
BuildRequires: rpm-build-licenses
# Automatically added by buildreq on Thu Feb 18 2016
# optimized out: perl-parent
BuildRequires: perl-Encode perl-devel
%description
Generate shared secret using elliptic-curve Diffie-Hellman function
%prep
%setup -q -n %{dist}-%{version}
%ifarch %e2k
# see mcst#1802; check with lcc >= 1.24; s/uint128_t/uintmax_t/g fails tests
cc --version | grep -q '^lcc:1.24' || sed -i 's,=\$x64,=0,;' Makefile.PL
%endif
# https://github.com/ajgb/crypt-curve25519/issues/9
grep -rl "fmul" ./ | xargs sed -i 's/fmul/fixedvar/g'
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes curve25519-donna-license.md README.md
%perl_vendor_archlib/Crypt
%perl_vendor_autolib/Crypt
%changelog
…
Полный changelog можно просмотреть здесь