]>
Commit | Line | Data |
---|---|---|
036a93b3 | 1 | Summary: prints system call strace of a running process |
cd04e52d ER |
2 | Summary(de.UTF-8): druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses |
3 | Summary(es.UTF-8): Enseña las llamadas de sistema de un proceso en ejecución | |
4 | Summary(fr.UTF-8): affiche l'appel système strace d'un processus en exécution | |
5 | Summary(pl.UTF-8): strace wyświetla funkcje systemowe wywoływane przez uruchomiony proces | |
6 | Summary(pt_BR.UTF-8): Mostra as chamadas de sistema de um processo rodando | |
7 | Summary(ru.UTF-8): Отслеживает и показывает системные вызовы, связанные с запущенным процессом | |
8 | Summary(tr.UTF-8): Çalışan bir sürecin yaptığı sistem çağrılarını listeler | |
9 | Summary(uk.UTF-8): Відслідковує та показує системні виклики, пов'язані із запущеним процесом | |
036a93b3 | 10 | Name: strace |
dba2718d | 11 | Version: 4.5.20 |
723b1654 | 12 | Release: 1 |
2d0dae9a | 13 | License: BSD-like |
036a93b3 | 14 | Group: Development/Debuggers |
dba2718d | 15 | Source0: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.bz2 |
16 | # Source0-md5: 64dfe10d9db0c1e34030891695ffca4b | |
28ee5e69 | 17 | Source1: %{name}.1.pl |
ed9ef3ee | 18 | Patch0: %{name}-stat64.patch |
a40da014 | 19 | URL: http://sourceforge.net/projects/strace/ |
dae62021 JB |
20 | # acl and libaio for headers only |
21 | BuildRequires: acl-devel | |
d39e6e99 | 22 | BuildRequires: autoconf >= 2.57 |
fcc8ff10 | 23 | BuildRequires: automake |
dae62021 | 24 | BuildRequires: libaio-devel |
0071ddd9 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
894ff4c4 | 26 | |
27 | %description | |
036a93b3 | 28 | Strace prints a record of each system call another program makes, |
29 | including all of the arguments passed to it and the system call's | |
30 | return value. | |
894ff4c4 | 31 | |
3cbe5ca9 | 32 | %description -l de.UTF-8 |
036a93b3 | 33 | Strace druckt ein Protokoll aller von einem anderen Programm |
3cbe5ca9 | 34 | ausgegebenen Systemaufrufe, einschließlich aller weitergeleiteten |
036a93b3 | 35 | Argumente und dem Ausgabewert des Systemaufrufs. |
894ff4c4 | 36 | |
3cbe5ca9 JR |
37 | %description -l es.UTF-8 |
38 | Strace imprime una "grabación" de cada llamada de sistema que el | |
39 | programa hace, incluyendo todos los argumentos pasados para él, si la | |
263949c7 | 40 | vuelta de cada llamada de sistema es verdadera, o si hay creado error. |
41 | ||
3cbe5ca9 JR |
42 | %description -l fr.UTF-8 |
43 | strace affiche l'enregistrement de chaque appel système que fait un | |
44 | programme ainsi que tous les arguments qui lui ont été passés et la | |
036a93b3 | 45 | valeur de retour de l'appel. |
894ff4c4 | 46 | |
3cbe5ca9 JR |
47 | %description -l pl.UTF-8 |
48 | Strace wyświetla informacje o każdym wywołaniu funkcji systemowych | |
49 | przez uruchamiany program, w tym również wszystkie argumenty wywołania | |
50 | i zwróconą wartość. | |
894ff4c4 | 51 | |
3cbe5ca9 JR |
52 | %description -l pt_BR.UTF-8 |
53 | Strace imprime uma "gravação" de cada chamada de sistema que o | |
263949c7 | 54 | programa faz, incluindo todos os argumentos passados para ele e se o |
3cbe5ca9 | 55 | retorno de cada chamada de sistema é verdadeiro ou gerou erro. |
263949c7 | 56 | |
3cbe5ca9 JR |
57 | %description -l ru.UTF-8 |
58 | Программа strace перехватывает и регистрирует системные вызовы, | |
59 | произведенные и полученные исполняющимся процессом. Strace может | |
60 | вывести список всех системных вызовов, их аргументов и возвращаемые | |
61 | ими значения. Strace полезна для диагностики проблем и отладки. | |
263949c7 | 62 | |
3cbe5ca9 JR |
63 | %description -l tr.UTF-8 |
64 | strace bir programın çalıştığı sürece yaptığı bütün sistem | |
65 | çağrılarını, gönderdiği parametreler ve geri dönüş değerleriyle | |
66 | birlikte döker. | |
894ff4c4 | 67 | |
3cbe5ca9 JR |
68 | %description -l uk.UTF-8 |
69 | Програма strace перехоплює та регіструє системні визови, зроблені та | |
70 | отримані процесом, який виконується. Strace може вивести список усіх | |
71 | системних визовів, їх аргументів та значень, які вони повернули. | |
72 | Strace корисний для діагностики проблем та відладки. | |
263949c7 | 73 | |
5e3bd75e ER |
74 | %package graph |
75 | Summary: strace graph | |
cd04e52d | 76 | Summary(pl.UTF-8): Graf strace |
5e3bd75e ER |
77 | Group: Development/Debuggers |
78 | # NOTE: doesn't require directly strace binary. | |
79 | ||
80 | %description graph | |
81 | strace-graph script processes strace -f output. It displays a graph of | |
82 | invoked subprocesses, and is useful for finding out what complex | |
83 | commands do. | |
84 | ||
dba2718d | 85 | The script can also handle the output with strace -t, -tt, or -ttt. It |
86 | will add elapsed time for each process in that case. | |
5e3bd75e | 87 | |
3cbe5ca9 JR |
88 | %description graph -l pl.UTF-8 |
89 | Skrypt strace-graph przetwarza wynik strace -f i wyświetla graf | |
90 | wywoływanych podprocesów. Jest przydatny do sprawdzania co robią | |
91 | złożone polecenia. | |
ee51cf7a | 92 | |
3cbe5ca9 JR |
93 | Skrypt jest w stanie obsłużyć także wyjście ze strace -t, -tt i -ttt. |
94 | Doda wtedy upływający czas dla każdego procesu. | |
ee51cf7a | 95 | |
894ff4c4 | 96 | %prep |
e4d3dd6d | 97 | %setup -q |
98 | %patch0 -p1 | |
894ff4c4 | 99 | |
100 | %build | |
118ffd57 | 101 | %{__aclocal} |
0da0415e | 102 | %{__autoconf} |
c3b1b1ca | 103 | %{__autoheader} |
118ffd57 | 104 | %{__automake} |
3534b904 | 105 | %configure |
e30af45e | 106 | %{__make} |
894ff4c4 | 107 | |
108 | %install | |
109 | rm -rf $RPM_BUILD_ROOT | |
894ff4c4 | 110 | |
6af10d02 | 111 | %{__make} install \ |
d39e6e99 | 112 | DESTDIR=$RPM_BUILD_ROOT |
3d70ec26 | 113 | |
d39e6e99 | 114 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/strace.1 |
28ee5e69 | 115 | |
894ff4c4 | 116 | %clean |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
119 | %files | |
99dfeeca | 120 | %defattr(644,root,root,755) |
743ab00a | 121 | %doc COPYRIGHT CREDITS ChangeLog NEWS README-linux TODO |
5e3bd75e | 122 | %attr(755,root,root) %{_bindir}/strace |
723b1654 | 123 | %{_mandir}/man1/strace.1* |
124 | %lang(pl) %{_mandir}/pl/man1/strace.1* | |
5e3bd75e ER |
125 | |
126 | %files graph | |
ee51cf7a | 127 | %defattr(644,root,root,755) |
5e3bd75e | 128 | %attr(755,root,root) %{_bindir}/strace-graph |