python-qserve/python-qserve.spec

60 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-qserve
Version: 0.3.1
Release: 1mamba
Summary: Job queue server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pediapress/qserve
Source: https://pypi.debian.net/qserve/qserve-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(future)
BuildRequires: python3.11dist(gevent)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n qserve-%{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 %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/qserve-%{version}-py*.egg-info
%{python_sitearch}/qserve-%{version}-py*.egg-info/*
%changelog
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
- update to 0.3.1
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 0.3.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.8-1mamba
- package created by silvan using the webbuild interface