-# TODO
-# - rel 2 & STBR after translation of -graph subpackage
Summary: prints system call strace of a running process
Summary(de): druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses
Summary(es): Enseña las llamadas de sistema de un proceso en ejecución
Summary(uk): ÷¦ÄÓ̦ÄËÏ×Õ¤ ÔÁ ÐÏËÁÚÕ¤ ÓÉÓÔÅÍΦ ×ÉËÌÉËÉ, ÐÏ×'ÑÚÁΦ ¦Ú ÚÁÐÕÝÅÎÉÍ ÐÒÏÃÅÓÏÍ
Name: strace
Version: 4.5.12
-Release: 1.1
+Release: 2
License: BSD-like
Group: Development/Debuggers
Source0: http://dl.sourceforge.net/strace/%{name}-%{version}.tar.bz2
Patch2: %{name}-kernel26_userspace.patch
Patch3: %{name}-stat64.patch
Patch4: %{name}-sparc64.patch
+Patch5: %{name}-quota.patch
URL: http://www.liacs.nl/~wichert/strace/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
%package graph
Summary: strace graph
+Summary(pl): Graf strace
Group: Development/Debuggers
# NOTE: doesn't require directly strace binary.
The script can also handle the output with strace -t, -tt, or -ttt.
It will add elapsed time for each process in that case.
+%description graph -l pl
+Skrypt strace-graph przetwarza wynik strace -f i wy¶wietla graf
+wywo³ywanych podprocesów. Jest przydatny do sprawdzania co robi±
+z³o¿one polecenia.
+
+Skrypt jest w stanie obs³u¿yæ tak¿e wyj¶cie ze strace -t, -tt i -ttt.
+Doda wtedy up³ywaj±cy czas dla ka¿dego procesu.
+
%prep
%setup -q
%patch0 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__aclocal}
%lang(pl) %{_mandir}/pl/man1/*
%files graph
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/strace-graph