1 %define php_min_version 5.0.0
2 %include /usr/lib/rpm/macros.php
3 Summary: The Incutio XML-RPC Library for PHP
8 Group: Development/Languages/PHP
9 Source0: http://php-ixr.googlecode.com/files/%{name}-%{version}.tar.gz
10 # Source0-md5: 4daf00b83611ffeeb6d86be0ac152508
11 URL: http://scripts.incutio.com/xmlrpc/
12 BuildRequires: /usr/bin/php
13 BuildRequires: rpm-php-pearprov >= 4.4.2-11
14 BuildRequires: rpmbuild(macros) >= 1.461
15 Requires: php(core) >= %{php_min_version}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The Incutio XML-RPC library (IXR) is designed primarily for ease of
24 use. It incorporates both client and server classes, and is designed
25 to hide as much of the workings of XML-RPC from the user as possible.
26 A key feature of the library is automatic type conversion from PHP
27 types to XML-RPC types and vice versa. This should enable developers
28 to write web services with very little knowledge of the underlying
31 Don't however be fooled by it's simple surface. The library includes a
32 wide variety of additional XML-RPC specifications and has all of the
33 features required for serious web service implementations.
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_data_dir}
41 cp -p IXR_Library.php $RPM_BUILD_ROOT%{php_data_dir}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %{php_data_dir}/IXR_Library.php