79 lines
2.4 KiB
RPMSpec
79 lines
2.4 KiB
RPMSpec
Name: perl-Digest-MD5
|
|
Version: 2.53
|
|
Release: 5%{?dist}
|
|
Summary: Perl interface to the MD5 algorithm
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Digest-MD5/
|
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-MD5-%{version}.tar.gz
|
|
BuildRequires: perl
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(Config)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
# Run-time:
|
|
BuildRequires: perl(Digest::base) >= 1.00
|
|
# Digest::Perl::MD5 not needed
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(vars)
|
|
BuildRequires: perl(XSLoader)
|
|
# Tests:
|
|
BuildRequires: perl(Encode)
|
|
BuildRequires: perl(Test)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(threads)
|
|
BuildRequires: perl(warnings)
|
|
# Optional tests:
|
|
BuildRequires: perl(MIME::Base64)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Digest::base) >= 1.00
|
|
Requires: perl(XSLoader)
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5
|
|
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-MD5-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$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 {} \;
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorarch}/auto/*
|
|
%{perl_vendorarch}/Digest*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.53-2
|
|
- Perl 5.18 rebuild
|
|
|
|
* Mon Jul 08 2013 Petr Pisar <ppisar@redhat.com> - 2.53-1
|
|
- 2.53 bump
|
|
|
|
* Tue Mar 19 2013 Petr Pisar <ppisar@redhat.com> 2.52-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|