]> git.pld-linux.org Git - packages/speedtest-cli.git/blame - speedtest-cli.spec
- unused lines
[packages/speedtest-cli.git] / speedtest-cli.spec
CommitLineData
1b88aa99
WF
1Summary: speedtest
2Name: speedtest-cli
3Version: 0.2.4
4Release: 1
5License: Apache
6Group: Networking
7Source0: http://github.com/sivel/speedtest-cli/archive/v%{version}.tar.gz
8# Source0-md5: 229fc4c6ca702e5f5abdeabfb630efc7
9URL: http://github.com/sivel/speedtest-cli
10BuildRequires: python-distribute
11BuildRequires: rpm-pythonprov
12BuildRequires: rpmbuild(macros) >= 1.219
13Requires: python-distribute
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
1b88aa99
WF
17%description
18speedtest-cli - command line interface to speedtest.net.
19
20%prep
21%setup -q
22
23%build
24%{__python} setup.py build
25
26%install
27rm -rf $RPM_BUILD_ROOT
28install -d $RPM_BUILD_ROOT%{_bindir}
29%{__python} setup.py install \
30 --skip-build \
31 --optimize=2 \
32 --root=$RPM_BUILD_ROOT
33
34%py_postclean
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
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
This page took 0.112223 seconds and 4 git commands to generate.