7 Source0: http://github.com/sivel/speedtest-cli/archive/v%{version}.tar.gz
8 # Source0-md5: 229fc4c6ca702e5f5abdeabfb630efc7
9 URL: http://github.com/sivel/speedtest-cli
10 BuildRequires: python-distribute
11 BuildRequires: rpm-pythonprov
12 BuildRequires: rpmbuild(macros) >= 1.219
13 Requires: python-distribute
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 speedtest-cli - command line interface to speedtest.net.
24 %{__python} setup.py build
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{_bindir}
29 %{__python} setup.py install \
32 --root=$RPM_BUILD_ROOT
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/speedtest
42 %attr(755,root,root) %{_bindir}/speedtest-cli
43 %{py_sitescriptdir}/speedtest_cli.py*
44 %{py_sitescriptdir}/speedtest_cli-%{version}-py*.egg-info