%define pkg_name POE-Component-Client-SMTP %define pkg_version 0.18 %define rpm_pkg_version 0.18 %define rpm_pkg_release 1.n0i.3 Summary: Asynchronous email sending with POE 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/U/UL/ULTRADM/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(Module::Build) BuildRequires: perl(Data::Dumper) BuildRequires: perl(POE) >= 0.26 BuildRequires: perl(POE::Wheel::SocketFactory) BuildRequires: perl(POE::Wheel::ReadWrite) BuildRequires: perl(POE::Filter::Line) BuildRequires: perl(POE::Filter::Stream) %description PoCoClient::SMTP allows you to send email messages in an asynchronous manner, using POE. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path eg/} [ -f Makefile.PL ] || cat < Makefile.PL use Module::Build::Compat; Module::Build::Compat->run_build_pl(args => \@ARGV); Module::Build::Compat->write_makefile(); EOF %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 COPYING eg/ LICENSE README %changelog * Sun Aug 26 2007 Marius Feraru - 0.18-1.n0i.3 - version 0.18 * Mon Aug 20 2007 Marius Feraru - 0.17-1.n0i.2 - version 0.17 * Wed Jun 13 2007 Marius Feraru - 0.14-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 0.14