python-dnspython-py27/python-dnspython-py27.spec

52 lines
1.9 KiB
RPMSpec

Name: python-dnspython-py27
Version: 1.10.0
Release: 3mamba
Summary: dnspython is a DNS toolkit for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.dnspython.org/
Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython27-devel
## AUTOBUILDREQ-END
Provides: dnspython
%description
dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
dnspython provides both high and low level access to DNS. The high level classes perform queries for data of a given name, type, and class, and return an answer set. The low level classes allow direct manipulation of DNS zones, messages, names, and records.
%prep
%setup -q -n dnspython-%{version}
%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
%files -f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/dnspython-%{version}-py%{python_version}.egg-info
%changelog
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
- restore as py27 legacy package for mailman 2
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-2mamba
- python 2.7 mass rebuild
* Fri Jul 06 2012 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Mon Dec 27 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.9.2-1mamba
- package created by autospec