File latrace.spec of Package latrace

# vim: set sw=4 ts=4 et nu:
# spec file for package latrace
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           latrace
Version:        0.5.11
Release:        0
Summary:        Trace Library Calls using LD_AUDIT
License:        GPL-3.0+
Group:          System/Monitoring
Source99:       latrace-rpmlintrc
Patch0:         reproducible.patch
Patch1:         latrace-0.5.11-fixes.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  asciidoc
BuildRequires:  autoconf
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  xmlto
ExclusiveArch:  %{ix86} x86_64 %{arm}

latrace is a glibc 2.4+ LD_AUDIT frontend. It allows you to trace library calls
and get their statistics in a manner similar to the strace utility.

%setup -q
%patch0 -p1

%configure --libdir=%{_libdir}/latrace
make V=1

%make_install V=1

%doc COPYING ChangeLog README TODO ReleaseNotes
%config %dir %{_sysconfdir}/latrace.d
%config %dir %{_sysconfdir}/latrace.d/headers
%config %{_sysconfdir}/latrace.d/*.conf
%config %{_sysconfdir}/latrace.d/headers/*.h
%ifarch x86_64
%config %dir %{_sysconfdir}/latrace.d/headers/sysdeps
%config %dir %{_sysconfdir}/latrace.d/headers/sysdeps/*
%config %{_sysconfdir}/latrace.d/headers/sysdeps/*/*.h
%dir %{_libdir}/latrace
%doc %{_mandir}/man1/latrace.1%{ext_man}

openSUSE Build Service is sponsored by