Name: btparser Version: @PACKAGE_VERSION@ Release: 1%{?dist} Summary: Backtrace parser and analyzer for backtraces produced by GDB Group: Development/Libraries License: GPLv2+ URL: none Source0: btparser-%{version}.tar.xz %description btparser is a backtrace parser and analyzer, which works with backtraces produced by The GNU Project Debugger. It can parse a text file with a backtrace to a tree of C structures, allowing to analyze the threads and frames of the backtrace and work with them. btparser also contains some backtrace manipulation and extraction routines: - it can find a frame in the crash-time backtrace where the program most likely crashed (a chance is that the function described in that frame is buggy) - it can produce a duplication hash of the backtrace, which helps to discover that two crash-time backtraces are duplicates, triggered by the same flaw of the code - it can "rate" the backtrace quality, which depends on the number of frames with and without the function name known (missing function name is caused by missing debugging symbols) %package devel Summary: Development libraries for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development libraries and headers for %{name}. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Remove all libtool archives (*.la) from modules directory. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- %check make check %files %defattr(-,root,root,-) %doc README NEWS COPYING TODO ChangeLog %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %changelog * Mon Aug 30 2010 Karel Klic @PACKAGE_VERSION@-1 - Initial packing