1 %include /usr/lib/rpm/macros.php
3 %define _subclass Cyrus
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - an API for the administration of Cyrus IMAP servers
8 Summary(pl): %{_pearname} - API do administrowania serwerami Cyrus IMAP
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: 7deb75ce29b9acdbb4fb34c5ba9b5384
17 URL: http://pear.php.net/package/Net_Cyrus/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
21 Requires: php-pear-Net_Socket >= 1.0
22 Requires: php-pear-Net_IMAP >= 1.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 API for the administration of Cyrus IMAP servers. It can be used to
28 create,delete and modify users and it's properties (Quota and ACL)
30 In PEAR status of this package is: %{_status}.
33 Ta klasa dostarcza API do administrowania serwerami Cyrus IMAP. Mo¿e
34 byæ u¿yte do tworzenia, usuwania oraz modyfikowania u¿ytkowników oraz
35 ich w³a¶ciwo¶ci (Quota oraz ACL).
37 Ta klasa ma w PEAR status: %{_status}.
40 Summary: Tests for PEAR::%{_pearname}
41 Summary(pl): Testy dla PEAR::%{_pearname}
42 Group: Development/Languages/PHP
43 Requires: %{name} = %{epoch}:%{version}-%{release}
47 Tests for PEAR::%{_pearname}.
49 %description tests -l pl
50 Testy dla PEAR::%{_pearname}.
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %{php_pear_dir}/.registry/*.reg
67 %{php_pear_dir}/%{_class}/*.php
70 %defattr(644,root,root,755)
71 %{php_pear_dir}/tests/*