%define pkg_name Net-XMPP %define pkg_version 1.02 %define rpm_pkg_version 1.02 %define rpm_pkg_release 1.n0i.4 Summary: XMPP Perl Library 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/H/HA/HACKER/%{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(Digest::SHA1) >= 1.02 BuildRequires: perl(XML::Stream) >= 1.22 %description Net::XMPP is a convenient tool to use for any perl script that would like to utilize the XMPP Instant Messaging protocol. While not a client in and of itself, it provides all of the necessary back-end functions to make a CGI client or command-line perl client feasible and easy to use. Net::XMPP is a wrapper around the rest of the official Net::XMPP::xxxxxx packages. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %{fix_eol} %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 examples/ LICENSE.LGPL README %changelog * Sun Jun 10 2007 Marius Feraru - 1.02-1.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 1.02 * Sun Jul 24 2005 Marius Feraru 1.0-2.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.0-1.n0i.2 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.0-1.n0i.1 - version 1.0 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101 - no dependencies are to be computed based on files in %%docdir