diff --git a/Crypt-Blowfish-2.14.tar.gz b/Crypt-Blowfish-2.14.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c496e862c9b67da22778d1724d3c6d3b83a3434e Binary files /dev/null and b/Crypt-Blowfish-2.14.tar.gz differ diff --git a/perl-Crypt-Blowfish.spec b/perl-Crypt-Blowfish.spec new file mode 100644 index 0000000000000000000000000000000000000000..159c1ad777410d044f2d11bb4f521de4d554f3e1 --- /dev/null +++ b/perl-Crypt-Blowfish.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Crypt-Blowfish +Version: 2.14 +Release: 1 +Summary: Perl Blowfish encryption module +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-Blowfish/ +Source0: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-Blowfish-%{version}.tar.gz +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +Blowfish is capable of strong encryption and can use key sizes up to 56 +bytes (a 448 bit key). You're encouraged to take advantage of the full key +size to ensure the strongest encryption possible from this module. +%package help +Summary : Perl Blowfish encryption module +Provides: perl-Crypt-Blowfish-doc +%description help +Blowfish is capable of strong encryption and can use key sizes up to 56 +bytes (a 448 bit key). You're encouraged to take advantage of the full key +size to ensure the strongest encryption possible from this module. +%prep +%setup -q -n Crypt-Blowfish-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +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/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes COPYRIGHT README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Crypt* +%files help +%{_mandir}/* + +%changelog +* Wed Jun 30 2021 Perl_Bot 2.14-1 +- Specfile autogenerated by Perl_Bot