LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Net-Jabber.spec of Package perl-Net-Jabber (Project openSUSE:12.1)

# 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
BuildRequires:  perl-macros
Version:        2.0
Release:        172
Requires:       perl-Authen-SASL
Requires:       perl-Digest-SHA1
Requires:       perl-Net-XMPP
Requires:       perl-Unicode-String
Requires:       perl-XML-Stream
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

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.

    Ryan Eatmon <reatmon@ti.com>

%setup -q -n Net-Jabber-%{version}

perl Makefile.PL
make %{?_smp_mflags}
make test || echo "obelisk.net has discontinued test account"

chmod a-x examples/component_accept.pl examples/component_test.pl


%doc %{_mandir}/man?/*