2024-01-06 10:39:27 +01:00
|
|
|
%define pkgname pyspf
|
2024-01-06 10:39:26 +01:00
|
|
|
Name: pyspf
|
2024-01-06 10:39:26 +01:00
|
|
|
Version: 2.0.14
|
2024-01-06 10:39:27 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 10:39:26 +01:00
|
|
|
Summary: SPF (Sender Policy Framework) implemented in Python.
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:39:26 +01:00
|
|
|
URL: https://github.com/sdgathman/pyspf/
|
|
|
|
Source: https://pypi.debian.net/pyspf/pyspf-%{version}.tar.gz
|
2024-01-06 10:39:26 +01:00
|
|
|
License: Python Software Foundation License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:39:27 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 10:39:26 +01:00
|
|
|
BuildRequires: python3dist(py3dns)
|
2024-01-06 10:39:26 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:39:27 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 10:39:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%define py_requires_append \
|
|
|
|
Requires: python%{with_pyver}dist(py3dns)
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:39:26 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:39:27 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
2024-01-06 10:39:26 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:39:27 +01:00
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 2.0.14-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.14-1mamba
|
|
|
|
- update to 2.0.14
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
* Thu Dec 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-1mamba
|
|
|
|
- update to 2.0.12
|
|
|
|
|
2024-01-06 10:39:26 +01:00
|
|
|
* Wed May 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.11-1mamba
|
|
|
|
- package created using the webbuild interface
|