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