diff --git a/.cvsignore b/.cvsignore index e69de29..80904ad 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MD5-2.03.tar.gz diff --git a/perl-MD5.spec b/perl-MD5.spec new file mode 100644 index 0000000..9f3f3ce --- /dev/null +++ b/perl-MD5.spec @@ -0,0 +1,49 @@ +Name: perl-MD5 +Version: 2.03 +Release: 1%{?dist} +Summary: Perl interface to the MD5 Message-Digest Algorithm +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MD5/ +Source0: http://www.cpan.org/modules/by-module/MD5/MD5-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module (MD5.pm) is just a thin wrapper around the Digest::MD5 +module. It is provided so that legacy code that rely on the old +interface continue to work with the speed benefit of the new module. + +%prep +%setup -q -n MD5-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Oct 25 2006 Andreas Thienemann 2.03-1 +- Specfile autogenerated by cpanspec 1.69. diff --git a/sources b/sources index e69de29..16eb501 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0957f02fc30bc2106b3286ba854917bc MD5-2.03.tar.gz