/[packages]/cauldron/python-twisted-names/current/SPECS/python-twisted-names.spec
ViewVC logotype

Contents of /cauldron/python-twisted-names/current/SPECS/python-twisted-names.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 688392 - (show annotations) (download)
Tue Sep 16 20:20:00 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1764 byte(s)
Mageia 5 Mass Rebuild
1 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
2 # we don't want to provide private python extension libs
3 %define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so
4
5 %define module TwistedNames
6
7 Name: python-twisted-names
8 Version: 14.0.0
9 Release: %mkrel 2
10 Summary: An DNS protocol implementation with client and server
11 License: MIT
12 Group: Development/Python
13 URL: http://twistedmatrix.com/trac/wiki/TwistedNames
14 Source0: http://twistedmatrix.com/Releases/Names/%{mainver}/%{module}-%{version}.tar.bz2
15 BuildRequires: python-devel
16 BuildRequires: python-twisted-core
17
18 Requires: python-twisted-core
19
20 %description
21 Twisted Names is both a domain name server as well as a client resolver
22 library.
23
24 Twisted Names comes with an "out of the box" nameserver which can read most
25 BIND-syntax zone files as well as a simple Python-based configuration format.
26 Twisted Names can act as an authoritative server, perform zone transfers from
27 a master to act as a secondary, act as a caching nameserver, or any combination
28 of these.
29
30 Twisted Names' client resolver library provides functions to query for all
31 commonly used record types as well as a replacement for the blocking
32 gethostbyname() function provided by the Python stdlib socket module.
33
34 %prep
35 %setup -q -n %{module}-%{version}
36
37 %build
38 %{__python} setup.py build
39
40 %install
41 %{__python} setup.py install --root=%{buildroot} --skip-build --install-purelib=%{python_sitearch}
42
43
44 %files
45 %doc LICENSE README NEWS
46 %dir %{python_sitearch}/twisted/names
47 %{python_sitearch}/twisted/names/*
48 %{python_sitearch}/twisted/plugins/*
49 %{python_sitearch}/Twisted_Names-%{version}-py%{pyver}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30