59 lines
1.5 KiB
RPMSpec
59 lines
1.5 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
- package created by silvan using the webbuild interface
|