2007-01-16 00:31:43 +01:00
|
|
|
#
|
2011-11-11 12:21:52 +01:00
|
|
|
# spec file for package perl-RPC-XML
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2013-05-05 14:09:05 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2008-08-19 00:23:04 +02: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.
|
|
|
|
|
2007-01-16 00:31:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-11-11 12:21:52 +01:00
|
|
|
|
2007-01-16 00:31:43 +01:00
|
|
|
Name: perl-RPC-XML
|
2013-05-05 14:09:05 +02:00
|
|
|
Version: 0.77
|
2012-06-04 18:12:55 +02:00
|
|
|
Release: 0
|
2011-03-22 07:47:11 +01:00
|
|
|
%define cpan_name RPC-XML
|
2007-01-16 00:31:43 +01:00
|
|
|
Summary: A set of classes for core data, message and XML handling
|
2012-06-04 18:12:55 +02:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2011-03-22 07:47:11 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2012-06-04 18:12:55 +02:00
|
|
|
Url: http://search.cpan.org/dist/RPC-XML/
|
2011-11-18 12:41:50 +01:00
|
|
|
Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
|
2011-03-22 07:47:11 +01:00
|
|
|
#PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice
|
2013-05-05 14:09:05 +02:00
|
|
|
Patch1: RPC-XML-0.60-rev127.dif
|
|
|
|
Patch2: RPC-XML-0.76-extern_ent.dif
|
2013-07-01 10:20:02 +02:00
|
|
|
#PATCH-FIX-UPSTREAM - coolo@suse.de RT#86187
|
|
|
|
Patch3: RPC-XML-0.77-fixtest.dif
|
2012-06-04 18:12:55 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-03-22 07:47:11 +01:00
|
|
|
BuildRequires: perl(File::Spec) >= 0.8
|
|
|
|
BuildRequires: perl(LWP) >= 5.834
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.19
|
|
|
|
BuildRequires: perl(XML::LibXML) >= 1.70
|
|
|
|
BuildRequires: perl(XML::Parser) >= 2.31
|
2012-06-04 18:12:55 +02:00
|
|
|
BuildRequires: perl(constant) >= 1.03
|
2011-03-22 07:47:11 +01:00
|
|
|
Requires: perl(File::Spec) >= 0.8
|
|
|
|
Requires: perl(LWP) >= 5.834
|
|
|
|
Requires: perl(Scalar::Util) >= 1.19
|
|
|
|
Requires: perl(XML::LibXML) >= 1.70
|
|
|
|
Requires: perl(XML::Parser) >= 2.31
|
2013-05-05 14:09:05 +02:00
|
|
|
Requires: perl(constant) >= 1.03
|
2007-01-16 00:31:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-03-22 07:47:11 +01:00
|
|
|
BuildArch: noarch
|
2010-12-10 11:58:51 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%description
|
2011-03-22 07:47:11 +01:00
|
|
|
The *RPC::XML* package is an implementation of the *XML-RPC* standard.
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2011-03-22 07:47:11 +01:00
|
|
|
The package provides a set of classes for creating values to pass to the
|
|
|
|
constructors for requests and responses. These are lightweight objects,
|
|
|
|
most of which are implemented as tied scalars so as to associate specific
|
|
|
|
type information with the value. Classes are also provided for requests,
|
|
|
|
responses, faults (errors) and a parser based on the the XML::Parser
|
|
|
|
manpage package from CPAN.
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2011-03-22 07:47:11 +01:00
|
|
|
This module does not actually provide any transport implementation or
|
|
|
|
server basis. For these, see the RPC::XML::Client manpage and the
|
|
|
|
RPC::XML::Server manpage, respectively.
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%prep
|
2011-03-22 07:47:11 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2013-05-05 14:09:05 +02:00
|
|
|
%patch1 -p0
|
|
|
|
%patch2
|
2013-07-01 10:20:02 +02:00
|
|
|
%patch3 -p1
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%build
|
2011-03-22 07:47:11 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%install
|
2011-03-22 07:47:11 +01:00
|
|
|
%perl_make_install
|
2007-01-16 00:31:43 +01:00
|
|
|
%perl_process_packlist
|
2011-03-22 07:47:11 +01:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2008-04-14 22:15:24 +02:00
|
|
|
%clean
|
2011-03-22 07:47:11 +01:00
|
|
|
%{__rm} -rf %{buildroot}
|
2008-04-14 22:15:24 +02:00
|
|
|
|
2011-03-22 07:47:11 +01:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc ChangeLog ChangeLog.xml README README.apache2
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2008-04-14 22:15:24 +02:00
|
|
|
%changelog
|