forked from pool/python-dnspython
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
c3f3e42946
commit
5ed75a4b02
68
python-dnspython.spec
Normal file
68
python-dnspython.spec
Normal file
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-dnspython (Version 1.3.3)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: python-dnspython
|
||||
BuildRequires: python-devel
|
||||
URL: http://www.dnspython.org/
|
||||
License: Other License(s), see package, BSD
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Autoreqprov: on
|
||||
Version: 1.3.3
|
||||
Release: 6
|
||||
Summary: A DNS toolkit for Python
|
||||
Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
|
||||
%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.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bob Halley <halley@dnspython.org>
|
||||
|
||||
%prep
|
||||
%setup -n dnspython-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||
chmod 644 {examples,tests}/*.py
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog LICENSE PKG-INFO README TODO
|
||||
%doc examples
|
||||
%doc tests
|
||||
|
||||
%changelog -n python-dnspython
|
||||
* Tue Feb 28 2006 - jmatejek@suse.cz
|
||||
- updated to reflect python changes due to #149809
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue May 31 2005 - poeml@suse.de
|
||||
- package created (1.3.3)
|
||||
Reference in New Issue
Block a user