2007-01-15 23:32:19 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-XML-Stream (Version 1.22)
|
|
|
|
#
|
2010-01-11 16:01:50 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
2009-06-18 15:16:47 +00:00
|
|
|
# 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/
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:16:47 +00:00
|
|
|
|
|
|
|
Name: perl-XML-Stream
|
|
|
|
BuildRequires: perl-Authen-SASL perl-IO-Socket-SSL perl-Unicode-String
|
|
|
|
Version: 1.22
|
2010-01-11 16:01:50 +00:00
|
|
|
Release: 155
|
2009-06-18 15:16:47 +00:00
|
|
|
Requires: openssl
|
|
|
|
Requires: perl-Authen-SASL
|
|
|
|
Requires: perl-IO-Socket-SSL
|
|
|
|
Requires: perl-Net_SSLeay
|
|
|
|
Requires: perl-Unicode-String
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-01-11 16:01:50 +00:00
|
|
|
License: Artistic
|
2009-06-18 15:16:47 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/XML/
|
|
|
|
Summary: Creates and XML Stream connection and parses return data
|
|
|
|
Source: XML-Stream-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module provides the user with methods to connect to a remote
|
|
|
|
server, send a stream of XML to the server, and receive/parse an XML
|
|
|
|
stream from the server. It is primarily based work for the Etherx XML
|
|
|
|
router developed by the Jabber Development Team. For more information
|
|
|
|
about this project visit http://www.jabber.org/protocol/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ryan Eatmon <reatmon@ti.com>
|
|
|
|
Thomas Charron <tcharron@jabber.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n XML-Stream-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-11 16:01:50 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:32:19 +00:00
|
|
|
make test TEST_FILES=t/[^t]*.t
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES INFO LICENSE.LGPL README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2009-06-18 15:16:47 +00:00
|
|
|
%changelog
|