%define module Digest-MD4 %define name perl-%{module} %define version 1.5 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: Perl interface to the MD4 Algorithm License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Digest/%{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description The Digest-MD4 module allows you to use the 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 %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README rfc1320.txt %{perl_vendorarch}/Digest %{perl_vendorarch}/auto/Digest %{_mandir}/*/* %changelog * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.5-3mdv2008.0 + Revision: 86355 - rebuild * Fri Aug 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.5-2mdv2007.0 - spec cleanup - %%mkrel * Tue Aug 16 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.5-1mdk - new version - fix sources url for rpmbuildupdate * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 1.4-1mdk - initial Mandriva package