]>
Commit | Line | Data |
---|---|---|
b52cbdbd | 1 | Summary: Utilities for monitoring your system and processes on your system |
f4a157dd ER |
2 | Summary(de.UTF-8): Utilities zum Ueberwachen Ihres Systems und der Prozesse |
3 | Summary(es.UTF-8): Utilitarios de monitoración de procesos | |
4 | Summary(fr.UTF-8): Utilitaires de surveillance des processus | |
5 | Summary(pl.UTF-8): Narzędzia do monitorowania procesów | |
6 | Summary(pt_BR.UTF-8): Utilitários de monitoração de processos | |
7 | Summary(tr.UTF-8): Süreç izleme araçları | |
d2983712 | 8 | Name: procps |
0913e117 | 9 | Version: 3.3.3 |
7e1ff2c6 | 10 | Release: 2 |
d910449e | 11 | Epoch: 1 |
f9286257 | 12 | License: GPL v2+ |
45f16a11 | 13 | Group: Applications/System |
12ae026b | 14 | Source0: http://gitorious.org/procps/procps/archive-tarball/v%{version}?/%{name}-%{version}.tar.gz |
0913e117 AM |
15 | # Source0-md5: b3a24b00791bc97b62f6952264d7031d |
16 | Source1: %{name}-non-english-man-pages.tar.bz2 | |
14f4fdce | 17 | # Source1-md5: 60d24720b76c10553ed4abf68b76e079 |
9df2e818 | 18 | Source2: top.desktop |
2e6492fa | 19 | Source3: top.png |
20 | Source4: XConsole.sh | |
7e1ff2c6 | 21 | Patch0: %{name}-missing-symbol.patch |
0913e117 AM |
22 | Patch1: %{name}-FILLBUG_backport.patch |
23 | URL: http://gitorious.org/procps/pages/Home | |
f9286257 JB |
24 | BuildRequires: autoconf >= 2.64 |
25 | BuildRequires: automake >= 1:1.11 | |
26 | BuildRequires: gettext-devel >= 0.14.1 | |
27 | BuildRequires: libtool >= 2:2 | |
dfb256ae | 28 | BuildRequires: ncurses-devel >= 5.1 |
f9286257 | 29 | BuildRequires: pkgconfig |
177600bd | 30 | BuildRequires: rpmbuild(macros) >= 1.402 |
12ae026b | 31 | BuildRequires: sed >= 4.0 |
a66677ae | 32 | Requires(post): /sbin/ldconfig |
cfab0591 | 33 | Requires: fileutils |
ea362f1e | 34 | Obsoletes: procps-X11 |
168de4b7 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9e6b678e | 36 | |
fc5aef86 | 37 | %description |
d2eca1e8 | 38 | The procps package contains a set of system utilities which provide |
39 | system information. Procps includes ps, free, skill, snice, tload, | |
756a16a0 | 40 | top, uptime, vmstat, w and watch. The ps command displays a snapshot |
d2eca1e8 | 41 | of running processes. The top command provides a repetitive update of |
42 | the statuses of running processes. The free command displays the | |
43 | amounts of free and used memory on your system. The skill command | |
44 | sends a terminate command (or another specified signal) to a specified | |
45 | set of processes. The snice command is used to change the scheduling | |
46 | priority of specified processes. The tload command prints a graph of | |
47 | the current system load average to a specified tty. The uptime command | |
48 | displays the current time, how long the system has been running, how | |
49 | many users are logged on and system load averages for the past one, | |
50 | five and fifteen minutes. The w command displays a list of the users | |
51 | who are currently logged on and what they're running. The watch | |
52 | program watches a running program. The vmstat command displays virtual | |
53 | memory statistics about processes, memory, paging, block I/O, traps | |
6dc78c4a | 54 | and CPU activity. |
fc5aef86 | 55 | |
400f831f JR |
56 | %description -l de.UTF-8 |
57 | Das procps-Paket enthält System-Utilities, die Systeminformationen | |
58 | anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime, | |
d2eca1e8 | 59 | vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top |
400f831f | 60 | zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an, |
d2eca1e8 | 61 | wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill |
62 | schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal) | |
400f831f | 63 | an angegebene Prozesse. Snice ändert die Priorität von angegebenen |
d2eca1e8 | 64 | Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung |
65 | an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User | |
66 | eingeloggt sind, und die Auslastungswerte der letzten Minute, der | |
67 | letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der | |
68 | User an, die gerade eingeloggt sind, und welches Programm sie | |
400f831f JR |
69 | benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher, |
70 | Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität. | |
fc5aef86 | 71 | |
400f831f | 72 | %description -l es.UTF-8 |
ea362f1e | 73 | Un paquete de utilitarios que relatan el estado del sistema. Se da |
400f831f JR |
74 | énfasis a los procesos en ejecución, total de memoria disponible y a |
75 | los usuarios que están "logados" en el sistema. | |
ea362f1e | 76 | |
400f831f JR |
77 | %description -l fr.UTF-8 |
78 | Paquetage d'utilitaires donnant des informations sur l'état du | |
79 | système, dont les états des processus en cours, le total de mémoire | |
80 | disponible, et les utilisateurs loggés. | |
fc5aef86 | 81 | |
400f831f JR |
82 | %description -l pl.UTF-8 |
83 | Pakiet zawiera podstawowe narzędzia do monitorowania pracy systemu. | |
84 | Dzięki tym programom będziesz mógł na bieżąco kontrolować jakie | |
85 | procesy są w danej chwili uruchomione, ilość wolnej pamięci, kto jest | |
86 | w danej chwili zalogowany, jakie jest aktualne obciążenie systemu itp. | |
fc5aef86 | 87 | |
400f831f JR |
88 | %description -l pt_BR.UTF-8 |
89 | Um pacote de utilitários que relatam o estado do sistema. É dado | |
90 | ênfase aos processos em execução, total de memória disponível e aos | |
91 | usuários que estão logados no sistema. | |
ea362f1e | 92 | |
400f831f JR |
93 | %description -l tr.UTF-8 |
94 | Sistemin durumunu rapor eden araçlar paketidir. Koşan süreçlerin | |
95 | durumunu, kullanılabilir bellek miktarını, ve o an için sisteme girmiş | |
96 | kullanıcıları bildirir. | |
fc5aef86 | 97 | |
9715011d JB |
98 | %package devel |
99 | Summary: libproc header files | |
f4a157dd | 100 | Summary(pl.UTF-8): Pliki nagłówkowe libproc |
9715011d JB |
101 | License: LGPL |
102 | Group: Development/Libraries | |
4bde6177 | 103 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9715011d JB |
104 | |
105 | %description devel | |
106 | libproc header files. | |
107 | ||
400f831f JR |
108 | %description devel -l pl.UTF-8 |
109 | Pliki nagłówkowe biblioteki libproc. | |
9715011d JB |
110 | |
111 | %package static | |
112 | Summary: Static libproc library | |
f4a157dd | 113 | Summary(pl.UTF-8): Statyczna biblioteka libproc |
9715011d JB |
114 | License: LGPL |
115 | Group: Development/Libraries | |
4bde6177 | 116 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
9715011d JB |
117 | |
118 | %description static | |
119 | Static version of libproc library. | |
120 | ||
400f831f | 121 | %description static -l pl.UTF-8 |
9715011d JB |
122 | Statyczna wersja biblioteki libproc. |
123 | ||
fc5aef86 | 124 | %prep |
12ae026b ER |
125 | %setup -qc |
126 | mv %{name}-%{name}/* . | |
7e1ff2c6 | 127 | %patch0 -p1 |
0913e117 | 128 | %patch1 -p1 |
a8cff2af | 129 | |
12ae026b | 130 | %{__sed} -i -e "s#usrbin_execdir=.*#usrbin_execdir='\${bindir}'#g" configure.ac |
f9286257 | 131 | # gettextize workaround |
12ae026b | 132 | %{__sed} -i -e '/po\/Makefile.in/d' configure.ac |
fc5aef86 | 133 | |
134 | %build | |
12ae026b | 135 | ./po/update-potfiles |
f9286257 | 136 | %{__gettextize} |
a8cff2af | 137 | %{__libtoolize} |
0913e117 | 138 | %{__aclocal} -I m4 |
a8cff2af AM |
139 | %{__autoconf} |
140 | %{__autoheader} | |
141 | %{__automake} | |
142 | %configure \ | |
12ae026b | 143 | CPPFLAGS="-I/usr/include/ncurses" \ |
0913e117 AM |
144 | --sbindir=/sbin \ |
145 | --enable-skill \ | |
146 | --enable-oom \ | |
147 | --enable-w-from | |
a8cff2af | 148 | %{__make} |
fc5aef86 | 149 | |
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
4e1ebfb8 | 152 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/%{_lib},/bin} |
d2983712 | 153 | |
fcb3e261 | 154 | %{__make} install \ |
4e1ebfb8 JB |
155 | DESTDIR=$RPM_BUILD_ROOT \ |
156 | pkgconfigdir=%{_pkgconfigdir} | |
48555180 | 157 | |
2d0c0dbd | 158 | mv $RPM_BUILD_ROOT%{_bindir}/ps $RPM_BUILD_ROOT/bin/ps |
0913e117 AM |
159 | |
160 | install -d $RPM_BUILD_ROOT/%{_lib} | |
161 | mv -f $RPM_BUILD_ROOT%{_libdir}/libprocps.so.* $RPM_BUILD_ROOT/%{_lib} | |
162 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libprocps.so.*.*.*) \ | |
163 | $RPM_BUILD_ROOT%{_libdir}/libprocps.so | |
fc5aef86 | 164 | |
c1e7b724 | 165 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} |
2e6492fa | 166 | install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir} |
167 | install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/XConsole | |
d2983712 | 168 | |
4e1ebfb8 JB |
169 | # PLD: kill is packaged in util-linux |
170 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/kill | |
171 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/kill.1 | |
4e1ebfb8 | 172 | # obsoleted by pkg-config |
0913e117 | 173 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libprocps.la |
4e1ebfb8 JB |
174 | # packaged as doc |
175 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/procps-ng | |
0a3a887a | 176 | |
bcfa7052 | 177 | bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
4e1ebfb8 JB |
178 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1 |
179 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README-procps-non-english-man-pages | |
6732c11b | 180 | |
9715011d JB |
181 | %clean |
182 | rm -rf $RPM_BUILD_ROOT | |
fc5aef86 | 183 | |
177600bd | 184 | %post -p /sbin/ldconfig |
fc5aef86 | 185 | %postun -p /sbin/ldconfig |
186 | ||
187 | %files | |
d2983712 | 188 | %defattr(644,root,root,755) |
0913e117 AM |
189 | %doc AUTHORS Documentation/{BUGS,FAQ,TODO} NEWS README top/README.top |
190 | %attr(755,root,root) /%{_lib}/libprocps.so.*.* | |
191 | %ghost %attr(755,root,root) /%{_lib}/libprocps.so.0 | |
4e1ebfb8 | 192 | %attr(755,root,root) /bin/ps |
9e6b678e | 193 | %attr(755,root,root) /sbin/sysctl |
4e1ebfb8 JB |
194 | %attr(755,root,root) %{_bindir}/XConsole |
195 | %attr(755,root,root) %{_bindir}/free | |
196 | %attr(755,root,root) %{_bindir}/pgrep | |
197 | %attr(755,root,root) %{_bindir}/pkill | |
198 | %attr(755,root,root) %{_bindir}/pmap | |
199 | %attr(755,root,root) %{_bindir}/pwdx | |
200 | %attr(755,root,root) %{_bindir}/skill | |
201 | %attr(755,root,root) %{_bindir}/slabtop | |
202 | %attr(755,root,root) %{_bindir}/snice | |
203 | %attr(755,root,root) %{_bindir}/tload | |
204 | %attr(755,root,root) %{_bindir}/top | |
205 | %attr(755,root,root) %{_bindir}/uptime | |
206 | %attr(755,root,root) %{_bindir}/vmstat | |
207 | %attr(755,root,root) %{_bindir}/w | |
208 | %attr(755,root,root) %{_bindir}/watch | |
c1e7b724 | 209 | %{_desktopdir}/top.desktop |
2e6492fa | 210 | %{_pixmapsdir}/top.png |
4e1ebfb8 JB |
211 | %{_mandir}/man1/free.1* |
212 | %{_mandir}/man1/pgrep.1* | |
213 | %{_mandir}/man1/pkill.1* | |
214 | %{_mandir}/man1/pmap.1* | |
215 | %{_mandir}/man1/ps.1* | |
216 | %{_mandir}/man1/pwdx.1* | |
217 | %{_mandir}/man1/skill.1* | |
218 | %{_mandir}/man1/slabtop.1* | |
219 | %{_mandir}/man1/snice.1* | |
220 | %{_mandir}/man1/tload.1* | |
221 | %{_mandir}/man1/top.1* | |
222 | %{_mandir}/man1/uptime.1* | |
223 | %{_mandir}/man1/w.1* | |
224 | %{_mandir}/man1/watch.1* | |
225 | %{_mandir}/man5/sysctl.conf.5* | |
226 | %{_mandir}/man8/sysctl.8* | |
227 | %{_mandir}/man8/vmstat.8* | |
228 | %lang(cs) %{_mandir}/cs/man[158]/* | |
229 | %lang(de) %{_mandir}/de/man[158]/* | |
230 | %lang(es) %{_mandir}/es/man[158]/* | |
231 | %lang(fi) %{_mandir}/fi/man[158]/* | |
232 | %lang(fr) %{_mandir}/fr/man[158]/* | |
233 | %lang(hu) %{_mandir}/hu/man[158]/* | |
234 | %lang(it) %{_mandir}/it/man[158]/* | |
235 | %lang(ja) %{_mandir}/ja/man[158]/* | |
236 | %lang(ko) %{_mandir}/ko/man[158]/* | |
237 | %lang(nl) %{_mandir}/nl/man[158]/* | |
238 | %lang(pl) %{_mandir}/pl/man[158]/* | |
9715011d JB |
239 | |
240 | %files devel | |
241 | %defattr(644,root,root,755) | |
0913e117 | 242 | %attr(755,root,root) %{_libdir}/libprocps.so |
9715011d | 243 | %{_includedir}/proc |
0913e117 | 244 | %{_pkgconfigdir}/libprocps.pc |
9715011d JB |
245 | |
246 | %files static | |
247 | %defattr(644,root,root,755) | |
0913e117 | 248 | %{_libdir}/libprocps.a |