2 # _with_selinux - selinux support
4 Summary: Utilities for monitoring your system and processes on your system
5 Summary(de): Utilities zum Ueberwachen Ihres Systems und der Prozesse
6 Summary(es): Utilitarios de monitoración de procesos
7 Summary(fr): Utilitaires de surveillance des processus
8 Summary(pl): Narzêdzia do monitorowania procesów
9 Summary(pt_BR): Utilitários de monitoração de processos
10 Summary(tr): Süreç izleme araçlarý
15 Group: Applications/System
16 Source0: http://procps.sourceforge.net/%{name}-%{version}.tar.gz
17 # Source0-md5: 617e282bf3eefbd1753529aa8df4144f
18 Source1: %{name}-non-english-man-pages.tar.bz2
19 # Source1-md5: f6f441ea8bba8b692649761ebeceb943
20 Patch0: %{name}-make.patch
21 Patch1: %{name}-sysctl_stdin.patch
22 Patch2: %{name}-selinux.patch
23 URL: http://procps.sourceforge.net/
24 BuildRequires: ncurses-devel >= 5.1
25 %{?_with_selinux:BuildRequires: selinux-libs-devel}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The procps package contains a set of system utilities which provide
32 system information. Procps includes ps, free, skill, snice, tload,
33 top, uptime, vmstat, w and watch. The ps command displays a snapshot
34 of running processes. The top command provides a repetitive update of
35 the statuses of running processes. The free command displays the
36 amounts of free and used memory on your system. The skill command
37 sends a terminate command (or another specified signal) to a specified
38 set of processes. The snice command is used to change the scheduling
39 priority of specified processes. The tload command prints a graph of
40 the current system load average to a specified tty. The uptime command
41 displays the current time, how long the system has been running, how
42 many users are logged on and system load averages for the past one,
43 five and fifteen minutes. The w command displays a list of the users
44 who are currently logged on and what they're running. The watch
45 program watches a running program. The vmstat command displays virtual
46 memory statistics about processes, memory, paging, block I/O, traps
50 Das procps-Paket enthält System-Utilities, die Systeminformationen
51 anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime,
52 vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top
53 zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an,
54 wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill
55 schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal)
56 an angegebene Prozesse. Snice ändert die Priorität von angegebenen
57 Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung
58 an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User
59 eingeloggt sind, und die Auslastungswerte der letzten Minute, der
60 letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der
61 User an, die gerade eingeloggt sind, und welches Programm sie
62 benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher,
63 Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität.
66 Un paquete de utilitarios que relatan el estado del sistema. Se da
67 énfasis a los procesos en ejecución, total de memoria disponible y a
68 los usuarios que están "logados" en el sistema.
71 Paquetage d'utilitaires donnant des informations sur l'état du
72 système, dont les états des processus en cours, le total de mémoire
73 disponible, et les utilisateurs loggés.
76 Pakiet zawiera podstawowe narzêdzia do monitorowania pracy systemu.
77 Dziêki tym programom bêdziesz móg³ na bie¿±co kontrolowaæ jakie
78 procesy s± w danej chwili uruchomione, ilo¶æ wolnej pamiêci, kto jest
79 w danej chwili zalogowany, jakie jest aktualne obci±¿enie systemu itp.
82 Um pacote de utilitários que relatam o estado do sistema. É dado
83 ênfase aos processos em execução, total de memória disponível e aos
84 usuários que estão logados no sistema.
87 Sistemin durumunu rapor eden araçlar paketidir. Koþan süreçlerin
88 durumunu, kullanýlabilir bellek miktarýný, ve o an için sisteme girmiþ
89 kullanýcýlarý bildirir.
92 Summary: libproc header files
93 Summary(pl): Pliki nag³ówkowe libproc
95 Group: Development/Libraries
96 Requires: %{name} = %{version}
101 %description devel -l pl
102 Pliki nag³ówkowe biblioteki libproc.
105 Summary: Static libproc library
106 Summary(pl): Statyczna biblioteka libproc
108 Group: Development/Libraries
109 Requires: %{name}-devel = %{version}
112 Static version of libproc library.
114 %description static -l pl
115 Statyczna wersja biblioteki libproc.
121 %{?_with_selinux:%patch2 -p1}
127 LDFLAGS="%{rpmldflags}" \
128 %{?_with_selinux:SELIB="-lselinux"} \
134 LDFLAGS="%{rpmldflags}" \
135 %{?_with_selinux:SELIB="-lselinux"} \
139 rm -rf $RPM_BUILD_ROOT
140 install -d $RPM_BUILD_ROOT/{bin,sbin,lib} \
141 $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir}} \
142 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5,8}}
145 DESTDIR=$RPM_BUILD_ROOT \
148 install proc/*.a $RPM_BUILD_ROOT%{_libdir}
149 install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc
151 rm -f $RPM_BUILD_ROOT/bin/kill
152 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{snice,kill,oldps}.1
153 rm -f $RPM_BUILD_ROOT%{_bindir}/{oldps,kill}
155 echo ".so skill.1" > $RPM_BUILD_ROOT%{_mandir}/man1/snice.1
157 bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
158 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1
161 rm -rf $RPM_BUILD_ROOT
165 if [ -f /proc/uptime ] ; then
166 /bin/ps </dev/null >/dev/null 2>&1
168 rm -f %{_sysconfdir}/psdevtab %{_sysconfdir}/psdatabase
170 %postun -p /sbin/ldconfig
173 %defattr(644,root,root,755)
175 %attr(755,root,root) /lib/libproc.so.*.*
176 %attr(755,root,root) /bin/*
177 %attr(755,root,root) /sbin/sysctl
178 %attr(755,root,root) %{_bindir}/*
180 %lang(cs) %{_mandir}/cs/man*/*
181 %lang(de) %{_mandir}/de/man*/*
182 %lang(es) %{_mandir}/es/man*/*
183 %lang(fi) %{_mandir}/fi/man*/*
184 %lang(fr) %{_mandir}/fr/man*/*
185 %lang(hu) %{_mandir}/hu/man*/*
186 %lang(it) %{_mandir}/it/man*/*
187 %lang(ja) %{_mandir}/ja/man*/*
188 %lang(ko) %{_mandir}/ko/man*/*
189 %lang(nl) %{_mandir}/nl/man*/*
190 %lang(pl) %{_mandir}/pl/man*/*
193 %defattr(644,root,root,755)
194 %attr(755,root,root) /lib/libproc.so
198 %defattr(644,root,root,755)