%define module Bot-BasicBot %define name perl-%{module} %define version 0.65 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: A simple IRC bot base class License: GPL or Artistic Group: Development/Perl Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOMI/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildRequires: perl-Module-Build BuildRequires: perl-POE-Component-IRC %description A basic bot system written in Perl, designed to make it easy to do simple bots, optionally forking longer processes (like searches) concurrently in the background. %prep %setup -q -n %{module}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build ./Build test %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README examples %{perl_vendorlib}/Bot/* %{_mandir}/*/* %changelog * Mon Oct 10 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.65-3mdk - Fix BuildRequires * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.65-2mdk - Buildrequires fix * Mon Aug 22 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.65-1mdk - 0.65 * Tue May 24 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.61-1mdk - 0.61 * Thu Mar 31 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.6-1mdk - 0.6 * Sun Feb 13 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.5-1mdk - Initial MDK release.