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