2007-01-15 23:31:43 +00:00
|
|
|
#
|
2009-07-29 14:24:44 +00:00
|
|
|
# spec file for package perl-RPC-XML (Version 0.67)
|
2007-01-15 23:31:43 +00:00
|
|
|
#
|
2009-07-29 14:24:44 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:43 +00:00
|
|
|
#
|
2008-08-18 22:23:04 +00: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-15 23:31:43 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-14 20:15:24 +00:00
|
|
|
|
2007-01-15 23:31:43 +00:00
|
|
|
Name: perl-RPC-XML
|
|
|
|
BuildRequires: perl-XML-Parser perl-libwww-perl
|
2008-04-14 20:15:24 +00:00
|
|
|
#BuildRequires: perl-XML-LibXML
|
|
|
|
Url: http://search.cpan.org/search?module=RPC::XML
|
2009-07-29 14:24:44 +00:00
|
|
|
License: Artistic License ..
|
2007-01-15 23:31:43 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
|
2008-04-14 20:15:24 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:31:43 +00:00
|
|
|
Summary: A set of classes for core data, message and XML handling
|
2009-07-29 14:24:44 +00:00
|
|
|
Version: 0.67
|
|
|
|
Release: 1
|
2007-01-15 23:31:43 +00:00
|
|
|
Source: RPC-XML-%{version}.tar.bz2
|
|
|
|
Patch0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
|
2008-04-14 20:15:24 +00:00
|
|
|
Patch1: RPC-XML-0.60-fix-utf8.dif
|
2008-08-18 22:23:04 +00:00
|
|
|
Patch2: RPC-XML-0.60-rev127.dif
|
2007-01-15 23:31:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The RPC::XML package is a reference implementation of the XML-RPC
|
|
|
|
standard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Randy J. Ray <rjray@blackperl.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n RPC-XML-%{version}
|
|
|
|
%patch0 -p0
|
2008-04-14 20:15:24 +00:00
|
|
|
%patch1 -p1
|
2008-08-18 22:23:04 +00:00
|
|
|
%patch2
|
2007-01-15 23:31:43 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
|
|
|
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
|
|
|
|
install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
2008-04-14 20:15:24 +00:00
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
2007-01-15 23:31:43 +00:00
|
|
|
%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
|
|
|
|
%{perl_vendorarch}/auto/RPC/XML/.packlist
|
|
|
|
%doc MANIFEST ChangeLog README README.apache2
|
|
|
|
%{_mandir}/man3/RPC::XML*
|
|
|
|
%{_mandir}/man3/Apache::RPC::*
|
|
|
|
%{_mandir}/man1/make_method.1.gz
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2008-04-14 20:15:24 +00:00
|
|
|
%changelog
|