%define upstream_name Crypt-UnixCrypt_XS %define upstream_version 0.09 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: Perl-xs implementation of crypt(3) License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Crypt/%{upstream_name}-%{upstream_version}.tar.lzma BuildRequires: perl-devel %description This module implements the DES-based Unix _crypt_ function. For those who need to construct non-standard variants of _crypt_, the various building blocks used in _crypt_ are also supplied separately. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.90.0-5.mga3 + Revision: 364976 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.90.0-4.mga3 + Revision: 250437 - rebuild for perl 5.16 * Sat Jun 11 2011 sander85 <sander85> 0.90.0-3.mga2 + Revision: 103894 - perl 5.14 * Sat Jan 22 2011 jquelin <jquelin> 0.90.0-2.mga1 + Revision: 32731 - rebuild * Fri Jan 21 2011 jquelin <jquelin> 0.90.0-1.mga1 + Revision: 30028 - mageia rebuild - imported package perl-Crypt-UnixCrypt_XS