2 %define pearname Horde_Mail
3 Summary: %{pearname} - Horde Mail Library
4 Name: php-horde-Horde_Mail
8 Group: Development/Languages/PHP
9 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5: 8450426ec314640441a3ec6fdfd297dc
11 URL: https://github.com/horde/horde/tree/master/framework/Mail/
12 BuildRequires: php-channel(pear.horde.org)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR
15 BuildRequires: php-pear-PEAR >= 1:1.7.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.610
18 Requires: php-channel(pear.horde.org)
19 Requires: php-horde-Horde_Exception < 2.0.0
20 Requires: php-pear >= 4:1.3.6-2
21 Suggests: php-pear-Net_DNS2
22 Suggests: php-pear-Net_SMTP
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 # exclude optional dependencies
27 %define _noautoreq pear(Net/DNS2.*) pear(Net/SMTP.*)
30 The Horde_Mail library is a fork of the PEAR Mail library that
31 provides additional functionality, including (but not limited to):
32 - Allows a stream to be passed in.
33 - Allows raw headertext to be used in the outgoing messages (required
34 for things like message redirection pursuant to RFC 5322 [3.6.6]).
37 - Provides more comprehensive sendmail error messages.
38 - Uses Exceptions instead of PEAR_Errors.
40 In PEAR status of this package is: %{status}.
46 packagexml2cl package.xml > ChangeLog
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 rm -rf $RPM_BUILD_ROOT
57 %pear_package_print_optionalpackages
60 %defattr(644,root,root,755)
61 %doc ChangeLog install.log
62 %doc optional-packages.txt
63 %{php_pear_dir}/.registry/.channel.*/*.reg
64 %{php_pear_dir}/Horde/Mail.php
65 %{php_pear_dir}/Horde/Mail