diff --git a/README.md b/README.md index 94aff97..4fa3a61 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pear-Mail +Pear class that provides multiple interfaces for sending emails. + diff --git a/pear-Mail.spec b/pear-Mail.spec new file mode 100644 index 0000000..75aa0fe --- /dev/null +++ b/pear-Mail.spec @@ -0,0 +1,58 @@ +Name: pear-Mail +Version: 1.2.0 +Release: 1mamba +Summary: Pear class that provides multiple interfaces for sending emails +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://pear.php.net/package/Mail +Source: http://download.pear.php.net/package/Mail-%{version}.tgz +License: BSD +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires: php >= 4.3.3 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Pear class that provides multiple interfaces for sending emails. + +%prep + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +mkdir -p %{buildroot}%{_libdir}/php +pushd %{buildroot}%{_libdir}/php +tar xzvf %{SOURCE0} +mv Mail-%{version}/* . +rmdir Mail-%{version} +rm package.xml +popd + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/php/Mail.php +%dir %{_libdir}/php/Mail +%{_libdir}/php/Mail/RFC822.php +%{_libdir}/php/Mail/mail.php +%{_libdir}/php/Mail/mock.php +%{_libdir}/php/Mail/null.php +%{_libdir}/php/Mail/sendmail.php +%{_libdir}/php/Mail/smtp.php +%{_libdir}/php/Mail/smtpmx.php +%dir %{_libdir}/php/tests +%{_libdir}/php/tests/13659.phpt +%{_libdir}/php/tests/9137.phpt +%{_libdir}/php/tests/9137_2.phpt +%{_libdir}/php/tests/rfc822.phpt +%{_libdir}/php/tests/smtp_error.phpt +%{_libdir}/php/tests/validateQuotedString.php + +%changelog +* Sat Dec 29 2012 Silvan Calarco 1.2.0-1mamba +- package created by silvan using the webbuild interface