3 %bcond_without tests # "make check" run
5 Summary: A utility for viewing problems that have occurred with the system
6 Summary(pl.UTF-8): Narzędzie do przeglądania problemów, które wystąpiły w systemie
11 Group: Applications/System
12 Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
13 # Source0-md5: 9cdb88de911163980add38fad1e3df72
14 URL: https://fedorahosted.org/abrt/
15 BuildRequires: asciidoc
16 BuildRequires: gettext-devel >= 0.17
17 BuildRequires: gtk+3-devel >= 3.0
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: libreport-gtk-devel >= 2.0.19
20 BuildRequires: pkgconfig
21 %{?with_tests:BuildRequires: pylint}
22 BuildRequires: python-devel >= 1:2.7
23 BuildRequires: python-pygobject3 >= 3.0
26 Requires: python-inotify
27 Requires: python-pygobject3
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 A GNOME application allows users to browse through detected problems
32 and provides them with convenient way for managing these problems.
34 %description -l pl.UTF-8
35 Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
36 zapewniająca wygodny sposób zarządzania tymi problemami.
43 %{!?with_tests:PYLINT=/bin/true} \
44 --disable-silent-rules
48 %{?with_tests:%{__make} check}
51 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
55 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gnome_abrt/wrappers/*.la
59 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/cs_CZ
64 rm -rf $RPM_BUILD_ROOT
67 %update_icon_cache hicolor
70 %update_icon_cache hicolor
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/gnome-abrt
75 %dir %{py_sitedir}/gnome_abrt
76 %{py_sitedir}/gnome_abrt/*.py[co]
77 %dir %{py_sitedir}/gnome_abrt/wrappers
78 %{py_sitedir}/gnome_abrt/wrappers/__init__.py[co]
79 %attr(755,root,root) %{py_sitedir}/gnome_abrt/wrappers/_wrappers.so
80 %{_datadir}/gnome-abrt
81 %{_desktopdir}/gnome-abrt.desktop
82 %{_iconsdir}/hicolor/*/apps/gnome-abrt.png
83 %{_iconsdir}/hicolor/*/status/gnome-abrt.png
84 %{_mandir}/man6/gnome-abrt.6*