1 %include /usr/lib/rpm/macros.php
2 %define _class Services
3 %define _subclass urlTea
5 %define _pearname Services_urlTea
6 Summary: %{_pearname} - PHP interface to urlTea's API
7 Summary(pl.UTF-8): %{_pearname} - interfejs PHP do API urlTea
8 Name: php-pear-%{_pearname}
11 License: New BSD License
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 95aa6c8252c86a50394b7095bb0e5944
15 URL: http://pear.php.net/package/Services_urlTea/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 An interface for creating urlTea URL's with their API as well as
24 looking up destinations of given urlTea URL's.
26 In PEAR status of this package is: %{_status}.
28 %description -l pl.UTF-8
29 Pakiet ten udostępnia interfejs do tworzenia adresów URL urlTea
30 z wykorzystaniem ich API, jak również umożliwia odczytywanie adresu
31 docelowego podanego adresu urlTea.
33 Ta klasa ma w PEAR status: %{_status}.
36 Summary: Tests for PEAR::%{_pearname}
37 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
38 Group: Development/Languages/PHP
40 Requires: %{name} = %{version}-%{release}
44 Tests for PEAR::%{_pearname}.
46 %description tests -l pl.UTF-8
47 Testy dla PEAR::%{_pearname}.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/Services/urlTea
65 %{php_pear_dir}/Services/urlTea.php
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/Services_urlTea