pear-Mail/pear-Mail.spec

57 lines
1.5 KiB
RPMSpec

Name: pear-Mail
Version: 1.4.1
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: https://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
%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
rm -f %{buildroot}%{_libdir}/php/{LICENSE,package.sig}
%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
%{_libdir}/php/tests/*
%changelog
* Tue May 10 2022 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Sat Dec 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created by silvan using the webbuild interface