]> git.pld-linux.org Git - packages/php-horde-Horde_Mail.git/blame - php-horde-Horde_Mail.spec
- updated to: 1.0.1
[packages/php-horde-Horde_Mail.git] / php-horde-Horde_Mail.spec
CommitLineData
186337e5
ER
1%define status stable
2%define pearname Horde_Mail
3%include /usr/lib/rpm/macros.php
4Summary: %{pearname} - Horde Mail Library
5Name: php-horde-Horde_Mail
bf2501e9 6Version: 1.0.1
186337e5
ER
7Release: 1
8License: BSD
9Group: Development/Languages/PHP
10Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
bf2501e9 11# Source0-md5: be672609c491d42d4f60a59284930fb9
9ab429f6 12URL: https://github.com/horde/horde/tree/master/framework/Mail/
186337e5
ER
13BuildRequires: php-channel(pear.horde.org)
14BuildRequires: php-packagexml2cl
15BuildRequires: php-pear-PEAR
16BuildRequires: php-pear-PEAR >= 1:1.7.0
17BuildRequires: rpm-php-pearprov >= 4.4.2-11
18BuildRequires: rpmbuild(macros) >= 1.610
19Requires: php-channel(pear.horde.org)
20Requires: php-horde-Horde_Exception < 2.0.0
a60dcaf1 21Requires: php-pear >= 4:1.3.6-2
186337e5
ER
22Suggests: php-pear-Net_DNS2
23Suggests: php-pear-Net_SMTP
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27# exclude optional dependencies
28%define _noautoreq pear(Net/DNS2.*) pear(Net/SMTP.*)
29
30%description
31The Horde_Mail library is a fork of the PEAR Mail library that
32provides additional functionality, including (but not limited to):
33- Allows a stream to be passed in.
34- Allows raw headertext to be used in the outgoing messages (required
35 for things like message redirection pursuant to RFC 5322 [3.6.6]).
36- Native PHP 5 code.
37- PHPUnit test suite.
38- Provides more comprehensive sendmail error messages.
39- Uses Exceptions instead of PEAR_Errors.
40
41In PEAR status of this package is: %{status}.
42
43%prep
44%pear_package_setup
45
46%build
47packagexml2cl package.xml > ChangeLog
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT%{php_pear_dir}
52%pear_package_install
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p <lua>
58%pear_package_print_optionalpackages
59
60%files
61%defattr(644,root,root,755)
62%doc ChangeLog install.log
63%doc optional-packages.txt
64%{php_pear_dir}/.registry/.channel.*/*.reg
65%{php_pear_dir}/Horde/Mail.php
66%{php_pear_dir}/Horde/Mail
This page took 0.058575 seconds and 4 git commands to generate.