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