]> git.pld-linux.org Git - packages/strace.git/blobdiff - strace.spec
- adapterized.
[packages/strace.git] / strace.spec
index bca5577b82bf32aa08cea9b6df93309be1a7791d..c30a984499bdf5f32add73fd3e17aed185335819 100644 (file)
@@ -1,72 +1,88 @@
-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:       4.0
-Release:       1
-Copyright:     distributable
-Group:         Development/Debuggers
-Group(pl):     Programowanie/Odpluskwiacze
-Source:        http://www.wi.leidenuniv.nl/~wichert/strace/%{name}-%{version}.tar.gz
-Patch0:        strace-fhs.patch
-Patch1:                strace-linux.patch
-Patch2:                strace-ipv6.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
+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:       4.4
+Release:       2
+License:       distributable
+Group:         Development/Debuggers
+Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/strace/%{name}_%{version}-1.tar.gz
+Source1:       %{name}.1.pl
+Patch0:                %{name}-sparc.patch
+Patch1:                %{name}-sparc2.patch
+Patch2:                %{name}-sparc3.patch
+Patch3:                %{name}-newsysc.patch
+Patch4:                %{name}-getdents64.patch
+Patch5:                %{name}-acfix.patch
+URL:           http://www.liacs.nl/~wichert/strace/
+BuildRequires: autoconf
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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.
+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.
+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
-uruchamiany program, w tym równie¿ wszystkie argumenty wywo³ania i zwrócon±
-warto¶æ.
+Strace wy¶wietla informacje o ka¿dym wywo³aniu funkcji systemowych
+przez uruchamiany 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.
+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 
+%setup -q
+%patch0 -p1
 %patch1 -p1
-%patch2 -p1
+# Temporary not used (problems on sparc/2.2?)
+#%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
-autoconf && autoheader
+autoconf
+autoheader
+# for 2.4 you can and even should remove these two kernel_Xid32_t definitions
+CFLAGS="%{rpmcflags} -D__kernel_uid32_t=uid_t -D__kernel_gid32_t=gid_t"
+export CFLAGS
 %configure
-make LDFLAGS="-s"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,pl/man1}}
 
-install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/man/man1}
-
-make install \
+%{__make} install \
        prefix=$RPM_BUILD_ROOT%{_prefix} \
        mandir=$RPM_BUILD_ROOT%{_mandir} \
        bindir=$RPM_BUILD_ROOT%{_bindir}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* ChangeLog README-linux
+install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
+
+gzip -9nf ChangeLog README-linux
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {ChangeLog,README-linux}.gz
-
+%doc *.gz
 %attr(755,root,root) %{_bindir}/strace
 %{_mandir}/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
This page took 0.056575 seconds and 4 git commands to generate.