]> git.pld-linux.org Git - packages/php-pear-XML_RPC2.git/blob - php-pear-XML_RPC2.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-XML_RPC2.git] / php-pear-XML_RPC2.spec
1 %define         status          stable
2 %define         pearname        XML_RPC2
3 Summary:        %{pearname} - XML-RPC client/server library
4 Summary(pl.UTF-8):      %{pearname} - biblioteka XML-RPC typu klient-serwer
5 Name:           php-pear-%{pearname}
6 Version:        1.1.4
7 Release:        1
8 License:        LGPL
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  a452032a342821d5b592d65929054ed7
12 URL:            http://pear.php.net/package/XML_RPC2/
13 BuildRequires:  php-pear-PEAR >= 1:1.5.4
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.580
16 Requires:       php(core) >= 5.0.0
17 Requires:       php(curl)
18 Requires:       php-pear
19 Requires:       php-pear-Cache_Lite >= 1.6.0
20 Requires:       php-pear-HTTP_Request2 >= 2.0.0
21 Requires:       php-pear-PEAR-core >= 1:1.0-0.b1
22 Obsoletes:      php-pear-XML_RPC2-tests
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 XML_RPC2 is a pear package providing XML_RPC client and server
28 services.
29
30 XML-RPC is a simple remote procedure call protocol built using HTTP as
31 transport and XML as encoding.
32
33 As a client library, XML_RPC2 is capable of creating a proxy class
34 which exposes the methods exported by the server. As a server library,
35 XML_RPC2 is capable of exposing methods from a class or object
36 instance, seamlessly exporting local methods as remotely callable
37 procedures.
38
39 In PEAR status of this package is: %{status}.
40
41 %description -l pl.UTF-8
42 XML_RPC2 to pakiet pear dostarczający usług typu klient-serwer.
43
44 XML-RPC to prosty protokół zdalnego wykonywania procedur (Remote
45 Procedure Call, RPC) stworzony przy użyciu HTTP jako transportu i XML
46 jako nośnika danych.
47
48 Jako biblioteka kliencka, XML_RPC2 potrafi stworzyć klasę
49 pośredniczącą która ujawni metody eksportowane przez serwer. Jako
50 biblioteka serwera, XML_RPC2 może eksportować lokalne metody do
51 zdalnie wykonywanych procedur.
52
53 Ta klasa ma w PEAR status: %{status}.
54
55 %prep
56 %pear_package_setup
57
58 mv .%{php_pear_dir}/tests/XML_RPC2/tests .
59 mv docs/XML_RPC2/docs/* .
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{php_pear_dir}
64 %pear_package_install
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc install.log
72 %{php_pear_dir}/.registry/*.reg
73 %{php_pear_dir}/XML/RPC2
74 %{php_pear_dir}/data/XML_RPC2
This page took 0.084327 seconds and 4 git commands to generate.