]> git.pld-linux.org Git - packages/perl-Frontier-RPC.git/blame - perl-Frontier-RPC.spec
- drop dependency on mod_perl 1.x for apache 1.x
[packages/perl-Frontier-RPC.git] / perl-Frontier-RPC.spec
CommitLineData
9fbf14f2
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
9fbf14f2
ER
5%define pdir Frontier
6%define pnam RPC
7Summary: Frontier::RPC2 - encode/decode RPC2 format XML
017d4c83 8Summary(pl.UTF-8): Frontier::RPC2 - kodowanie/dekodowanie formatu XML RPC2
9fbf14f2
ER
9Name: perl-Frontier-RPC
10Version: 0.07
2a78113b 11Release: 3
0e500d6d 12# same as perl
13License: GPL v1+ or Artistic
9fbf14f2
ER
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-authors/id/K/KM/KMACLEOD/Frontier-RPC-%{version}b4.tar.gz
16# Source0-md5: c04582da604f11bdbe60606738f92457
2a78113b 17Patch0: no-mod_perl-1.x.patch
08c7ae97 18URL: https://metacpan.org/pod/Frontier::RPC2
9fbf14f2
ER
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
4ddd1f2b 21BuildRequires: perl-XML-Parser
9fbf14f2
ER
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Frontier::RPC implements UserLand Software's XML RPC (Remote Procedure
27Calls using Extensible Markup Language). Frontier::RPC includes both a
28client module for making requests to a server and several server
29modules for implementing servers using CGI, Apache, and standalone
30with HTTP::Daemon.
31
5495507e 32%description -l pl.UTF-8
30f8d17d 33Frontier::RPC implementuje XML RPC (Remote Procedure Calls - zdalne
5495507e
JR
34wywołania przy użyciu języku XML) UserLand Software. Frontier::RPC
35zawiera zarówno moduł kliencki do wysyłania żądań do serwera, a także
36kilka modułów serwerowych do implementowania serwerów przy użyciu CGI,
37Apache'a, a także samodzielnie z użyciem HTTP::Daemon.
30f8d17d 38
9fbf14f2
ER
39%prep
40%setup -q -n Frontier-RPC-%{version}b4
2a78113b 41%patch0 -p1
9fbf14f2
ER
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc ChangeLog Changes docs README
65%{perl_vendorlib}/Apache/XMLRPC.pm
66%{perl_vendorlib}/Frontier
67%{_mandir}/man3/*
68%{_examplesdir}/%{name}-%{version}
This page took 0.056478 seconds and 4 git commands to generate.