forked from pool/perl-RPC-XML
- update to 0.74
* tons and tons of fixes and new functions since 0.67, see ChangeLog - take out patches of unclear use, to be removed on next update - regenerate with cpanspec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
cb26ceeca5
commit
7895c3cf15
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-RPC-XML (Version 0.67)
|
||||
# spec file for package perl-RPC-XML (Version 0.74)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -15,83 +15,75 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-RPC-XML
|
||||
BuildRequires: perl-XML-Parser perl-libwww-perl perl perl-macros
|
||||
#BuildRequires: perl-XML-LibXML
|
||||
Url: http://search.cpan.org/search?module=RPC::XML
|
||||
License: Artistic License ..
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
|
||||
AutoReqProv: on
|
||||
Version: 0.74
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name RPC-XML
|
||||
Summary: A set of classes for core data, message and XML handling
|
||||
Version: 0.67
|
||||
Release: 9
|
||||
Source: RPC-XML-%{version}.tar.bz2
|
||||
Patch0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
|
||||
Patch1: RPC-XML-0.60-fix-utf8.dif
|
||||
Url: http://search.cpan.org/dist/RPC-XML/
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
# UNCLEAR
|
||||
Source0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
|
||||
# UNCLEAR
|
||||
Source1: RPC-XML-0.60-fix-utf8.dif
|
||||
#PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice
|
||||
Patch2: RPC-XML-0.60-rev127.dif
|
||||
BuildRequires: perl(constant) >= 1.03
|
||||
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
|
||||
BuildRequires: perl-macros
|
||||
Requires: 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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The RPC::XML package is a reference implementation of the XML-RPC
|
||||
standard.
|
||||
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.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Randy J. Ray <rjray@blackperl.com>
|
||||
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 -n RPC-XML-%{version}
|
||||
%patch0 -p0
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
# ---------------------------------------------------------------------------
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch2 -p0
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
# ---------------------------------------------------------------------------
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT \
|
||||
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
||||
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
|
||||
install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/usr/bin/make_method
|
||||
%dir %{perl_vendorlib}/RPC
|
||||
%dir %{perl_vendorlib}/RPC/XML
|
||||
%{perl_vendorlib}/RPC/XML.pm
|
||||
%{perl_vendorlib}/RPC/XML/*
|
||||
%dir %{perl_vendorlib}/Apache
|
||||
%dir %{perl_vendorlib}/Apache/RPC
|
||||
%{perl_vendorlib}/Apache/RPC/*
|
||||
%dir %{perl_vendorlib}/auto/RPC
|
||||
%dir %{perl_vendorlib}/auto/RPC/XML
|
||||
%dir %{perl_vendorlib}/auto/RPC/XML/Server
|
||||
%dir %{perl_vendorlib}/auto/RPC/XML/Procedure
|
||||
%dir %{perl_vendorlib}/auto/RPC/XML/Function
|
||||
%{perl_vendorlib}/auto/RPC/XML/Server/*
|
||||
%{perl_vendorlib}/auto/RPC/XML/Procedure/*
|
||||
%{perl_vendorlib}/auto/RPC/XML/Function/*
|
||||
%dir %{perl_vendorarch}/auto/RPC
|
||||
%dir %{perl_vendorarch}/auto/RPC/XML
|
||||
%doc MANIFEST ChangeLog README README.apache2
|
||||
%{_mandir}/man3/RPC::XML*
|
||||
%{_mandir}/man3/Apache::RPC::*
|
||||
%{_mandir}/man1/make_method.1.gz
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc ChangeLog ChangeLog.xml README README.apache2
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user