]> git.pld-linux.org Git - packages/strace.git/blob - strace.spec
16769fd09f652bef1dbd11d5caa815bb7cec836d
[packages/strace.git] / strace.spec
1 Summary:        prints system call strace of a running process
2 Summary(de):    druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses
3 Summary(es):    Enseña las llamadas de sistema de un proceso en ejecución
4 Summary(fr):    affiche l'appel système strace d'un processus en exécution
5 Summary(pl):    strace wy¶wietla funkcje systemowe wywo³ywane przez uruchomiony proces
6 Summary(pt_BR): Mostra as chamadas de sistema de um processo rodando
7 Summary(ru):    ïÔÓÌÅÖÉ×ÁÅÔ É ÐÏËÁÚÙ×ÁÅÔ ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù, Ó×ÑÚÁÎÎÙÅ Ó ÚÁÐÕÝÅÎÎÙÍ ÐÒÏÃÅÓÓÏÍ
8 Summary(tr):    Çalýþan bir sürecin yaptýðý sistem çaðrýlarýný listeler
9 Summary(uk):    ÷¦ÄÓ̦ÄËÏ×Õ¤ ÔÁ ÐÏËÁÚÕ¤ ÓÉÓÔÅÍΦ ×ÉËÌÉËÉ, ÐÏ×'ÑÚÁΦ ¦Ú ÚÁÐÕÝÅÎÉÍ ÐÒÏÃÅÓÏÍ
10 Name:           strace
11 Version:        4.5.12
12 Release:        2
13 Group:          Development/Debuggers
14 Source0:        http://dl.sourceforge.net/strace/%{name}-%{version}.tar.bz2
15 # Source0-md5:  c9dc77b9bd7f144f317e8289e0f6d40b
16 Source1:        %{name}.1.pl
17 Patch0:         %{name}-newsysc.patch
18 Patch1:         %{name}-getdents64.patch
19 Patch2:         %{name}-kernel26_userspace.patch
20 Patch3:         %{name}-stat64.patch
21 Patch4:         %{name}-sparc64.patch
22 URL:            http://www.liacs.nl/~wichert/strace/
23 BuildRequires:  autoconf >= 2.57
24 BuildRequires:  automake
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
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
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
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
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
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
58 ðÒÏÇÒÁÍÍÁ strace ÐÅÒÅÈ×ÁÔÙ×ÁÅÔ É ÒÅÇÉÓÔÒÉÒÕÅÔ ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù,
59 ÐÒÏÉÚ×ÅÄÅÎÎÙÅ É ÐÏÌÕÞÅÎÎÙÅ ÉÓÐÏÌÎÑÀÝÉÍÓÑ ÐÒÏÃÅÓÓÏÍ. Strace ÍÏÖÅÔ
60 ×Ù×ÅÓÔÉ ÓÐÉÓÏË ×ÓÅÈ ÓÉÓÔÅÍÎÙÈ ×ÙÚÏ×Ï×, ÉÈ ÁÒÇÕÍÅÎÔÏ× É ×ÏÚ×ÒÁÝÁÅÍÙÅ
61 ÉÍÉ ÚÎÁÞÅÎÉÑ. Strace ÐÏÌÅÚÎÁ ÄÌÑ ÄÉÁÇÎÏÓÔÉËÉ ÐÒÏÂÌÅÍ É ÏÔÌÁÄËÉ.
62
63 %description -l tr
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
69 ðÒÏÇÒÁÍÁ strace ÐÅÒÅÈÏÐÌÀ¤ ÔÁ ÒÅǦÓÔÒÕ¤ ÓÉÓÔÅÍΦ ×ÉÚÏ×É, ÚÒÏÂÌÅΦ ÔÁ
70 ÏÔÒÉÍÁΦ ÐÒÏÃÅÓÏÍ, ÑËÉÊ ×ÉËÏÎÕ¤ÔØÓÑ. Strace ÍÏÖÅ ×É×ÅÓÔÉ ÓÐÉÓÏË ÕÓ¦È
71 ÓÉÓÔÅÍÎÉÈ ×ÉÚÏצ×, §È ÁÒÇÕÍÅÎԦנÔÁ ÚÎÁÞÅÎØ, Ñ˦ ×ÏÎÉ ÐÏ×ÅÒÎÕÌÉ.
72 Strace ËÏÒÉÓÎÉÊ ÄÌѠĦÁÇÎÏÓÔÉËÉ ÐÒÏÂÌÅÍ ÔÁ ×¦ÄÌÁÄËÉ.
73
74 %package graph
75 Summary:        strace graph
76 Summary(pl):    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.
86 It will add elapsed time for each process in that case.
87
88 %description graph -l pl
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 %patch1 -p1
100 %patch2 -p1
101 %patch3 -p1
102 %patch4 -p1
103
104 %build
105 %{__aclocal}
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 %configure
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/strace.1
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %files
124 %defattr(644,root,root,755)
125 %doc COPYRIGHT CREDITS ChangeLog NEWS README-linux TODO
126 %attr(755,root,root) %{_bindir}/strace
127 %{_mandir}/man1/*
128 %lang(pl) %{_mandir}/pl/man1/*
129
130 %files graph
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/strace-graph
This page took 0.057642 seconds and 2 git commands to generate.