Name: perl-Digest-Perl-MD5 Version: 1.8 Release: 2%{?dist} Summary: Perl implementation of Ron Rivest's MD5 Algorithm Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Digest-Perl-MD5/ Source0: http://search.cpan.org/CPAN/authors/id/D/DE/DELTA/Digest-Perl-MD5-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description A pure-perl implementation of Ron Rivest's MD5 Algorithm. %prep %setup -q -n Digest-Perl-MD5-%{version} # Remove spurious exec permissions chmod -c -x README lib/Digest/Perl/MD5.pm %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGES README %{perl_vendorlib}/Digest/ %{_mandir}/man3/Digest::Perl::MD5.3pm* %changelog * Mon Aug 22 2011 Paul Howarth - 1.8-2 - BR: perl (Exporter) and perl(Test) (#732484) * Mon Aug 22 2011 Paul Howarth - 1.8-1 - Initial RPM version