]>
Commit | Line | Data |
---|---|---|
aec741f6 ER |
1 | %define status stable |
2 | %define pearname Net_LMTP | |
aec741f6 ER |
3 | Summary: %{pearname} - an implementation of the RFC2033 LMTP protocol |
4 | Summary(pl.UTF-8): %{pearname} - implementacja protokołu LMTP (RFC2033) | |
5 | Name: php-pear-%{pearname} | |
6 | Version: 1.0.2 | |
7 | Release: 1 | |
26e9f714 AG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
aec741f6 ER |
10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
11 | # Source0-md5: 1d09ef288ebd6d8e63a5f186ea801e15 | |
26e9f714 | 12 | URL: http://pear.php.net/package/Net_LMTP/ |
aec741f6 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
7b9f3a39 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
aec741f6 | 15 | BuildRequires: rpmbuild(macros) >= 1.580 |
26e9f714 | 16 | Requires: php-pear |
a0990357 | 17 | Requires: php-pear-Net_Socket |
1faa0de7 | 18 | Obsoletes: php-pear-Net_LMTP-tests |
26e9f714 AG |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
98028ed4 JB |
23 | This package provides an implementation of the RFC2033 LMTP using |
24 | PEAR's Net_Socket and Auth_SASL class. | |
26e9f714 | 25 | |
aec741f6 | 26 | In PEAR status of this package is: %{status}. |
26e9f714 | 27 | |
be1664a4 JR |
28 | %description -l pl.UTF-8 |
29 | Ten pakiet dostarcza implementację protokołu LMTP (opisanego w | |
30 | RFC2033) za pomocą klas Net_Socket oraz Auth_SASL. | |
26e9f714 | 31 | |
aec741f6 | 32 | Ta klasa ma w PEAR status: %{status}. |
26e9f714 AG |
33 | |
34 | %prep | |
7b9f3a39 | 35 | %pear_package_setup |
26e9f714 | 36 | |
aec741f6 ER |
37 | mv .%{php_pear_dir}/data/Net_LMTP/README . |
38 | ||
26e9f714 AG |
39 | %install |
40 | rm -rf $RPM_BUILD_ROOT | |
7b9f3a39 ER |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
42 | %pear_package_install | |
26e9f714 AG |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
aec741f6 | 49 | %doc README |
7b9f3a39 ER |
50 | %doc install.log |
51 | %{php_pear_dir}/.registry/*.reg | |
aec741f6 | 52 | %{php_pear_dir}/Net/*.php |