]> git.pld-linux.org Git - packages/strace.git/blob - strace.spec
- up to 4.6
[packages/strace.git] / strace.spec
1 Summary:        prints system call strace of a running process
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):      Відслідковує та показує системні виклики, пов'язані із запущеним процесом
10 Name:           strace
11 Version:        4.6
12 Release:        1
13 License:        BSD-like
14 Group:          Development/Debuggers
15 Source0:        http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
16 # Source0-md5:  e537b2b1afeec70c0e6e27a0d0fd671e
17 Source1:        %{name}.1.pl
18 Patch0:         %{name}-stat64.patch
19 URL:            http://sourceforge.net/projects/strace/
20 # acl and libaio for headers only
21 BuildRequires:  acl-devel
22 BuildRequires:  autoconf >= 2.57
23 BuildRequires:  automake
24 BuildRequires:  libaio-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
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.
31
32 %description -l de.UTF-8
33 Strace druckt ein Protokoll aller von einem anderen Programm
34 ausgegebenen Systemaufrufe, einschließlich aller weitergeleiteten
35 Argumente und dem Ausgabewert des Systemaufrufs.
36
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
40 vuelta de cada llamada de sistema es verdadera, o si hay creado error.
41
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
45 valeur de retour de l'appel.
46
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ść.
51
52 %description -l pt_BR.UTF-8
53 Strace imprime uma "gravação" de cada chamada de sistema que o
54 programa faz, incluindo todos os argumentos passados para ele e se o
55 retorno de cada chamada de sistema é verdadeiro ou gerou erro.
56
57 %description -l ru.UTF-8
58 Программа strace перехватывает и регистрирует системные вызовы,
59 произведенные и полученные исполняющимся процессом. Strace может
60 вывести список всех системных вызовов, их аргументов и возвращаемые
61 ими значения. Strace полезна для диагностики проблем и отладки.
62
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.
67
68 %description -l uk.UTF-8
69 Програма strace перехоплює та регіструє системні визови, зроблені та
70 отримані процесом, який виконується. Strace може вивести список усіх
71 системних визовів, їх аргументів та значень, які вони повернули.
72 Strace корисний для діагностики проблем та відладки.
73
74 %package graph
75 Summary:        strace graph
76 Summary(pl.UTF-8):      Graf strace
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
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.
87
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.
92
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.
95
96 %prep
97 %setup -q
98 %patch0 -p1
99
100 %build
101 %{__aclocal} -I m4
102 %{__autoconf}
103 %{__autoheader}
104 %{__automake}
105 %configure
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/strace.1
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files
120 %defattr(644,root,root,755)
121 %doc COPYRIGHT CREDITS ChangeLog NEWS README-linux TODO
122 %attr(755,root,root) %{_bindir}/strace
123 %{_mandir}/man1/strace.1*
124 %lang(pl) %{_mandir}/pl/man1/strace.1*
125
126 %files graph
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_bindir}/strace-graph
This page took 0.049621 seconds and 3 git commands to generate.