From e2ad320fa7b6659603ef390f75a55e7abd25819d Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Sep 13 2013 14:32:01 +0000 Subject: import satyr-0.9-1.el7.src.rpm --- diff --git a/.satyr.metadata b/.satyr.metadata new file mode 100644 index 0000000..85d8d02 --- /dev/null +++ b/.satyr.metadata @@ -0,0 +1 @@ +cbb66f6ff49bef81c36550d2888cd098021bdc4f SOURCES/satyr-0.9.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/satyr.spec b/SPECS/satyr.spec new file mode 100644 index 0000000..8a85168 --- /dev/null +++ b/SPECS/satyr.spec @@ -0,0 +1,152 @@ +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# rhel6's python-sphinx cannot build manual pages +%if 0%{?rhel} && 0%{?rhel} <= 6 + %define enable_python_manpage 0 +%else + %define enable_python_manpage 1 +%endif + +Name: satyr +Version: 0.9 +Release: 1%{?dist} +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 +BuildRequires: python2-devel +BuildRequires: elfutils-devel, elfutils-libelf-devel, binutils-devel +BuildRequires: rpm-devel + +# We're going to switch to elfutils unwinder once it's available +%if 0%{?rhel} +%else +# libunwind exists only on selected arches +%ifarch %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64 +BuildRequires: libunwind-devel >= 1.1 +%endif +%endif + +%if %{?enable_python_manpage} +BuildRequires: python-sphinx +%endif + +%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 + +%build +%configure \ +%if ! %{?enable_python_manpage} + --disable-python-manpage \ +%endif + --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}/* + +%if %{?enable_python_manpage} +%{_mandir}/man3/satyr-python.3* +%endif + +%changelog +* Wed Sep 11 2013 Jakub Filak 0.9-1 +- New upstream version + - Enrich koops uReport data with koops text and kernel version. + - Improve koops modules handling. + +* Wed Aug 28 2013 Richard Marko 0.8-1 +- New upstream version + - Added support for json de/serialization of reports and stacktraces. + - Library version number increased, as the interface changed since the last release + +* Mon Aug 26 2013 Martin Milata 0.7-1 +- New upstream version + - Fix couple of crashes (#997076, #994747) + +* Mon Jul 29 2013 Martin Milata 0.6-1 +- New upstream version + - Do not export internal function symbols. + +* Thu Jul 25 2013 Martin Milata 0.5-2 +- Remove libunwind dependency altogether, always use GDB for unwinding. + +* Thu Jul 25 2013 Jakub Filak 0.5-1 +- Added function that creates core stacktrace from GDB output. Several bugfixes. + +* Tue Jul 09 2013 Martin Milata 0.4-2 +- Fix failing tests (failure manifests only on s390x) + +* Mon Jul 08 2013 Martin Milata 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 + +* Tue Apr 02 2013 Dan HorĂ¡k 0.3-2 +- libunwind exists only on selected arches + +* Mon Mar 25 2013 Martin Milata 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 0.2-1 +- Documentation and spec cleanup +- Build fixes (build against RPM) + +* Mon Aug 30 2010 Karel Klic 0.1-1 +- Upstream package spec file