info: strace

Marcin Korzonek mkorz w shadow.eu.org
Czw, 8 Pa¼ 1998, 17:54:49 CEST


Hej,
spec do strace'a
-- 
   Marcin Korzonek
   mkorz w shadow.eu.org
-------------- nastêpna czê¶æ ---------
Summary: prints system call strace of a running process
Summary(de): druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses. 
Summary(fr): affiche l'appel système strace d'un processus en exécution.
Summary(pl): strace wy¶wietla funkcje systemowe wywo³ywane przez uruchomiony proces
Summary(tr): Çalışan bir sürecin yaptığı sistem çağrılarını listeler
Name: strace
Version: 3.1
Release: 8
Copyright: distributable
Group: Development/Debuggers
Source: ftp://ftp.std.com/pub/jrs/%{name}-%{version}.tar.gz
Patch0: ftp://ftp.azstarnet.com/pub/linux/axp/glibc/%{name}-%{version}-glibc.patch
Patch1: %{name}-%{version}-prctl.patch
Patch2: %{name}-%{version}-fix.patch
Patch3: %{name}-%{version}-glibc-2.1.patch
Buildroot: /var/tmp/%{name}-%{version}-root
Excludearch: sparc

%description
Strace prints a record of each system call another program makes, including
all of the arguments passed to it and the system call's return value.

%description -l de
Strace druckt ein Protokoll aller von einem anderen Programm ausgegebenen
Systemaufrufe, einschließlich aller weitergeleiteten Argumente und dem
Ausgabewert des Systemaufrufs.

%description -l fr
strace affiche l'enregistrement de chaque appel système que fait un programme
ainsi que tous les arguments qui lui ont été passés et la valeur de retour de
l'appel.

%description -l pl
Strace wy¶wietla informacje o ka¿dym wywo³aniu funkcji systemowych przez
badany program, w tym równie¿ wszystkie argumenty wywo³ania i zwrócon±
warto¶æ.

%description -l tr
strace bir programın çalıştığı sürece yaptığı bütün sistem çağrılarını,
gönderdiği parametreler ve geri dönüş değerleriyle birlikte döker.

%prep
%setup -q
%patch0 -p1 -b .glibc
%patch1 -p1 -b .prctl
%patch2 -p1 -b .fix
%patch3 -p1 -b .glibc-2.1


%build
autoconf
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
make

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}

make install prefix=$RPM_BUILD_ROOT/usr

strip $RPM_BUILD_ROOT/usr/bin/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(711, root, root) /usr/bin/strace
%attr(644, root, man) /usr/man/man1/strace.1

%changelog
* Thu Oct 08 1998 Marcin Korzonek <mkorz w shadow.eu.org>
- defined files permission
- translations modified for pl

* Sun Jul 05 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[3.1-8]
- build against glibc-2.1

* Sat May 02 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Fri May 01 1998 Cristian Gafton <gafton w redhat.com>
- fixed build on alpha

* Thu Apr 30 1998 Cristian Gafton <gafton w redhat.com>
- removed the elf patch taht should be obsoleted by now
- buildroot


Wiêcej informacji o li¶cie dyskusyjnej pld-devel-pl