]> git.pld-linux.org Git - packages/strace.git/blob - strace.spec
[3.1-13]
[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:     13
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
26
27 %description
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.
30
31 %description -l de
32 Strace druckt ein Protokoll aller von einem anderen Programm ausgegebenen
33 Systemaufrufe, einschließlich aller weitergeleiteten Argumente und dem
34 Ausgabewert des Systemaufrufs.
35
36 %description -l fr
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
39 l'appel.
40
41 %description -l pl
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±
44 warto¶æ.
45
46 %description -l tr
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.
49
50 %prep
51 %setup -q
52 %patch0 -p1 -b .elf
53 %patch1 -p1 -b .glibc
54 %patch2 -p1 -b .sparc
55 %patch3 -p1 -b .sparcglibc
56 %patch4 -p1 -b .sparc2
57 %patch5 -p1 -b .sparc3
58 %patch6 -p1 -b .sparc4
59 %patch7 -p1 -b .misc
60 %patch8 -p1 -b .alpha
61 %patch9 -p1 -b .gafton
62 %patch10 -p1 -b .sparc5
63 %patch11 -p1 -b .jbj
64
65
66 %build
67 autoconf
68 OS=`echo ${RPM_OS} | tr '[A-Z]' '[a-z]'`
69 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr ${RPM_ARCH}-pld-${OS}
70 make
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
75
76 make install prefix=$RPM_BUILD_ROOT/usr
77
78 strip $RPM_BUILD_ROOT/usr/bin/*
79
80 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %attr(755, root, root) /usr/bin/strace
87 %attr(644, root,  man) /usr/man/man1/*
88
89 %changelog
90 * Wed Feb 17 1999 Micha³ Kuratczyk <kura@wroclaw.art.pl>
91   [3.1-13]
92 - added Group(pl)
93 - added gzipping man page
94
95 * Thu Oct 08 1998 Marcin Korzonek <mkorz@shadow.eu.org>
96   [3.1-12]
97 - added translation pl.
98
99 * Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
100 - fix typo (printf, not tprintf).
101
102 * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
103 - fix compile problem on sparc.
104
105 * Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
106 - buildroot
107
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
111
112 * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
113 - translations modified for de, fr, tr
This page took 0.034066 seconds and 4 git commands to generate.