[packages/speedtest-cli] - new

witekfl witekfl at pld-linux.org
Mon Feb 17 18:44:48 CET 2014


commit 1b88aa997d53d57f499dedfb030b0c27a55a2e90
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Feb 17 18:44:25 2014 +0100

    - new

 speedtest-cli.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/speedtest-cli.spec b/speedtest-cli.spec
new file mode 100644
index 0000000..eabe4ec
--- /dev/null
+++ b/speedtest-cli.spec
@@ -0,0 +1,46 @@
+Summary:	speedtest
+Name:		speedtest-cli
+Version:	0.2.4
+Release:	1
+License:	Apache
+Group:		Networking
+Source0:	http://github.com/sivel/speedtest-cli/archive/v%{version}.tar.gz
+# Source0-md5:	229fc4c6ca702e5f5abdeabfb630efc7
+URL:		http://github.com/sivel/speedtest-cli
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-distribute
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		bash_compdir	%{_datadir}/bash-completion/completions
+
+%description
+speedtest-cli - command line interface to speedtest.net.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/speedtest
+%attr(755,root,root) %{_bindir}/speedtest-cli
+%{py_sitescriptdir}/speedtest_cli.py*
+%{py_sitescriptdir}/speedtest_cli-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/speedtest-cli.git/commitdiff/1b88aa997d53d57f499dedfb030b0c27a55a2e90



More information about the pld-cvs-commit mailing list