]> git.pld-linux.org Git - packages/procps.git/blame - procps.spec
- up to 20110915
[packages/procps.git] / procps.spec
CommitLineData
e0b579d4
AM
1%define snap 20110915
2%define rel 1
b52cbdbd 3Summary: Utilities for monitoring your system and processes on your system
f4a157dd
ER
4Summary(de.UTF-8): Utilities zum Ueberwachen Ihres Systems und der Prozesse
5Summary(es.UTF-8): Utilitarios de monitoración de procesos
6Summary(fr.UTF-8): Utilitaires de surveillance des processus
7Summary(pl.UTF-8): Narzędzia do monitorowania procesów
8Summary(pt_BR.UTF-8): Utilitários de monitoração de processos
9Summary(tr.UTF-8): Süreç izleme araçları
d2983712 10Name: procps
bb5bdd0e 11Version: 3.2.8
f6725696 12Release: 1.%{snap}.%{rel}
d910449e 13Epoch: 1
6dc78c4a 14License: GPL
45f16a11 15Group: Applications/System
b87f6e80 16Source0: http://gitorious.org/procps/procps/archive-tarball/master#/%{name}-%{snap}.tar.gz
e0b579d4 17# Source0-md5: ba165eebdbeb4ea2dd43acd0d8d3e696
89441939 18Source1: http://atos.wmid.amu.edu.pl/~undefine/%{name}-non-english-man-pages.tar.bz2
14f4fdce 19# Source1-md5: 60d24720b76c10553ed4abf68b76e079
9df2e818 20Source2: top.desktop
2e6492fa 21Source3: top.png
22Source4: XConsole.sh
fcb3e261 23Patch0: %{name}-make.patch
38880004 24Patch2: %{name}-FILLBUG_backport.patch
f892e1c0 25# http://www.nsa.gov/selinux/patches/procps-selinux.patch.gz
38880004 26Patch3: %{name}-selinux.patch
4d63082b 27Patch4: proc-err.patch
05ed06fa 28URL: http://gitorious.org/procps/
dfb256ae 29BuildRequires: ncurses-devel >= 5.1
177600bd 30BuildRequires: rpmbuild(macros) >= 1.402
a66677ae 31Requires(post): /sbin/ldconfig
cfab0591 32Requires: fileutils
ea362f1e 33Obsoletes: procps-X11
168de4b7 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9e6b678e 35
fc5aef86 36%description
d2eca1e8 37The procps package contains a set of system utilities which provide
38system information. Procps includes ps, free, skill, snice, tload,
756a16a0 39top, uptime, vmstat, w and watch. The ps command displays a snapshot
d2eca1e8 40of running processes. The top command provides a repetitive update of
41the statuses of running processes. The free command displays the
42amounts of free and used memory on your system. The skill command
43sends a terminate command (or another specified signal) to a specified
44set of processes. The snice command is used to change the scheduling
45priority of specified processes. The tload command prints a graph of
46the current system load average to a specified tty. The uptime command
47displays the current time, how long the system has been running, how
48many users are logged on and system load averages for the past one,
49five and fifteen minutes. The w command displays a list of the users
50who are currently logged on and what they're running. The watch
51program watches a running program. The vmstat command displays virtual
52memory statistics about processes, memory, paging, block I/O, traps
6dc78c4a 53and CPU activity.
fc5aef86 54
400f831f
JR
55%description -l de.UTF-8
56Das procps-Paket enthält System-Utilities, die Systeminformationen
57anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime,
d2eca1e8 58vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top
400f831f 59zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an,
d2eca1e8 60wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill
61schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal)
400f831f 62an angegebene Prozesse. Snice ändert die Priorität von angegebenen
d2eca1e8 63Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung
64an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User
65eingeloggt sind, und die Auslastungswerte der letzten Minute, der
66letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der
67User an, die gerade eingeloggt sind, und welches Programm sie
400f831f
JR
68benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher,
69Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität.
fc5aef86 70
400f831f 71%description -l es.UTF-8
ea362f1e 72Un paquete de utilitarios que relatan el estado del sistema. Se da
400f831f
JR
73énfasis a los procesos en ejecución, total de memoria disponible y a
74los usuarios que están "logados" en el sistema.
ea362f1e 75
400f831f
JR
76%description -l fr.UTF-8
77Paquetage d'utilitaires donnant des informations sur l'état du
78système, dont les états des processus en cours, le total de mémoire
79disponible, et les utilisateurs loggés.
fc5aef86 80
400f831f
JR
81%description -l pl.UTF-8
82Pakiet zawiera podstawowe narzędzia do monitorowania pracy systemu.
83Dzięki tym programom będziesz mógł na bieżąco kontrolować jakie
84procesy są w danej chwili uruchomione, ilość wolnej pamięci, kto jest
85w danej chwili zalogowany, jakie jest aktualne obciążenie systemu itp.
fc5aef86 86
400f831f
JR
87%description -l pt_BR.UTF-8
88Um 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
90usuários que estão logados no sistema.
ea362f1e 91
400f831f
JR
92%description -l tr.UTF-8
93Sistemin durumunu rapor eden araçlar paketidir. Koşan süreçlerin
94durumunu, kullanılabilir bellek miktarını, ve o an için sisteme girmiş
95kullanıcıları bildirir.
fc5aef86 96
9715011d
JB
97%package devel
98Summary: libproc header files
f4a157dd 99Summary(pl.UTF-8): Pliki nagłówkowe libproc
9715011d
JB
100License: LGPL
101Group: Development/Libraries
4bde6177 102Requires: %{name} = %{epoch}:%{version}-%{release}
9715011d
JB
103
104%description devel
105libproc header files.
106
400f831f
JR
107%description devel -l pl.UTF-8
108Pliki nagłówkowe biblioteki libproc.
9715011d
JB
109
110%package static
111Summary: Static libproc library
f4a157dd 112Summary(pl.UTF-8): Statyczna biblioteka libproc
9715011d
JB
113License: LGPL
114Group: Development/Libraries
4bde6177 115Requires: %{name}-devel = %{epoch}:%{version}-%{release}
9715011d
JB
116
117%description static
118Static version of libproc library.
119
400f831f 120%description static -l pl.UTF-8
9715011d
JB
121Statyczna wersja biblioteki libproc.
122
fc5aef86 123%prep
05ed06fa 124%setup -q -n %{name}-%{name}
76df8403 125%patch0 -p1
e0b579d4 126
dd1de52c 127%patch2 -p1
92d3a845 128%patch3 -p1
4d63082b 129%patch4 -p1
fc5aef86 130
131%build
92d3a845 132%{__make} proc/libproc.a \
fcb3e261 133 CC="%{__cc}" \
29f304ad 134 ALL_CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -ffast-math" \
135 LDFLAGS="%{rpmcflags} %{rpmldflags}" \
92d3a845 136 SHARED=0
29f304ad 137%{__mv} proc/libproc.a .
92d3a845 138%{__make} clean
fcb3e261
AM
139
140%{__make} \
6d054cfd 141 CURSES="-lncurses -ltinfo" \
fcb3e261 142 CC="%{__cc}" \
29f304ad 143 ALL_CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -ffast-math" \
144 LDFLAGS="%{rpmcflags} %{rpmldflags}" \
145 LIBPROC="proc/libproc-%{version}.so"
fc5aef86 146
147%install
148rm -rf $RPM_BUILD_ROOT
2e6492fa 149install -d $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir},%{_desktopdir},%{_pixmapsdir}}
d2983712 150
fcb3e261 151%{__make} install \
29f304ad 152 CC=false \
bcfa7052 153 DESTDIR=$RPM_BUILD_ROOT \
92d3a845 154 lib64=%{_lib} \
48555180
JB
155 install="install -D" \
156 ldconfig=true
157
e65574fb 158ln -sf /%{_lib}/libproc-%{version}.so \
48555180 159 $RPM_BUILD_ROOT%{_libdir}/libproc.so
fc5aef86 160
92d3a845 161install libproc.a $RPM_BUILD_ROOT%{_libdir}
fcb3e261 162install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc
c1e7b724 163install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
2e6492fa 164install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
165install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/XConsole
d2983712 166
9e6b678e 167rm -f $RPM_BUILD_ROOT/bin/kill
177600bd 168rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{kill,oldps}.1
67d37a63 169rm -f $RPM_BUILD_ROOT%{_bindir}/{oldps,kill}
0a3a887a 170
bcfa7052 171bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
39d7d013 172rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1
a66677ae 173rm -f $RPM_BUILD_ROOT%{_mandir}/README-procps-non-english-man-pages
6732c11b 174
9715011d
JB
175%clean
176rm -rf $RPM_BUILD_ROOT
fc5aef86 177
177600bd 178%post -p /sbin/ldconfig
fc5aef86 179%postun -p /sbin/ldconfig
180
181%files
d2983712 182%defattr(644,root,root,755)
9715011d 183%doc NEWS BUGS TODO
df049d91 184%attr(755,root,root) /%{_lib}/libproc*.*so
d2983712 185%attr(755,root,root) /bin/*
9e6b678e 186%attr(755,root,root) /sbin/sysctl
99d37661 187%attr(755,root,root) %{_bindir}/*
c1e7b724 188%{_desktopdir}/top.desktop
2e6492fa 189%{_pixmapsdir}/top.png
9e6b678e 190%{_mandir}/man*/*
39d7d013 191%lang(cs) %{_mandir}/cs/man*/*
39d7d013 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*/*
9715011d
JB
202
203%files devel
204%defattr(644,root,root,755)
48555180 205%attr(755,root,root) %{_libdir}/libproc.so
9715011d
JB
206%{_includedir}/proc
207
208%files static
209%defattr(644,root,root,755)
210%{_libdir}/libproc.a
This page took 0.088296 seconds and 4 git commands to generate.