[python-txws] Initial import (#810386).
Ralph Bean
ralph at fedoraproject.org
Tue Apr 10 14:35:28 UTC 2012
commit 8d30f96909796d935cabfd33674171aa4e3a7c31
Author: Ralph Bean <rbean at redhat.com>
Date: Tue Apr 10 10:35:20 2012 -0400
Initial import (#810386).
.gitignore | 1 +
python-txws.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aa9f0d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/txWS-0.7.tar.gz
diff --git a/python-txws.spec b/python-txws.spec
new file mode 100644
index 0000000..61dd154
--- /dev/null
+++ b/python-txws.spec
@@ -0,0 +1,52 @@
+%global modname txws
+
+Name: python-txws
+Version: 0.7
+Release: 3%{?dist}
+Summary: Twisted WebSockets wrapper
+
+Group: Development/Languages
+License: MIT
+URL: http://pypi.python.org/pypi/txWS
+Source0: http://pypi.python.org/packages/source/t/txWS/txWS-0.7.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: python-twisted
+
+Requires: python-twisted
+
+%description
+txWS (pronounced "Twisted WebSockets") is a small, short, simple library
+for adding WebSockets server support to your favorite Twisted applications.
+
+%prep
+%setup -q -n txWS-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# We could run the tests when building, but txWS doesn't ship the tests.py with
+# the distribution. Leaving it commented out as a possibility for later.
+#%check
+#PYTHONPATH=$(pwd) trial tests.py
+
+%files
+%doc README.rst
+
+%{python_sitelib}/*
+
+%changelog
+* Mon Apr 09 2012 Ralph Bean <rbean at redhat.com> 0.7-3
+- Removed defattr in %files section.
+
+* Mon Apr 09 2012 Ralph Bean <rbean at redhat.com> 0.7-2
+- Fixed spelling error in the specfile description.
+
+* Thu Apr 05 2012 Ralph Bean <rbean at redhat.com> 0.7-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..dbe7026 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e8f5fb03c189d83b47b21176c7574126 txWS-0.7.tar.gz
More information about the scm-commits
mailing list