1 %include /usr/lib/rpm/macros.php
2 %define _class Services
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - interface to eBay's XML-API
8 Summary(pl.UTF-8): %{_pearname} - interfejs do API XML eBay
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: f06197217dece26606f08360771cf6b3
17 URL: http://pear.php.net/package/Services_Ebay/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRequires: rpmbuild(macros) >= 1.300
22 Requires: php-common >= 3:5.0.0
24 Requires: php-pear-PEAR-core >= 1:1.3.2
25 Requires: php-pear-XML_Serializer >= 0.16.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This is interface to eBay's XML-API. It provides objects that are able
31 to communicate with eBay as well as models that help you working with
32 the return values like User or Item models.
34 The Services_Ebay class provides a unified method to use all objects.
36 In PEAR status of this package is: %{_status}.
38 %description -l pl.UTF-8
39 Jest to interfejs do API XML-owego eBay. Udostępnia obiekty do
40 komunikacji z eBay jak również modele ułatwiające pracę ze zwracanymi
41 wartościami takimi jak modele Użytkownika czy Przedmiotów.
43 Ta klasa ma w PEAR status: %{_status}.
46 Summary: Tests for PEAR::%{_pearname}
47 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
48 Group: Development/Languages/PHP
49 Requires: %{name} = %{epoch}:%{version}-%{release}
54 Tests for PEAR::%{_pearname}.
56 %description tests -l pl.UTF-8
57 Testy dla PEAR::%{_pearname}.
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %doc docs/%{_pearname}/*
74 %{php_pear_dir}/.registry/*.reg
75 %{php_pear_dir}/%{_class}/*.php
76 %{php_pear_dir}/%{_class}/%{_subclass}
79 %defattr(644,root,root,755)
80 %{php_pear_dir}/tests/*