Name: namebench Version: 1.3.1 Release: 17.3 License: GPL v2 or later Source: http://namebench.googlecode.com/files/%{name}-%{version}-source.tgz Group: Development/Libraries/Python Summary: Hunt down the fastest DNS servers URL: http://code.google.com/p/namebench/ BuildRequires: python2-devel Requires: python2-tkinter BuildArch: noarch Patch0: namebench_epel8.patch %description Nnamebench hunts down the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation. namebench is completely free and does not modify your system in any way. %prep %setup -q %patch0 -p1 %build python2 setup.py build %install python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} sed -i 's|#!/bin|#!/usr/bin|' %{buildroot}%{_bindir}/* mkdir -p %{buildroot}%{_datadir} mv %{buildroot}/usr/%{name} %{buildroot}%{_datadir} sed -i 's|/usr/bin/python$|/usr/bin/python2|' %{buildroot}%{_bindir}/%{name}.py %clean rm -rf %buildroot %files %defattr(-,root,root) %{_bindir}/namebench.py %{python2_sitelib}/%{name}* %dir %{python2_sitelib}/nb_third_party %{python2_sitelib}/nb_third_party/* %dir %{python2_sitelib}/libnamebench %{python2_sitelib}/libnamebench/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %changelog * Thu Dec 05 2019 Pavel Lisý - 1.3.1-17.3 - Fixed dependency python2-tkinter * Thu Dec 05 2019 Pavel Lisý - 1.3.1-17.2 - Rebuild for EPEL8 * Wed Sep 25 2013 Wei-Lun Chao - 1.3.1-17.1 - Rebuild for Fedora * Fri Jan 29 2010 doiggl@velocitynet.com.au - packaged namebench version 1.3.1 using the buildservice spec file wizard