]>
Commit | Line | Data |
---|---|---|
9fa000ad | 1 | %include /usr/lib/rpm/macros.php |
79e39c99 | 2 | %define _class Net |
3 | %define _subclass Cyrus | |
9fa000ad AG |
4 | %define _status beta |
5 | %define _pearname %{_class}_%{_subclass} | |
6 | ||
1076558a | 7 | Summary: %{_pearname} - an API for the administration of Cyrus IMAP servers |
e2439fad | 8 | Summary(pl.UTF-8): %{_pearname} - API do administrowania serwerami Cyrus IMAP |
9fa000ad | 9 | Name: php-pear-%{_pearname} |
8c6b117b | 10 | Version: 0.3.1 |
9661db7d | 11 | Release: 4 |
085b030a | 12 | Epoch: 0 |
9fa000ad AG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
8c6b117b | 16 | # Source0-md5: 7deb75ce29b9acdbb4fb34c5ba9b5384 |
4960d49a | 17 | URL: http://pear.php.net/package/Net_Cyrus/ |
1fd9ebcc | 18 | BuildRequires: php-pear-PEAR |
029da87e | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
ba664160 | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
9fa000ad | 21 | Requires: php-pear |
90e9ab79 ER |
22 | Requires: php-pear-Net_Socket >= 1.0 |
23 | Requires: php-pear-Net_IMAP >= 1.0 | |
9fa000ad AG |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
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) | |
30 | ||
ef9f0988 | 31 | In PEAR status of this package is: %{_status}. |
9fa000ad | 32 | |
a666d677 JR |
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). | |
9fa000ad AG |
37 | |
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
029da87e ER |
40 | %package tests |
41 | Summary: Tests for PEAR::%{_pearname} | |
e2439fad | 42 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
d7b217f2 | 43 | Group: Development/Languages/PHP |
029da87e ER |
44 | Requires: %{name} = %{epoch}:%{version}-%{release} |
45 | AutoReq: no | |
1ded2caa | 46 | AutoProv: no |
029da87e ER |
47 | |
48 | %description tests | |
49 | Tests for PEAR::%{_pearname}. | |
50 | ||
a666d677 | 51 | %description tests -l pl.UTF-8 |
029da87e ER |
52 | Testy dla PEAR::%{_pearname}. |
53 | ||
9fa000ad | 54 | %prep |
029da87e | 55 | %pear_package_setup |
9fa000ad AG |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
029da87e ER |
59 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
60 | %pear_package_install | |
9fa000ad AG |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
029da87e ER |
67 | %doc install.log |
68 | %{php_pear_dir}/.registry/*.reg | |
9fa000ad | 69 | %{php_pear_dir}/%{_class}/*.php |
029da87e ER |
70 | |
71 | %files tests | |
72 | %defattr(644,root,root,755) | |
73 | %{php_pear_dir}/tests/* |