Blob Blame History Raw
%global srcname kombu

Name:           python-%{srcname}
Version:        1.1.3
Release:        2%{?dist}
Summary:        AMQP Messaging Framework for Python

Group:          Development/Languages
# utils/ contains a header that says Python
License:        BSD and Python
URL:  {srcname}
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

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.

%setup -q -n %{srcname}-%{version}
# Remove shehang
sed -i -e '/^#!\//, 1d' kombu/tests/
# Remove hidden files
rm -rf docs/.static

%{__python} build

%{__python} 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

#cd %%{srcname}/tests
#nosetests *.py


* Sat Jan 14 2012 Fedora Release Engineering <> - 1.1.3-2
- Rebuilt for

* Fri Jul 15 2011 Rahul Sundaram <> - 1.1.3-1
- initial spec.  
- derived from the one written by Fabian Affolter
- spec patch from Lakshmi Narasimhan