%global pkg_name POE-Component-Client-Whois %global pkg_version 1.11 %global rpm_pkg_version 1.11 %global rpm_pkg_release 1.n0i.3 Summary: A one shot non-blocking RFC 812 WHOIS query Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(POE) >= 0.38 BuildRequires: perl(Net::Netmask) >= 1.91 %description POE::Component::Client::Whois provides a lightweight one shot non-blocking RFC 812 WHOIS query to other POE sessions and components. The component will attempt to guess the appropriate whois server to connect to based on the query string passed. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ README %changelog * Thu Nov 01 2007 Marius Feraru - 1.11-1.n0i.3 - version 1.11 * Wed Aug 01 2007 Marius Feraru - 1.10-1.n0i.2 - version 1.10 * Wed Jun 13 2007 Marius Feraru - 1.09-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 1.09