Name: perl-CryptX Version: 0.063 Release: 1%{?dist} Summary: Cryptographic toolkit License: GPL+ or Artistic URL: http://search.cpan.org/dist/CryptX/ Source0: https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-%{version}.tar.gz BuildRequires: gcc BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Math::BigInt) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Cryptography in CryptX is based on https://github.com/libtom/libtomcrypt. %prep %setup -q -n CryptX-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %make_build %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes META.json README.md %license LICENSE %{perl_vendorarch}/auto/* %{perl_vendorarch}/CryptX.pm %{perl_vendorarch}/Crypt %{perl_vendorarch}/Math %{_mandir}/man3/* %changelog * Wed Nov 28 2018 Xavier Bachelot 0.063-1 - Initial package.