From e3ef7faa751eacb815f38c8ddced36a75d3b3a43 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:39:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.0.11-1mamba;Wed May 20 2015] --- README.md | 2 ++ pyspf.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 pyspf.spec 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