phpmailer/phpmailer.spec

49 lines
1.6 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 5.0.2-2mamba
- automatic rebuild by autodist
* Wed Jul 08 2009 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
- automatic update by autodist
* Tue Feb 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created by autospec