]> git.pld-linux.org Git - packages/gnome-abrt.git/blob - gnome-abrt.spec
- new
[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:  xmlto
25 Requires:       python-dbus
26 Requires:       python-inotify
27 Requires:       python-pygobject3
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 A GNOME application allows users to browse through detected problems
32 and provides them with convenient way for managing these problems.
33
34 %description -l pl.UTF-8
35 Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
36 zapewniająca wygodny sposób zarządzania tymi problemami.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure \
43         %{!?with_tests:PYLINT=/bin/true} \
44         --disable-silent-rules
45
46 %{__make}
47
48 %{?with_tests:%{__make} check}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gnome_abrt/wrappers/*.la
56 %py_postclean
57
58 # just a copy of cs
59 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/cs_CZ
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_icon_cache hicolor
68
69 %postun
70 %update_icon_cache hicolor
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/gnome-abrt
75 %dir %{py_sitedir}/gnome_abrt
76 %{py_sitedir}/gnome_abrt/*.py[co]
77 %dir %{py_sitedir}/gnome_abrt/wrappers
78 %{py_sitedir}/gnome_abrt/wrappers/__init__.py[co]
79 %attr(755,root,root) %{py_sitedir}/gnome_abrt/wrappers/_wrappers.so
80 %{_datadir}/gnome-abrt
81 %{_desktopdir}/gnome-abrt.desktop
82 %{_iconsdir}/hicolor/*/apps/gnome-abrt.png
83 %{_iconsdir}/hicolor/*/status/gnome-abrt.png
84 %{_mandir}/man6/gnome-abrt.6*
This page took 0.040302 seconds and 4 git commands to generate.