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): %{_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 Requires: php-common >= 3:5.0.0
23 Requires: php-pear-PEAR-core >= 1:1.3.2
24 Requires: php-pear-XML_Serializer >= 0.16.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is interface to eBay's XML-API. It provides objects that are able
30 to communicate with eBay as well as models that help you working with
31 the return values like User or Item models.
33 The Services_Ebay class provides a unified method to use all objects.
35 In PEAR status of this package is: %{_status}.
38 Jest to interfejs do API XML-owego eBay. Udostêpnia obiekty do
39 komunikacji z eBay jak równie¿ modele u³atwiaj±ce pracê ze zwracanymi
40 warto¶ciami takimi jak modele U¿ytkownika czy Przedmiotów.
42 Ta klasa ma w PEAR status: %{_status}.
45 Summary: Tests for PEAR::%{_pearname}
46 Summary(pl): Testy dla PEAR::%{_pearname}
47 Group: Development/Languages/PHP
48 Requires: %{name} = %{epoch}:%{version}-%{release}
52 Tests for PEAR::%{_pearname}.
54 %description tests -l pl
55 Testy dla PEAR::%{_pearname}.
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{php_pear_dir}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %doc docs/%{_pearname}/*
72 %{php_pear_dir}/.registry/*.reg
73 %{php_pear_dir}/%{_class}/*.php
74 %{php_pear_dir}/%{_class}/%{_subclass}
77 %defattr(644,root,root,755)
78 %{php_pear_dir}/tests/*