2006-12-11 12:40:19 +01:00
|
|
|
#
|
2010-11-02 16:17:47 +01:00
|
|
|
# spec file for package python-dnspython (Version 1.8.0)
|
2006-12-11 12:40:19 +01:00
|
|
|
#
|
2010-11-02 16:17:47 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-11 12:40:19 +01:00
|
|
|
#
|
2010-11-02 16:17:47 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-11 12:40:19 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2010-11-02 16:17:47 +01:00
|
|
|
|
2006-12-11 12:40:19 +01:00
|
|
|
Name: python-dnspython
|
|
|
|
BuildRequires: python-devel
|
2010-11-02 16:17:47 +01:00
|
|
|
Url: http://www.dnspython.org
|
2006-12-11 12:40:19 +01:00
|
|
|
License: Other License(s), see package, BSD
|
|
|
|
Group: Productivity/Networking/DNS/Utilities
|
2010-11-02 16:17:47 +01:00
|
|
|
AutoReqProv: on
|
2010-01-28 20:47:16 +01:00
|
|
|
Version: 1.8.0
|
2010-11-15 09:55:06 +01:00
|
|
|
Release: 1
|
2006-12-11 12:40:19 +01:00
|
|
|
Summary: A DNS toolkit for Python
|
2007-01-19 21:20:49 +01:00
|
|
|
Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.gz
|
2006-12-11 12:40:19 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{py_requires}
|
2010-01-28 20:47:16 +01:00
|
|
|
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
2006-12-11 12:40:19 +01:00
|
|
|
%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
|
2010-11-02 16:17:47 +01:00
|
|
|
%changelog
|