54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
Name: python-speedtest-cli
|
|
Version: 2.1.3
|
|
Release: 2mamba
|
|
Summary: Command line interface for testing internet bandwidth using speedtest.net
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/sivel/speedtest-cli
|
|
Source: https://pypi.debian.net/speedtest-cli/speedtest-cli-%{version}.tar.gz
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python-setuptools-py3
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n speedtest-cli-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python3} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{python3_inc} \
|
|
--install-lib=%{python3_sitearch} \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Mon Apr 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba
|
|
- rebuilt with python3 ~= 3.11
|
|
|
|
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
|
|
- package created using the webbuild interface
|