]> git.pld-linux.org Git - packages/procps.git/blob - procps.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/procps.git] / procps.spec
1 Summary:        Utilities for monitoring your system and processes on your system
2 Summary(de):    Utilities zum Ueberwachen Ihres Systems und der Prozesse
3 Summary(es):    Utilitarios de monitoración de procesos
4 Summary(fr):    Utilitaires de surveillance des processus
5 Summary(pl):    Narzêdzia do monitorowania procesów
6 Summary(pt_BR): Utilitários de monitoração de processos
7 Summary(tr):    Süreç izleme araçlarý
8 Name:           procps
9 Version:        3.1.8
10 Release:        1
11 License:        GPL
12 Group:          Applications/System
13 Source0:        http://procps.sourceforge.net/%{name}-%{version}.tar.gz
14 Source1:        %{name}-non-english-man-pages.tar.bz2
15 Patch0:         %{name}-make.patch
16 Patch1:         %{name}-sysctl_stdin.patch
17 URL:            http://procps.sourceforge.net/
18 BuildRequires:  ncurses-devel >= 5.1
19 PreReq:         fileutils
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      procps-X11
22
23 %description
24 The procps package contains a set of system utilities which provide
25 system information. Procps includes ps, free, skill, snice, tload,
26 top, uptime, vmstat, w and watch. The ps command displays a snapshot
27 of running processes. The top command provides a repetitive update of
28 the statuses of running processes. The free command displays the
29 amounts of free and used memory on your system. The skill command
30 sends a terminate command (or another specified signal) to a specified
31 set of processes. The snice command is used to change the scheduling
32 priority of specified processes. The tload command prints a graph of
33 the current system load average to a specified tty. The uptime command
34 displays the current time, how long the system has been running, how
35 many users are logged on and system load averages for the past one,
36 five and fifteen minutes. The w command displays a list of the users
37 who are currently logged on and what they're running. The watch
38 program watches a running program. The vmstat command displays virtual
39 memory statistics about processes, memory, paging, block I/O, traps
40 and CPU activity.
41
42 %description -l de
43 Das procps-Paket enthält System-Utilities, die Systeminformationen
44 anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime,
45 vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top
46 zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an,
47 wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill
48 schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal)
49 an angegebene Prozesse. Snice ändert die Priorität von angegebenen
50 Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung
51 an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User
52 eingeloggt sind, und die Auslastungswerte der letzten Minute, der
53 letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der
54 User an, die gerade eingeloggt sind, und welches Programm sie
55 benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher,
56 Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität.
57
58 %description -l es
59 Un paquete de utilitarios que relatan el estado del sistema. Se da
60 énfasis a los procesos en ejecución, total de memoria disponible y a
61 los usuarios que están "logados" en el sistema.
62
63 %description -l fr
64 Paquetage d'utilitaires donnant des informations sur l'état du
65 système, dont les états des processus en cours, le total de mémoire
66 disponible, et les utilisateurs loggés.
67
68 %description -l pl
69 Pakiet zawiera podstawowe narzêdzia do monitorowania pracy systemu.
70 Dziêki tym programom bêdziesz móg³ na bie¿±co kontrolowaæ jakie
71 procesy s± w danej chwili uruchomione, ilo¶æ wolnej pamiêci, kto jest
72 w danej chwili zalogowany, jakie jest aktualne obci±¿enie systemu itp.
73
74 %description -l pt_BR
75 Um pacote de utilitários que relatam o estado do sistema. É dado
76 ênfase aos processos em execução, total de memória disponível e aos
77 usuários que estão logados no sistema.
78
79 %description -l tr
80 Sistemin durumunu rapor eden araçlar paketidir. Koþan süreçlerin
81 durumunu, kullanýlabilir bellek miktarýný, ve o an için sisteme girmiþ
82 kullanýcýlarý bildirir.
83
84 %package devel
85 Summary:        libproc header files
86 Summary(pl):    Pliki nag³ówkowe libproc
87 License:        LGPL
88 Group:          Development/Libraries
89 Requires:       %{name} = %{version}
90
91 %description devel
92 libproc header files.
93
94 %description devel -l pl
95 Pliki nag³ówkowe biblioteki libproc.
96
97 %package static
98 Summary:        Static libproc library
99 Summary(pl):    Statyczna biblioteka libproc
100 License:        LGPL
101 Group:          Development/Libraries
102 Requires:       %{name}-devel = %{version}
103
104 %description static
105 Static version of libproc library.
106
107 %description static -l pl
108 Statyczna wersja biblioteki libproc.
109
110 %prep
111 %setup -q
112 %patch0 -p1
113 %patch1 -p1
114
115 %build
116 %{__make} \
117         CC="%{__cc}" \
118         OPT="%{rpmcflags}" \
119         LDFLAGS="%{rpmldflags}" \
120         SHARED=1
121
122 %{__make} \
123         CC="%{__cc}" \
124         OPT="%{rpmcflags}" \
125         LDFLAGS="%{rpmldflags}" \
126         SHARED=0
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130 install -d $RPM_BUILD_ROOT/{bin,sbin,lib} \
131         $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir}} \
132         $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5,8}}
133
134 %{__make} install \
135         DESTDIR=$RPM_BUILD_ROOT \
136         install=install
137
138 install proc/*.a $RPM_BUILD_ROOT%{_libdir}
139 install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc
140
141 rm -f $RPM_BUILD_ROOT/bin/kill
142 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{snice,kill,oldps}.1
143 rm -f $RPM_BUILD_ROOT%{_bindir}/{oldps,kill}
144
145 echo ".so skill.1" > $RPM_BUILD_ROOT%{_mandir}/man1/snice.1
146
147 bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
148 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1
149
150 %clean
151 rm -rf $RPM_BUILD_ROOT
152
153 %post
154 /sbin/ldconfig
155 if [ -f /proc/uptime ] ; then
156         /bin/ps </dev/null >/dev/null 2>&1
157 fi
158 rm -f %{_sysconfdir}/psdevtab %{_sysconfdir}/psdatabase
159
160 %postun -p /sbin/ldconfig
161
162 %files
163 %defattr(644,root,root,755)
164 %doc NEWS BUGS TODO
165 %attr(755,root,root) /lib/libproc.so.*.*
166 %attr(755,root,root) /bin/*
167 %attr(755,root,root) /sbin/sysctl
168 %attr(755,root,root) %{_bindir}/*
169 %{_mandir}/man*/*
170 %lang(cs) %{_mandir}/cs/man*/*
171 %lang(de) %{_mandir}/de/man*/*
172 %lang(es) %{_mandir}/es/man*/*
173 %lang(fi) %{_mandir}/fi/man*/*
174 %lang(fr) %{_mandir}/fr/man*/*
175 %lang(hu) %{_mandir}/hu/man*/*
176 %lang(it) %{_mandir}/it/man*/*
177 %lang(ja) %{_mandir}/ja/man*/*
178 %lang(ko) %{_mandir}/ko/man*/*
179 %lang(nl) %{_mandir}/nl/man*/*
180 %lang(pl) %{_mandir}/pl/man*/*
181
182 %files devel
183 %defattr(644,root,root,755)
184 %attr(755,root,root) /lib/libproc.so
185 %{_includedir}/proc
186
187 %files static
188 %defattr(644,root,root,755)
189 %{_libdir}/libproc.a
This page took 0.032776 seconds and 3 git commands to generate.