100 lines
2.7 KiB
RPMSpec
100 lines
2.7 KiB
RPMSpec
Summary: Tracks runtime library calls from dynamically linked executables.
|
|
Name: ltrace
|
|
Version: 0.3.10
|
|
Release: 10
|
|
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
|
|
Patch4: ltrace-0.3.11-s390.patch
|
|
Copyright: GPL
|
|
Group: Development/Debuggers
|
|
ExclusiveArch: i386 s390
|
|
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
|
|
%patch4 -p1 -b .s390
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
|
rm -f ChangeLog; mv -f debian/changelog ChangeLog
|
|
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
|
|
* Tue May 28 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
- Added the 'official' s390 patch.
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
|
|
- fix stale symlink in documentation directory (#47749)
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
- Bump release + rebuild.
|
|
|
|
* Thu Aug 2 2000 Tim Waugh <twaugh@redhat.com>
|
|
- fix off-by-one problem in checking syscall number
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Mon Jun 19 2000 Matt Wilson <msw@redhat.com>
|
|
- rebuilt for next release
|
|
- patched Makefile.in to take a hint on mandir (patch2)
|
|
- use %%{_mandir} and %%makeinstall
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
- fix description
|
|
|
|
* Fri Jan 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
- update to 0.3.10.
|
|
- include (but don't apply) sparc patch from Jakub Jellinek.
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
- auto rebuild in the new build environment (release 2)
|
|
|
|
* Fri Mar 12 1999 Jeff Johnson <jbj@redhat.com>
|
|
- update to 0.3.6.
|
|
|
|
* Mon Sep 21 1998 Preston Brown <pbrown@redhat.com>
|
|
- upgraded to 0.3.4
|