]> git.pld-linux.org Git - packages/strace.git/blob - strace.spec
- bump to release 9 (for allow upgrade from RH),
[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:        4.2
8 Release:        9
9 License:        distributable
10 Group:          Development/Debuggers
11 Group(pl):      Programowanie/Odpluskwiacze
12 Source0:        http://www.wi.leidenuniv.nl/~wichert/strace/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-sparc.patch
14 Patch1:         %{name}-ia64.patch
15 Patch2:         %{name}-stat64.patch
16 Patch3:         %{name}-sparc2.patch
17 Patch4:         %{name}-putmsg.patch
18 Patch5:         %{name}-newsysc.patch
19 Patch6:         %{name}-do_not_check_for_libsnl.patch
20 Patch7:         %{name}-linux.patch
21 BuildRequires:  autoconf
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Strace prints a record of each system call another program makes,
26 including all of the arguments passed to it and the system call's
27 return value.
28
29 %description -l de
30 Strace druckt ein Protokoll aller von einem anderen Programm
31 ausgegebenen Systemaufrufe, einschließlich aller weitergeleiteten
32 Argumente und dem Ausgabewert des Systemaufrufs.
33
34 %description -l fr
35 strace affiche l'enregistrement de chaque appel système que fait un
36 programme ainsi que tous les arguments qui lui ont été passés et la
37 valeur de retour de l'appel.
38
39 %description -l pl
40 Strace wy¶wietla informacje o ka¿dym wywo³aniu funkcji systemowych
41 przez uruchamiany program, w tym równie¿ wszystkie argumenty wywo³ania
42 i zwrócon± warto¶æ.
43
44 %description -l tr
45 strace bir programýn çalýþtýðý sürece yaptýðý bütün sistem
46 çaðrýlarýný, gönderdiði parametreler ve geri dönüþ deðerleriyle
47 birlikte döker.
48
49 %prep
50 %setup  -q 
51 %patch0 -p1 
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -p1
55 %patch4 -p1
56 %patch5 -p1
57 %patch6 -p1
58 %patch7 -p1
59
60 %build
61 autoconf
62 autoheader
63 %configure
64 %{__make} LDFLAGS="-s"
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
70
71 %{__make} install \
72         prefix=$RPM_BUILD_ROOT%{_prefix} \
73         mandir=$RPM_BUILD_ROOT%{_mandir} \
74         bindir=$RPM_BUILD_ROOT%{_bindir}
75
76 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* ChangeLog README-linux
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc {ChangeLog,README-linux}.gz
84
85 %attr(755,root,root) %{_bindir}/strace
86 %{_mandir}/man1/*
This page took 0.04853 seconds and 4 git commands to generate.