67 lines
2.1 KiB
RPMSpec
67 lines
2.1 KiB
RPMSpec
Name: gnome-abrt
|
|
Version: 1.2.6
|
|
Release: 10
|
|
Summary: A utility for viewing problems that have occurred with the system
|
|
License: GPLv2+
|
|
URL: https://github.com/abrt/gnome-abrt
|
|
Source0: https://github.com/abrt/gnome-abrt/archive/%{version}/gnome-abrt-%{version}.tar.gz
|
|
Patch0001: 0001-Remove-Expert-mode-and-the-remaining-Analyze-code.patch
|
|
Patch0002: 0009-pylint-fix-some-pylint-warnings.patch
|
|
Patch0003: 0010-Fix-incorrect-parsing-of-reported_to-file.patch
|
|
Patch0004: 0012-pylint-R0205-Remove-explicit-object-inheritance.patch
|
|
BuildRequires: intltool gettext libtool python3-devel desktop-file-utils
|
|
BuildRequires: asciidoc xmlto pygobject3-devel libreport-gtk-devel >= 2.6.0
|
|
BuildRequires: python3-libreport abrt-gui-devel >= 2.6.0 gtk3-devel libX11-devel
|
|
BuildRequires: python3-six python3-inotify python3-gobject
|
|
BuildRequires: python3-dbus python3-humanize
|
|
BuildRequires: python3-pylint
|
|
Requires: python3-libreport python3-inotify python3-gobject
|
|
Requires: python3-dbus xdg-utils python3-humanize
|
|
|
|
%description
|
|
Gnome-abrt is a graphical user interface which allows users to analyze and
|
|
report application crashes, system failures and other problems.
|
|
|
|
%package help
|
|
Summary: Help for gnome-abrt
|
|
BuildArch: noarch
|
|
|
|
%description help
|
|
This package contains man manual for gnome-abrt.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
./autogen.sh
|
|
autoconf
|
|
%configure %{?checkoption}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install mandir=%{_mandir}
|
|
|
|
%find_lang gnome-abrt
|
|
find ./ -name "*.a" -exec rm -rf {} \;
|
|
find ./ -name "*.la" -exec rm -rf {} \;
|
|
desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications --delete-original \
|
|
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%check
|
|
make check
|
|
|
|
%files -f gnome-abrt.lang
|
|
%doc COPYING README.md
|
|
%{python3_sitearch}/gnome_abrt
|
|
%{_datadir}/{gnome-abrt,applications/*,appdata/*}
|
|
%{_datadir}/icons/hicolor/{*/apps/*,*/status/*}
|
|
%{_bindir}/gnome-abrt
|
|
%{_datadir}/doc/gnome-abrt/README.md
|
|
|
|
%files help
|
|
%{_mandir}/man1/gnome-abrt.1*
|
|
|
|
%changelog
|
|
* Fri Dec 6 2019 Tianfei <tianfei16@huawei.com> - 1.2.6-10
|
|
- Package init
|