1 Summary: prints system call strace of a running process
2 Summary(de): druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses.
3 Summary(fr): affiche l'appel système strace d'un processus en exécution.
4 Summary(pl): strace wy¶wietla funkcje systemowe wywo³ywane przez uruchomiony proces
5 Summary(tr): Çalýþan bir sürecin yaptýðý sistem çaðrýlarýný listeler
9 Copyright: distributable
10 Group: Development/Debuggers
11 Group(pl): Programowanie/Odpluskwiacze
12 Source: ftp://ftp.std.com/pub/jrs/%{name}-%{version}.tar.gz
13 Patch0: strace-3.0.14elf.patch
14 Patch1: ftp://ftp.azstarnet.com/pub/linux/axp/glibc/strace-3.1-glibc.patch
15 Patch2: strace-3.1-sparc.patch
16 Patch3: strace-3.1-sparcglibc.patch
17 Patch4: strace-3.1-sparc2.patch
18 Patch5: strace-3.1-sparc3.patch
19 Patch6: strace-3.1-sparc4.patch
20 Patch7: strace-3.1-prctldomainname.patch
21 Patch8: strace-3.1-alpha.patch
22 Patch9: strace-3.1-gafton.patch
23 Patch10: strace-3.1-sparc5.patch
24 Patch11: strace-3.1-jbj.patch
25 Buildroot: /tmp/%{name}-%{version}-root
28 Strace prints a record of each system call another program makes, including
29 all of the arguments passed to it and the system call's return value.
32 Strace druckt ein Protokoll aller von einem anderen Programm ausgegebenen
33 Systemaufrufe, einschließlich aller weitergeleiteten Argumente und dem
34 Ausgabewert des Systemaufrufs.
37 strace affiche l'enregistrement de chaque appel système que fait un programme
38 ainsi que tous les arguments qui lui ont été passés et la valeur de retour de
42 Strace wy¶wietla informacje o ka¿dym wywo³aniu funkcji systemowych przez
43 uruchamiany program, w tym równie¿ wszystkie argumenty wywo³ania i zwrócon±
47 strace bir programýn çalýþtýðý sürece yaptýðý bütün sistem çaðrýlarýný,
48 gönderdiði parametreler ve geri dönüþ deðerleriyle birlikte döker.
55 %patch3 -p1 -b .sparcglibc
56 %patch4 -p1 -b .sparc2
57 %patch5 -p1 -b .sparc3
58 %patch6 -p1 -b .sparc4
61 %patch9 -p1 -b .gafton
62 %patch10 -p1 -b .sparc5
68 OS=`echo ${RPM_OS} | tr '[A-Z]' '[a-z]'`
69 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr ${RPM_ARCH}-pld-${OS}
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
76 make install prefix=$RPM_BUILD_ROOT/usr
78 strip $RPM_BUILD_ROOT/usr/bin/*
80 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
83 rm -rf $RPM_BUILD_ROOT
86 %attr(755, root, root) /usr/bin/strace
87 %attr(644, root, man) /usr/man/man1/*
90 * Wed Feb 17 1999 Micha³ Kuratczyk <kura@wroclaw.art.pl>
93 - added gzipping man page
95 * Thu Oct 08 1998 Marcin Korzonek <mkorz@shadow.eu.org>
97 - added translation pl.
99 * Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
100 - fix typo (printf, not tprintf).
102 * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
103 - fix compile problem on sparc.
105 * Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
108 * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
109 - added the umoven patch from James Youngman <jay@gnu.org>
110 - fixed build problems on newer glibc releases
112 * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
113 - translations modified for de, fr, tr