]> git.pld-linux.org Git - packages/strace.git/blob - strace.spec
Based on version from rawhide witch also works on sparc.
[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(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
6 Name:        strace
7 Version:     3.1
8 Release:     12
9 Copyright:   distributable
10 Group:       Development/Debuggers
11 Source:      ftp://ftp.std.com/pub/jrs/%{name}-%{version}.tar.gz
12 Patch0:      strace-3.0.14elf.patch
13 Patch1:      ftp://ftp.azstarnet.com/pub/linux/axp/glibc/strace-3.1-glibc.patch
14 Patch2:      strace-3.1-sparc.patch
15 Patch3:      strace-3.1-sparcglibc.patch
16 Patch4:      strace-3.1-sparc2.patch
17 Patch5:      strace-3.1-sparc3.patch
18 Patch6:      strace-3.1-sparc4.patch
19 Patch7:      strace-3.1-prctldomainname.patch
20 Patch8:      strace-3.1-alpha.patch
21 Patch9:      strace-3.1-gafton.patch
22 Patch10:     strace-3.1-sparc5.patch
23 Patch11:     strace-3.1-jbj.patch
24 Buildroot:   /tmp/%{name}-%{version}-root
25
26 %description
27 Strace prints a record of each system call another program makes, including
28 all of the arguments passed to it and the system call's return value.
29
30 %description -l de
31 Strace druckt ein Protokoll aller von einem anderen Programm ausgegebenen
32 Systemaufrufe, einschließlich aller weitergeleiteten Argumente und dem
33 Ausgabewert des Systemaufrufs.
34
35 %description -l fr
36 strace affiche l'enregistrement de chaque appel système que fait un programme
37 ainsi que tous les arguments qui lui ont été passés et la valeur de retour de
38 l'appel.
39
40 %description -l pl
41 Strace wy¶wietla informacje o ka¿dym wywo³aniu funkcji systemowych przez
42 uruchamiany program, w tym równie¿ wszystkie argumenty wywo³ania i zwrócon±
43 warto¶æ.
44
45 %description -l tr
46 strace bir programýn çalýþtýðý sürece yaptýðý bütün sistem çaðrýlarýný,
47 gönderdiði parametreler ve geri dönüþ deðerleriyle birlikte döker.
48
49 %prep
50 %setup -q
51 %patch0 -p1 -b .elf
52 %patch1 -p1 -b .glibc
53 %patch2 -p1 -b .sparc
54 %patch3 -p1 -b .sparcglibc
55 %patch4 -p1 -b .sparc2
56 %patch5 -p1 -b .sparc3
57 %patch6 -p1 -b .sparc4
58 %patch7 -p1 -b .misc
59 %patch8 -p1 -b .alpha
60 %patch9 -p1 -b .gafton
61 %patch10 -p1 -b .sparc5
62 %patch11 -p1 -b .jbj
63
64
65 %build
66 autoconf
67 OS=`echo ${RPM_OS} | tr '[A-Z]' '[a-z]'`
68 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr ${RPM_ARCH}-pld-${OS}
69 make
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
74
75 make install prefix=$RPM_BUILD_ROOT/usr
76
77 strip $RPM_BUILD_ROOT/usr/bin/*
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %attr(755, root, root) /usr/bin/strace
84 %attr(644, root,  man) /usr/man/man1/strace.1
85
86 %changelog
87 * Thu Oct 08 1998 Marcin Korzonek <mkorz@shadow.eu.org>
88   [3.1-12]
89 - added translation pl.
90
91 * Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
92 - fix typo (printf, not tprintf).
93
94 * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
95 - fix compile problem on sparc.
96
97 * Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
98 - buildroot
99
100 * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
101 - added the umoven patch from James Youngman <jay@gnu.org>
102 - fixed build problems on newer glibc releases
103
104 * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
105 - translations modified for de, fr, tr
This page took 0.060605 seconds and 3 git commands to generate.