pyspf/pyspf.spec

49 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: pyspf
Version: 2.0.12
Release: 1mamba
Summary: SPF (Sender Policy Framework) implemented in Python.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/pyspf/
Source: https://pypi.python.org/packages/source/p/pyspf/pyspf-%{version}t.tar.gz
License: Python Software Foundation License
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python-ipaddress
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
* Thu Dec 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-1mamba
- update to 2.0.12
* Wed May 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.11-1mamba
- package created using the webbuild interface