rpms/python-twisted/devel README.fedora, NONE, 1.1 python-twisted.spec, 1.7, 1.8

Thomas Vander Stichele (thomasvs) fedora-extras-commits at redhat.com
Wed Jan 17 11:35:16 UTC 2007


Author: thomasvs

Update of /cvs/extras/rpms/python-twisted/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv694

Modified Files:
	python-twisted.spec 
Added Files:
	README.fedora 
Log Message:
update for 2.4


--- NEW FILE README.fedora ---
This package is an umbrella package to pull in all separate Twisted
projects.

It depends on:

python-twisted-conch
python-twisted-names
python-twisted-runner
python-twisted-web
python-twisted-words
python-twisted-lore
python-twisted-mail
python-twisted-news


Index: python-twisted.spec
===================================================================
RCS file: /cvs/extras/rpms/python-twisted/devel/python-twisted.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- python-twisted.spec	4 Oct 2006 22:38:12 -0000	1.7
+++ python-twisted.spec	17 Jan 2007 11:34:46 -0000	1.8
@@ -1,105 +1,107 @@
-Summary: Event-driven networking framework written in Python
-Name: python-twisted
-Version: 1.3.0
-Release: 7%{?dist}
-
-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}
+%{?!python:%define python python}
+%{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}}
 
-%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.
+%define origname Twisted
 
-This package contains all the documentation for Twisted.
+Name:           %{python}-twisted
+Version:        2.4.0
+Release:        3%{?dist}
+Summary:        Twisted is an event-based framework for internet applications
+
+Group:          Development/Libraries
+License:        MIT
+URL:            http://www.twistedmatrix.com
+Source:         README.fedora
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+Requires:       %{python}-twisted-core
+Requires:       %{python}-twisted-conch
+Requires:       %{python}-twisted-lore
+Requires:       %{python}-twisted-mail
+Requires:       %{python}-twisted-names
+Requires:       %{python}-twisted-news
+Requires:       %{python}-twisted-runner
+Requires:       %{python}-twisted-web
+Requires:       %{python}-twisted-words
+
+Obsoletes:      %{origname} < 2.4.0-1
+Provides:       %{origname} = %{version}-%{release}
+Obsoletes:      twisted < 2.4.0-1
+Provides:       twisted = %{version}-%{release}
 
+%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 -n Twisted-%{version}
+Installing this package brings all Twisted sub-packages into your system.
 
+%prep
+cp %{SOURCE0} .
 
 %build
-%{__python} setup.py build_ext
-
 
 %install
-%{__rm} -rf %{buildroot}
-%{__python} setup.py install --root=%{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
-# 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 $RPM_BUILD_ROOT
 
+%files
+%defattr(-,root,root,-)
+%doc README.fedora
+# empty rpm
 
-%clean
-%{__rm} -rf %{buildroot}
+%changelog
+* Tue Jan 16 2007 Thomas Vander Stichele <thomas at apestaart dot org>
+- 2.4.0-3
+- list packages in README.fedora
 
+* Wed Jan 03 2007 Thomas Vander Stichele <thomas at apestaart dot org>
+- 2.4.0-2
+- add a README.fedora
+- made noarch, since it doesn't actually install any python twisted/ module
+  code
+- fixed provides/obsoletes
 
-%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/*
+* Wed Jun 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 2.4.0-1
+- this is now a pure umbrella package
 
+* Mon Oct 10 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.1.0-1
+- upstream release
 
-%changelog
-* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 1.3.0-7
- - rebuilt for unwind info generation, broken in gcc-4.1.1-21
+* Tue Aug 23 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.1-1
+- upstream release
+
+* Mon Apr 04 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0-2
+- add zsh support
+
+* Fri Mar 25 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0-1
+- final release
+
+* Thu Mar 17 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0-0.2.a3
+- dropped web2
+
+* Wed Mar 16 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0-0.1.a3
+- upstream release
+
+* Sat Mar 12 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0-0.1.a2
+- new prerelease; FE versioning
+
+* Mon Feb 07 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 2.0.0a1-1
+- prep for split
+
+* Fri Aug 20 2004 Jeff Pitman <symbiont+pyvault at berlios.de> 1.3.0-1
+- new version
 
-* Wed Sep 20 2006 Thomas Vander Stichele <thomas at apestaart dot org>
-- 1.3.0-5
-- rebuilt
-
-* Wed Jan 25 2006 Thomas Vander Stichele <thomas at apestaart dot org>
-- 1.3.0-4
-- rebuilt for rawhide, current package installs for python2.3
-
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
-- rebuilt
-
-* Tue Jun 22 2004 Matthias Saou <http://freshrpms.net> 1.3.0-1
-- Update to 1.3.0.
-- Spec file changes.
-
-* Sun May 09 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- 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
+* Mon Apr 19 2004 Jeff Pitman <symbiont+pyvault at berlios.de> 1.2.0-3
+- vaultize
 
-* Fri Feb 13 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- 1.1.1-0.fdr.1: Initial RPM release
+* Mon Apr 12 2004 Jeff Pitman <symbiont+pyvault at berlios.de> 1.2.0-2
+- require pyOpenSSL, SOAPpy, openssh-clients, crypto, dia so trial can run
 




More information about the scm-commits mailing list