diff --git a/0.39.tar.gz b/0.39.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c502c67508cbdb5054113c833eeb6adfad88187b Binary files /dev/null and b/0.39.tar.gz differ diff --git a/satyr.spec b/satyr.spec new file mode 100644 index 0000000000000000000000000000000000000000..e204c6012443704fabc24624e6f26b9c49ff0da5 --- /dev/null +++ b/satyr.spec @@ -0,0 +1,94 @@ +%define anolis_release 1 + +Name: satyr +Version: 0.39 +Release: %{anolis_release}%{?dist} +Summary: Automatic problem management with anonymous reports + +License: GPLv2+ +URL: https://github.com/abrt/satyr +Source0: https://github.com/abrt/satyr/archive/refs/tags/0.39.tar.gz + +BuildRequires: elfutils-devel +BuildRequires: elfutils-libelf-devel +BuildRequires: binutils-devel +BuildRequires: rpm-devel +BuildRequires: libtool +BuildRequires: doxygen +BuildRequires: pkgconfig +BuildRequires: make +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: gdb +BuildRequires: gperf +BuildRequires: json-c-devel +BuildRequires: glib2-devel +BuildRequires: python3-devel +BuildRequires: python3-sphinx + +Requires: json-c +Requires: glib2 >= 2.43.4 + +%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} +Requires: %{name} = %{version}-%{release} + +%description devel +Development libraries and headers for %{name}. + +%package -n python3-satyr +%{?python_provide:%python_provide python3-satyr} +Summary: Python 3 bindings for %{name} +Requires: %{name} = %{version}-%{release} + +%description -n python3-satyr +Python 3 bindings for %{name}. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +./autogen.sh +%configure \ + --disable-static \ + --enable-doxygen-docs + +%make_build + +%install +%make_install + +find %{buildroot} -name "*.la" -delete + +%check +make check + +%files +%license COPYING +%doc README.md NEWS +%{_bindir}/satyr +%{_mandir}/man1/%{name}.1* +%{_libdir}/lib*.so.* + +%files devel +%doc apidoc/html/*.{html,png,css,js} +%{_includedir}/* +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/* + +%files -n python3-satyr +%dir %{python3_sitearch}/%{name} +%{python3_sitearch}/%{name}/* + +%changelog +* Fri Apr 15 2022 happy_orange - 0.39-1 +- Init package from upstream