[perl-Bot-BasicBot] Initial import (#728282)

Petr Sabata psabata at fedoraproject.org
Fri Aug 5 13:32:29 UTC 2011


commit 78a72cace4d91a93ae6b5f6c848e20d00ef93fbe
Author: Petr Sabata <contyk at redhat.com>
Date:   Fri Aug 5 15:31:44 2011 +0200

    Initial import (#728282)

 .gitignore             |    1 +
 perl-Bot-BasicBot.spec |   60 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5210169 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Bot-BasicBot-0.87.tar.gz
diff --git a/perl-Bot-BasicBot.spec b/perl-Bot-BasicBot.spec
new file mode 100644
index 0000000..2a1e8f3
--- /dev/null
+++ b/perl-Bot-BasicBot.spec
@@ -0,0 +1,60 @@
+Name:           perl-Bot-BasicBot
+Version:        0.87
+Release:        1%{?dist}
+Summary:        Simple irc bot baseclass
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Bot-BasicBot/
+Source0:        http://www.cpan.org/authors/id/H/HI/HINRIK/Bot-BasicBot-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IRC::Utils)
+BuildRequires:  perl(POE)
+BuildRequires:  perl(POE::Component::IRC) >= 6.62
+BuildRequires:  perl(POE::Component::IRC::State)
+BuildRequires:  perl(POE::Component::IRC::Plugin::Connector)
+BuildRequires:  perl(POE::Filter::Line)
+BuildRequires:  perl(POE::Kernel)
+BuildRequires:  perl(POE::Session)
+BuildRequires:  perl(POE::Wheel::Run)
+BuildRequires:  perl(Text::Wrap)
+# Tests
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(Test::More)
+Requires:       perl(POE::Component::IRC) >= 6.62
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Basic bot system designed to make it easy to do simple bots, optionally
+forking longer processes (like searches) concurrently in the background.
+
+%prep
+%setup -q -n Bot-BasicBot-%{version}
+find examples -type f -exec chmod 644 {} \;
+iconv -f latin1 -t utf8 README > README.utf8 && mv README.utf8 README
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes dist.ini examples LICENSE META.json README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jul 26 2011 Petr Sabata <contyk at redhat.com> 0.87-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..a962199 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4094ea0e582c61b710d5a2ec1e3589e4  Bot-BasicBot-0.87.tar.gz


More information about the scm-commits mailing list