2007-01-15 23:32:19 +00:00
|
|
|
#
|
2010-01-14 17:32:54 +00:00
|
|
|
# spec file for package perl-XML-Stream (Version 1.23)
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
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
|
2010-07-19 19:01:54 +00:00
|
|
|
%define cpan_name XML-Stream
|
|
|
|
Summary: Creates an XML Stream connection and parses return data
|
2010-01-14 17:32:54 +00:00
|
|
|
Version: 1.23
|
2010-07-19 19:01:54 +00:00
|
|
|
Release: 2
|
|
|
|
License: LGPLv2+
|
2009-06-18 15:16:47 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-07-19 19:01:54 +00:00
|
|
|
Url: http://search.cpan.org/dist/XML-Stream/
|
|
|
|
#Source: http://www.cpan.org/modules/by-module/XML/XML-Stream-%{version}.tar.gz
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
|
|
BuildArch: noarch
|
2009-06-18 15:16:47 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-07-19 19:01:54 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
%if 0%{?suse_version} < 1120
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
%endif
|
|
|
|
BuildRequires: perl(Authen::SASL)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
BuildRequires: perl(IO::Select)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(IO::Socket::SSL) >= 0.81
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
#
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl(Authen::SASL)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(FileHandle)
|
|
|
|
Requires: perl(IO::Select)
|
|
|
|
Requires: perl(IO::Socket)
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
Requires: perl(utf8)
|
|
|
|
Recommends: perl(IO::Socket::SSL) >= 0.81
|
|
|
|
Recommends: perl(Net::DNS)
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%description
|
2010-07-19 19:01:54 +00:00
|
|
|
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://xmpp.org/protocols/streams/.
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ryan Eatmon <reatmon@ti.com>
|
|
|
|
Thomas Charron <tcharron@jabber.org>
|
|
|
|
|
|
|
|
%prep
|
2010-07-19 19:01:54 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%build
|
2010-07-19 19:01:54 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-01-14 17:32:54 +00:00
|
|
|
|
|
|
|
%check
|
2010-07-19 19:01:54 +00:00
|
|
|
%{__make} test
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2010-07-19 19:01:54 +00:00
|
|
|
# do not perl_process_packlist (noarch)
|
|
|
|
# remove .packlist file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
|
|
# remove perllocal.pod file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
|
|
%perl_gen_filelist
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%clean
|
2010-07-19 19:01:54 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:32:19 +00:00
|
|
|
|
2010-07-19 19:01:54 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
2007-01-15 23:32:19 +00:00
|
|
|
%doc CHANGES INFO LICENSE.LGPL README
|
|
|
|
|
2009-06-18 15:16:47 +00:00
|
|
|
%changelog
|