Initial import

Package review: https://bugzilla.redhat.com/show_bug.cgi?id=920751

Signed-off-by: Martin Milata <mmilata@redhat.com>
This commit is contained in:
Martin Milata 2013-03-21 13:47:33 +01:00
parent cdd5eff3c0
commit 50f3ee64cd
3 changed files with 84 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/satyr-0.2.tar.xz

82
satyr.spec Normal file
View File

@ -0,0 +1,82 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: satyr
Version: 0.2
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
# We're going to switch to elfutils unwinder once it's available
BuildRequires: libunwind-devel >= 1.1
BuildRequires: rpm-devel
%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 --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
* Mon Mar 18 2012 Martin Milata <mmilata@redhat.com> 0.2-1
- 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

View File

@ -0,0 +1 @@
d60cc481c76a67a26e4845f13336b2cf satyr-0.2.tar.xz