# TODO: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering # rpmlint warns about private-shared-object-provides # can't use filter because the package doesn't met any of the required criteria # ! Noarch package ... caused by libreport wrappers shared library # ! no binaries in $PATH ... caused by gnome-abrt python script in /usr/bin # Uncomment when building from a git snapshot. #%%global snapshot 1 %global commit 3e3512d2d6c81a4ca9b3b4d3f3936c876a6482f7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: gnome-abrt Version: 1.5.0 Release: 1.20241211111742663670.pr362.3.g82d3882%{?dist} Summary: A utility for viewing problems that have occurred with the system License: GPL-2.0-or-later URL: https://github.com/abrt/%{name} %if 0%{?snapshot} Source0: gnome-abrt-1.5.0.tar.gz %else Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz %endif BuildRequires: git-core BuildRequires: meson >= 0.59.0 BuildRequires: gettext BuildRequires: libtool BuildRequires: python3-devel BuildRequires: desktop-file-utils BuildRequires: asciidoc BuildRequires: xmlto BuildRequires: pkgconfig(pygobject-3.0) BuildRequires: libreport-gtk-devel > 2.14.0 BuildRequires: python3-libreport BuildRequires: abrt-gui-devel > 2.14.0 BuildRequires: gtk4-devel BuildRequires: libadwaita-devel %if 0%{?fedora} BuildRequires: python3-six BuildRequires: python3-gobject BuildRequires: python3-dbus BuildRequires: python3-humanize %endif Requires: glib2%{?_isa} >= 2.63.2 Requires: gobject-introspection%{?_isa} >= 1.63.1 Requires: python3-libreport Requires: python3-gobject Requires: python3-dbus Requires: python3-humanize Requires: python3-beautifulsoup4 %description A GNOME application allows users to browse through detected problems and provides them with convenient way for managing these problems. %prep %autosetup -S git %{?snapshot:-n\ %{name}%-%{commit}} -n gnome-abrt-1.5.0 %build %meson %meson_build %install %meson_install %find_lang %{name} %check %meson_test %files -f %{name}.lang %doc COPYING README.md %{python3_sitearch}/gnome_abrt %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/applications/* %{_datadir}/metainfo/* %{_mandir}/man1/%{name}.1* %{_datadir}/icons/hicolor/*/apps/* %changelog * Wed Dec 11 2024 Packit - 1.5.0-1.20241211111742663670.pr362.3.g82d3882 - Fix configuration for Packit 1.0.0 (packit-public-repos-bot) - data: Update AppStream metadata (AsciiWolf) - data: Replace X-GNOME-Utilities category with generic Utility (AsciiWolf)