# # spec file for package perl-RPC-XML # # Copyright (c) 2013 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/ # Name: perl-RPC-XML Version: 0.77 Release: 0 %define cpan_name RPC-XML Summary: A set of classes for core data, message and XML handling License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/RPC-XML/ Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz #PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice Patch1: RPC-XML-0.60-rev127.dif Patch2: RPC-XML-0.76-extern_ent.dif BuildRequires: perl BuildRequires: perl-macros 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 BuildRequires: perl(constant) >= 1.03 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 Requires: perl(constant) >= 1.03 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description The *RPC::XML* package is an implementation of the *XML-RPC* standard. 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. 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. %prep %setup -q -n %{cpan_name}-%{version} %patch1 -p0 %patch2 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc ChangeLog ChangeLog.xml README README.apache2 %changelog