4 BuildRequires: binutils-devel
6 BuildRequires: libelf-devel
7 Url: http://ltrace.org/
8 Summary: Trace the Library and System Calls a Program Makes
10 Group: Development/Tools
11 Source: ltrace-%{version}.tar.bz2
12 Source2: baselibs.conf
13 Source1001: ltrace.manifest
16 Ltrace is a program that runs the specified command until it exits. It
17 intercepts and records the dynamic library calls that are called by the
18 executed process and the signals that are received by that process. It
19 can also intercept and print the system calls executed by the program.
21 The program to trace need not be recompiled for this, so you can use
22 ltrace on binaries for which you do not have access to the source.
24 This is still a work in progress, so, for example, the tracking to
25 child processes may fail or some things may not work as expected.
33 export CFLAGS="%{optflags} -Wall -Wno-unused-local-typedefs"
35 %configure --build=%{_target_cpu}-tizen-linux
40 rm -rf %{buildroot}/usr/share/doc/ltrace
43 %manifest %{name}.manifest
47 %{_mandir}/man?/ltrace.?.gz
48 %{_mandir}/man?/ltrace.conf.?.gz
49 %config /usr/share/ltrace/syscalls.conf
50 %config /usr/share/ltrace/libc.so.conf
51 %config /usr/share/ltrace/libm.so.conf
52 %config /usr/share/ltrace/libacl.so.conf