3 Summary: Utilities for monitoring your system and processes on your system
4 Summary(de.UTF-8): Utilities zum Ueberwachen Ihres Systems und der Prozesse
5 Summary(es.UTF-8): Utilitarios de monitoración de procesos
6 Summary(fr.UTF-8): Utilitaires de surveillance des processus
7 Summary(pl.UTF-8): Narzędzia do monitorowania procesów
8 Summary(pt_BR.UTF-8): Utilitários de monitoração de processos
9 Summary(tr.UTF-8): Süreç izleme araçları
12 Release: 1.%{snap}.%{rel}
15 Group: Applications/System
16 Source0: http://gitorious.org/procps/procps/archive-tarball/master#/%{name}-%{snap}.tar.gz
17 # Source0-md5: 01acfb2f9a2d832c95d9abbedbdbe3ce
18 Source1: http://atos.wmid.amu.edu.pl/~undefine/%{name}-non-english-man-pages.tar.bz2
19 # Source1-md5: 60d24720b76c10553ed4abf68b76e079
23 Patch2: %{name}-FILLBUG_backport.patch
24 # http://www.nsa.gov/selinux/patches/procps-selinux.patch.gz
25 Patch3: %{name}-selinux.patch
26 URL: http://gitorious.org/procps/
27 BuildRequires: ncurses-devel >= 5.1
28 BuildRequires: rpmbuild(macros) >= 1.402
29 Requires(post): /sbin/ldconfig
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The procps package contains a set of system utilities which provide
36 system information. Procps includes ps, free, skill, snice, tload,
37 top, uptime, vmstat, w and watch. The ps command displays a snapshot
38 of running processes. The top command provides a repetitive update of
39 the statuses of running processes. The free command displays the
40 amounts of free and used memory on your system. The skill command
41 sends a terminate command (or another specified signal) to a specified
42 set of processes. The snice command is used to change the scheduling
43 priority of specified processes. The tload command prints a graph of
44 the current system load average to a specified tty. The uptime command
45 displays the current time, how long the system has been running, how
46 many users are logged on and system load averages for the past one,
47 five and fifteen minutes. The w command displays a list of the users
48 who are currently logged on and what they're running. The watch
49 program watches a running program. The vmstat command displays virtual
50 memory statistics about processes, memory, paging, block I/O, traps
53 %description -l de.UTF-8
54 Das procps-Paket enthält System-Utilities, die Systeminformationen
55 anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime,
56 vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top
57 zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an,
58 wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill
59 schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal)
60 an angegebene Prozesse. Snice ändert die Priorität von angegebenen
61 Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung
62 an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User
63 eingeloggt sind, und die Auslastungswerte der letzten Minute, der
64 letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der
65 User an, die gerade eingeloggt sind, und welches Programm sie
66 benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher,
67 Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität.
69 %description -l es.UTF-8
70 Un paquete de utilitarios que relatan el estado del sistema. Se da
71 énfasis a los procesos en ejecución, total de memoria disponible y a
72 los usuarios que están "logados" en el sistema.
74 %description -l fr.UTF-8
75 Paquetage d'utilitaires donnant des informations sur l'état du
76 système, dont les états des processus en cours, le total de mémoire
77 disponible, et les utilisateurs loggés.
79 %description -l pl.UTF-8
80 Pakiet zawiera podstawowe narzędzia do monitorowania pracy systemu.
81 Dzięki tym programom będziesz mógł na bieżąco kontrolować jakie
82 procesy są w danej chwili uruchomione, ilość wolnej pamięci, kto jest
83 w danej chwili zalogowany, jakie jest aktualne obciążenie systemu itp.
85 %description -l pt_BR.UTF-8
86 Um pacote de utilitários que relatam o estado do sistema. É dado
87 ênfase aos processos em execução, total de memória disponível e aos
88 usuários que estão logados no sistema.
90 %description -l tr.UTF-8
91 Sistemin durumunu rapor eden araçlar paketidir. Koşan süreçlerin
92 durumunu, kullanılabilir bellek miktarını, ve o an için sisteme girmiş
93 kullanıcıları bildirir.
96 Summary: libproc header files
97 Summary(pl.UTF-8): Pliki nagłówkowe libproc
99 Group: Development/Libraries
100 Requires: %{name} = %{epoch}:%{version}-%{release}
103 libproc header files.
105 %description devel -l pl.UTF-8
106 Pliki nagłówkowe biblioteki libproc.
109 Summary: Static libproc library
110 Summary(pl.UTF-8): Statyczna biblioteka libproc
112 Group: Development/Libraries
113 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
116 Static version of libproc library.
118 %description static -l pl.UTF-8
119 Statyczna wersja biblioteki libproc.
122 %setup -q -n %{name}-%{name}
127 sed -i -e "s#usrbin_execdir=.*#usrbin_execdir='\${bindir}'#g" configure.ac
136 CPPFLAGS="-I%{_includedir}/ncurses" \
141 rm -rf $RPM_BUILD_ROOT
142 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/%{_lib},/bin}
145 DESTDIR=$RPM_BUILD_ROOT \
146 pkgconfigdir=%{_pkgconfigdir}
148 mv $RPM_BUILD_ROOT%{_bindir}/ps $RPM_BUILD_ROOT/bin/ps
149 mv $RPM_BUILD_ROOT%{_libdir}/libproc-ng-*.so $RPM_BUILD_ROOT/%{_lib}
150 ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libproc-ng-*.so) \
151 $RPM_BUILD_ROOT%{_libdir}/libproc-ng.so
152 ln -snf libproc-ng.so $RPM_BUILD_ROOT%{_libdir}/libproc.so
153 ln -snf libproc-ng.a $RPM_BUILD_ROOT%{_libdir}/libproc.a
155 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
156 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
157 install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/XConsole
159 # PLD: kill is packaged in util-linux
160 %{__rm} $RPM_BUILD_ROOT%{_bindir}/kill
161 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/kill.1
162 # PLD: packaged in rc-scripts
163 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/sysctl.conf
164 # obsoleted by pkg-config
165 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libproc-ng.la
167 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/procps-ng
169 bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
170 %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1
171 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README-procps-non-english-man-pages
174 rm -rf $RPM_BUILD_ROOT
176 %post -p /sbin/ldconfig
177 %postun -p /sbin/ldconfig
180 %defattr(644,root,root,755)
181 %doc AUTHORS BUGS FAQ NEWS README README.top TODO
182 %attr(755,root,root) /%{_lib}/libproc-ng-3.3.0.so
183 %attr(755,root,root) /bin/ps
184 %attr(755,root,root) /sbin/sysctl
185 %attr(755,root,root) %{_bindir}/XConsole
186 %attr(755,root,root) %{_bindir}/free
187 %attr(755,root,root) %{_bindir}/pgrep
188 %attr(755,root,root) %{_bindir}/pkill
189 %attr(755,root,root) %{_bindir}/pmap
190 %attr(755,root,root) %{_bindir}/pwdx
191 %attr(755,root,root) %{_bindir}/skill
192 %attr(755,root,root) %{_bindir}/slabtop
193 %attr(755,root,root) %{_bindir}/snice
194 %attr(755,root,root) %{_bindir}/tload
195 %attr(755,root,root) %{_bindir}/top
196 %attr(755,root,root) %{_bindir}/uptime
197 %attr(755,root,root) %{_bindir}/vmstat
198 %attr(755,root,root) %{_bindir}/w
199 %attr(755,root,root) %{_bindir}/watch
200 %{_desktopdir}/top.desktop
201 %{_pixmapsdir}/top.png
202 %{_mandir}/man1/free.1*
203 %{_mandir}/man1/pgrep.1*
204 %{_mandir}/man1/pkill.1*
205 %{_mandir}/man1/pmap.1*
206 %{_mandir}/man1/ps.1*
207 %{_mandir}/man1/pwdx.1*
208 %{_mandir}/man1/skill.1*
209 %{_mandir}/man1/slabtop.1*
210 %{_mandir}/man1/snice.1*
211 %{_mandir}/man1/tload.1*
212 %{_mandir}/man1/top.1*
213 %{_mandir}/man1/uptime.1*
215 %{_mandir}/man1/watch.1*
216 %{_mandir}/man5/sysctl.conf.5*
217 %{_mandir}/man8/sysctl.8*
218 %{_mandir}/man8/vmstat.8*
219 %lang(cs) %{_mandir}/cs/man[158]/*
220 %lang(de) %{_mandir}/de/man[158]/*
221 %lang(es) %{_mandir}/es/man[158]/*
222 %lang(fi) %{_mandir}/fi/man[158]/*
223 %lang(fr) %{_mandir}/fr/man[158]/*
224 %lang(hu) %{_mandir}/hu/man[158]/*
225 %lang(it) %{_mandir}/it/man[158]/*
226 %lang(ja) %{_mandir}/ja/man[158]/*
227 %lang(ko) %{_mandir}/ko/man[158]/*
228 %lang(nl) %{_mandir}/nl/man[158]/*
229 %lang(pl) %{_mandir}/pl/man[158]/*
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/libproc.so
234 %attr(755,root,root) %{_libdir}/libproc-ng.so
236 %{_pkgconfigdir}/libproc-ng.pc
239 %defattr(644,root,root,755)
241 %{_libdir}/libproc-ng.a