commit 7bf70955bb6c6a22c4623af836a16683dcea8337 Author: remi <fedora@xxxxxxxxxxxxxxxxx> Date: Thu May 10 17:22:11 2012 +0200 new Package (review #812586) .gitignore | 1 + perl-POE-Component-Client-Ping.spec | 67 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6174790 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/POE-Component-Client-Ping-1.171.tar.gz diff --git a/perl-POE-Component-Client-Ping.spec b/perl-POE-Component-Client-Ping.spec new file mode 100644 index 0000000..a5511d3 --- /dev/null +++ b/perl-POE-Component-Client-Ping.spec @@ -0,0 +1,67 @@ +Name: perl-POE-Component-Client-Ping +Version: 1.171 +Release: 2%{?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 + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(POE) >= 1.007 +BuildRequires: perl(Time::HiRes) >= 1.2 +BuildRequires: perl(Exporter) +BuildRequires: perl(Carp) +BuildRequires: perl(Socket) +BuildRequires: perl(POE::Session) +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 + + +%files +%doc CHANGES README +%{perl_vendorlib}/POE +%{_mandir}/man3/* + + +%changelog +* Mon May 07 2012 Remi Collet <remi@xxxxxxxxxxxxxxxxx> - 1.171-2 +- changes from review (#812586) +- clean spec of EL-5 stuff (package don't build) + +* Sun Apr 15 2012 Remi Collet <remi@xxxxxxxxxxxxxxxxx> - 1.171-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..290144c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0ee6da4e01aa08479497a4f484a0b028 POE-Component-Client-Ping-1.171.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel