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