File perl-Net-XMPP.spec of Package perl-Net-XMPP
#
# spec file for package perl-Net-XMPP (Version 1.02)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Net-XMPP
BuildRequires: perl-Digest-SHA1 perl-Module-Build perl-XML-Stream
Version: 1.02
Release: 1
Requires: perl-Authen-SASL
Requires: perl-Digest-SHA1
Requires: perl-Unicode-String
Requires: perl-XML-Stream
Requires: perl = %{perl_version}
Autoreqprov: on
Group: Development/Libraries/Perl
License: GNU General Public License (GPL)
URL: http://cpan.org/modules/by-module/Net/
Summary: Collection of Perl Modules for Accessing the XMPP Protocol
Source: Net-XMPP-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Extensible Messaging and Presence Protocol (XMPP) is an IETF
standard that provides a complete cross-protocol messaging solution.
The problem with current IM solutions is that they are all proprietary
and cannot talk to each other. XMPP seeks to get rid of those
barriers.
For more information about the Jabber project, visit
http://www.xmpp.org.
Net::XMPP is a collection of Perl modules that provide a Perl developer
with access to the XMPP protocol. Using OOP modules, it provides a
clean interface to writing anything from a full client to a simple
protocol tester.
Authors:
--------
Ryan Eatmon <reatmon@jabber.org>
%prep
%setup -q -n Net-XMPP-%{version}
%build
perl Makefile.PL
make
make test || echo "obelisk.net has discontinued test account"
%install
./Build install --installdirs vendor --destdir $RPM_BUILD_ROOT
# current Module::Build does not append to perllocal.pod:
# http://search.cpan.org/~kwilliams/Module-Build-0.2807/lib/Module/Build.pm#TO_DO
#%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES LICENSE.LGPL README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Net
%{perl_vendorarch}/auto/Net
%changelog
* Thu Apr 05 2007 - anicka@suse.cz
- update to 1.02
* Copied *X subs from Net::Jabber::Message to Net::XMPP::Message
* added debugging in some Protocol subs that didn't have it,
but not all
* disabled CODE checking in Protocol-Callback subs to be POE
compatible
* changed mytestlib.pl to output more concise test names
* bugfixes
- fix spec to build with Module::Build, add it to BuildRequires
- disable %%perl_process_packlist (Module::Build does not append
to perllocal.pod)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Aug 10 2005 - ro@suse.de
- ignore test errors for the moment
* Mon Aug 01 2005 - mjancar@suse.cz
- initial version 1.0