diff --git a/README.md b/README.md index 47bf304..c36f065 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pyspf +SPF (Sender Policy Framework) implemented in Python.. + diff --git a/pyspf.spec b/pyspf.spec new file mode 100644 index 0000000..69088b1 --- /dev/null +++ b/pyspf.spec @@ -0,0 +1,44 @@ +Name: pyspf +Version: 2.0.11 +Release: 1mamba +Summary: SPF (Sender Policy Framework) implemented in Python. +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/pyspf/ +Source: https://pypi.python.org/packages/source/p/pyspf/pyspf-%{version}.tar.gz +License: Python Software Foundation License +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: pydns +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Wed May 20 2015 Silvan Calarco 2.0.11-1mamba +- package created using the webbuild interface