78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
%define pkgname %(echo %name | cut -d- -f2-)
|
|
Name: python-tqdm
|
|
Version: 4.66.1
|
|
Release: 1mamba
|
|
Summary: Fast, Extensible Progress Meter
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://tqdm.github.io/
|
|
Source: https://pypi.debian.net/tqdm/tqdm-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n tqdm-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
%if "%{?with_pyver}" != "3"
|
|
# Rename any conflicting file outside of python site packages tree
|
|
for f in %{_bindir}/tqdm; do
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
done
|
|
%endif
|
|
|
|
%files %{?pyappend}
|
|
%defattr(-,root,root)
|
|
%{_bindir}/tqdm*
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
%{python_sitelib}/%{pkgname}/*
|
|
%doc LICENCE
|
|
|
|
%changelog
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 4.66.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 4.65.0-2mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Sat Mar 04 2023 Automatic Build System <autodist@mambasoft.it> 4.65.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 4.64.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 04 2022 Automatic Build System <autodist@mambasoft.it> 4.64.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 04 2022 Automatic Build System <autodist@mambasoft.it> 4.63.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 24 2022 Automatic Build System <autodist@mambasoft.it> 4.63.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 4.63.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.62.3-1mamba
|
|
- package created using the webbuild interface
|