2024-01-05 16:31:46 +01:00
|
|
|
Name: python-pyzmq
|
2024-01-05 16:31:46 +01:00
|
|
|
Version: 21.0.1
|
2024-01-05 16:31:46 +01:00
|
|
|
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
|
2024-01-05 16:31:46 +01:00
|
|
|
Source: https://pypi.debian.net/pyzmq/pyzmq-%{version}.tar.gz
|
|
|
|
#Source: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz
|
2024-01-05 16:31:46 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:31:46 +01:00
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:31:46 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:31:46 +01:00
|
|
|
%doc COPYING.LESSER README.md
|
2024-01-05 16:31:46 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:31:46 +01:00
|
|
|
* Wed Jan 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.1-1mamba
|
|
|
|
- update to 21.0.1
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 15.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
* Sun Dec 27 2015 Automatic Build System <autodist@mambasoft.it> 15.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:31:46 +01:00
|
|
|
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 14.7.0-1mamba
|
|
|
|
- package created by autospec
|