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