]> git.pld-linux.org Git - packages/speedtest-cli.git/blob - speedtest-cli.spec
Release 4 (by relup.sh)
[packages/speedtest-cli.git] / speedtest-cli.spec
1 Summary:        speedtest
2 Name:           speedtest-cli
3 Version:        2.1.3
4 Release:        4
5 License:        Apache
6 Group:          Networking
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Command line interface for testing internet bandwidth using speedtest.net.
19
20 %prep
21 %setup -q
22
23 %build
24 %py3_build
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 %py3_install
30
31 install -d $RPM_BUILD_ROOT%{_mandir}/man1
32 install -p speedtest-cli.1 $RPM_BUILD_ROOT%{_mandir}/man1
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README.rst
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
This page took 0.085969 seconds and 3 git commands to generate.