From cefce8b06d96936d3a49c3ac86d6e4e22e00ab43 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 09 2004 02:50:01 +0000 Subject: auto-import changelog data from python-twisted-1.3.0-1.1.fc2.fr.src.rpm //freshrpms.net> 1.3.0-1 - Update to 1.3.0. - Spec file changes. Sun May 09 2004 Thomas Vander Stichele - 1.2.0-0.fdr.1: Update to new upstream release - split off docs - packaged man pages correctly - patch to remove hardcoding of python2.2 Fri Feb 13 2004 Thomas Vander Stichele - 1.1.1-0.fdr.1: Initial RPM release --- diff --git a/.cvsignore b/.cvsignore index e69de29..a93eb0a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Twisted-1.3.0.tar.bz2 diff --git a/python-twisted.spec b/python-twisted.spec new file mode 100644 index 0000000..e70e0d5 --- /dev/null +++ b/python-twisted.spec @@ -0,0 +1,92 @@ +# $Id: python-twisted.spec,v 1.1 2004/11/09 02:50:01 cvsextras Exp $ + +Summary: Event-driven networking framework written in Python +Name: python-twisted +Version: 1.3.0 +Release: 1.1.fc2.fr +License: LGPL +Group: Applications/Internet +URL: http://www.twistedmatrix.com/ +Source: http://twisted.sourceforge.net/Twisted-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Requires: python +BuildRequires: python, python-devel +Obsoletes: python-Twisted < 1.3.0 +Provides: python-Twisted = %{version}-%{release} + +%description +An event-driven networking framework written in Python and licensed +under the LGPL. Twisted supports TCP, UDP, SSL/TLS, multicast, Unix +sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, +FTP, and others), and much more. + + +%package docs +Summary: Documentation for the Twisted networking framework +Group: Documentation + +%description docs +An event-driven networking framework written in Python and licensed +under the LGPL. Twisted supports TCP, UDP, SSL/TLS, multicast, Unix +sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, +FTP, and others), and much more. + +This package contains all the documentation for Twisted. + + +%prep +%setup -n Twisted-%{version} + + +%build +%{__python} setup.py build_ext + + +%install +%{__rm} -rf %{buildroot} +%{__python} setup.py install --root=%{buildroot} + +# the man pages are not installed, so install them +# and remove them from the doc dir +%{__mkdir_p} %{buildroot}%{_mandir}/man1 +for man in doc/man/*.1; do + %{__install} -m 0644 ${man} %{buildroot}%{_mandir}/man1/ + %{__rm} -f ${man} +done + +# set permissions on all doc files to 644 +# because some examples are set executable and some aren't, which is +# inconsistent +find doc -type f -exec chmod 644 {} \; + + +%clean +%{__rm} -rf %{buildroot} + + +%files +%defattr(-, root, root, 0755) +%doc CREDITS ChangeLog README +%{_bindir}/* +%{_libdir}/python?.?/site-packages/twisted +%{_mandir}/man1/* + +%files docs +%defattr(-, root, root, 0755) +%doc doc/* + + +%changelog +* Tue Jun 22 2004 Matthias Saou 1.3.0-1 +- Update to 1.3.0. +- Spec file changes. + +* Sun May 09 2004 Thomas Vander Stichele +- 1.2.0-0.fdr.1: Update to new upstream release +- split off docs +- packaged man pages correctly +- patch to remove hardcoding of python2.2 + +* Fri Feb 13 2004 Thomas Vander Stichele +- 1.1.1-0.fdr.1: Initial RPM release + diff --git a/sources b/sources index e69de29..1dfea6f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aaed1c9d006f9b72ea82ad978989fcdf Twisted-1.3.0.tar.bz2