]> git.pld-linux.org Git - packages/php-horde-Horde_Mail.git/blame - php-horde-Horde_Mail.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-horde-Horde_Mail.git] / php-horde-Horde_Mail.spec
CommitLineData
186337e5
ER
1%define status stable
2%define pearname Horde_Mail
186337e5
ER
3Summary: %{pearname} - Horde Mail Library
4Name: php-horde-Horde_Mail
d310edde 5Version: 1.2.0
186337e5
ER
6Release: 1
7License: BSD
8Group: Development/Languages/PHP
9Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
d310edde 10# Source0-md5: 8450426ec314640441a3ec6fdfd297dc
9ab429f6 11URL: https://github.com/horde/horde/tree/master/framework/Mail/
186337e5
ER
12BuildRequires: php-channel(pear.horde.org)
13BuildRequires: php-packagexml2cl
14BuildRequires: php-pear-PEAR
15BuildRequires: php-pear-PEAR >= 1:1.7.0
16BuildRequires: rpm-php-pearprov >= 4.4.2-11
17BuildRequires: rpmbuild(macros) >= 1.610
18Requires: php-channel(pear.horde.org)
19Requires: php-horde-Horde_Exception < 2.0.0
a60dcaf1 20Requires: php-pear >= 4:1.3.6-2
186337e5
ER
21Suggests: php-pear-Net_DNS2
22Suggests: php-pear-Net_SMTP
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26# exclude optional dependencies
27%define _noautoreq pear(Net/DNS2.*) pear(Net/SMTP.*)
28
29%description
30The Horde_Mail library is a fork of the PEAR Mail library that
31provides 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]).
35- Native PHP 5 code.
36- PHPUnit test suite.
37- Provides more comprehensive sendmail error messages.
38- Uses Exceptions instead of PEAR_Errors.
39
40In PEAR status of this package is: %{status}.
41
42%prep
43%pear_package_setup
44
45%build
46packagexml2cl package.xml > ChangeLog
47
48%install
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT%{php_pear_dir}
51%pear_package_install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post -p <lua>
57%pear_package_print_optionalpackages
58
59%files
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
This page took 0.102815 seconds and 4 git commands to generate.