%define pkg_name POE-Stage %define pkg_version 0.02_00 %define rpm_pkg_version 0.02_00 %define rpm_pkg_release 1.n0i.1 Summary: A prototype of a successor to POE::Component 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/R/RC/RCAPUTO/%{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(Attribute::Handlers) >= 0.78 BuildRequires: perl(Devel::LexAlias) >= 0.04 BuildRequires: perl(Net::DNS) >= 0.53 BuildRequires: perl(PadWalker) >= 1.0 BuildRequires: perl(POE) >= 0.36 BuildRequires: perl(Scalar::Util) >= 1.18 %global perl_filter_prov 'perl\\(DB\\)' %description POE::Stage is a set of base classes for message‐driven objects. It cleanly implements standard patterns that have emerged from years of working with POE and POE::Component modules. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path examples/} %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 README examples/ %changelog * Wed Jun 13 2007 Marius Feraru - 0.02_00-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - rebuild on perl 5.8.8