Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 9074ad2997bb67215a6910f809bfccee > files > 2

perl-Crypt-RSA-1.50-2mdk.src.rpm

Name:           perl-Crypt-RSA
Version:        1.50
Release:        2mdk
License:        Artistic

%define realname        Crypt-RSA
Group:          Development/Perl
Summary:        RSA public-key cryptosystem
Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/%{realname}-%{version}.tar.bz2
URL:		http://www.cpan.org
Prefix:         %{_prefix}
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:  perl-devel
BuildRequires:  perl-Crypt-Blowfish
BuildRequires:  perl-Crypt-CBC
BuildRequires:  perl-Digest-MD2
BuildRequires:  perl-Digest-SHA1
BuildRequires:  perl-Convert-ASCII-Armour
BuildRequires:  perl-Crypt-Primes
BuildRequires:  perl-Sort-Versions
BuildRequires:  perl-Tie-EncryptedHash
Requires:       perl
BuildArch:      noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description 
Crypt::RSA is a pure-perl, cleanroom implementation of the
RSA public-key cryptosystem. It uses Math::Pari(3), a perl
interface to the blazingly fast PARI library, for big
integer arithmetic and number theoretic computations.

%prep
%setup -q -n %{realname}-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" echo | %{__perl} Makefile.PL INSTALLDIRS=vendor
%make
make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%{perl_vendorlib}/*
%{_mandir}/*/*

%changelog

* Tue Nov 11 2003 Michael Scherer <scherer.michael@free.fr> 1.50-2mdk 
- BuildRequires ( perl-Digest-SHA1 )

* Sun Nov  9 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.50-1mdk
- First mdk package