]> git.pld-linux.org Git - packages/atop.git/blob - atop.spec
aaa62b6f017e1b6525b288227e0ae948dfbd21c0
[packages/atop.git] / atop.spec
1 Summary:        AT Computing System and Process Monitor
2 Summary(pl):    Monitor obci±¿enia systemu alternatywny dla programu top
3 Name:           atop
4 Version:        1.10
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://ftp.atcomputing.nl/pub/tools/linux/%{name}-%{version}.tar.gz
9 # Source0-md5:  9d7cce27a8d10b22fe884e0b1bfd88a2
10 Patch0:         %{name}-acct-alpha.patch
11 URL:            ftp://ftp.atcomputing.nl/pub/tools/linux/
12 BuildRequires:  ncurses-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The program atop is an interactive monitor to view the load on a
17 Linux-system. It shows the occupation of the most critical
18 hardware-resources (from a performance point of view) on system-level,
19 i.e. cpu, memory, disk and network. It also shows which processes are
20 responsible for the indicated load (again cpu-, memory-, disk- and
21 network-load on process-level).
22
23 %description -l pl
24 Program atop to interaktywny monitor s³u¿±cy do obserwacji obci±¿enia
25 systemu Linuksowego. Pokazuje zajêto¶æ najbardziej krytycznych dla
26 funkcjonowania systemu zasobów (z wydajno¶ciowego punktu widzenia) na
27 poziomie systemu, np. procesora, pamiêci, dysków czy sieci. Pokazuje
28 równie¿ które procesy s± odpowiedzialne za generowane obci±¿enie
29 (znów: na poziomie procesora, pamiêci, dysków czy sieci).
30
31 %prep
32 %setup -q
33 %patch -p1
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d  $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
43
44 install man/* $RPM_BUILD_ROOT%{_mandir}/man1/
45 install atop $RPM_BUILD_ROOT%{_bindir}/atop
46
47 %clean
48 rm -rf    $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README
53 %attr(755,root,root) %{_bindir}/atop
54 %{_mandir}/man1/atop.1*
This page took 0.084363 seconds and 2 git commands to generate.