%define upstream_name Crypt-IDEA %define upstream_version 1.08 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: Perl interface to IDEA block cipher License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl-devel %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 %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make CFLAGS="%{optflags}" %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYRIGHT %{perl_vendorarch}/Crypt %{perl_vendorarch}/auto/Crypt %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.80.0-5.mga3 + Revision: 364863 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 1.80.0-4.mga3 + Revision: 250395 - rebuild for perl 5.16 * Sat Jun 11 2011 sander85 <sander85> 1.80.0-3.mga2 + Revision: 103814 - perl 5.14 * Fri Jan 21 2011 jquelin <jquelin> 1.80.0-2.mga1 + Revision: 29983 - mageia rebuild - imported package perl-Crypt-IDEA