%define upstream_name AI-Genetic %define upstream_version 0.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: A class that implements various selection operators License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/AI/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch %description This module implements a Genetic Algorithm (GA) in pure Perl. Other Perl modules that achieve the same thing (perhaps better, perhaps worse) do exist. Please check CPAN. I mainly wrote this module to satisfy my own needs, and to learn something about GAs along the way. *PLEASE NOTE:* As of v0.02, AI::Genetic has been re-written from scratch to be more modular and expandable. To achieve this, I had to modify the API, so it is not backward-compatible with v0.01. As a result, I do not plan on supporting v0.01. I will not go into the details of GAs here, but here are the bare basics. Plenty of information can be found on the web. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.50.0-2.mga3 + Revision: 362757 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Nov 19 2011 kharec <kharec> 0.50.0-1.mga2 + Revision: 169468 - imported package perl-AI-Genetic