Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 0557ff396a6b3a06fb3696d6a6e52cac > files > 2

perl-Crypt-IDEA-1.02-1mdk.src.rpm

Name:           perl-Crypt-IDEA
Version:        1.02
Release:        1mdk
License:        GPL or Artistic

%define realname        Crypt-IDEA
Group:          Development/Perl
Summary:        Perl interface to IDEA block cipher
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
Requires:       perl
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description 
This perl extension is an implementation of the IDEA block
cipher algorithm. The module implements the
Crypt::BlockCipher interface, which has the following
methods

blocksize =item keysize =item encrypt =item decrypt

%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)
%doc COPYRIGHT
%{perl_vendorlib}/*
%{_mandir}/*/*

%changelog
* Thu Nov  6 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.02-1mdk
- New package