File strace.spec of Package strace

# 
# 

Name:       strace
Summary:    Tracks and displays system calls associated with a running process
Version:    4.6
Release:    1
Group:      Development/Debuggers
License:    BSD
URL:        http://sourceforge.net/projects/strace/
Source0:    http://dl.sourceforge.net/strace/%{name}-%{version}-tizen.tar.bz2
Patch0:     strace-4.6-gem-ioctls.patch


%description
The strace program intercepts and records the system calls called and
received by a running process.  Strace can print a record of each
system call, its arguments and its return value.  Strace is useful for
diagnosing problems and debugging, as well as for instructional
purposes.

Install strace if you need a tool to track the system calls made and
received by a process.




%prep
%setup -q -n %{name}-%{version}

# strace-4.6-gem-ioctls.patch
%patch0 -p1

%build

%reconfigure --disable-static
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install







%files
%defattr(-,root,root,-)
%doc COPYRIGHT ChangeLog README CREDITS PORTING NEWS
%{_bindir}/strace
%{_bindir}/strace-graph
%{_mandir}/man1/*