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