diff --git a/README.md b/README.md index fe68470..bd713cb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # phpmailer +PHP email transport class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), QMail, or with SMTP. Methods are based on the popular AspEmail active server component. + diff --git a/phpmailer.spec b/phpmailer.spec new file mode 100644 index 0000000..1cf0bb3 --- /dev/null +++ b/phpmailer.spec @@ -0,0 +1,48 @@ +Name: phpmailer +Version: 5.0.2 +Release: 2mamba +Summary: PHP email transport class with many features +Group: System/Libraries/PHP +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://phpmailer.codeworxtech.com/ +Source: http://downloads.sourceforge.net/sourceforge/phpmailer/PHPMailer_v%{version}.tar.gz +License: LGPL +Requires: php +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +PHP email transport class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), QMail, or with SMTP. Methods are based on the popular AspEmail active server component. + +%prep + +%setup -q -n PHPMailer_v%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}%{_libdir}/php/phpmailer/language +install class.*.php %{buildroot}%{_libdir}/php/phpmailer +install language/* %{buildroot}%{_libdir}/php/phpmailer/language + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/php/phpmailer/*.php +%{_libdir}/php/phpmailer/language/*.php +%doc ChangeLog.txt LICENSE README + +%changelog +* Mon Jul 29 2013 Automatic Build System 5.0.2-2mamba +- automatic rebuild by autodist + +* Wed Jul 08 2009 Automatic Build System 5.0.2-1mamba +- automatic update by autodist + +* Tue Feb 26 2008 Silvan Calarco 2.0.0-1mamba +- package created by autospec