%define upstream_name Crypt-Rot13 %define upstream_version 0.6 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Crypt-Rot13 module for perl License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: %{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description rot13 is a simple encryption in which ASCII letters are rotated 13 places. This module provides an array object with methods to encrypt its string elements by rotating ASCII letters n places down the alphabet. %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 COPYING README %{perl_vendorlib}/Crypt/Rot13.pm %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.600.0-2.mga3 + Revision: 364968 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 0.600.0-1.mga1 + Revision: 10480 - imported package perl-Crypt-Rot13