#
# Conditional build:
%bcond_without libunwind # strack tracing using libunwind
+%bcond_without libiberty # symbol demangling in stack backtraces
#
-%ifnarch %{ix86} %{x8664} arm hppa ia64 mips ppc ppc64 sh
+%ifnarch %{ix86} %{x8664} x32 %{arm} hppa ia64 mips ppc ppc64 sh
%undefine with_libunwind
%endif
Summary: prints system call strace of a running process
Summary(tr.UTF-8): Çalışan bir sürecin yaptığı sistem çağrılarını listeler
Summary(uk.UTF-8): Відслідковує та показує системні виклики, пов'язані із запущеним процесом
Name: strace
-Version: 4.19
+Version: 5.3
Release: 1
-License: BSD-like
+License: LGPL v2.1+
Group: Development/Debuggers
-Source0: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
-# Source0-md5: 846a9a26e74e797f42d77a0348104072
+Source0: https://github.com/strace/strace/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 84f5e72de813c9b1bb6057ee8ab428d8
Source1: %{name}.1.pl
-URL: http://sourceforge.net/projects/strace/
+URL: https://strace.io/
# acl and libaio for headers only
BuildRequires: acl-devel
+%{?with_libiberty:BuildRequires: binutils-devel >= 4:2.30-1}
BuildRequires: libaio-devel
%{?with_libunwind:BuildRequires: libunwind-devel}
BuildRequires: tar >= 1:1.22
CFLAGS="%{rpmcflags} -fPIE"
%endif
%configure \
+ %{!?with_libiberty:--without-libiberty} \
%{!?with_libunwind:--without-libunwind}
%{__make}
%attr(755,root,root) %{_bindir}/strace
%attr(755,root,root) %{_bindir}/strace-log-merge
%{_mandir}/man1/strace.1*
+%{_mandir}/man1/strace-log-merge.1*
%lang(pl) %{_mandir}/pl/man1/strace.1*
%files graph