# # spec file for package python-pyzmq # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # norootforbuild %define tarname pyzmq Name: python-pyzmq Version: 2.0.10 Release: 1 Url: http://www.zeromq.org/bindings:python Summary: Python bindings for ZeroMQ License: LGPLv3 Group: Development/Libraries/Python AutoReqProv: on Source: %{tarname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: zeromq-devel python-devel %{py_requires} %description Python bindings for ZeroMQ, a lightweight and fast messaging implementation. Authors: -------- Brian E. Granger %prep %setup -n %{tarname}-%{version} %build export CFLAGS="-O0" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc COPYING.LESSER README.rst %doc examples docs %changelog