]> git.pld-linux.org Git - packages/gnome-abrt.git/blame - gnome-abrt.spec
- updated to 1.2.3
[packages/gnome-abrt.git] / gnome-abrt.spec
CommitLineData
03a042be
JB
1#
2# Conditional build:
11bdae2f 3%bcond_with tests # "make check" run (some pylint false positive?)
e4d779b7 4
03a042be
JB
5Summary: A utility for viewing problems that have occurred with the system
6Summary(pl.UTF-8): Narzędzie do przeglądania problemów, które wystąpiły w systemie
7Name: gnome-abrt
70e220ea 8Version: 1.2.3
ac866be5 9Release: 1
03a042be
JB
10License: GPL v2+
11Group: Applications/System
12Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
70e220ea 13# Source0-md5: 163150b7f41705918e98d1f76e3c8bca
11bdae2f 14Patch0: %{name}-pylint.patch
f4c1c4a3 15URL: https://github.com/abrt/abrt/wiki/ABRT-Project
a4b53cf6 16BuildRequires: abrt-gui-devel >= 2.1.7
03a042be 17BuildRequires: asciidoc
ac866be5 18BuildRequires: autoconf >= 2.50
da95b34b 19BuildRequires: automake
b2c3a5da 20BuildRequires: gettext-tools >= 0.17
03a042be
JB
21BuildRequires: gtk+3-devel >= 3.0
22BuildRequires: intltool >= 0.35.0
77732c33 23BuildRequires: libreport-gtk-devel >= 2.0.20
da95b34b 24BuildRequires: libtool
03a042be
JB
25BuildRequires: pkgconfig
26%{?with_tests:BuildRequires: pylint}
23131381 27BuildRequires: python3-devel >= 1:3.4
44e1f915
JB
28%{?with_tests:BuildRequires: python3-libreport}
29BuildRequires: python3-pygobject3-devel >= 3.0
ad30d5d2 30BuildRequires: rpmbuild(macros) >= 1.596
e8510905 31BuildRequires: sed >= 4.0
03a042be 32BuildRequires: xmlto
23131381 33BuildRequires: xorg-lib-libX11-devel
ad30d5d2 34Requires(post,postun): gtk-update-icon-cache
5eec88c3 35Requires: abrt-dbus
a4b53cf6 36Requires: abrt-gui-libs >= 2.1.7
ad30d5d2 37Requires: hicolor-icon-theme
44e1f915
JB
38Requires: python3-dbus
39Requires: python3-libreport
40Requires: python3-pygobject3 >= 3.0
41Requires: python3-pyinotify
03a042be
JB
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45A GNOME application allows users to browse through detected problems
46and provides them with convenient way for managing these problems.
47
48%description -l pl.UTF-8
49Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
50zapewniająca wygodny sposób zarządzania tymi problemami.
51
52%prep
53%setup -q
11bdae2f 54%patch0 -p1
03a042be 55
da95b34b 56%{__sed} -i -e 's#-pedantic##g' configure.ac
e8510905
JB
57%{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' src/gnome-abrt
58
03a042be 59%build
da95b34b
AM
60%{__libtoolize}
61%{__aclocal}
62%{__autoconf}
63%{__automake}
03a042be 64%configure \
e8510905
JB
65 --disable-silent-rules \
66 %{!?with_tests:--with-nopylint}
03a042be
JB
67
68%{__make}
69
70%{?with_tests:%{__make} check}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
44e1f915 77%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/gnome_abrt/wrappers/*.la
03a042be
JB
78%py_postclean
79
03a042be
JB
80%find_lang %{name}
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post
86%update_icon_cache hicolor
87
88%postun
89%update_icon_cache hicolor
90
91%files -f %{name}.lang
92%defattr(644,root,root,755)
93%attr(755,root,root) %{_bindir}/gnome-abrt
44e1f915
JB
94%dir %{py3_sitedir}/gnome_abrt
95%{py3_sitedir}/gnome_abrt/*.py
96%{py3_sitedir}/gnome_abrt/__pycache__
97%dir %{py3_sitedir}/gnome_abrt/url
98%{py3_sitedir}/gnome_abrt/url/*.py
99%{py3_sitedir}/gnome_abrt/url/__pycache__
100%dir %{py3_sitedir}/gnome_abrt/wrappers
101%{py3_sitedir}/gnome_abrt/wrappers/__init__.py
102%{py3_sitedir}/gnome_abrt/wrappers/__pycache__
103%attr(755,root,root) %{py3_sitedir}/gnome_abrt/wrappers/_wrappers.so
03a042be 104%{_datadir}/gnome-abrt
a4b53cf6 105%{_datadir}/appdata/gnome-abrt.appdata.xml
03a042be 106%{_desktopdir}/gnome-abrt.desktop
23131381
JB
107%{_iconsdir}/hicolor/*x*/apps/gnome-abrt.png
108%{_iconsdir}/hicolor/*x*/status/gnome-abrt.png
109%{_iconsdir}/hicolor/symbolic/apps/gnome-abrt-symbolic.svg
77732c33 110%{_mandir}/man1/gnome-abrt.1*
This page took 1.278232 seconds and 4 git commands to generate.