%define module pyzmq %define name python-%{module} %define version 2.1.9 %define tarver 2.1.9 %define release %mkrel 4 Summary: Python bindings for zeromq Name: %{name} Version: %{version} Release: %{release} Source0: http://pypi.python.org/packages/source/p/%{module}/%{module}-%{tarver}.tar.gz License: LGPLv3+ Group: Development/Python Url: http://github.com/zeromq/pyzmq BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: libzeromq >= %{version} BuildRequires: zeromq-devel >= %{version} BuildRequires: python-nose BuildRequires: python-devel %description This package contains Python bindings for zeromq, a lightweight and fast messaging implementation. %prep %setup -q -n %{module}-%{tarver} %__python setup.py build %install %__rm -rf %{buildroot} PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILE_LIST %check pushd %{buildroot}%{py_platsitedir} nosetests popd %clean %__rm -rf %{buildroot} %files -f FILE_LIST %defattr(-,root,root) %doc COPYING* README.rst %changelog * Sun Jan 13 2013 umeabot <umeabot> 2.1.9-4.mga3 + Revision: 379424 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Sep 21 2011 lebedov <lebedov> 2.1.9-3.mga2 + Revision: 146196 - Bump release. * Wed Sep 21 2011 lebedov <lebedov> 2.1.9-2.mga2 + Revision: 146188 - Require zeromq library with the same version as pyzmq (or later). * Sun Sep 18 2011 lebedov <lebedov> 2.1.9-1.mga2 + Revision: 145119 - Update source file. - Update to 2.1.9. * Thu Apr 14 2011 mikala <mikala> 2.1.4-1.mga1 + Revision: 85343 - Update to 2.1.4 to match zeromq 2.1.4 * Mon Jan 31 2011 dmorgan <dmorgan> 2.0.10_1-1.mga1 + Revision: 45303 - imported package python-pyzmq