diff --git a/Digest-MD4-1.9.tar.gz b/Digest-MD4-1.9.tar.gz new file mode 100644 index 0000000..ac9be3c Binary files /dev/null and b/Digest-MD4-1.9.tar.gz differ diff --git a/perl-Digest-MD4.spec b/perl-Digest-MD4.spec new file mode 100644 index 0000000..3ed89af --- /dev/null +++ b/perl-Digest-MD4.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Digest-MD4 +Version: 1.9 +Release: 1 +Summary: Perl interface to the MD4 Algorithm +License: perl License +Group: Development/Libraries +URL: http://search.cpan.org/dist/Digest-MD4/ +Source0: http://www.cpan.org/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-%{version}.tar.gz +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +Requires: perl(File::Spec) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The Digest::MD4 module allows you to use the RSA Data Security Inc. MD4 +Message Digest algorithm from within Perl programs. The algorithm takes as +input a message of arbitrary length and produces as output a 128-bit +"fingerprint" or "message digest" of the input. + +%package help +Summary : Perl interface to the MD4 Algorithm +Provides: perl-Digest-MD4-doc + +%description help +The Digest::MD4 module allows you to use the RSA Data Security Inc. MD4 +Message Digest algorithm from within Perl programs. The algorithm takes as +input a message of arbitrary length and produces as output a 128-bit +"fingerprint" or "message digest" of the input. + +%prep +%setup -q -n Digest-MD4-%{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 META.json README rfc1320.txt +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Digest* +%files help +%{_mandir}/* + +%changelog +* Mon Jul 12 2021 Perl_Bot 1.9-1 +- Specfile autogenerated by Perl_Bot