rpms/python-twisted-names/devel python-twisted-names.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thomas Vander Stichele (thomasvs) fedora-extras-commits at redhat.com
Tue Dec 19 14:29:10 UTC 2006


Author: thomasvs

Update of /cvs/extras/rpms/python-twisted-names/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv427/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-twisted-names.spec 
Log Message:
auto-import python-twisted-names-0.3.0-3.fc6 on branch devel from python-twisted-names-0.3.0-3.fc6.src.rpm


--- NEW FILE python-twisted-names.spec ---
%{?!python:%define python python}
%{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%define origname TwistedNames

Name:           %{python}-twisted-names
Version:        0.3.0
Release:        3%{?dist}
Summary:        A Twisted DNS implementation

Group:          Development/Libraries
License:        MIT
URL:            http://www.twistedmatrix.com
Source0:        http://tmrc.mit.edu/mirror/twisted/Names/0.3/TwistedNames-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  %{python}-twisted-core >= 2.4.0
BuildRequires:  %{python}-devel

# for FC3 and earlier
%if "%{pybasever}" < "2.4"
Requires:       python(abi) = %{pybasever}
%endif

Requires:       %{python}-twisted-core

# a noarch-turned-arch package should not have debuginfo
%define debug_package %{nil}

%description
Twisted is an event-based framework for internet applications.

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.

%prep
%setup -n %{origname}-%{version} -q
chmod 644 doc/examples/dns-service.py
chmod 644 doc/examples/gethostbyname.py

%build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --install-purelib %{python_sitearch}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p %{_libexecdir}/twisted-dropin-cache

%postun -p %{_libexecdir}/twisted-dropin-cache

%files
%defattr(-,root,root,-)
%doc README LICENSE doc/*

%{python_sitearch}/twisted/names/

%{python_sitearch}/twisted/plugins/twisted_names.py*

%changelog
* Thu Dec 14 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-3
- add python-devel BR
- chmod the examples

* Tue Sep 26 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-2
- no longer ghost .pyo files
- rebuild dropin.cache

* Wed Jun 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-1
- new upstream release
- remove noarch
- remove dependency on flow

* Tue Aug 23 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-2
- disttag

* Fri Mar 25 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-1
- final release

* Wed Mar 16 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-0.1.a3
- upstream release

* Sat Mar 12 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-0.1.a2
- prerelease; FE versioning

* Mon Feb 07 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-1
- prep for split



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-names/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Dec 2006 14:28:16 -0000	1.1
+++ .cvsignore	19 Dec 2006 14:28:40 -0000	1.2
@@ -0,0 +1 @@
+TwistedNames-0.3.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-names/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Dec 2006 14:28:16 -0000	1.1
+++ sources	19 Dec 2006 14:28:40 -0000	1.2
@@ -0,0 +1 @@
+5aa672d0e26718466351351e7bfcf22a  TwistedNames-0.3.0.tar.bz2




More information about the scm-commits mailing list