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