]> git.pld-linux.org Git - packages/uwsgitop.git/blob - uwsgitop.spec
Version: 0.8
[packages/uwsgitop.git] / uwsgitop.spec
1 Summary:        uWSGI top-like application
2 Name:           uwsgitop
3 Version:        0.8
4 Release:        1
5 License:        MIT
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
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 uwsgitop is a top-like command that uses the uWSGI stats server.
17
18 %prep
19 %setup -q
20
21 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' uwsgitop
22
23 %build
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27
28 install -d $RPM_BUILD_ROOT%{_bindir}
29
30 install uwsgitop $RPM_BUILD_ROOT%{_bindir}
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc README
38 %attr(755,root,root) %{_bindir}/uwsgitop
This page took 0.080695 seconds and 4 git commands to generate.