7 Source0: https://github.com/sivel/speedtest-cli/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 08c431f2f398880745c4f0564962b9e2
9 URL: https://github.com/sivel/speedtest-cli
10 BuildRequires: python3-setuptools
11 BuildRequires: rpm-pythonprov
12 BuildRequires: rpmbuild(macros) >= 1.710
13 Requires: python3-setuptools
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Command line interface for testing internet bandwidth using speedtest.net.
27 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_mandir}/man1
32 install -p speedtest-cli.1 $RPM_BUILD_ROOT%{_mandir}/man1
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
40 %attr(755,root,root) %{_bindir}/speedtest
41 %attr(755,root,root) %{_bindir}/speedtest-cli
42 %{_mandir}/man1/speedtest-cli.1*
43 %{py3_sitescriptdir}/speedtest.py
44 %{py3_sitescriptdir}/__pycache__/speedtest.cpython-*.pyc
45 %{py3_sitescriptdir}/speedtest_cli-%{version}-py*.egg-info