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