forked from pool/perl-XML-Stream
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:
committed by
Git OBS Bridge
parent
3c8f3c046b
commit
f9a38f8522
@@ -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
|
||||
|
||||
|
@@ -19,31 +19,47 @@
|
||||
|
||||
|
||||
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
|
||||
Release: 1
|
||||
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
|
||||
Release: 2
|
||||
License: LGPLv2+
|
||||
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
|
||||
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
|
||||
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
|
||||
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/.
|
||||
|
||||
|
||||
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/.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
@@ -51,28 +67,30 @@ Authors:
|
||||
Thomas Charron <tcharron@jabber.org>
|
||||
|
||||
%prep
|
||||
%setup -n XML-Stream-%{version} -q
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test TEST_FILES=t/[^t]*.t
|
||||
%{__make} test
|
||||
|
||||
%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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.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
|
||||
|
Reference in New Issue
Block a user