%define pkg_name POE-Component-ControlPort %define pkg_version 0.01 %define rpm_pkg_version 0.01 %define rpm_pkg_release 1.n0i.1 Summary: Network control port for POE applications Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SU/SUNGO/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(POE) >= 0.29 BuildRequires: perl(Authen::Libwrap) BuildRequires: perl(Params::Validate) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(File::Basename) %description When building network applications, it is often helpful to have a network accessible control and diagnostic interface. This module provides such an interface for POE applications. By default, it provides a fairly limited set of commands but is easily extended to provide whatever command set you require. In addition, if "POE::Component::DebugShell" version 1.018 or above is installed, a set of POE debug commands will be loaded. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path ex/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes ex/ LICENSE %changelog * Wed Jun 13 2007 Marius Feraru - 0.01-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 0.01