%define module MD5 %define name perl-%{module} %define version 2.03 %define release %mkrel 4 Summary: The Perl interface to the RSA Message Digest Algorithm. Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/author/GAAS/%{module}-%{version}/ Source0: ftp://ftp.perl.org//pub/CPAN/modules/by-module/%{module}/%{module}-%{version}.tar.bz2 Buildrequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Buildarch: noarch %description The perl-MD5 package provides the MD5 module for the Perl programming language. MD5 is a Perl interface to the RSA Data Security Inc. Message Digest Algorithm, which allows Perl programs to use the algorithm. The perl-MD5 package should be installed if any Perl programs on your system are going to use RSA's Message Digest Algorithm. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor --defaultdeps %make %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall_std %{__rm} -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc MANIFEST README %{perl_vendorlib}/*.pm %{_mandir}/man3/* %changelog * Wed Aug 29 2007 Oden Eriksson <oeriksson@mandriva.com> 2.03-4mdv2008.0 + Revision: 74274 - bump release * Wed Aug 29 2007 Oden Eriksson <oeriksson@mandriva.com> 2.03-3mdv2008.0 + Revision: 73533 - spec file cleansing * Fri Jul 14 2006 Olivier Thauvin <nanardon@mandriva.org> +2006-07-14 19:44:05 (41185) - rebuild && mkrel * Fri Jul 14 2006 Olivier Thauvin <nanardon@mandriva.org> +2006-07-14 19:42:09 (41184) Import perl-MD5 * Wed Apr 21 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.03-1mdk - 2.03 - drop PREFIX - use %%makeinstall_std macro - spec cosmetics * Fri Aug 01 2003 Ben Reser <ben@reser.org> 2.02-3mdk - Fix ManPath - rm buildroot in %%install not %%prep - macroification - fix build/install for new perl - unpackaged perllocal.pod - Quiet setup