package created using the webbuild interface [release 2.1.2-1mamba;Fri Apr 03 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:42:03 +01:00
parent 9a9ed89bea
commit 4b5d64fe70
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-speedtest-cli # python-speedtest-cli
Command line interface for testing internet bandwidth using speedtest.net.

49
python-speedtest-cli.spec Normal file
View File

@ -0,0 +1,49 @@
Name: python-speedtest-cli
Version: 2.1.2
Release: 1mamba
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: libpython3-devel
## AUTOBUILDREQ-END
Requires: python3 >= %python3_version
Requires: python-setuptools-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* Fri Apr 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
- package created using the webbuild interface