]> git.pld-linux.org Git - packages/speedtest-cli.git/blame - speedtest-cli.spec
rebuild with python 3.10
[packages/speedtest-cli.git] / speedtest-cli.spec
CommitLineData
1b88aa99
WF
1Summary: speedtest
2Name: speedtest-cli
b8ce2251 3Version: 2.1.3
0d5e08b8 4Release: 3
1b88aa99
WF
5License: Apache
6Group: Networking
cebc6543 7Source0: https://github.com/sivel/speedtest-cli/archive/v%{version}/%{name}-%{version}.tar.gz
b8ce2251 8# Source0-md5: 08c431f2f398880745c4f0564962b9e2
cebc6543 9URL: https://github.com/sivel/speedtest-cli
6fbbe337 10BuildRequires: python3-setuptools
1b88aa99 11BuildRequires: rpm-pythonprov
147249c0 12BuildRequires: rpmbuild(macros) >= 1.710
6fbbe337 13Requires: python3-setuptools
1b88aa99
WF
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
1b88aa99 17%description
f1d52875 18Command line interface for testing internet bandwidth using speedtest.net.
1b88aa99
WF
19
20%prep
21%setup -q
22
23%build
6fbbe337 24%py3_build
1b88aa99
WF
25
26%install
27rm -rf $RPM_BUILD_ROOT
1b88aa99 28
6fbbe337 29%py3_install
1b88aa99 30
8ee47827
JP
31install -d $RPM_BUILD_ROOT%{_mandir}/man1
32install -p speedtest-cli.1 $RPM_BUILD_ROOT%{_mandir}/man1
33
1b88aa99
WF
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(644,root,root,755)
f1d52875 39%doc README.rst
1b88aa99
WF
40%attr(755,root,root) %{_bindir}/speedtest
41%attr(755,root,root) %{_bindir}/speedtest-cli
8ee47827 42%{_mandir}/man1/speedtest-cli.1*
6fbbe337
JP
43%{py3_sitescriptdir}/speedtest.py
44%{py3_sitescriptdir}/__pycache__/speedtest.cpython-*.pyc
45%{py3_sitescriptdir}/speedtest_cli-%{version}-py*.egg-info
This page took 0.191527 seconds and 4 git commands to generate.