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