commit 23cbf6e347680436ed7344641be3e03b5a408db1 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Mar 20 12:43:52 2013 +0100 Import .gitignore | 1 + perl-Digest-MD5.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..121bd7b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Digest-MD5-2.52.tar.gz diff --git a/perl-Digest-MD5.spec b/perl-Digest-MD5.spec new file mode 100644 index 0000000..c9367ed --- /dev/null +++ b/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 <ppisar@xxxxxxxxxx> 2.52-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..2f7bb97 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +889274cafa59a42a5a9704d8270f856b Digest-MD5-2.52.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel