|
|
6a5082 |
Name: perl-Digest-MD5
|
|
|
6a5082 |
Version: 2.52
|
|
|
71af62 |
Release: 3%{?dist}
|
|
|
6a5082 |
Summary: Perl interface to the MD5 algorithm
|
|
|
6a5082 |
License: GPL+ or Artistic
|
|
|
6a5082 |
Group: Development/Libraries
|
|
|
6a5082 |
URL: http://search.cpan.org/dist/Digest-MD5/
|
|
|
6a5082 |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-MD5-%{version}.tar.gz
|
|
|
6a5082 |
BuildRequires: perl
|
|
|
6a5082 |
BuildRequires: perl(strict)
|
|
|
6a5082 |
BuildRequires: perl(Config)
|
|
|
6a5082 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
6a5082 |
# Run-time:
|
|
|
6a5082 |
BuildRequires: perl(Digest::base) >= 1.00
|
|
|
6a5082 |
# Digest::Perl::MD5 not needed
|
|
|
6a5082 |
BuildRequires: perl(Exporter)
|
|
|
6a5082 |
BuildRequires: perl(vars)
|
|
|
6a5082 |
BuildRequires: perl(XSLoader)
|
|
|
6a5082 |
# Tests:
|
|
|
6a5082 |
BuildRequires: perl(Encode)
|
|
|
6a5082 |
BuildRequires: perl(Test)
|
|
|
6a5082 |
BuildRequires: perl(Test::More)
|
|
|
6a5082 |
BuildRequires: perl(threads)
|
|
|
6a5082 |
BuildRequires: perl(warnings)
|
|
|
6a5082 |
# Optional tests:
|
|
|
6a5082 |
BuildRequires: perl(MIME::Base64)
|
|
|
6a5082 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
6a5082 |
Requires: perl(Digest::base) >= 1.00
|
|
|
6a5082 |
Requires: perl(XSLoader)
|
|
|
6a5082 |
|
|
|
6a5082 |
%{?perl_default_filter}
|
|
|
6a5082 |
|
|
|
6a5082 |
%description
|
|
|
6a5082 |
The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5
|
|
|
6a5082 |
Message Digest algorithm from within Perl programs. The algorithm takes as
|
|
|
6a5082 |
input a message of arbitrary length and produces as output a 128-bit
|
|
|
6a5082 |
"fingerprint" or "message digest" of the input.
|
|
|
6a5082 |
|
|
|
6a5082 |
%prep
|
|
|
6a5082 |
%setup -q -n Digest-MD5-%{version}
|
|
|
6a5082 |
|
|
|
6a5082 |
%build
|
|
|
6a5082 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
6a5082 |
make %{?_smp_mflags}
|
|
|
6a5082 |
|
|
|
6a5082 |
%install
|
|
|
6a5082 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
6a5082 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
6a5082 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
6a5082 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
6a5082 |
|
|
|
6a5082 |
%check
|
|
|
6a5082 |
make test
|
|
|
6a5082 |
|
|
|
6a5082 |
%files
|
|
|
6a5082 |
%doc Changes README
|
|
|
6a5082 |
%{perl_vendorarch}/auto/*
|
|
|
6a5082 |
%{perl_vendorarch}/Digest*
|
|
|
6a5082 |
%{_mandir}/man3/*
|
|
|
6a5082 |
|
|
|
6a5082 |
%changelog
|
|
|
71af62 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.52-3
|
|
|
71af62 |
- Mass rebuild 2014-01-24
|
|
|
71af62 |
|
|
|
71af62 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.52-2
|
|
|
71af62 |
- Mass rebuild 2013-12-27
|
|
|
71af62 |
|
|
|
6a5082 |
* Tue Mar 19 2013 Petr Pisar <ppisar@redhat.com> 2.52-1
|
|
|
6a5082 |
- Specfile autogenerated by cpanspec 1.78.
|