Name: perl-Crypt-OpenSSL-AES Version: 0.21 Release: 1%{?dist} Summary: Perl interface to OpenSSL for AES License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Crypt-OpenSSL-AES Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Crypt-OpenSSL-AES-%{version}.tar.gz BuildRequires: coreutils BuildRequires: gcc BuildRequires: make # openssl for /usr/bin/openssl used by Crypt::OpenSSL::Guess BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.8 BuildRequires: perl(Config) BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.10 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(Exporter) BuildRequires: perl(XSLoader) # Tests BuildRequires: perl(Digest::SHA) BuildRequires: perl(File::Which) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Test::More) # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Crypt::OpenSSL::Guess\\)$ %description This module implements a wrapper around OpenSSL. Specifically, it wraps the methods related to the US Government's Advanced Encryption Standard (the Rijndael algorithm). %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} # openssl for /usr/bin/openssl used by Crypt::OpenSSL::Guess and # t/00-openssl-version.t. Requires: openssl Requires: perl-Test-Harness Requires: perl(Crypt::OpenSSL::Guess) >= 0.10 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Crypt-OpenSSL-AES-%{version} # Remove always skipped tests for F in t/01-crypt-cbc.t t/author-pod-spell.t t/author-pod-syntax.t \ t/release-meta-json.t t/release-kwalitee.t; do rm -- "$F" perl -i -ne 'print $_ unless m{^\Q'"$F"'\E}' MANIFEST done # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build unset AUTHOR_TESTING perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes README %dir %{perl_vendorarch}/auto/Crypt %dir %{perl_vendorarch}/auto/Crypt/OpenSSL %{perl_vendorarch}/auto/Crypt/OpenSSL/AES %dir %{perl_vendorarch}/Crypt %dir %{perl_vendorarch}/Crypt/OpenSSL %{perl_vendorarch}/Crypt/OpenSSL/AES.pm %{_mandir}/man3/Crypt::OpenSSL::AES.* %files tests %{_libexecdir}/%{name} %changelog * Tue Jun 11 2024 Petr Pisar - 0.21-1 - 0.21 bump * Mon Jun 10 2024 Petr Pisar - 0.20-1 - 0.20 bump * Fri May 17 2024 Petr Pisar - 0.19-1 - 0.19 bump - Package the tests * Thu Jan 25 2024 Fedora Release Engineering - 0.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 24 2023 Jitka Plesnikova - 0.17-1 - 0.17 bump (rhbz#2239043) * Thu Jul 20 2023 Fedora Release Engineering - 0.02-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.02-50 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.02-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.02-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.02-47 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.02-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 0.02-45 - Rebuilt with OpenSSL 3.0.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.02-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.02-43 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.02-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.02-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.02-40 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.02-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.02-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.02-37 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.02-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.02-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.02-34 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.02-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.02-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.02-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.02-30 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.02-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Oct 27 2016 Petr Pisar - 0.02-28 - Rebuild against OpenSSL 1.1.0 * Sat May 14 2016 Jitka Plesnikova - 0.02-27 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.02-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.02-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.02-24 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.02-23 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.02-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.02-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.02-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.02-19 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.02-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.02-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.02-16 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.02-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.02-14 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.02-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 0.02-12 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 0.02-11 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.02-10 - rebuild against perl 5.10.1 * Fri Aug 21 2009 Tomas Mraz - 0.02-9 - rebuilt with new openssl * Sat Jul 25 2009 Fedora Release Engineering - 0.02-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.02-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Jan 17 2009 Tomas Mraz - 0.02-6 - rebuild with new openssl * Thu Mar 06 2008 Tom "spot" Callaway - 0.02-5 Rebuild for new perl * Mon Feb 18 2008 Fedora Release Engineering - 0.02-4 - Autorebuild for GCC 4.3 * Sun Dec 09 2007 Release Engineering - 0.02-3 - Rebuild for deps * Thu Dec 6 2007 Wes Hardaker - 0.02-2 - Bump to force rebuild with new openssl lib version * Tue Nov 27 2007 Wes Hardaker - 0.02-1 - Update to parent 0.02 * Mon May 14 2007 Wes Hardaker - 0.01-3 - BuildRequire perl(Test::More), perl(ExtUtils::MakeMaker) * Tue May 8 2007 Wes Hardaker - 0.01-2 - Add BuildRequire openssl-devel - Don't manually require openssl - Use vendorarch instead of vendorlib * Thu Apr 19 2007 Wes Hardaker - 0.01-1 - Initial version