[perl-POE-Component-Syndicator] Initial import (#727559)

Petr Sabata psabata at fedoraproject.org
Thu Aug 4 13:00:25 UTC 2011


commit 456c533b5d0fd8d847df0b9c202680d086d64bab
Author: Petr Sabata <contyk at redhat.com>
Date:   Thu Aug 4 14:59:11 2011 +0200

    Initial import (#727559)

 .gitignore                         |    1 +
 perl-POE-Component-Syndicator.spec |   50 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..32a89d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/POE-Component-Syndicator-0.06.tar.gz
diff --git a/perl-POE-Component-Syndicator.spec b/perl-POE-Component-Syndicator.spec
new file mode 100644
index 0000000..0c3f07a
--- /dev/null
+++ b/perl-POE-Component-Syndicator.spec
@@ -0,0 +1,50 @@
+Name:           perl-POE-Component-Syndicator
+Version:        0.06
+Release:        1%{?dist}
+Summary:        POE component base class which implements the Observer pattern
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/POE-Component-Syndicator/
+Source0:        http://www.cpan.org/authors/id/H/HI/HINRIK/POE-Component-Syndicator-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(constant)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Object::Pluggable) >= 1.29
+BuildRequires:  perl(Object::Pluggable::Constants)
+BuildRequires:  perl(POE) >= 1.311
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(constant)
+Requires:       perl(Object::Pluggable) >= 1.29
+Requires:       perl(POE) >= 1.311
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+POE::Component::Syndicator is a base class for POE components which need to
+handle a persistent resource (e.g. a connection to an IRC server) for one
+or more sessions in an extendable way.
+
+%prep
+%setup -q -n POE-Component-Syndicator-%{version}
+
+%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 LICENSE META.json README xt
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Aug  2 2011 Petr Sabata <contyk at redhat.com> 0.06-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..d24f04c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dfa8019122225d9853263293002ff29b  POE-Component-Syndicator-0.06.tar.gz


More information about the scm-commits mailing list