File python-twisted-names.spec of Package python-twisted-names

#
# spec file for package python-twisted-names (Version 8.0.0)
#
# Copyright (c) 2008 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-twisted-names
BuildRequires:  python-devel python-twisted
Summary:        Twisted Names
Version:        8.0.0
Release:        1
%define tarname TwistedNames
Source:         %{tarname}-%{version}.tar.bz2
License:        X11/MIT
Group:          Development/Languages/Python
Url:            http://twistedmatrix.com/trac/wiki/TwistedNames
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-twisted
%{py_requires}

%description
Twisted Names is both a domain name server as well as a client resolver
library. Twisted Names comes with an "out of the box" nameserver which
can read most BIND-syntax zone files as well as a simple Python-based
configuration format. Twisted Names can act as an authoritative server,
perform zone transfers from a master to act as a secondary, act as a
caching nameserver, or any combination of these. Twisted Names' client
resolver library provides functions to query for all commonly used
record types as well as a replacement for the blocking gethostbyname()
function provided by the Python stdlib socket module.



Authors:
--------
    twisted-python@twistedmatrix.com

%prep
%setup -n %{tarname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc LICENSE README NEWS

%changelog
* Thu Apr 17 2008 matejcik@suse.cz
- update to 8.0.0
  * new versioning scheme, see python-twisted for explanation
  * minor bugfixes
* Thu Aug 02 2007 jmatejek@suse.cz
- update to 0.4.0
  * support for DNS error handling
  * fixed DoS in UDP DNS server
  * minor bugfixes
* Thu Oct 26 2006 jmatejek@suse.cz
- update to 0.3.0
 - upgrade to Twisted 2.4 install system
 - improved docstrings
 - fixed some minor bugs
* 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
* Thu Jan 05 2006 jmatejek@suse.cz
- update to 0.2.0
* Thu Apr 14 2005 mcihar@suse.cz
- new package (split Twisted according to upstream)
openSUSE Build Service is sponsored by