package created by autospec [release 14.7.0-1mamba;Fri Sep 25 2015]
This commit is contained in:
parent
f52e7a91a1
commit
20510ac992
@ -1,2 +1,5 @@
|
|||||||
# python-pyzmq
|
# python-pyzmq
|
||||||
|
|
||||||
|
This package contains Python bindings for zeromq.
|
||||||
|
zeromq is a lightweight and fast messaging implementation.
|
||||||
|
|
||||||
|
49
python-pyzmq.spec
Normal file
49
python-pyzmq.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
Name: python-pyzmq
|
||||||
|
Version: 14.7.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Python bindings for zeromq
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
URL: https://github.com/zeromq/pyzmq
|
||||||
|
Source: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
BuildRequires: libzeromq-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
Requires: python >= %python_version
|
||||||
|
BuildRequires: libzeromq-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains Python bindings for zeromq.
|
||||||
|
zeromq is a lightweight and fast messaging implementation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pyzmq-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING.LESSER README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 14.7.0-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user