diff --git a/README.md b/README.md index 5f0ff39..63299ce 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pear-Net_SMTP +An implementation of the SMTP protocol. + diff --git a/pear-Net_SMTP.spec b/pear-Net_SMTP.spec new file mode 100644 index 0000000..7e7815d --- /dev/null +++ b/pear-Net_SMTP.spec @@ -0,0 +1,47 @@ +Name: pear-Net_SMTP +Version: 1.6.1 +Release: 1mamba +Summary: An implementation of the SMTP protocol +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://pear.php.net/package/Net_SMTP +Source: http://download.pear.php.net/package/Net_SMTP-%{version}.tgz +License: PHP License +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires: php +Requires: pear-Net_Socket +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An implementation of the SMTP protocol. + +%prep +%setup -q -c %{name}-%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +mkdir -p %{buildroot}%{_libdir}/php/Net +cp -a Net_SMTP-%{version}/* %{buildroot}%{_libdir}/php/Net/ +rm -f %{buildroot}%{_libdir}/php/LICENSE + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/php/Net/SMTP.php +%{_libdir}/php/Net/docs/guide.txt +%{_libdir}/php/Net/examples/basic.php +%{_libdir}/php/Net/tests/auth.phpt +%{_libdir}/php/Net/tests/basic.phpt +%{_libdir}/php/Net/tests/config.php.dist +%{_libdir}/php/Net/tests/quotedata.phpt + +%changelog +* Wed Feb 20 2013 Silvan Calarco 1.6.1-1mamba +- package created by silvan using the webbuild interface