%define upstream_name Games-AIBots %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: An improved clone of A.I.Wars in Perl License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Games/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Term::ANSIScreen) BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Tk) BuildArch: noarch %description This module exists exclusively for the purpose of the _aibots_ script bundled in the distribution. Please see the aibots manpage for an explanation of the game's mechanics, rules and tips. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc README ChangeLog TODO SIGNATURE %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/aibots /usr/share/man/man1/aibots.1.xz %changelog * Sat Dec 10 2011 kharec <kharec> 0.30.0-1.mga2 + Revision: 180174 - imported package perl-Games-AIBots * Sat Dec 10 2011 cpan2dist 0.03-1mga - initial mageia release, generated with cpan2dist