strace/strace.spec

99 lines
3.5 KiB
RPMSpec

Name: strace
Version: 4.9
Release: 1mamba
Summary: A debugging tool which prints out all the system calls made by a process/program
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://sourceforge.net/projects/strace/
Source: http://downloads.sourceforge.net/strace/strace-%{version}.tar.xz
Patch0: strace-4.7-os-release-detect-openmamba.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Strace is a system call trace, i.e. a debugging tool which prints out a trace of all the system calls made by a another process/program.
The program to be traced need not be recompiled for this, so you can use it on binaries for which you don't have source.
System calls and signals are events that happen at the user/kernel interface.
A close examination of this boundary is very useful for bug isolation, sanity checking and attempting to capture race conditions.
%package graph
Summary: A script that processes strace output files
Group: Development/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description graph
Strace is a system call trace, i.e. a debugging tool which prints out a trace of all the system calls made by a another process/program.
The program to be traced need not be recompiled for this, so you can use it on binaries for which you don't have source.
System calls and signals are events that happen at the user/kernel interface.
A close examination of this boundary is very useful for bug isolation, sanity checking and attempting to capture race conditions.
This package contains strace-graph, a script that processes strace output files.
%prep
%setup -q
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/strace
%{_bindir}/strace-log-merge
%{_mandir}/man1/strace.*
%doc AUTHORS COPYING CREDITS
#ChangeLog NEWS README README-linux
%files graph
%defattr(-,root,root)
%{_bindir}/strace-graph
%changelog
* Sun Aug 17 2014 Automatic Build System <autodist@mambasoft.it> 4.9-1mamba
- automatic version update by autodist
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 4.8-1mamba
- automatic version update by autodist
* Mon Nov 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7-2mamba
- added a patch to fix OS release detection in openmamba by parsing uname output
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 4.7-1mamba
- automatic version update by autodist
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 4.6-1mamba
- update to 4.6
* Wed Dec 01 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.20-2mamba
- added strace-graph package to put apart perl dependency
* Tue Apr 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.20-1mamba
- update to 4.5.20
* Sun Oct 25 2009 Automatic Build System <autodist@mambasoft.it> 4.5.19-1mamba
- automatic update by autodist
* Fri Aug 29 2008 Aleph0 <aleph0@openmamba.org> 4.5.18-1mamba
- update to 4.5.18
* Wed Jun 28 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 4.5.14-1qilnx
- update to version 4.5.14 by autospec
* Thu Nov 10 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.12-1qilnx
- update to version 4.5.12 by autospec
* Mon Mar 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.5.9-1qilnx
- package created by autospec