From 9d53ac436e7a71d1a690e7112e86d7d87a2846f2 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Mon, 9 Jan 2006 15:24:22 +0000 Subject: [PATCH] auto-import perl-Digest-MD4-1.5-1 on branch devel from perl-Digest-MD4-1.5-1.src.rpm --- .cvsignore | 1 + perl-Digest-MD4.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 perl-Digest-MD4.spec diff --git a/.cvsignore b/.cvsignore index e69de29..a1c04eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Digest-MD4-1.5.tar.gz diff --git a/perl-Digest-MD4.spec b/perl-Digest-MD4.spec new file mode 100644 index 0000000..faae802 --- /dev/null +++ b/perl-Digest-MD4.spec @@ -0,0 +1,57 @@ +Name: perl-Digest-MD4 +Version: 1.5 +Release: 1%{?dist} +Summary: Perl interface to the MD4 Algorithm + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Digest-MD4/ +Source0: http://www.cpan.org/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The Digest::MD4 module allows you to use the RSA Data Security +Inc. MD4 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-MD4-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README rfc1320.txt +%{perl_vendorarch}/Digest/ +%{perl_vendorarch}/auto/Digest/ +%{_mandir}/man3/*.3* + + +%changelog +* Sat Sep 10 2005 Jose Pedro Oliveira - 1.5-1 +- First build. diff --git a/sources b/sources index e69de29..b1efb8f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +594d661c18b46a4aea97931dcaf5ce14 Digest-MD4-1.5.tar.gz