%define module Bot-BasicBot %define name perl-%{module} %define version 0.6 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: A simple IRC bot base class License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel %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 * 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.