]>
Commit | Line | Data |
---|---|---|
f9c58e39 | 1 | %define pearname Mail |
e0e48547 | 2 | %include /usr/lib/rpm/macros.php |
f9c58e39 ER |
3 | Summary: %{pearname} - Class that provides multiple interfaces for sending emails |
4 | Summary(pl.UTF-8): %{pearname} - Klasa dająca interfejsy do wysyłania poczty | |
5 | Name: php-pear-%{pearname} | |
6 | Version: 1.3.0 | |
7 | Release: 1 | |
a64aba2b | 8 | License: PHP/BSD |
e0e48547 | 9 | Group: Development/Languages/PHP |
f9c58e39 ER |
10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
11 | # Source0-md5: 55ddd9fa33c72cc1720a986678e3499b | |
ef2c21ac | 12 | URL: http://pear.php.net/package/Mail/ |
49eeed86 | 13 | BuildRequires: php-pear-PEAR |
efb7b361 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
f9c58e39 | 15 | BuildRequires: rpmbuild(macros) >= 1.654 |
10b2edc6 | 16 | Requires: php-pear >= 4:1.3-6 |
6dec2783 | 17 | Suggests: php-pear-Net_SMTP |
e03cfea7 | 18 | Obsoletes: php-pear-Mail-tests |
e0e48547 PG |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
5e62303b | 22 | # exclude optional dependencies |
f9c58e39 | 23 | %define _noautoreq_pear Net/SMTP.* |
5e62303b | 24 | |
e0e48547 PG |
25 | %description |
26 | The PEAR's Mail:: interface, defines the interface for implementing | |
27 | mailers under the PEAR hierarchy, and provides supporting functions | |
28 | useful in multiple mailer backends. Currently supported are native PHP | |
29 | mail() function, sendmail and SMTP. This package also provides a RFC | |
30 | 822 Email address list validation utility class. | |
31 | ||
7b5520c8 | 32 | %description -l pl.UTF-8 |
2d44454c | 33 | Klasa Mail:: definiuje w hierarchii PEAR interfejs do implementowania |
7b5520c8 JR |
34 | wysyłania poczty oraz udostępnia funkcje pomocnicze przydatne w wielu |
35 | backendach do obsługi poczty. Aktualnie obsługiwane sposoby to natywna | |
36 | dla PHP funkcja mail(), sendmail oraz SMTP. Ten pakiet zawiera także | |
37 | klasę sprawdzającą zgodność list adresów z RFC 822. | |
e0e48547 PG |
38 | |
39 | %prep | |
12e59bd1 | 40 | %pear_package_setup |
e0e48547 PG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
12e59bd1 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
e0e48547 PG |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
10b2edc6 ER |
50 | %post -p <lua> |
51 | %pear_package_print_optionalpackages | |
5e62303b | 52 | |
e0e48547 PG |
53 | %files |
54 | %defattr(644,root,root,755) | |
12e59bd1 ER |
55 | %doc install.log optional-packages.txt |
56 | %{php_pear_dir}/.registry/*.reg | |
10b2edc6 ER |
57 | %{php_pear_dir}/Mail.php |
58 | %{php_pear_dir}/Mail/* |