8
0
Files
perl-XML-Stream/perl-XML-Stream.spec

77 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-XML-Stream (Version 1.22)
#
# 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-XML-Stream
BuildRequires: perl-Authen-SASL perl-IO-Socket-SSL perl-Unicode-String
Version: 1.22
Release: 155
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
License: Artistic
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
%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
make %{?_smp_mflags}
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}
%changelog