From 837671b2ae80fa98a3bdd3fdc2d7500634f8837f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Mon, 2 Nov 2009 13:45:03 +0000 Subject: [PATCH 1/7] - Initial import. --- .cvsignore | 1 + import.log | 1 + python-tornado.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 102 insertions(+) create mode 100644 import.log create mode 100644 python-tornado.spec diff --git a/.cvsignore b/.cvsignore index e69de29..a7385b2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tornado-0.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..8990c00 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-tornado-0_2-3_fc11:HEAD:python-tornado-0.2-3.fc11.src.rpm:1257169031 diff --git a/python-tornado.spec b/python-tornado.spec new file mode 100644 index 0000000..6bde3d8 --- /dev/null +++ b/python-tornado.spec @@ -0,0 +1,99 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%global pkgname tornado + +Name: python-%{pkgname} +Version: 0.2 +Release: 3%{?dist} +Summary: Scalable, non-blocking web server and tools + +Group: Development/Libraries +License: ASL 2.0 +URL: http://www.tornadoweb.org +Source0: http://www.tornadoweb.org/static/%{pkgname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python-devel +Requires: python-pycurl +Requires: python-simplejson + +%description +Tornado is an open source version of the scalable, non-blocking web server and +and tools. + +The framework is distinct from most mainstream web server frameworks (and +certainly most Python frameworks) because it is non-blocking and reasonably +fast. Because it is non-blocking and uses epoll, it can handle thousands of +simultaneous standing connections, which means it is ideal for real-time web +services. + +%package doc +Summary: Examples for python-tornado +Group: Documentation +Requires: python-tornado = %{version}-%{release} + +%description doc +Tornado is an open source version of the scalable, non-blocking web server and +and tools. This package contains some example applications. + +%prep +%setup -q -n %{pkgname}-%{version} + +# remove shebang from files +for File in `find %{pkgname} -name "*py"`; do + %{__sed} -i.orig -e 1d ${File} + touch -r ${File}.orig ${File} + %{__rm} ${File}.orig +done + +# spurious permission fix +%{__chmod} -x demos/*/*py +%{__chmod} -x demos/*/*/*py +%{__chmod} -x demos/*/*/*/*py + +# remove empty file +rm -rf demos/facebook/static/facebook.js + +%build +python setup.py build + + +%install +rm -rf %{buildroot} + +PATH=$PATH:%{buildroot}%{python_sitelib}/%{pkgname} +python setup.py install --root=%{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README PKG-INFO + +%{python_sitelib}/%{pkgname}/ +%{python_sitelib}/%{pkgname}-%{version}-*.egg-info + +%files doc +%defattr(-,root,root,-) +%doc demos + +%changelog +* Wed Oct 21 2009 Ionuț Arțăriși - 0.2-3 +- changed -doc package group to Documentation +- use global instead of define + +* Tue Oct 20 2009 Ionuț Arțăriși - 0.2-2 +- create -doc package for examples +- altered description to not include references to FriendFeed +- rename to python-tornado + +* Fri Sep 25 2009 Ionuț Arțăriși - 0.2-1 +- New upstream version +- Fixed macro usage and directory ownership in spec + +* Thu Sep 10 2009 Ionuț Arțăriși - 0.1-1 +- Initial release + diff --git a/sources b/sources index e69de29..8e680f8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4704cbf8baab2562c1e648c76de87b60 tornado-0.2.tar.gz From 0d26dac1f739fcb23124aa4b92fff824155155e9 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 22 Jul 2010 05:35:59 +0000 Subject: [PATCH 2/7] - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild --- python-tornado.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tornado.spec b/python-tornado.spec index 6bde3d8..4385d71 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -3,7 +3,7 @@ Name: python-%{pkgname} Version: 0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Scalable, non-blocking web server and tools Group: Development/Libraries @@ -81,6 +81,9 @@ rm -rf %{buildroot} %doc demos %changelog +* Thu Jul 22 2010 David Malcolm - 0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + * Wed Oct 21 2009 Ionuț Arțăriși - 0.2-3 - changed -doc package group to Documentation - use global instead of define From 0c011e71e0d4e9a344e718531f6b71ae7e1f5d88 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:46:55 +0000 Subject: [PATCH 3/7] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 1d3792c..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-tornado -# $Id$ -NAME := python-tornado -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index 8990c00..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -python-tornado-0_2-3_fc11:HEAD:python-tornado-0.2-3.fc11.src.rpm:1257169031 From b48066344993229c784fb58efd39d5b2d3759962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20C=2E=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Wed, 4 Aug 2010 10:00:23 +0300 Subject: [PATCH 4/7] - new upstream release: 1.0 --- .gitignore | 1 + python-tornado.spec | 15 ++++++--------- sources | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index a7385b2..a6e1b3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ tornado-0.2.tar.gz +tornado-1.0.tar.gz diff --git a/python-tornado.spec b/python-tornado.spec index 4385d71..7aeecf4 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -2,8 +2,8 @@ %global pkgname tornado Name: python-%{pkgname} -Version: 0.2 -Release: 4%{?dist} +Version: 1.0 +Release: 1%{?dist} Summary: Scalable, non-blocking web server and tools Group: Development/Libraries @@ -46,13 +46,6 @@ for File in `find %{pkgname} -name "*py"`; do %{__rm} ${File}.orig done -# spurious permission fix -%{__chmod} -x demos/*/*py -%{__chmod} -x demos/*/*/*py -%{__chmod} -x demos/*/*/*/*py - -# remove empty file -rm -rf demos/facebook/static/facebook.js %build python setup.py build @@ -81,6 +74,10 @@ rm -rf %{buildroot} %doc demos %changelog +* Wed Aug 4 2010 Ionuț C. Arțăriși - 1.0-1 +- new upstream release 1.0 +- there's no longer a problem with spurious permissions, so remove that fix + * Thu Jul 22 2010 David Malcolm - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild diff --git a/sources b/sources index 8e680f8..a3139df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4704cbf8baab2562c1e648c76de87b60 tornado-0.2.tar.gz +4dcf0dc05c0d796b39f27d2df5367d00 tornado-1.0.tar.gz From 8b49b477a9fe3ea43321562e6c329b9737a0bd58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20C=2E=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Wed, 4 Aug 2010 11:48:14 +0300 Subject: [PATCH 5/7] - changed upstream source url --- python-tornado.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-tornado.spec b/python-tornado.spec index 7aeecf4..5b4e5a2 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -3,13 +3,13 @@ Name: python-%{pkgname} Version: 1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Scalable, non-blocking web server and tools Group: Development/Libraries License: ASL 2.0 URL: http://www.tornadoweb.org -Source0: http://www.tornadoweb.org/static/%{pkgname}-%{version}.tar.gz +Source0: http://github.com/downloads/facebook/${pkgname}/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -74,6 +74,9 @@ rm -rf %{buildroot} %doc demos %changelog +* Wed Aug 4 2010 Ionuț C. Arțăriși - 1.0-2 +- changed upstream source url + * Wed Aug 4 2010 Ionuț C. Arțăriși - 1.0-1 - new upstream release 1.0 - there's no longer a problem with spurious permissions, so remove that fix From dd5c86bb63a7468facc865f25bc486034452b141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20C=2E=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Tue, 17 Aug 2010 13:25:56 +0300 Subject: [PATCH 6/7] - new version 1.0.1 --- .gitignore | 1 + python-tornado.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a6e1b3c..f0b4759 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ tornado-0.2.tar.gz tornado-1.0.tar.gz +tornado-1.0.1.tar.gz diff --git a/python-tornado.spec b/python-tornado.spec index 5b4e5a2..1610ece 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -2,14 +2,14 @@ %global pkgname tornado Name: python-%{pkgname} -Version: 1.0 -Release: 2%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Scalable, non-blocking web server and tools Group: Development/Libraries License: ASL 2.0 URL: http://www.tornadoweb.org -Source0: http://github.com/downloads/facebook/${pkgname}/%{pkgname}-%{version}.tar.gz +Source0: http://github.com/downloads/facebook/%{pkgname}/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -74,6 +74,9 @@ rm -rf %{buildroot} %doc demos %changelog +* Tue Aug 17 2010 Ionuț Arțăriși - 1.0.1-1 +- new upstream bugfix release: 1.0.1 + * Wed Aug 4 2010 Ionuț C. Arțăriși - 1.0-2 - changed upstream source url diff --git a/sources b/sources index a3139df..6f5e313 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4dcf0dc05c0d796b39f27d2df5367d00 tornado-1.0.tar.gz +fe0295f52668961a4ba664e2b8c358a7 tornado-1.0.1.tar.gz From c7e80894d38bf716b2cd0d0cb9fb0d24946a3a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20C=2E=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Wed, 8 Sep 2010 17:07:18 +0300 Subject: [PATCH 7/7] new upstream release 1.1 --- .gitignore | 1 + python-tornado.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f0b4759..2a25fd3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ tornado-0.2.tar.gz tornado-1.0.tar.gz tornado-1.0.1.tar.gz +/tornado-1.1.tar.gz diff --git a/python-tornado.spec b/python-tornado.spec index 1610ece..d47f07a 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -2,7 +2,7 @@ %global pkgname tornado Name: python-%{pkgname} -Version: 1.0.1 +Version: 1.1 Release: 1%{?dist} Summary: Scalable, non-blocking web server and tools @@ -74,6 +74,9 @@ rm -rf %{buildroot} %doc demos %changelog +* Wed Sep 8 2010 Ionuț C. Arțăriși - 1.1-1 +- new upstream release 1.1 + * Tue Aug 17 2010 Ionuț Arțăriși - 1.0.1-1 - new upstream bugfix release: 1.0.1 diff --git a/sources b/sources index 6f5e313..4508c0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fe0295f52668961a4ba664e2b8c358a7 tornado-1.0.1.tar.gz +dd6914d09b258545bd138763c16c6c1f tornado-1.1.tar.gz