%define name pyspf %define version 1.6 %define release 2 Summary: SPF (Sender Permitted From) Spam block implemented in Python. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.gz License: Python Software Foundation License Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Terence Way Url: http://www.wayforward.net/spf/ Requires: pydns %description SPF does email sender validation. For more information about SPF, please see http://spf.pobox.com. This SPF client is intended to be installed on the border MTA, checking if incoming SMTP clients are permitted to forward mail. The SPF check should be done during the MAIL FROM:<...> command. %prep %setup %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc README CHANGELOG test