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