File perl-Net-Jabber.spec of Package perl-Net-Jabber
#
# spec file for package perl-Net-Jabber (Version 2.0)
#
# Copyright (c) 2009 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: 162
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 License
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
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
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Wed Aug 10 2005 ro@suse.de
- ignore test errors for the moment
* Mon Aug 01 2005 mjancar@suse.cz
- update to 2.0
- add perl-Authen-SASL and perl-Net-XMPP to Requires
* Tue Mar 02 2004 mjancar@suse.cz
- update to 1.29
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Aug 07 2003 mjancar@suse.cz
- fix tests that depend on certain order of entries
in a hash (it is random in perl 5.8.1)
* Tue Jul 22 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Tue Jun 17 2003 mjancar@suse.cz
- fix filelist
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Wed Dec 18 2002 prehak@suse.cz
- updated to version 1.28
- removed x permissions from nonexecutable example scripts
* Sat Jul 20 2002 prehak@suse.cz
- update to version 1.26
- added perl-Unicode-String to neededforbuild and to Required
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Jan 15 2002 rvasice@suse.cz
- update to version 1.0024
* Wed Aug 15 2001 rvasice@suse.cz
- initial package release (version 1.0022)