]> git.pld-linux.org Git - packages/gnome-abrt.git/blame - gnome-abrt.spec
- updated to 0.2.12
[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?)
03a042be
JB
4#
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
77732c33 8Version: 0.2.12
03a042be
JB
9Release: 1
10License: GPL v2+
11Group: Applications/System
12Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
77732c33 13# Source0-md5: d04501a945aa65fca038e20df2869bb8
11bdae2f 14Patch0: %{name}-pylint.patch
03a042be
JB
15URL: https://fedorahosted.org/abrt/
16BuildRequires: asciidoc
17BuildRequires: gettext-devel >= 0.17
18BuildRequires: gtk+3-devel >= 3.0
19BuildRequires: intltool >= 0.35.0
77732c33 20BuildRequires: libreport-gtk-devel >= 2.0.20
11bdae2f 21%{?with_tests:BuildRequires: libreport-python}
03a042be
JB
22BuildRequires: pkgconfig
23%{?with_tests:BuildRequires: pylint}
24BuildRequires: python-devel >= 1:2.7
25BuildRequires: python-pygobject3 >= 3.0
ad30d5d2 26BuildRequires: rpmbuild(macros) >= 1.596
03a042be 27BuildRequires: xmlto
ad30d5d2
JB
28Requires(post,postun): gtk-update-icon-cache
29Requires: hicolor-icon-theme
10ce2c25 30Requires: libreport-python
03a042be
JB
31Requires: python-dbus
32Requires: python-inotify
33Requires: python-pygobject3
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37A GNOME application allows users to browse through detected problems
38and provides them with convenient way for managing these problems.
39
40%description -l pl.UTF-8
41Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
42zapewniająca wygodny sposób zarządzania tymi problemami.
43
44%prep
45%setup -q
11bdae2f 46%patch0 -p1
03a042be
JB
47
48%build
49%configure \
50 %{!?with_tests:PYLINT=/bin/true} \
51 --disable-silent-rules
52
53%{__make}
54
55%{?with_tests:%{__make} check}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gnome_abrt/wrappers/*.la
63%py_postclean
64
65# just a copy of cs
66%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/cs_CZ
67
68%find_lang %{name}
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
74%update_icon_cache hicolor
75
76%postun
77%update_icon_cache hicolor
78
79%files -f %{name}.lang
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/gnome-abrt
82%dir %{py_sitedir}/gnome_abrt
83%{py_sitedir}/gnome_abrt/*.py[co]
77732c33
JB
84%dir %{py_sitedir}/gnome_abrt/url
85%{py_sitedir}/gnome_abrt/url/*.py[co]
03a042be
JB
86%dir %{py_sitedir}/gnome_abrt/wrappers
87%{py_sitedir}/gnome_abrt/wrappers/__init__.py[co]
88%attr(755,root,root) %{py_sitedir}/gnome_abrt/wrappers/_wrappers.so
89%{_datadir}/gnome-abrt
90%{_desktopdir}/gnome-abrt.desktop
91%{_iconsdir}/hicolor/*/apps/gnome-abrt.png
92%{_iconsdir}/hicolor/*/status/gnome-abrt.png
77732c33 93%{_mandir}/man1/gnome-abrt.1*
This page took 0.100436 seconds and 4 git commands to generate.