Summary: Event-based framework for internet applications Name: python-twisted-core Version: 2.0.1 Release: %mkrel 1 Source0: http://tmrc.mit.edu/mirror/twisted/Twisted/2.0/Twisted-%{version}.tar.bz2 License: MIT Group: Development/Python URL: http://twistedmatrix.com/projects/core/ BuildRoot: %{_tmppath}/%{name}-buildroot Requires: pycrypto Requires: python-OpenSSL python-zope-interface BuildRequires: python-devel python-zope-interface Conflicts: python-twisted < 2.0.0 %description 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. %prep %setup -q -n Twisted-%version %build %__python setup.py build %install %__rm -rf %buildroot %__python setup.py install --root %buildroot # no need for c source code find %buildroot/%_libdir/python%pyver/site-packages/twisted -type f -name '*.c' | xargs rm -f %__install -d %buildroot%_mandir/man1 %__install -m 644 doc/man/*.1 %buildroot%_mandir/man1 %clean %__rm -rf %buildroot %files %defattr(0755,root,root,0755) %_bindir/* %defattr(0644,root,root,0755) %doc CREDITS ChangeLog.Old LICENSE README doc/ %_libdir/python%pyver/site-packages/twisted %_mandir/man1/* %changelog * Mon May 30 2005 Michael Scherer <misc@mandriva.org> 2.0.1-1mdk - New release 2.0.1 * Sat May 14 2005 Michael Scherer <misc@mandriva.org> 2.0.0-1mdk - Initial package