+# 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
+Release: 1.1
License: BSD-like
Group: Development/Debuggers
Source0: http://dl.sourceforge.net/strace/%{name}-%{version}.tar.bz2
ÓÉÓÔÅÍÎÉÈ ×ÉÚÏצ×, §È ÁÒÇÕÍÅÎÔ¦× ÔÁ ÚÎÁÞÅÎØ, Ñ˦ ×ÏÎÉ ÐÏ×ÅÒÎÕÌÉ.
Strace ËÏÒÉÓÎÉÊ ÄÌÑ Ä¦ÁÇÎÏÓÔÉËÉ ÐÒÏÂÌÅÍ ÔÁ צÄÌÁÄËÉ.
+%package graph
+Summary: strace graph
+Group: Development/Debuggers
+# NOTE: doesn't require directly strace binary.
+
+%description graph
+strace-graph script processes strace -f output. It displays a graph of
+invoked subprocesses, and is useful for finding out what complex
+commands do.
+
+The script can also handle the output with strace -t, -tt, or -ttt.
+It will add elapsed time for each process in that case.
+
%prep
%setup -q
%patch0 -p1
%files
%defattr(644,root,root,755)
%doc COPYRIGHT CREDITS ChangeLog NEWS README-linux TODO
-%attr(755,root,root) %{_bindir}/strace*
+%attr(755,root,root) %{_bindir}/strace
%{_mandir}/man1/*
%lang(pl) %{_mandir}/pl/man1/*
+
+%files graph
+%attr(755,root,root) %{_bindir}/strace-graph