Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
python-twisted
python-twisted.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-twisted.spec of Package python-twisted
# # spec file for package python-twisted (Version 8.2.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # 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.2.0 Release: 2 %define tarname Twisted Source: %{tarname}-%{version}.tar.bz2 Patch0: Twisted-8.2.0-deprecations.patch 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} Obsoletes: python-twisted-conch <= %{version} Obsoletes: python-twisted-lore <= %{version} Obsoletes: python-twisted-mail <= %{version} Obsoletes: python-twisted-names <= %{version} Obsoletes: python-twisted-news <= %{version} Obsoletes: python-twisted-runner <= %{version} Obsoletes: python-twisted-web <= %{version} Obsoletes: python-twisted-words <= %{version} Obsoletes: python-twisted-xish <= %{version} Provides: python-twisted-conch <= %{version} Provides: python-twisted-lore <= %{version} Provides: python-twisted-mail <= %{version} Provides: python-twisted-names <= %{version} Provides: python-twisted-news <= %{version} Provides: python-twisted-runner <= %{version} Provides: python-twisted-web <= %{version} Provides: python-twisted-words <= %{version} # yes, it doesn't provide xish %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} %patch0 %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" # remove leftover C sources find "$RPM_BUILD_ROOT" -regex '.*\.[ch]' -exec rm {} ";" sed -i '/\.[ch]$/d' INSTALLED_FILES # install man pages install -d -m 755 "$RPM_BUILD_ROOT"/%{_mandir}/man1/ install -m 644 doc/*/man/*.1 "$RPM_BUILD_ROOT"/%{_mandir}/man1/ # install docs mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name} install -m 644 twisted/topfiles/CREDITS LICENSE README NEWS $RPM_BUILD_ROOT/%{_docdir}/%{name} cp -vr doc/* $RPM_BUILD_ROOT/%{_docdir}/%{name} %clean rm -rf "$RPM_BUILD_ROOT" %files -f INSTALLED_FILES %defattr(-,root,root) #%%doc twisted/topfiles/CREDITS LICENSE README NEWS %doc %{_docdir}/%{name}/CREDITS %doc %{_docdir}/%{name}/LICENSE %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/NEWS %attr(644,root,root) %{_mandir}/man1/* %files doc %defattr(644,root,root,755) %doc %{_docdir}/%{name} %exclude %{_docdir}/%{name}/CREDITS %exclude %{_docdir}/%{name}/LICENSE %exclude %{_docdir}/%{name}/README %exclude %{_docdir}/%{name}/NEWS %changelog * Mon Feb 23 2009 matejcik@suse.cz - merged a patch that was not included in 8.2.0 and contains more python 2.6 compatibility fixes * Fri Feb 13 2009 matejcik@suse.cz - update to 8.2.0 * python 2.6 compatible changes * many bugfixes and minor features in all submodules - remerged all individual subpackages into one single package * reasons: easier maintenance, upstream releases the whole thing in sync, no additional dependencies for main package, negligible impact on package size * 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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor