]> git.pld-linux.org Git - packages/apache-top.git/blame - apache-top.spec
works with py 2.4 according to homepage
[packages/apache-top.git] / apache-top.spec
CommitLineData
fcb908bc 1Summary: Provides real-time display of the active processes from a remote Apache HTTP server
50937768
AM
2Name: apache-top
3Version: 0.1
4# date when fetched from git
15bd233b 5Release: 0.20140604.2
50937768
AM
6License: GPL v2
7Group: Applications/System
15bd233b
AM
8Source0: http://www.isartor.org/w/images/3/39/Apache-top.py
9# Source0-md5: 4843daed2cbac7346c31d6cf0fcf6c1b
10URL: http://www.isartor.org/wiki/Monitor_you_Apache_processes
1e3b8b7f 11BuildRequires: python-modules >= 1:2.4
50937768
AM
12BuildRequires: rpm-pythonprov
13BuildRequires: rpmbuild(macros) >= 1.219
b40be58c 14BuildRequires: sed >= 4.0
1e3b8b7f 15Requires: python-modules
50937768
AM
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20apache-top provides real-time display of the active processes from a
fcb908bc 21remote Apache HTTP server. It's like the top Linux command.
50937768
AM
22
23With apache-top you can get:
fcb908bc
ER
24- The active Apache processes with their associated PID, the status,
25 the seconds being active, the CPU usage, the asociated VirtualHost,
26 the accessing ip and the request (POST or GET, the file being accessed
27 and the used protocol)
28- The server uptime and the last time it was restarted
29- The CPU usage
30- Requests by second, Kb by second and the average Kb by request
31- Number of active and inactive processes
32- A graph with the inactive and active processes and their status
50937768
AM
33
34%prep
fcb908bc 35%setup -qcT
50937768
AM
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_bindir}
fcb908bc 40install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
b40be58c 41%{__sed} -i -e '1s,^#!.*python,#!%{__python},' $RPM_BUILD_ROOT%{_bindir}/%{name}
50937768
AM
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%attr(755,root,root) %{_bindir}/apache-top
This page took 0.06562 seconds and 4 git commands to generate.