- drop version from humanize, it was just a copy-pasto
[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
e37044c1 8Version: 1.3.1
bb4a320f 9Release: 3
03a042be
JB
10License: GPL v2+
11Group: Applications/System
e37044c1
JB
12#Source0Download: https://github.com/abrt/gnome-abrt/releases
13Source0: https://github.com/abrt/gnome-abrt/archive/%{version}/%{name}-%{version}.tar.gz
14# Source0-md5: 2529440838d44afe7c4696e2f76b4986
15URL: https://github.com/abrt/abrt/wiki/gnome-abrt
6066e845 16BuildRequires: abrt-gui-devel >= 2.4.0
03a042be 17BuildRequires: asciidoc
b2c3a5da 18BuildRequires: gettext-tools >= 0.17
03a042be 19BuildRequires: gtk+3-devel >= 3.0
e37044c1
JB
20BuildRequires: libreport-gtk-devel >= 2.4.0
21BuildRequires: meson >= 0.51.0
22BuildRequires: ninja >= 1.5
03a042be
JB
23BuildRequires: pkgconfig
24%{?with_tests:BuildRequires: pylint}
23131381 25BuildRequires: python3-devel >= 1:3.4
021b9d05 26%{?with_tests:BuildRequires: python3-humanize}
44e1f915 27%{?with_tests:BuildRequires: python3-libreport}
e37044c1 28BuildRequires: python3-pygobject3-devel >= 3.29.1
ad30d5d2 29BuildRequires: rpmbuild(macros) >= 1.596
e8510905 30BuildRequires: sed >= 4.0
03a042be 31BuildRequires: xmlto
ad30d5d2 32Requires(post,postun): gtk-update-icon-cache
5eec88c3 33Requires: abrt-dbus
e37044c1 34Requires: abrt-gui-libs >= 2.4.0
ad30d5d2 35Requires: hicolor-icon-theme
e37044c1 36Requires: libreport-gtk >= 2.4.0
44e1f915 37Requires: python3-dbus
c287d716 38Requires: python3-humanize
e37044c1
JB
39Requires: python3-libreport >= 2.4.0
40Requires: python3-pygobject3 >= 3.29.1
44e1f915 41Requires: python3-pyinotify
03a042be
JB
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45A GNOME application allows users to browse through detected problems
46and provides them with convenient way for managing these problems.
47
48%description -l pl.UTF-8
49Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
50zapewniająca wygodny sposób zarządzania tymi problemami.
51
52%prep
53%setup -q
a9208238 54
03a042be 55%build
e37044c1
JB
56%meson build \
57 %{!?with_tests:-Dlint=false}
03a042be 58
e37044c1 59%ninja_build -C build
03a042be 60
e37044c1
JB
61%if %{with tests}
62%ninja_test -C build
63%endif
03a042be
JB
64
65%install
66rm -rf $RPM_BUILD_ROOT
03a042be 67
e37044c1 68%ninja_install -C build
03a042be 69
e37044c1
JB
70%py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
71%py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
03a042be 72
a9208238 73%find_lang %{name}
e37044c1 74
03a042be
JB
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)
e37044c1 86%doc README.md
03a042be 87%attr(755,root,root) %{_bindir}/gnome-abrt
44e1f915
JB
88%dir %{py3_sitedir}/gnome_abrt
89%{py3_sitedir}/gnome_abrt/*.py
90%{py3_sitedir}/gnome_abrt/__pycache__
91%dir %{py3_sitedir}/gnome_abrt/url
92%{py3_sitedir}/gnome_abrt/url/*.py
93%{py3_sitedir}/gnome_abrt/url/__pycache__
94%dir %{py3_sitedir}/gnome_abrt/wrappers
95%{py3_sitedir}/gnome_abrt/wrappers/__init__.py
96%{py3_sitedir}/gnome_abrt/wrappers/__pycache__
e37044c1 97%attr(755,root,root) %{py3_sitedir}/gnome_abrt/wrappers/_wrappers.cpython-*.so
03a042be 98%{_datadir}/gnome-abrt
e37044c1
JB
99%{_datadir}/metainfo/org.freedesktop.GnomeAbrt.appdata.xml
100%{_desktopdir}/org.freedesktop.GnomeAbrt.desktop
101%{_iconsdir}/hicolor/scalable/apps/org.freedesktop.GnomeAbrt.svg
102%{_iconsdir}/hicolor/symbolic/apps/org.freedesktop.GnomeAbrt-symbolic.svg
77732c33 103%{_mandir}/man1/gnome-abrt.1*
This page took 2.295786 seconds and 4 git commands to generate.