2 Summary: %{pearname} - Class that provides multiple interfaces for sending emails
3 Summary(pl.UTF-8): %{pearname} - Klasa dająca interfejsy do wysyłania poczty
4 Name: php-pear-%{pearname}
8 Group: Development/Languages/PHP
9 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
10 # Source0-md5: 23dd52d1323485d1e5f81c0816cd06cc
11 URL: http://pear.php.net/package/Mail/
12 BuildRequires: php-pear-PEAR
13 BuildRequires: rpm-php-pearprov >= 4.4.2-11
14 BuildRequires: rpmbuild(macros) >= 1.654
15 Requires: php-pear >= 4:1.3-6
16 Suggests: php-pear-Net_SMTP
17 Obsoletes: php-pear-Mail-tests
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 # exclude optional dependencies
22 %define _noautoreq_pear Net/SMTP.*
25 The PEAR's Mail:: interface, defines the interface for implementing
26 mailers under the PEAR hierarchy, and provides supporting functions
27 useful in multiple mailer backends. Currently supported are native PHP
28 mail() function, sendmail and SMTP. This package also provides a RFC
29 822 Email address list validation utility class.
31 %description -l pl.UTF-8
32 Klasa Mail:: definiuje w hierarchii PEAR interfejs do implementowania
33 wysyłania poczty oraz udostępnia funkcje pomocnicze przydatne w wielu
34 backendach do obsługi poczty. Aktualnie obsługiwane sposoby to natywna
35 dla PHP funkcja mail(), sendmail oraz SMTP. Ten pakiet zawiera także
36 klasę sprawdzającą zgodność list adresów z RFC 822.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/Mail.php
54 %{php_pear_dir}/Mail/*