1 Summary: uWSGI top-like application
6 Group: Networking/Admin
7 Source0: https://pypi.python.org/packages/source/u/uwsgitop/%{name}-%{version}.tar.gz
8 # Source0-md5: a43089c26efa6fe8d8f750d16680449d
9 URL: https://github.com/unbit/uwsgitop
10 BuildRequires: sed >= 4.0
11 Requires: python-modules
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 uwsgitop is a top-like command that uses the uWSGI stats server.
21 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' uwsgitop
26 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{_bindir}
30 install uwsgitop $RPM_BUILD_ROOT%{_bindir}
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/uwsgitop