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