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