Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 443d22e7a44df41ff6c485238e69a2bc > files > 2

perl-Crypt-RSA-1.55-1mdk.src.rpm

%define realname Crypt-RSA

Name:           perl-%{realname}
Version:        1.55
Release:        1mdk
License:        Artistic
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://search.cpan.org/dist/%{realname}/
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
* Thu Feb 24 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.55-1mdk
- 1.55

* Sun Feb 06 2005 Sylvie Terjan <erinmargault@mandrake.org> 1.50-3mdk
- rebuild for new perl

* 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