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.UTF-8): %{_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
20 BuildRequires: rpmbuild(macros) >= 1.300
22 Requires: php-pear-Net_Socket >= 1.0
23 Requires: php-pear-Net_IMAP >= 1.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 API for the administration of Cyrus IMAP servers. It can be used to
29 create,delete and modify users and it's properties (Quota and ACL)
31 In PEAR status of this package is: %{_status}.
33 %description -l pl.UTF-8
34 Ta klasa dostarcza API do administrowania serwerami Cyrus IMAP. Może
35 być użyte do tworzenia, usuwania oraz modyfikowania użytkowników oraz
36 ich właściwości (Quota oraz ACL).
38 Ta klasa ma w PEAR status: %{_status}.
41 Summary: Tests for PEAR::%{_pearname}
42 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
43 Group: Development/Languages/PHP
44 Requires: %{name} = %{epoch}:%{version}-%{release}
49 Tests for PEAR::%{_pearname}.
51 %description tests -l pl.UTF-8
52 Testy dla PEAR::%{_pearname}.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/%{_class}/*.php
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/*