]>
Commit | Line | Data |
---|---|---|
b699033b | 1 | %define _status stable |
5f75f48e | 2 | %define _pearname Net_SMTP |
ad190429 | 3 | Summary: %{_pearname} - implementation of the SMTP protocol |
3879aea1 | 4 | Summary(pl.UTF-8): %{_pearname} - implementacja protokołu SMTP |
c2fa1bfe | 5 | Name: php-pear-%{_pearname} |
632ddbf8 AG |
6 | Version: 1.8.1 |
7 | Release: 1 | |
c2fa1bfe PG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
632ddbf8 | 11 | # Source0-md5: 525ab52666a26769b31e9909ad6d0990 |
56037826 | 12 | URL: http://pear.php.net/package/Net_SMTP/ |
4e17798e | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.3 |
61ae4d53 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
34c2636d | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
c2fa1bfe | 16 | Requires: php-pear |
4e17798e ER |
17 | Requires: php-pear-Net_Socket >= 1.0.7 |
18 | Suggests: php-pear-Auth_SASL | |
4f766042 | 19 | Obsoletes: php-pear-Net_SMTP-tests |
c2fa1bfe PG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
1cdd3f3b | 23 | # exclude optional dependencies |
5f75f48e | 24 | %define _noautoreq pear(Auth/SASL.*) |
1cdd3f3b | 25 | |
c2fa1bfe PG |
26 | %description |
27 | Provides an implementation of the SMTP protocol using PEAR's | |
28 | Net_Socket:: class. | |
29 | ||
1444a13a | 30 | In PEAR status of this package is: %{_status}. |
b699033b | 31 | |
f59e7d6f JR |
32 | %description -l pl.UTF-8 |
33 | Dostarcza implementację protokołu SMTP przy użyciu PEAR-owej klasy | |
c2fa1bfe PG |
34 | Net_Socket:: . |
35 | ||
b699033b PG |
36 | Ta klasa ma w PEAR status: %{_status}. |
37 | ||
c2fa1bfe | 38 | %prep |
1cdd3f3b | 39 | %pear_package_setup |
c2fa1bfe PG |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
1cdd3f3b ER |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
44 | %pear_package_install | |
c2fa1bfe PG |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
1cdd3f3b ER |
49 | %post |
50 | if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then | |
51 | cat %{_docdir}/%{name}-%{version}/optional-packages.txt | |
52 | fi | |
53 | ||
c2fa1bfe PG |
54 | %files |
55 | %defattr(644,root,root,755) | |
632ddbf8 | 56 | %doc install.log |
1cdd3f3b | 57 | %{php_pear_dir}/.registry/*.reg |
5f75f48e | 58 | %{php_pear_dir}/Net/*.php |