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