]> git.pld-linux.org Git - packages/speedtest-cli.git/blob - speedtest-cli.spec
b8e649d7dd7f50d86b3fb00db4b8170fad67d1e0
[packages/speedtest-cli.git] / speedtest-cli.spec
1 Summary:        speedtest
2 Name:           speedtest-cli
3 Version:        2.1.1
4 Release:        1
5 License:        Apache
6 Group:          Networking
7 Source0:        http://github.com/sivel/speedtest-cli/archive/v%{version}.tar.gz
8 # Source0-md5:  93650e690960096769c556480e23eef2
9 URL:            http://github.com/sivel/speedtest-cli
10 BuildRequires:  python-distribute
11 BuildRequires:  rpm-pythonprov
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 Requires:       python-distribute
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 %py_build
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 %py_install
30 %py_postclean
31
32 install -d $RPM_BUILD_ROOT%{_mandir}/man1
33 install -p speedtest-cli.1 $RPM_BUILD_ROOT%{_mandir}/man1
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README.rst
41 %attr(755,root,root) %{_bindir}/speedtest
42 %attr(755,root,root) %{_bindir}/speedtest-cli
43 %{_mandir}/man1/speedtest-cli.1*
44 %{py_sitescriptdir}/speedtest.py*
45 %{py_sitescriptdir}/speedtest_cli-%{version}-py*.egg-info
This page took 0.084396 seconds and 2 git commands to generate.