1 Summary: Full featured email transfer class for PHP
6 Group: Development/Languages/PHP
7 URL: http://phpmailer.codeworxtech.com/
8 Source0: http://dl.sourceforge.net/phpmailer/PHPMailer_v%{version}.tar.gz
9 # Source0-md5: 1fba7b3b8f67197c371da2f791d517de
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _appdir /usr/share/php/%{name}
16 PHP email transport class featuring multiple file attachments, SMTP
17 servers, CCs, BCCs, HTML messages, and word wrap, and more. It can
18 send email via sendmail, PHP mail(), or with SMTP. Methods are based
19 on the popular AspEmail active server component.
22 Summary: Online manual for %{name}
23 Summary(pl.UTF-8): Dokumentacja online do %{name}
27 Documentation for %{name}.
29 %description phpdoc -l pl.UTF-8
30 Dokumentacja do %{name}.
33 %setup -q -n PHPMailer_v%{version}
35 find '(' -name '*.php' -o -name '*.html' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_appdir}/language
40 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
41 cp -a language/*.php $RPM_BUILD_ROOT%{_appdir}/language
43 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
44 cp -a phpdoc/* $RPM_BUILD_ROOT%{_docdir}/%{name}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc ChangeLog.txt README LICENSE docs/*
55 %defattr(644,root,root,755)