From 226fcb10821b16b7bb03e6701313f014642642c2 Mon Sep 17 00:00:00 2001 From: Rosa Date: Tue, 22 Sep 2015 19:32:27 +0400 Subject: [PATCH] Automatic import for version 0.3.1-1.fc21 --- .abf.yml | 2 ++ speedtest-cli.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .abf.yml create mode 100644 speedtest-cli.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..a25822a --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "v0.3.1.tar.gz": 62ff7ac4fd916996110fec46e74dfc8b25860955 diff --git a/speedtest-cli.spec b/speedtest-cli.spec new file mode 100644 index 0000000..6c0c599 --- /dev/null +++ b/speedtest-cli.spec @@ -0,0 +1,49 @@ +Name: speedtest-cli +Version: 0.3.1 +Release: 1%{?dist} +Summary: Command line interface for testing internet bandwidth + +License: ASL 2.0 +URL: https://github.com/sivel/speedtest-cli +Source0: https://github.com/sivel/%{name}/archive/v%{version}.tar.gz + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python +Requires: python-setuptools +BuildArch: noarch + +%description +Command line interface for testing internet bandwidth using speedtest.net + +%prep +%setup -q +sed -i -e '/^#!\//, 1d' *.py + +%build +%{__python2} setup.py build + +%install +%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT +gzip speedtest-cli.1 +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +install -p -m 644 speedtest-cli.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/speedtest-cli.1.gz +rm -f $RPM_BUILD_ROOT%{_bindir}/speedtest + +%check +%{__python2} setup.py test + +%files +%{_bindir}/speedtest-cli +%{python2_sitelib}/speedtest_cli.py* +%{python2_sitelib}/speedtest_cli-%{version}-py2.7.egg-info +%{_mandir}/man1/speedtest-cli.1.gz +%doc CONTRIBUTING.md LICENSE README.rst + +%changelog +* Wed Oct 15 2014 Matias Kreder 0.3.1-1 +- Updated to 0.3.1, added python-setuptools as a dependency + +* Mon Jul 14 2014 Matias Kreder 0.3.0-1 +- Initial spec +