2013-03-21 12:47:33 +00:00
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Name: satyr
|
2013-07-25 14:01:41 +00:00
|
|
|
Version: 0.5
|
2013-07-25 17:09:34 +00:00
|
|
|
Release: 2%{?dist}
|
2013-03-21 12:47:33 +00:00
|
|
|
Summary: Tools to create anonymous, machine-friendly problem reports
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://github.com/abrt/satyr
|
|
|
|
Source0: https://fedorahosted.org/released/abrt/satyr-%{version}.tar.xz
|
2013-07-25 17:09:34 +00:00
|
|
|
Patch0: satyr-0.5-always_build_gdb_output_based_unwinder.patch
|
2013-03-21 12:47:33 +00:00
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: elfutils-devel, elfutils-libelf-devel, binutils-devel
|
2013-03-25 14:45:47 +00:00
|
|
|
BuildRequires: rpm-devel
|
|
|
|
|
2013-03-21 12:47:33 +00:00
|
|
|
%description
|
|
|
|
Satyr is a library that can be used to create and process microreports.
|
|
|
|
Microreports consist of structured data suitable to be analyzed in a fully
|
|
|
|
automated manner, though they do not necessarily contain sufficient information
|
|
|
|
to fix the underlying problem. The reports are designed not to contain any
|
|
|
|
potentially sensitive data to eliminate the need for review before submission.
|
|
|
|
Included is a tool that can create microreports and perform some basic
|
|
|
|
operations on them.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development libraries and headers for %{name}.
|
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description python
|
|
|
|
Python bindings for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-07-25 17:09:34 +00:00
|
|
|
%patch0 -p1
|
2013-03-21 12:47:33 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
# Remove all libtool archives (*.la) from modules directory.
|
|
|
|
find %{buildroot} -name "*.la" | xargs rm --
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README NEWS COPYING
|
|
|
|
%{_bindir}/satyr
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%dir %{python_sitearch}/%{name}
|
|
|
|
%{python_sitearch}/%{name}/*
|
|
|
|
|
|
|
|
%changelog
|
2013-07-25 17:09:34 +00:00
|
|
|
* Thu Jul 25 2013 Martin Milata <mmilata@redhat.com> 0.5-2
|
|
|
|
- Remove libunwind dependency altogether, always use GDB for unwinding.
|
|
|
|
|
2013-07-25 14:01:41 +00:00
|
|
|
* Thu Jul 25 2013 Jakub Filak <jfilak@redhat.com> 0.5-1
|
|
|
|
- Added function that creates core stacktrace from GDB output. Several bugfixes.
|
|
|
|
|
2013-07-09 10:50:07 +00:00
|
|
|
* Tue Jul 09 2013 Martin Milata <mmilata@redhat.com> 0.4-2
|
|
|
|
- Fix failing tests (failure manifests only on s390x)
|
|
|
|
|
2013-07-08 13:12:16 +00:00
|
|
|
* Mon Jul 08 2013 Martin Milata <mmilata@redhat.com> 0.4-1
|
|
|
|
- New upstream version
|
|
|
|
- Added features needed by ABRT
|
|
|
|
- Support for uReport2
|
|
|
|
- Major C and Python API changes
|
|
|
|
- Patch for python-2.6 compatibility
|
|
|
|
|
2013-04-02 08:44:05 +00:00
|
|
|
* Tue Apr 02 2013 Dan Horák <dan[at]danny.cz> 0.3-2
|
|
|
|
- libunwind exists only on selected arches
|
|
|
|
|
2013-03-25 14:45:47 +00:00
|
|
|
* Mon Mar 25 2013 Martin Milata <mmilata@redhat.com> 0.3-1
|
|
|
|
- New upstream version
|
|
|
|
- Bug fixes
|
|
|
|
- Build fixes for older systems
|
|
|
|
- Do not require libunwind on rhel
|
|
|
|
|
|
|
|
* Mon Mar 18 2013 Martin Milata <mmilata@redhat.com> 0.2-1
|
2013-03-21 12:47:33 +00:00
|
|
|
- Documentation and spec cleanup
|
|
|
|
- Build fixes (build against RPM)
|
|
|
|
|
|
|
|
* Mon Aug 30 2010 Karel Klic <kklic@redhat.com> 0.1-1
|
|
|
|
- Upstream package spec file
|