python-qserve/python-qserve.spec

52 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-qserve
Version: 0.3.0
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}.zip
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(future)
## AUTOBUILDREQ-END
%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
* 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