2008-12-21 12:51:35 +00:00
|
|
|
%define modname Digest-MD2
|
|
|
|
Name: perl-%{modname}
|
|
|
|
Version: 2.03
|
|
|
|
Release: 1
|
|
|
|
Summary: Perl interface to the MD2 Algorithm
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRequires: perl
|
|
|
|
License: GPL/Artistic
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Digest::MD2 module allows you to use the RSA Data Security Inc. MD2 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.
|
|
|
|
|
|
|
|
The Digest::MD2 programming interface is identical to the interface of
|
|
|
|
Digest::MD5.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gisle Aas <gisle@aas.no>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README Changes rfc1319.txt
|
|
|
|
%doc %{_mandir}/man?/*
|
2008-12-23 14:02:47 +00:00
|
|
|
%{perl_vendorarch}/Digest
|
|
|
|
%{perl_vendorarch}/auto/Digest
|
2008-12-21 12:51:35 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 2.03-1
|
|
|
|
- Initial release
|