File python-twisted.spec of Package python-twisted
#
# spec file for package python-twisted (Version 8.0.1)
#
# 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
BuildRequires: python-devel python-openssl python-pam python-serial python-zopeinterface
Summary: Event-driven networking framework in Python
Version: 8.0.1
Release: 1
%define tarname TwistedCore
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
Url: http://twistedmatrix.com/trac/wiki/TwistedCore
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-zopeinterface python-openssl python-serial python-pam
%{py_requires}
%description
A Development Tool Twisted is a framework, written in Python, for
writing networked applications. It includes implementations of a number
of commonly used network services such as a web server, an IRC chat
server, a mail server, a relational database interface and an object
broker. Developers can build applications using all of these services
as well as custom services that they write themselves. Twisted also
includes a user authentication system that controls access to services
and provides services with user context information to implement their
own security models.
Twisted provides important features needed for networking programming,
both at the high and low levels:
Pluggable event loops allowing the developer to take advantage of
platform-specific capabilities. Abstractions of protocols and
transports. Through Twisted Spread, mechanisms for network encoding of
data (in Python, Java, ELisp, and other languages), to a full-blown
distributed object system.
An Integrated Environment Twisted is an integration point for network
services that were previously unable to interoperate. Services within a
Twisted server can communicate with each other and share information
providing a very integrated programming environment that can re-use
large amounts of infrastructure across multiple network mediums (such
as chat, web, and mail).
As well as servers, Twisted supports several different kinds of clients
and GUIs. This means that the client can re-use large portions of the
server's code, improving test coverage and reliability while reducing
code size.
An Application Suite Twisted is a collection of servers and clients,
which can be used either by developers of new applications or directly.
For example an easy to run web server is available out of the box as an
application for the desktop user, but it is also a framework for
developers to use.
Authors:
--------
twisted-python@twistedmatrix.com
%package doc
License: LGPL v2.1 or later
Summary: Documentation for python-twisted
Group: Development/Languages/Python
%description doc
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+, GTK+ 2, Qt, Mac OS X, or wxPython event loop with its
main event loop. The Win32 event loop is also supported. Twisted works
with all Python 2.2 and 2.3 versions.
python-twisted-doc contains the documentation for python-twisted.
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"
# install man pages
install -d -m 755 "$RPM_BUILD_ROOT"/%{_mandir}/man1/
install -m 644 doc/man/*.1 "$RPM_BUILD_ROOT"/%{_mandir}/man1/
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CREDITS LICENSE README NEWS
%attr(644,root,root) %{_mandir}/man1/*
%files doc
%defattr(644,root,root,755)
%doc doc/*
%changelog
* Mon Apr 07 2008 matejcik@suse.cz
- update to 8.0.1 (2.6.0 actually)
* new versioning scheme, 8.0.1 is second release in 2008
* massively improved IOCP reactor
* improvements to Trial
* huge number of minor features and bugfixes
* Thu Aug 02 2007 jmatejek@suse.cz
- update to 2.5.0
* support for Asynchronous Messaging Protocol
* epoll-based reactor
* twistd now accepts subcommands instead of 'mktap'
* support for python2.5
* support for inline callbacks (via 'yield')
* many bugfixes and minor features
* Thu Nov 09 2006 jmatejek@suse.cz
- fixed ComponentDeprecationWarnings in twisted's class Credentials
* Mon Oct 23 2006 jmatejek@suse.cz
- update to 2.4.0
- no longer works with py 2.2
- many improvements on Trial
- backwards compatibility layers disabled by default
- improved and extended API documentation
- new protocols
- many bugfixes
- fixed some 64bit problems from PEP353 change
- removed nonsensical "???" from one of the testfiles
* 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 2.1.0
* Thu Oct 06 2005 matejcik@suse.cz
- update to 2.0.1
* Thu Apr 14 2005 mcihar@suse.cz
- update to 2.0.0
* Tue Feb 08 2005 mcihar@suse.cz
- fix permissions
* Tue Nov 30 2004 mcihar@suse.cz
- spec file cleanup
* Thu Aug 26 2004 garloff@suse.de
- Initial creation of package python-twisted.