forked from pool/python-pyzmq
Accepting request 55751 from home:saschpe
OBS-URL: https://build.opensuse.org/request/show/55751 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=2
This commit is contained in:
parent
dfbf2c90d2
commit
b94f60a4e7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 12 15:40:57 UTC 2010 - saschpe@gmx.de
|
||||||
|
|
||||||
|
- Re-generated with py2pack
|
||||||
|
* now builds for all RPM-based distros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 15:32:35 UTC 2010 - saschpe@suse.de
|
Wed Dec 1 15:32:35 UTC 2010 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -11,49 +11,57 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%define tarname pyzmq
|
%define mod_name pyzmq
|
||||||
|
|
||||||
Name: python-pyzmq
|
Name: python-%{mod_name}
|
||||||
Version: 2.0.10
|
Version: 2.0.10
|
||||||
Release: 1
|
Release: 0
|
||||||
Url: http://www.zeromq.org/bindings:python
|
Url: http://github.com/zeromq/pyzmq
|
||||||
Summary: Python bindings for ZeroMQ
|
Summary: Python bindings for 0MQ.
|
||||||
License: LGPLv3
|
License: LGPL
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
AutoReqProv: on
|
Source: %{mod_name}-%{version}.tar.bz2
|
||||||
Source: %{tarname}-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: zeromq-devel python-devel
|
BuildRequires: python-devel zeromq-devel
|
||||||
|
%if 0%{?suse_version}
|
||||||
%{py_requires}
|
%py_requires
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python bindings for ZeroMQ, a lightweight and fast messaging implementation.
|
PyZMQ is a lightweight and super-fast messaging library built on top of
|
||||||
|
the ZeroMQ library (http://www.zeromq.org).
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Brian E. Granger <ellisonbg@gmail.com>
|
Brian E. Granger <ellisonbg@gmail.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{tarname}-%{version}
|
export CFLAGS="%{optflags}"
|
||||||
|
%setup -n %{mod_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="-O0"
|
%{__python} setup.py build
|
||||||
python setup.py build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files %{?suse_version: -f INSTALLED_FILES}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING.LESSER README.rst
|
%doc COPYING.LESSER README.rst examples docs
|
||||||
%doc examples docs
|
%if 0%{!?suse_version:1}
|
||||||
|
%python_sitearch/%{mod_name}*
|
||||||
|
%python_sitearch/zmq*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user