1 |
slords |
1.1 |
Summary: PEAR Mail_Mime package for PHP |
2 |
|
|
%define name pear-mail_mime |
3 |
|
|
%define version 1.3.0 |
4 |
|
|
%define release 4 |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: PHP License |
9 |
|
|
Group: Applications/Web |
10 |
|
|
Source0: Mail_Mime-%{version}.tgz |
11 |
|
|
Url: http://pear.php.net/package/Mail_Mime |
12 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot |
13 |
|
|
BuildArchitectures: noarch |
14 |
|
|
Requires: php |
15 |
|
|
|
16 |
|
|
%description |
17 |
|
|
|
18 |
|
|
The Mail_Mime framework provides classes to create and decode MIME messages. |
19 |
|
|
|
20 |
|
|
%prep |
21 |
|
|
%setup -q -n Mail_Mime-%{version} |
22 |
|
|
|
23 |
|
|
%build |
24 |
|
|
|
25 |
|
|
%clean |
26 |
|
|
rm -rf $RPM_BUILD_ROOT |
27 |
|
|
|
28 |
|
|
%install |
29 |
|
|
rm -rf $RPM_BUILD_ROOT |
30 |
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/Mail |
31 |
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/data/Mail_Mime |
32 |
|
|
cp -rp *.php $RPM_BUILD_ROOT/usr/share/pear-addons/Mail |
33 |
|
|
cp xmail* $RPM_BUILD_ROOT/usr/share/pear-addons/data/Mail_Mime |
34 |
|
|
|
35 |
|
|
%files |
36 |
|
|
%defattr(-,root,root) |
37 |
|
|
/usr/share/pear-addons/* |
38 |
|
|
|
39 |
|
|
%changelog |
40 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
41 |
|
|
- Clean up spec so package can be built by koji/plague |
42 |
|
|
|
43 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
44 |
|
|
- Update to new release naming. No functional changes. |
45 |
|
|
- Make Packager generic |
46 |
|
|
|
47 |
|
|
* Mon May 09 2005 Charlie Brady <charlieb@e-smith.com> 1.3.0-03es |
48 |
|
|
- Move files into correct locations. |
49 |
|
|
|
50 |
|
|
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.3.0-02es |
51 |
|
|
- Use pear-addons directory, to distinguish from php rpm provided modules. |
52 |
|
|
|
53 |
|
|
* Sat Apr 16 2005 Charlie Brady <charlieb@e-smith.com> 1.3.0-1es |
54 |
|
|
- Initial |