diff --git a/.cvsignore b/.cvsignore index e69de29..d16ebc1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ltrace_0.3.10.tar.gz diff --git a/ltrace.spec b/ltrace.spec new file mode 100644 index 0000000..0163afe --- /dev/null +++ b/ltrace.spec @@ -0,0 +1,81 @@ +Summary: Tracks runtime library calls from dynamically linked executables. +Name: ltrace +Version: 0.3.10 +Release: 5 +Source: ftp://ftp.debian.org/debian/dists/unstable/main/source/utils/ltrace_%{version}.tar.gz +# XXX this patch doesn't work yet +Patch0: ltrace-0.3.8.sparc.patch +Patch1: ltrace-0.3.10-jbj.patch +Patch2: ltrace-0.3.10-mandir.patch +Patch3: ltrace-0.3.10-nsyscals0.patch +Copyright: GPL +Group: Development/Debuggers +ExclusiveArch: i386 +Prefix: %{_prefix} +BuildRoot: /var/tmp/%{name}-root + +%description +Ltrace is a debugging program which runs a specified command until the +command exits. While the command is executing, ltrace intercepts and +records both the dynamic library calls called by the executed process +and the signals received by the executed process. Ltrace can also +intercept and print system calls executed by the process. + +You should install ltrace if you need a sysadmin tool for tracking the +execution of processes. + +%prep +%setup -q + +# XXX this patch doesn't work yet +#%patch0 -p1 -b .sparc + +%patch1 -p1 -b .jbj +%patch2 -p1 -b .mandir +%patch3 -p1 -b .nsyscals0 + +%build +%configure +make + +%install +make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install +rm -rf $RPM_BUILD_ROOT/%{_prefix}/doc + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING README TODO BUGS ChangeLog +%{_prefix}/bin/ltrace +%{_mandir}/man1/ltrace.1* +%config /etc/ltrace.conf + +%changelog +* Thu Aug 2 2000 Tim Waugh +- fix off-by-one problem in checking syscall number + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 19 2000 Matt Wilson +- rebuilt for next release +- patched Makefile.in to take a hint on mandir (patch2) +- use %%{_mandir} and %%makeinstall + +* Wed Feb 02 2000 Cristian Gafton +- fix description + +* Fri Jan 7 2000 Jeff Johnson +- update to 0.3.10. +- include (but don't apply) sparc patch from Jakub Jellinek. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Fri Mar 12 1999 Jeff Johnson +- update to 0.3.6. + +* Mon Sep 21 1998 Preston Brown +- upgraded to 0.3.4 diff --git a/sources b/sources index e69de29..6f1c83e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3275b51fa2bcad7597d04a12253ef236 ltrace_0.3.10.tar.gz