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