3 %bcond_without tests # do not perform "make test"
7 Summary: RPC::XML - an implementation of XML-RPC for Perl
8 Summary(pl.UTF-8): RPC::XML - implementacja standardu XML-RPC dla Perla
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 731aaf588e6bd45b3a9cece8d4223e48
16 Patch0: mod_perl2.patch
17 URL: http://www.blackperl.com/RPC::XML/
18 BuildRequires: perl-XML-Parser
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: perl-libwww
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 # these are provided by mod_perl's Apache2::compat
26 %define _noautoreq perl(Apache) perl(Apache::Constants) perl(Apache::File)
29 The RPC::XML package for Perl is an implementation of the XML-RPC
30 standard as defined at <http://www.xmlrpc.com/spec/>. It is written in
31 pure Perl without use or need of C (or XS) linkage. It does (at
32 present) require the XML::Parser and LWP CPAN modules for operation.
33 Version 0.60 will switch to XML::LibXML in place of XML::Parser.
35 %description -l pl.UTF-8
36 Pakiet RPC::XML jest implementacją standardu XML-RPC zdefiniowanego na
37 <http://www.xmlrpc.com/spec/>. Jest napisany wyłącznie w Perlu, bez
38 łączenia z C (ani XS). Aktualnie wymaga do działania modułów
39 XML::Parser i LWP z CPAN. Wersja 0.60 bedzie u?ywa? XML::LibXML zamiast
43 Summary: RPC server as an Apache/mod_perl content handler
44 Summary(pl.UTF-8): Serwer RPC jako procedura obsługi treści Apache/mod_perl
45 Group: Applications/Networking
48 RPC server as an Apache/mod_perl content handler.
50 %description Apache -l pl.UTF-8
51 Serwer RPC jako procedura obsługi treści Apache/mod_perl.
54 %setup -q -n %{pdir}-%{pnam}-%{version}
58 %{__perl} Makefile.PL \
62 %{?with_tests:%{__make} test}
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/*
77 %dir %{perl_vendorlib}/RPC
78 %{perl_vendorlib}/RPC/XML
79 %{perl_vendorlib}/RPC/XML.pm
81 %exclude %{_mandir}/man3/Apache*
85 %defattr(644,root,root,755)
87 %{perl_vendorlib}/Apache/RPC
88 %{_mandir}/man3/Apache*