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