#
# Conditional build:
%bcond_with tests # "make check" run (some pylint false positive?)
-#
+
Summary: A utility for viewing problems that have occurred with the system
Summary(pl.UTF-8): Narzędzie do przeglądania problemów, które wystąpiły w systemie
Name: gnome-abrt
-Version: 0.3.1
-Release: 1
+Version: 0.3.3
+Release: 3
License: GPL v2+
Group: Applications/System
Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: da53340545295eed5066979c72620bee
+# Source0-md5: ba51ea0a7684d164f57740ff3ab81d26
Patch0: %{name}-pylint.patch
-URL: https://fedorahosted.org/abrt/
+URL: https://github.com/abrt/abrt/wiki/ABRT-Project
BuildRequires: abrt-gui-devel >= 2.1.7
BuildRequires: asciidoc
BuildRequires: gettext-devel >= 0.17
BuildRequires: sed >= 4.0
BuildRequires: xmlto
Requires(post,postun): gtk-update-icon-cache
+Requires: abrt-dbus
Requires: abrt-gui-libs >= 2.1.7
Requires: hicolor-icon-theme
Requires: libreport-python
Requires: python-dbus
-Requires: python-inotify
Requires: python-pygobject3
+Requires: python-pyinotify
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%py_postclean
# just a copy of cs
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/cs_CZ
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs_CZ
%find_lang %{name}
%{py_sitedir}/gnome_abrt/wrappers/__init__.py[co]
%attr(755,root,root) %{py_sitedir}/gnome_abrt/wrappers/_wrappers.so
%{_datadir}/gnome-abrt
-# XXX: some common dir? but no other packages seem to use it
-%dir %{_datadir}/appdata
%{_datadir}/appdata/gnome-abrt.appdata.xml
%{_desktopdir}/gnome-abrt.desktop
%{_iconsdir}/hicolor/*/apps/gnome-abrt.png