]> git.pld-linux.org Git - packages/gnome-abrt.git/blob - gnome-abrt.spec
- update_icon_cache dependencies
[packages/gnome-abrt.git] / gnome-abrt.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # "make check" run
4 #
5 Summary:        A utility for viewing problems that have occurred with the system
6 Summary(pl.UTF-8):      Narzędzie do przeglądania problemów, które wystąpiły w systemie
7 Name:           gnome-abrt
8 Version:        0.2.10
9 Release:        1
10 License:        GPL v2+
11 Group:          Applications/System
12 Source0:        https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
13 # Source0-md5:  9cdb88de911163980add38fad1e3df72
14 URL:            https://fedorahosted.org/abrt/
15 BuildRequires:  asciidoc
16 BuildRequires:  gettext-devel >= 0.17
17 BuildRequires:  gtk+3-devel >= 3.0
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libreport-gtk-devel >= 2.0.19
20 BuildRequires:  pkgconfig
21 %{?with_tests:BuildRequires:    pylint}
22 BuildRequires:  python-devel >= 1:2.7
23 BuildRequires:  python-pygobject3 >= 3.0
24 BuildRequires:  rpmbuild(macros) >= 1.596
25 BuildRequires:  xmlto
26 Requires(post,postun):  gtk-update-icon-cache
27 Requires:       hicolor-icon-theme
28 Requires:       python-dbus
29 Requires:       python-inotify
30 Requires:       python-pygobject3
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 A GNOME application allows users to browse through detected problems
35 and provides them with convenient way for managing these problems.
36
37 %description -l pl.UTF-8
38 Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
39 zapewniają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
54 rm -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
67 rm -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.096177 seconds and 3 git commands to generate.