%define pkg_name POE-Component-Jabber %define pkg_version 2.02 %define rpm_pkg_version 2.02 %define rpm_pkg_release 1.n0i.2 Summary: A POE Component for communicating over Jabber 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/N/NP/NPEREZ/%{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(Authen::SASL) >= 2.10 BuildRequires: perl(Digest::SHA1) >= 2.11 BuildRequires: perl(Filter::Template) >= 1.01 BuildRequires: perl(MIME::Base64) >= 3.07 BuildRequires: perl(POE) >= 0.95 BuildRequires: perl(POE::Component::SSLify) >= 0.06 BuildRequires: perl(POE::Filter::XML) >= 0.31 %description POE::Component::Jabber is a communications component that fits within the POE framework and provides the raw low level footwork of initiating a connection, negotiatating various protocol layers, and authentication necessary for the end developer to focus more on the business end of implementing a client or service. %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 ChangeLog examples/ LICENSE README %changelog * Wed Aug 22 2007 Marius Feraru - 2.02-1.n0i.2 - version 2.02 * Wed Jun 13 2007 Marius Feraru - 2.01-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 2.01