diff --git a/README.md b/README.md index 1f6874b..72d11cb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # pear-Mail_Mime +Provides classes to deal with creation and manipulation of mime messages: +mime.php: Create mime email, with html, attachments, embedded images etc. +mimePart.php: Advanced method of creating mime messages. +mimeDecode.php - Decodes mime messages to a usable structure. +xmail.dtd: An XML DTD to acompany the getXML() method of the decoding class. +xmail.xsl: An XSLT stylesheet to transform the output of the getXML() method back to an email. + diff --git a/pear-Mail_Mime.spec b/pear-Mail_Mime.spec new file mode 100644 index 0000000..614bfef --- /dev/null +++ b/pear-Mail_Mime.spec @@ -0,0 +1,55 @@ +Name: pear-Mail_Mime +Version: 1.8.7 +Release: 1mamba +Summary: Provides php/pear classes to create and decode mime messages +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://pear.php.net +Source: http://download.pear.php.net/package/Mail_Mime-%{version}.tgz +License: GPL +Requires: php >= 4.3.3 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Provides classes to deal with creation and manipulation of mime messages: +mime.php: Create mime email, with html, attachments, embedded images etc. +mimePart.php: Advanced method of creating mime messages. +mimeDecode.php - Decodes mime messages to a usable structure. +xmail.dtd: An XML DTD to acompany the getXML() method of the decoding class. +xmail.xsl: An XSLT stylesheet to transform the output of the getXML() method back to an email. + +%prep +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%build + +%install +mkdir -p %{buildroot}%{_libdir} +pushd %{buildroot}%{_libdir} +tar xzvf %{SOURCE0} +mv Mail_Mime-%{version} php +rm package.xml +popd + +%clean +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/php/Mail/* +%{_libdir}/php/scripts/phail.php +%{_libdir}/php/tests/*phpt + +%changelog +* Thu Feb 21 2013 Silvan Calarco 1.8.7-1mamba +- update to 1.8.7 + +* Mon May 28 2007 Silvan Calarco 1.4.0-1mamba +- update to 1.4.0 + +* Tue Sep 09 2003 Silvan Calarco 1.2.1-1qilnx +- first build