%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")} Name: python-pyngus Version: 1.1.0 Release: 0.1%{?dist} Summary: Callback API implemented over Proton License: ASL 2.0 URL: http://pypi.python.org/pypi/pyngus/%{version} Source0: http://pypi.python.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz BuildArch: noarch BuildRequires: python-setuptools Requires: python-qpid-proton Requires: qpid-proton-c %description A connection oriented messaging framework using QPID Proton. It provides a callback-based API for message passing. %prep %setup -q -n pyngus-%{version} %build # nothing to build %install %{__python} setup.py install --root %{buildroot} %files %{?python_sitelib}/pyngus %if "%{python_version}" >= "2.6" %{python_sitelib}/pyngus-*.egg-info %doc PKG-INFO %endif %changelog * Mon Sep 29 2014 Darryl L. Pierce - 1.1.0-0.1 - Replaced the python-qpid-proton requirement. - Added egg info to the list of docs for this package. * Thu Sep 25 2014 Darryl L. Pierce - 1.1.0-0 - Initial build.