1 Summary: Parser and analyzer for backtraces produced by GDB
7 Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.xz
8 # Source0-md5: dac50574a3015d6ca6eb588a2efb4686
9 URL: http://fedorahosted.org/btparser
11 BuildRequires: binutils-static
13 BuildRequires: python-devel
14 BuildRequires: python-distribute
15 BuildRequires: rpm-pythonprov
16 Requires: %{name}-libs = %{version}-%{release}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Btparser is a backtrace parser and analyzer, which works with
21 backtraces produced by the GNU Project Debugger. It can parse a text
22 file with a backtrace to a tree of C structures, allowing to analyze
23 the threads and frames of the backtrace and work with them.
25 Btparser also contains some backtrace manipulation and extraction
27 - it can find a frame in the crash-time backtrace where the program
28 most likely crashed (a chance is that the function described in that
30 - it can produce a duplication hash of the backtrace, which helps to
31 discover that two crash-time backtraces are duplicates, triggered by
32 the same flaw of the code
33 - it can "rate" the backtrace quality, which depends on the number of
34 frames with and without the function name known (missing function
35 name is caused by missing debugging symbols)
38 Summary: Btparser library
39 Summary(pl.UTF-8): Biblioteka btparser
42 Requires: python-modules
47 %description libs -l pl.UTF-8
51 Summary: Header files for %{name} library
52 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
53 Group: Development/Libraries
54 Requires: %{name}-libs = %{version}-%{release}
57 Header files for %{name} library.
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe biblioteki %{name}.
62 %package -n python-btparser
63 Summary: Python bindings for %{name}
64 Group: Development/Libraries
65 Requires: %{name}-libs = %{version}-%{release}
67 %description -n python-btparser
68 Python bindings for %{name}.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
88 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{py_sitedir}/btparser/*.la
91 rm -rf $RPM_BUILD_ROOT
93 %post libs -p /sbin/ldconfig
94 %postun libs -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc ChangeLog NEWS README RELEASE TODO
99 %attr(755,root,root) %{_bindir}/btparser
100 %{_mandir}/man1/btparser.1*
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libbtparser.so.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libbtparser.so.2
108 %defattr(644,root,root,755)
109 %{_pkgconfigdir}/btparser.pc
110 %{_includedir}/btparser
111 %{_libdir}/libbtparser.so
113 %files -n python-btparser
114 %dir %{py_sitedir}/btparser
115 %{py_sitedir}/btparser/*.py*
116 %attr(755,root,root) %{py_sitedir}/btparser/*.so