%define upstream_name Language-Befunge-Vector-XS %define upstream_version 1.1.1 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: Language::Befunge::Vector rewritten for speed License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Language/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Test::More) BuildRequires: perl-devel %description The Language::Befunge module makes heavy use of n-dims vectors, mapped to the Language::Befunge::Vector class. This allows to abstract the funge dimension while still keeping the same code for the operations. However, such an heavy usage does have some impact on the performances. Therefore, this modules is basically a rewrite of LBV in XS. If installed, then LBV will automagically load it and replace its own functions with the XS ones. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.1.1-5.mga3 + Revision: 368964 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 1.1.1-4.mga3 + Revision: 250839 - rebuild for perl 5.16 * Sun Jun 12 2011 sander85 <sander85> 1.1.1-3.mga2 + Revision: 104728 - Rebuild for perl 5.14 * Fri Jan 21 2011 jquelin <jquelin> 1.1.1-2.mga1 + Revision: 30645 - mageia rebuild - imported package perl-Language-Befunge-Vector-XS