ltrace/ltrace.spec

85 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: ltrace
Version: 0.7.3
Release: 2mamba
Summary: Tracks runtime library calls in dynamically linked programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://packages.debian.org/unstable/utils/ltrace
Source: https://www.ltrace.org/ltrace_%{version}.orig.tar.bz2
Patch: %{name}-0.4-makefile.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libelf-devel
BuildRequires: libgcc
BuildRequires: liblzma-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunwind-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%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.
%debug_packages
%prep
%setup -q
#./autogen.sh
%build
%configure \
--disable-werror
%make CFLAGS="-Wno-unused-local-typedefs"
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
rm -fr %{buildroot}%{_datadir}/doc/ltrace
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/ltrace
%{_sysconfdir}/ltrace.conf
%{_mandir}/man1/ltrace.1*
%{_mandir}/man5/ltrace.conf.5*
%doc COPYING
#%doc BUGS ChangeLog README TODO
%changelog
* Tue Sep 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-2mamba
- rebuilt with debug package and specfile fixes
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
- automatic version update by autodist
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
- update to 0.7.2
* Sun Jul 26 2009 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
- automatic update by autodist
* Thu May 28 2009 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic update by autodist
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- automatic update by autodist
* Wed Dec 12 2007 Aleph0 <aleph0@openmamba.org> 0.5-1mamba
- update to 0.5
* Thu Jun 29 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.4-1qilnx
- package created by autospec