File perl-Net-Jabber.spec of Package perl-Net-Jabber
#
# spec file for package perl-Net-Jabber (Version 2.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Net-Jabber
BuildRequires: perl-Net-XMPP
Version: 2.0
Release: 164
Requires: perl-Authen-SASL
Requires: perl-Digest-SHA1
Requires: perl-Net-XMPP
Requires: perl-Unicode-String
Requires: perl-XML-Stream
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Net/
Summary: Jabber Perl Library
Source: Net-Jabber-%{version}.tar.bz2
Patch: Net-Jabber-%{version}-tests.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Net::Jabber is a convenient tool to use for any perl script that would
like to utilize the Jabber 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::Jabber is a wrapper around the rest of the official
Net::Jabber::xxxxxx packages.
Authors:
--------
Ryan Eatmon <reatmon@ti.com>
%prep
%setup -q -n Net-Jabber-%{version}
%patch
%build
perl Makefile.PL
make %{?_smp_mflags}
make test || echo "obelisk.net has discontinued test account"
%install
%perl_make_install
%perl_process_packlist
chmod a-x examples/component_accept.pl examples/component_test.pl
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README CHANGES LICENSE.LGPL examples
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Net
%{perl_vendorarch}/auto/Net
/var/adm/perl-modules/%{name}
%changelog