From fe3e23dda625e87db22e3bc2e77e6021a6f67bf3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 15 Apr 2012 09:08:59 +0200 Subject: perl-POE-Component-Client-Ping-1.171: new package --- Makefile | 4 +++ perl-POE-Component-Client-Ping.spec | 64 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 Makefile create mode 100644 perl-POE-Component-Client-Ping.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e65467 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../common/Makefile + diff --git a/perl-POE-Component-Client-Ping.spec b/perl-POE-Component-Client-Ping.spec new file mode 100644 index 0000000..26d1eca --- /dev/null +++ b/perl-POE-Component-Client-Ping.spec @@ -0,0 +1,64 @@ +Name: perl-POE-Component-Client-Ping +Version: 1.171 +Release: 1%{?dist} +Summary: Non-blocking ICMP ping client +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/POE-Component-Client-Ping/ +Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Component-Client-Ping-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(POE) >= 1.007 +BuildRequires: perl(Test::More) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(POE) >= 1.007 + +%{?perl_default_filter} + + +%description +POE::Component::Client::Ping is non-blocking ICMP ping client. It lets +several other sessions ping through it in parallel, and it lets them +continue doing other things while they wait for responses. + +%prep +%setup -q -n POE-Component-Client-Ping-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{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 + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc CHANGES README +%{perl_vendorlib}/POE +%{_mandir}/man3/* + + +%changelog +* Sun Apr 15 2012 Remi Collet - 1.171-1 +- Specfile autogenerated by cpanspec 1.78. -- cgit