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