Name: perl-Crypt-Argon2 Version: 0.022 Release: 1%{?dist} Summary: Perl interface to the Argon2 key derivation functions License: Apache-2.0 URL: https://metacpan.org/release/Crypt-Argon2 Source0: https://www.cpan.org/authors/id/L/LE/LEONT/Crypt-Argon2-%{version}.tar.gz BuildRequires: coreutils BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.006 BuildRequires: perl(Module::Build) BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Time::HiRes) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Test::More) >= 0.90 %{?perl_default_filter} %description This module implements the Argon2 key derivation function, which is suitable to convert any password into a cryptographic key. This is most often used to for secure storage of passwords but can also be used to derive a encryption key from a password. It offers variable time and memory costs as well as output size. %prep %autosetup -n Crypt-Argon2-%{version} %build %{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" ./Build %install ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 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 ./Build test %files %license LICENSE %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Crypt* %{_mandir}/man3/* %{_bindir}/argon2-calibrate %{_mandir}/man1/argon2-calibrate.1* %changelog * Sun Apr 21 2024 Charles R. Anderson - 0.022-1 - Update to 0.22 * Thu Jan 25 2024 Fedora Release Engineering - 0.020-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.020-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 16 2024 Charles R. Anderson - 0.020-1 - Update to 0.20 * Sun Sep 17 2023 Charles R. Anderson - 0.019-6 - Add no-march-native.patch from Debian to actually resolve coredump issue (rhbz#2239146) * Fri Sep 15 2023 Charles R. Anderson - 0.019-5 - Bump and rebuild to resolve coredump issue with current build (rhbz#2118421) * Thu Jul 20 2023 Fedora Release Engineering - 0.019-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.019-3 - Perl 5.38 rebuild * Thu May 25 2023 Charles R. Anderson - 0.019-2 - Remove all manual Requires on perl packages - Add BuildRequires: coreutils and perl(File::Spec) * Wed May 24 2023 Charles R. Anderson - 0.019-1 - Update to 0.19. - License is now Apache-2.0. * Sat May 20 2023 Charles R. Anderson - 0.018-1 - Specfile autogenerated by cpanspec 1.78 and modifed by cra.