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: ba165eebdbeb4ea2dd43acd0d8d3e696
18 Source1: http://atos.wmid.amu.edu.pl/~undefine/%{name}-non-english-man-pages.tar.bz2
19 # Source1-md5: 60d24720b76c10553ed4abf68b76e079
23 Patch0: %{name}-make.patch
24 Patch2: %{name}-FILLBUG_backport.patch
25 # http://www.nsa.gov/selinux/patches/procps-selinux.patch.gz
26 Patch3: %{name}-selinux.patch
27 Patch4: proc-err.patch
28 URL: http://gitorious.org/procps/
29 BuildRequires: ncurses-devel >= 5.1
30 BuildRequires: rpmbuild(macros) >= 1.402
31 Requires(post): /sbin/ldconfig
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 The procps package contains a set of system utilities which provide
38 system information. Procps includes ps, free, skill, snice, tload,
39 top, uptime, vmstat, w and watch. The ps command displays a snapshot
40 of running processes. The top command provides a repetitive update of
41 the statuses of running processes. The free command displays the
42 amounts of free and used memory on your system. The skill command
43 sends a terminate command (or another specified signal) to a specified
44 set of processes. The snice command is used to change the scheduling
45 priority of specified processes. The tload command prints a graph of
46 the current system load average to a specified tty. The uptime command
47 displays the current time, how long the system has been running, how
48 many users are logged on and system load averages for the past one,
49 five and fifteen minutes. The w command displays a list of the users
50 who are currently logged on and what they're running. The watch
51 program watches a running program. The vmstat command displays virtual
52 memory statistics about processes, memory, paging, block I/O, traps
55 %description -l de.UTF-8
56 Das procps-Paket enthält System-Utilities, die Systeminformationen
57 anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime,
58 vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top
59 zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an,
60 wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill
61 schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal)
62 an angegebene Prozesse. Snice ändert die Priorität von angegebenen
63 Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung
64 an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User
65 eingeloggt sind, und die Auslastungswerte der letzten Minute, der
66 letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der
67 User an, die gerade eingeloggt sind, und welches Programm sie
68 benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher,
69 Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität.
71 %description -l es.UTF-8
72 Un paquete de utilitarios que relatan el estado del sistema. Se da
73 énfasis a los procesos en ejecución, total de memoria disponible y a
74 los usuarios que están "logados" en el sistema.
76 %description -l fr.UTF-8
77 Paquetage d'utilitaires donnant des informations sur l'état du
78 système, dont les états des processus en cours, le total de mémoire
79 disponible, et les utilisateurs loggés.
81 %description -l pl.UTF-8
82 Pakiet zawiera podstawowe narzędzia do monitorowania pracy systemu.
83 Dzięki tym programom będziesz mógł na bieżąco kontrolować jakie
84 procesy są w danej chwili uruchomione, ilość wolnej pamięci, kto jest
85 w danej chwili zalogowany, jakie jest aktualne obciążenie systemu itp.
87 %description -l pt_BR.UTF-8
88 Um pacote de utilitários que relatam o estado do sistema. É dado
89 ênfase aos processos em execução, total de memória disponível e aos
90 usuários que estão logados no sistema.
92 %description -l tr.UTF-8
93 Sistemin durumunu rapor eden araçlar paketidir. Koşan süreçlerin
94 durumunu, kullanılabilir bellek miktarını, ve o an için sisteme girmiş
95 kullanıcıları bildirir.
98 Summary: libproc header files
99 Summary(pl.UTF-8): Pliki nagłówkowe libproc
101 Group: Development/Libraries
102 Requires: %{name} = %{epoch}:%{version}-%{release}
105 libproc header files.
107 %description devel -l pl.UTF-8
108 Pliki nagłówkowe biblioteki libproc.
111 Summary: Static libproc library
112 Summary(pl.UTF-8): Statyczna biblioteka libproc
114 Group: Development/Libraries
115 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
118 Static version of libproc library.
120 %description static -l pl.UTF-8
121 Statyczna wersja biblioteki libproc.
124 %setup -q -n %{name}-%{name}
132 %{__make} proc/libproc.a \
134 ALL_CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -ffast-math" \
135 LDFLAGS="%{rpmcflags} %{rpmldflags}" \
137 %{__mv} proc/libproc.a .
141 CURSES="-lncurses -ltinfo" \
143 ALL_CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -ffast-math" \
144 LDFLAGS="%{rpmcflags} %{rpmldflags}" \
145 LIBPROC="proc/libproc-%{version}.so"
148 rm -rf $RPM_BUILD_ROOT
149 install -d $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir},%{_desktopdir},%{_pixmapsdir}}
153 DESTDIR=$RPM_BUILD_ROOT \
155 install="install -D" \
158 ln -sf /%{_lib}/libproc-%{version}.so \
159 $RPM_BUILD_ROOT%{_libdir}/libproc.so
161 install libproc.a $RPM_BUILD_ROOT%{_libdir}
162 install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc
163 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
164 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
165 install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/XConsole
167 rm -f $RPM_BUILD_ROOT/bin/kill
168 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{kill,oldps}.1
169 rm -f $RPM_BUILD_ROOT%{_bindir}/{oldps,kill}
171 bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
172 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1
173 rm -f $RPM_BUILD_ROOT%{_mandir}/README-procps-non-english-man-pages
176 rm -rf $RPM_BUILD_ROOT
178 %post -p /sbin/ldconfig
179 %postun -p /sbin/ldconfig
182 %defattr(644,root,root,755)
184 %attr(755,root,root) /%{_lib}/libproc*.*so
185 %attr(755,root,root) /bin/*
186 %attr(755,root,root) /sbin/sysctl
187 %attr(755,root,root) %{_bindir}/*
188 %{_desktopdir}/top.desktop
189 %{_pixmapsdir}/top.png
191 %lang(cs) %{_mandir}/cs/man*/*
192 %lang(de) %{_mandir}/de/man*/*
193 %lang(es) %{_mandir}/es/man*/*
194 %lang(fi) %{_mandir}/fi/man*/*
195 %lang(fr) %{_mandir}/fr/man*/*
196 %lang(hu) %{_mandir}/hu/man*/*
197 %lang(it) %{_mandir}/it/man*/*
198 %lang(ja) %{_mandir}/ja/man*/*
199 %lang(ko) %{_mandir}/ko/man*/*
200 %lang(nl) %{_mandir}/nl/man*/*
201 %lang(pl) %{_mandir}/pl/man*/*
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/libproc.so
209 %defattr(644,root,root,755)