diff --git a/.perl-Digest-MD5.metadata b/.perl-Digest-MD5.metadata new file mode 100644 index 0000000..33a1022 --- /dev/null +++ b/.perl-Digest-MD5.metadata @@ -0,0 +1 @@ +74f8623c6ba603fd46dac697b194e6c3231e349a SOURCES/Digest-MD5-2.52.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Digest-MD5.spec b/SPECS/perl-Digest-MD5.spec new file mode 100644 index 0000000..c9367ed --- /dev/null +++ b/SPECS/perl-Digest-MD5.spec @@ -0,0 +1,63 @@ +Name: perl-Digest-MD5 +Version: 2.52 +Release: 1%{?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 +* Tue Mar 19 2013 Petr Pisar 2.52-1 +- Specfile autogenerated by cpanspec 1.78.