1 |
# $Id$ |
2 |
|
3 |
Summary: PEAR Class that provides multiple interfaces for sending emails |
4 |
%define name pear-mail |
5 |
%define version 1.1.4 |
6 |
%define release 4 |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: PHP/BSD License |
11 |
Group: Applications/Web |
12 |
Source0: Mail-%{version}.tgz |
13 |
Url: http://pear.php.net/package/Mail |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot |
15 |
BuildArchitectures: noarch |
16 |
Requires: php |
17 |
|
18 |
%description |
19 |
|
20 |
PEAR's Mail:: package defines the interface for implementing mailers |
21 |
under the PEAR hierarchy, and provides supporting functions useful in |
22 |
multiple mailer backends. Currently supported are native PHP mail() |
23 |
function, sendmail and SMTP. This package also provides a RFC 822 Email |
24 |
address list validation utility class. |
25 |
|
26 |
%prep |
27 |
%setup -q -n Mail-%{version} |
28 |
|
29 |
%build |
30 |
|
31 |
%clean |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
|
34 |
%install |
35 |
rm -rf $RPM_BUILD_ROOT |
36 |
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/Mail |
37 |
cp -rp Mail* $RPM_BUILD_ROOT/usr/share/pear-addons |
38 |
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/test/Mail |
39 |
cp -rp tests $RPM_BUILD_ROOT/usr/share/pear-addons/test/Mail |
40 |
|
41 |
%files |
42 |
%defattr(-,root,root) |
43 |
%dir /usr/share/pear-addons/Mail |
44 |
/usr/share/pear-addons/* |
45 |
|
46 |
%changelog |
47 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
48 |
- Clean up spec so package can be built by koji/plague |
49 |
|
50 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
51 |
- Update to new release naming. No functional changes. |
52 |
- Make Packager generic |
53 |
|
54 |
* Mon May 09 2005 Charlie Brady <charlieb@e-smith.com> 1.1.4-03es |
55 |
- Move files into the correct places. |
56 |
|
57 |
* Wed May 04 2005 Charlie Brady <charlieb@e-smith.com> 1.1.4-02es |
58 |
- Fix URL header. |
59 |
|
60 |
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.1.4-01es |
61 |
- Initial |