]>
Commit | Line | Data |
---|---|---|
26e9f714 | 1 | %include /usr/lib/rpm/macros.php |
afa5890b | 2 | %define _class Net |
3 | %define _subclass LMTP | |
26e9f714 AG |
4 | %define _status stable |
5 | %define _pearname %{_class}_%{_subclass} | |
6 | ||
98028ed4 | 7 | Summary: %{_pearname} - an implementation of the RFC2033 LMTP protocol |
30d66ca5 | 8 | Summary(pl.UTF-8): %{_pearname} - implementacja protokołu LMTP (RFC2033) |
26e9f714 | 9 | Name: php-pear-%{_pearname} |
2798e929 | 10 | Version: 1.0.1 |
dcc74a27 | 11 | Release: 3 |
fc845839 | 12 | Epoch: 0 |
26e9f714 AG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
2798e929 | 16 | # Source0-md5: 646d1c5293b069cda9b4a94011a18e20 |
26e9f714 | 17 | URL: http://pear.php.net/package/Net_LMTP/ |
d9593ad7 | 18 | BuildRequires: php-pear-PEAR |
7b9f3a39 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
ba9350d0 | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
26e9f714 | 21 | Requires: php-pear |
a0990357 | 22 | Requires: php-pear-Net_Socket |
26e9f714 AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
98028ed4 JB |
27 | This package provides an implementation of the RFC2033 LMTP using |
28 | PEAR's Net_Socket and Auth_SASL class. | |
26e9f714 | 29 | |
7fabe895 | 30 | In PEAR status of this package is: %{_status}. |
26e9f714 | 31 | |
be1664a4 JR |
32 | %description -l pl.UTF-8 |
33 | Ten pakiet dostarcza implementację protokołu LMTP (opisanego w | |
34 | RFC2033) za pomocą klas Net_Socket oraz Auth_SASL. | |
26e9f714 | 35 | |
3e2c9f2f | 36 | Ta klasa ma w PEAR status: %{_status}. |
26e9f714 | 37 | |
7b9f3a39 ER |
38 | %package tests |
39 | Summary: Tests for PEAR::%{_pearname} | |
30d66ca5 | 40 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
4557ed01 | 41 | Group: Development/Languages/PHP |
7b9f3a39 ER |
42 | Requires: %{name} = %{epoch}:%{version}-%{release} |
43 | AutoReq: no | |
e935aec8 | 44 | AutoProv: no |
7b9f3a39 ER |
45 | |
46 | %description tests | |
47 | Tests for PEAR::%{_pearname}. | |
48 | ||
be1664a4 | 49 | %description tests -l pl.UTF-8 |
7b9f3a39 ER |
50 | Testy dla PEAR::%{_pearname}. |
51 | ||
26e9f714 | 52 | %prep |
7b9f3a39 | 53 | %pear_package_setup |
26e9f714 AG |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
7b9f3a39 ER |
57 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
58 | %pear_package_install | |
26e9f714 AG |
59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
7b9f3a39 ER |
65 | %doc install.log |
66 | %{php_pear_dir}/.registry/*.reg | |
26e9f714 | 67 | %{php_pear_dir}/%{_class}/*.php |
7b9f3a39 ER |
68 | |
69 | %files tests | |
70 | %defattr(644,root,root,755) | |
71 | %{php_pear_dir}/tests/* |