ALT Linux repositórios
Group :: Desenvolvimento/Debuggers
RPM: ltrace
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: ltrace
Version: 0.4
Release: alt2.0
Summary: Tracks runtime library calls from dynamically linked executables
License: GPL
Group: Development/Debuggers
Url: http://packages.debian.org/unstable/utils/ltrace
#ExclusiveArch: alpha arm %ix86 ia64 m68k ppc s390 sparc x86_64
Source: http://ftp.debian.org/debian/pool/main/l/%name/%{name}_%version.orig.tar.gz
Patch: ltrace-0.3.36-alt-rootinstall.patch
# Automatically added by buildreq on Sat Jan 08 2005
BuildRequires: libelf-devel libiberty-devel libstdc++-devel
Summary(ru_RU.KOI8-R): ôÒÁÓÓÉÒÏ×ÝÉË ÂÉÂÌÉÏÔÅÞÎÙÈ ×ÙÚÏ×Ï× ÉÚ ÄÉÎÁÍÉÞÅÓËÉ ÓËÏÍÐÏÎÏ×ÁÎÎÙÈ ÐÒÉÌÏÖÅÎÉÊ
%description
Ltrace is a debugging program which runs a specified command until it
exits. While the command is executing, ltrace intercepts and records
the dynamic library calls which are called by the executed process and
the signals received by that process.
It can also intercept and print the system calls executed by the 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 the source handy.
You should install ltrace if you need a sysadmin tool for tracking the
execution of processes.
%description -l ru_RU.KOI8-R
Ltrace ÐÒÅÄÓÔÁ×ÌÑÅÔ ÉÚ ÓÅÂÑ ÕÔÉÌÉÔÕ ÏÔÌÁÄËÉ, ËÏÔÏÒÁÑ ÚÁÐÕÓËÁÅÔ ÕËÁÚÁÎÎÕÀ
ÐÏÌØÚÏ×ÁÔÅÌÅÍ ËÏÍÁÎÄÕ É ÄÏÖÉÄÁÅÔÓÑ Å£ ÚÁ×ÅÒÛÅÎÉÑ. ðÏËÁ ËÏÍÁÎÄÁ ×ÙÐÏÌÎÑÅÔÓÑ,
Ltrace ÐÅÒÅÈ×ÁÔÙ×ÁÅÔ É ×Ù×ÏÄÉÔ ×ÓÅ ×ÙÐÏÌÎÑÅÍÙÅ ÐÒÏÃÅÓÓÏÍ ×ÙÚÏ×Ù ÐÏÄÐÒÏÇÒÁÍÍ
ÉÚ ÄÉÎÁÍÉÞÅÓËÉÈ ÂÉÂÌÉÏÔÅË, ×ÓÅ ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù É ×ÓÅ ÐÏÌÕÞÁÅÍÙÅ ÓÉÇÎÁÌÙ.
ôÒÁÓÓÉÒÕÅÍÕÀ ÐÒÏÇÒÁÍÍÕ ÎÅ ÔÒÅÂÕÅÔÓÑ ÐÅÒÅËÏÍÐÉÌÉÒÏ×ÁÔØ, ÔÁË ÞÔÏ ÏÔÌÁÖÉ×ÁÔØ
Ó ÐÏÍÏÝØÀ Ltrace ÍÏÖÎÏ ÄÁÖÅ ÔÅ ÐÒÉÌÏÖÅÎÉÑ, ÉÓÈÏÄÎÙÅ ÔÅËÓÔÙ ËÏÔÏÒÙÈ ÎÅÄÏÓÔÕÐÎÙ.
%prep
%setup -q
%patch -p1
%build
%__mv elf.h ltrace_elf.h
find . -name "*.c" -print0 \
| xargs -r0 %__grep -l -- '"elf\.h"' *.c \
| xargs -r %__subst -p 's,"elf.h","ltrace_elf.h",g'
%__subst -p -- 's,-iquote,-I,g' Makefile.in
autoreconf -fisv
%configure
%make_build
bzip -9fk ChangeLog
%install
%make_install install DESTDIR=$RPM_BUILD_ROOT
for f in `find -mindepth 2 -type f -name README\*`; do
b="${f##*/}"
d="${f%%/*}"
%__install -p -m644 "$f" "$b.${d##*/}"
done
%files
%_bindir/*
%_mandir/man?/*
%config(noreplace) %_sysconfdir/*
%doc BUGS ChangeLog.bz2 README* TODO
%exclude %_docdir/%name
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.4
Release: alt2.0
Summary: Tracks runtime library calls from dynamically linked executables
License: GPL
Group: Development/Debuggers
Url: http://packages.debian.org/unstable/utils/ltrace
#ExclusiveArch: alpha arm %ix86 ia64 m68k ppc s390 sparc x86_64
Source: http://ftp.debian.org/debian/pool/main/l/%name/%{name}_%version.orig.tar.gz
Patch: ltrace-0.3.36-alt-rootinstall.patch
# Automatically added by buildreq on Sat Jan 08 2005
BuildRequires: libelf-devel libiberty-devel libstdc++-devel
Summary(ru_RU.KOI8-R): ôÒÁÓÓÉÒÏ×ÝÉË ÂÉÂÌÉÏÔÅÞÎÙÈ ×ÙÚÏ×Ï× ÉÚ ÄÉÎÁÍÉÞÅÓËÉ ÓËÏÍÐÏÎÏ×ÁÎÎÙÈ ÐÒÉÌÏÖÅÎÉÊ
%description
Ltrace is a debugging program which runs a specified command until it
exits. While the command is executing, ltrace intercepts and records
the dynamic library calls which are called by the executed process and
the signals received by that process.
It can also intercept and print the system calls executed by the 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 the source handy.
You should install ltrace if you need a sysadmin tool for tracking the
execution of processes.
%description -l ru_RU.KOI8-R
Ltrace ÐÒÅÄÓÔÁ×ÌÑÅÔ ÉÚ ÓÅÂÑ ÕÔÉÌÉÔÕ ÏÔÌÁÄËÉ, ËÏÔÏÒÁÑ ÚÁÐÕÓËÁÅÔ ÕËÁÚÁÎÎÕÀ
ÐÏÌØÚÏ×ÁÔÅÌÅÍ ËÏÍÁÎÄÕ É ÄÏÖÉÄÁÅÔÓÑ Å£ ÚÁ×ÅÒÛÅÎÉÑ. ðÏËÁ ËÏÍÁÎÄÁ ×ÙÐÏÌÎÑÅÔÓÑ,
Ltrace ÐÅÒÅÈ×ÁÔÙ×ÁÅÔ É ×Ù×ÏÄÉÔ ×ÓÅ ×ÙÐÏÌÎÑÅÍÙÅ ÐÒÏÃÅÓÓÏÍ ×ÙÚÏ×Ù ÐÏÄÐÒÏÇÒÁÍÍ
ÉÚ ÄÉÎÁÍÉÞÅÓËÉÈ ÂÉÂÌÉÏÔÅË, ×ÓÅ ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù É ×ÓÅ ÐÏÌÕÞÁÅÍÙÅ ÓÉÇÎÁÌÙ.
ôÒÁÓÓÉÒÕÅÍÕÀ ÐÒÏÇÒÁÍÍÕ ÎÅ ÔÒÅÂÕÅÔÓÑ ÐÅÒÅËÏÍÐÉÌÉÒÏ×ÁÔØ, ÔÁË ÞÔÏ ÏÔÌÁÖÉ×ÁÔØ
Ó ÐÏÍÏÝØÀ Ltrace ÍÏÖÎÏ ÄÁÖÅ ÔÅ ÐÒÉÌÏÖÅÎÉÑ, ÉÓÈÏÄÎÙÅ ÔÅËÓÔÙ ËÏÔÏÒÙÈ ÎÅÄÏÓÔÕÐÎÙ.
%prep
%setup -q
%patch -p1
%build
%__mv elf.h ltrace_elf.h
find . -name "*.c" -print0 \
| xargs -r0 %__grep -l -- '"elf\.h"' *.c \
| xargs -r %__subst -p 's,"elf.h","ltrace_elf.h",g'
%__subst -p -- 's,-iquote,-I,g' Makefile.in
autoreconf -fisv
%configure
%make_build
bzip -9fk ChangeLog
%install
%make_install install DESTDIR=$RPM_BUILD_ROOT
for f in `find -mindepth 2 -type f -name README\*`; do
b="${f##*/}"
d="${f%%/*}"
%__install -p -m644 "$f" "$b.${d##*/}"
done
%files
%_bindir/*
%_mandir/man?/*
%config(noreplace) %_sysconfdir/*
%doc BUGS ChangeLog.bz2 README* TODO
%exclude %_docdir/%name
%changelog
…
Todas as alterações você pod ver aqui