-
Notifications
You must be signed in to change notification settings - Fork 23
/
gnome-abrt.spec
87 lines (70 loc) · 2.27 KB
/
gnome-abrt.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# 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.4.3
Release: 1%{?snapshot:.git%{shortcommit}}%{?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: %{url}/archive/%{commit}.tar.gz#/%{name}-%{commit}.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}}
%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