File speedometer.spec of Package speedometer
# vim: set sw=4 ts=4 et:
# norootforbuild
Name: speedometer
Version: 2.8
Release: 0
Summary: Network Transfer Rate Display
Source: http://excess.org/speedometer/speedometer-%{version}.tar.gz
URL: http://excess.org/speedometer/
Group: Productivity/Networking/Other
License: GNU Lesser General Public License 2.1 or later (LGPL v2.1 or later)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: python python-urwid
BuildArch: noarch
%description
Measure and display the rate of data across a network connection or data being
stored in a file.
%prep
%setup -q
%build
%install
%__install -d "%{buildroot}%{_bindir}"
%__install -m0755 speedometer.py "%{buildroot}%{_bindir}/"
%__ln_s speedometer.py "%{buildroot}%{_bindir}/speedometer"
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%{_bindir}/speedometer
%{_bindir}/speedometer.py