14
0
forked from pool/python-pyzmq

Accepting request 54270 from server:http:mongrel2

Looks fine :-)

OBS-URL: https://build.opensuse.org/request/show/54270
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=1
This commit is contained in:
Sascha Peilicke
2010-12-01 16:11:35 +00:00
committed by Git OBS Bridge
commit dfbf2c90d2
5 changed files with 91 additions and 0 deletions

59
python-pyzmq.spec Normal file
View File

@@ -0,0 +1,59 @@
#
# 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 <ellisonbg@gmail.com>
%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