File python-twisted.spec of Package python-twisted
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-twisted
# List of additional build dependencies
BuildRequires: python-devel
Version: 8.2.0
Release: 1
License: GPL v2 or later
Source: Twisted-8.2.0.tar.bz2
Group: Development/Libraries/Python
Summary: python-twisted
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Twisted is an event-based framework for internet applications. It
includes a
web server, a telnet server, a chat server, a news server, a generic
client
and server for remote object access, and APIs for creating new
protocols and
services. Twisted supports integration of the Tk, GTK+, Qt or wxPython
event
loop with its main event loop. The Win32 event loop is also supported,
as is
basic support for running servers on top of Jython.
%prep
%setup -q -n Twisted-%version
%build
python setup.py build
%install
python setup.py install --prefix=%_prefix --root=%buildroot
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{python_sitearch}/*/
%{_bindir}/*
%changelog
* Tue Oct 20 2009 build@mozillamessaging.com
- packaged python-twisted version 8.2.0 using the buildservice spec file wizard