[python-kombu] initial spec

Rahul Sundaram sundaram at fedoraproject.org
Sat Jul 16 14:50:43 UTC 2011


commit 94493d5bc89a03330fe656cbecf3c10d58029df1
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sat Jul 16 20:16:38 2011 +0530

    initial spec

 .gitignore        |    1 +
 python-kombu.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9ecae0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kombu-1.1.3.tar.gz
diff --git a/python-kombu.spec b/python-kombu.spec
new file mode 100644
index 0000000..fc8aeba
--- /dev/null
+++ b/python-kombu.spec
@@ -0,0 +1,70 @@
+%global srcname kombu
+
+Name:           python-%{srcname}
+Version:        1.1.3
+Release:        1%{?dist}
+Summary:        AMQP Messaging Framework for Python
+
+Group:          Development/Languages
+# utils/functional.py contains a header that says Python
+License:        BSD and Python
+URL:            http://pypi.python.org/pypi/%{srcname}
+Source0:        http://pypi.python.org/packages/source/k/%{srcname}/%{srcname}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+BuildRequires:  python-anyjson
+BuildRequires:  python-amqplib
+BuildRequires:  python-msgpack
+# For documentation
+#BuildRequires:  pymongo python-sphinx
+#This causes tests error, needs fixing upstream. Incompatible with python > 2.7
+#BuildRequires:  python-couchdb
+
+%description
+AMQP is the Advanced Message Queuing Protocol, an open standard protocol
+for message orientation, queuing, routing, reliability and security.
+
+One of the most popular implementations of AMQP is RabbitMQ.
+
+The aim of Kombu is to make messaging in Python as easy as possible by
+providing an idiomatic high-level interface for the AMQP protocol, and
+also provide proven and tested solutions to common messaging problems.
+
+%prep
+%setup -q -n %{srcname}-%{version}
+# Remove shehang
+sed -i -e '/^#!\//, 1d' kombu/tests/test_serialization.py
+# Remove hidden files
+rm -rf docs/.static
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+# Documentation in docs folder is not useful without doing a make
+# Seems to have a circular dependency.  Not building for now
+#cd docs && make html
+#cd - && mv docs/.build/html htmldocs
+#rm -rf docs
+#rm -f htmldocs/.buildinfo
+
+%%check
+#cd %%{srcname}/tests
+#nosetests *.py
+
+%files
+%doc AUTHORS Changelog FAQ LICENSE READ* THANKS TODO examples/
+%{python_sitelib}/%{srcname}/
+%{python_sitelib}/%{srcname}*.egg-info
+
+%changelog
+* Fri Jul 15 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.3-1
+- initial spec.  
+- derived from the one written by Fabian Affolter
+- spec patch from Lakshmi Narasimhan
+
diff --git a/sources b/sources
index e69de29..2c9d2c3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7d9d15058454ae2d1f6212cedb1efbc9  kombu-1.1.3.tar.gz


More information about the scm-commits mailing list