python-tqdm/python-tqdm.spec

96 lines
3.0 KiB
RPMSpec
Raw Normal View History

%define pkgname %(echo %name | cut -d- -f2-)
Name: python-tqdm
Version: 4.67.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
* Mon Nov 25 2024 Automatic Build System <autodist@openmamba.org> 4.67.1-1mamba
- automatic version update by autodist
* Thu Nov 07 2024 Automatic Build System <autodist@openmamba.org> 4.67.0-1mamba
- automatic version update by autodist
* Mon Oct 28 2024 Automatic Build System <autodist@openmamba.org> 4.66.6-1mamba
- automatic version update by autodist
* Sun Aug 04 2024 Automatic Build System <autodist@openmamba.org> 4.66.5-1mamba
- automatic version update by autodist
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 4.66.4-1mamba
- automatic version update by autodist
* Sun Feb 11 2024 Automatic Build System <autodist@openmamba.org> 4.66.2-1mamba
- automatic version update by autodist
* 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