8
0

Accepting request 43330 from devel:languages:perl

Copy from devel:languages:perl/perl-XML-Stream based on submit request 43330 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/43330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Stream?expand=0&rev=10
This commit is contained in:
OBS User autobuild
2010-07-19 19:01:54 +00:00
committed by Git OBS Bridge
parent 3c8f3c046b
commit f9a38f8522
2 changed files with 57 additions and 32 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 14 13:27:28 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- noarch pkg
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 13 16:41:08 CET 2010 - anicka@suse.cz Wed Jan 13 16:41:08 CET 2010 - anicka@suse.cz

View File

@@ -19,31 +19,47 @@
Name: perl-XML-Stream Name: perl-XML-Stream
BuildRequires: perl-Authen-SASL perl-IO-Socket-SSL perl-Unicode-String %define cpan_name XML-Stream
Summary: Creates an XML Stream connection and parses return data
Version: 1.23 Version: 1.23
Release: 1 Release: 2
Requires: openssl License: LGPLv2+
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 Group: Development/Libraries/Perl
License: Artistic Url: http://search.cpan.org/dist/XML-Stream/
Url: http://cpan.org/modules/by-module/XML/ #Source: http://www.cpan.org/modules/by-module/XML/XML-Stream-%{version}.tar.gz
Summary: Creates and XML Stream connection and parses return data Source: %{cpan_name}-%{version}.tar.bz2
Source: XML-Stream-%{version}.tar.bz2 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
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)
%description %description
This module provides the user with methods to connect to a remote This module provides the user with methods to connect to a remote server,
server, send a stream of XML to the server, and receive/parse an XML send a stream of XML to the server, and receive/parse an XML stream from
stream from the server. It is primarily based work for the Etherx XML the server. It is primarily based work for the Etherx XML router
router developed by the Jabber Development Team. For more information developed by the Jabber Development Team. For more information about this
about this project visit http://www.jabber.org/protocol/. project visit http://xmpp.org/protocols/streams/.
Authors: Authors:
-------- --------
@@ -51,28 +67,30 @@ Authors:
Thomas Charron <tcharron@jabber.org> Thomas Charron <tcharron@jabber.org>
%prep %prep
%setup -n XML-Stream-%{version} -q %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__make} %{?_smp_mflags}
%check %check
make test TEST_FILES=t/[^t]*.t %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist # 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
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc CHANGES INFO LICENSE.LGPL README %doc CHANGES INFO LICENSE.LGPL README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/XML
%{perl_vendorarch}/auto/XML
/var/adm/perl-modules/%{name}
%changelog %changelog