Jakub Filak 986fa26
# TODO: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
Jakub Filak 986fa26
#       rpmlint warns about private-shared-object-provides
Jakub Filak 986fa26
#       can't use filter because the package doesn't met any of the required criteria
Jakub Filak 986fa26
#         ! Noarch package       ... caused by libreport wrappers shared library
Jakub Filak 986fa26
#         ! no binaries in $PATH ... caused by gnome-abrt python script in /usr/bin
Jakub Filak 986fa26
d03d207
# Uncomment when building from a git snapshot.
Packit Service 03d84a4
#%%global snapshot 1
Packit Service e7a5c06
%global commit 3e3512d2d6c81a4ca9b3b4d3f3936c876a6482f7
Packit Service e7a5c06
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Jakub Filak 9f603cc
d03d207
Name:       gnome-abrt
fb7076d
Version:    1.3.5
ea7ae96
Release:    4%{?snapshot:.git%{shortcommit}}%{?dist}
Jakub Filak 986fa26
Summary:    A utility for viewing problems that have occurred with the system
Jakub Filak 986fa26
Jakub Filak 986fa26
License:    GPLv2+
d03d207
URL:        https://github.com/abrt/%{name}
d03d207
%if 0%{?snapshot}
d03d207
Source0:    %{url}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
d03d207
%else
d03d207
Source0:    %{url}/archive/%{version}/%{name}-%{version}.tar.gz
d03d207
%endif
Jakub Filak c06cdf3
8e0b75f
Patch0:     Fix-Python-module-installation.patch
8e0b75f
d03d207
BuildRequires: git-core
d03d207
BuildRequires: meson
Jakub Filak 986fa26
BuildRequires: gettext
Jakub Filak 986fa26
BuildRequires: libtool
Jakub Filak f5f4b40
BuildRequires: python3-devel
Jakub Filak 986fa26
BuildRequires: desktop-file-utils
Jakub Filak 986fa26
BuildRequires: asciidoc
Jakub Filak 986fa26
BuildRequires: xmlto
d03d207
BuildRequires: pygobject3-devel
d03d207
BuildRequires: libreport-gtk-devel > 2.4.0
7c4830e
BuildRequires: python3-libreport
d03d207
BuildRequires: abrt-gui-devel > 2.4.0
Jakub Filak 986fa26
BuildRequires: gtk3-devel
Jakub Filak 02b6698
%if 0%{?fedora}
d03d207
BuildRequires: python3-pylint
Jakub Filak f5f4b40
BuildRequires: python3-six
Jakub Filak f5f4b40
BuildRequires: python3-inotify
d03d207
BuildRequires: python3-gobject
Jakub Filak f5f4b40
BuildRequires: python3-dbus
Jakub Filak f5f4b40
BuildRequires: python3-humanize
Jakub Filak 02b6698
%endif
Jakub Filak 986fa26
7c4830e
Requires:   python3-libreport
Jakub Filak f5f4b40
Requires:   python3-inotify
d03d207
Requires:   python3-gobject
Jakub Filak f5f4b40
Requires:   python3-dbus
Jakub Filak f5f4b40
Requires:   python3-humanize
8a1f540
Requires:   python3dist(beautifulsoup4)
Jakub Filak 986fa26
Jakub Filak 986fa26
%description
Jakub Filak 986fa26
A GNOME application allows users to browse through detected problems and
Jakub Filak 986fa26
provides them with convenient way for managing these problems.
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%prep
3a0bf16
%autosetup -S git %{?snapshot:-n %{name}%-%{commit}}
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%build
d03d207
%meson \
d03d207
    %{!?fedora:-Dlint=false} \
d03d207
    %{nil}
d03d207
%meson_build
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%install
d03d207
%meson_install
Jakub Filak 986fa26
d03d207
%find_lang %{name}
Jakub Filak 986fa26
Jakub Filak 6b4497e
%check
d03d207
# do not fail on pylint warnings
d03d207
%meson_test || :
Jakub Filak 6b4497e
Jakub Filak 6b4497e
Jakub Filak 987ec6f
%files -f %{name}.lang
Jakub Filak 1b681e8
%doc COPYING README.md
Jakub Filak f5f4b40
%{python3_sitearch}/gnome_abrt
Jakub Filak 986fa26
%{_datadir}/%{name}
Jakub Filak 986fa26
%{_bindir}/%{name}
Jakub Filak 986fa26
%{_datadir}/applications/*
0bdf0f5
%{_datadir}/metainfo/*
Jakub Filak 02b6698
%{_mandir}/man1/%{name}.1*
Jakub Filak 986fa26
%{_datadir}/icons/hicolor/*/apps/*
Jakub Filak 986fa26
Jakub Filak 986fa26
%changelog
ea7ae96
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-4
ea7ae96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ea7ae96
8e0b75f
* Mon Jul 20 2020 - Ernestas Kulik <ekulik@redhat.com> - 1.3.5-3
8e0b75f
- Add patch to fix https://bugzilla.redhat.com/show_bug.cgi?id=1854949
8e0b75f
cd98c19
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-2
cd98c19
- Rebuilt for Python 3.9
cd98c19
fb7076d
* Mon May 25 2020 Ernestas Kulik <ekulik@redhat.com> - 1.3.5-1
fb7076d
- new upstream release: 1.3.5
fb7076d
Packit Service 66411f8
* Thu May 21 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.3.4-1
Packit Service 66411f8
- new upstream release: 1.3.4
Packit Service 66411f8
Packit Service 03d84a4
* Wed May 20 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.3.3-1
Packit Service 03d84a4
- new upstream release: 1.3.3
Packit Service 03d84a4
ade9cc8
* Mon May 18 2020 Ernestas Kulik <ekulik@redhat.com> - 1.3.2-3
ade9cc8
- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1836614
ade9cc8
Packit Service e7a5c06
* Wed May 13 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.3.2-1
Packit Service e7a5c06
- new upstream release: 1.3.2
Packit Service e7a5c06
3a0bf16
* Mon Feb 03 2020 Ernestas Kulik <ekulik@redhat.com> - 1.3.1-1
3a0bf16
- new upstream release: 1.3.1
3a0bf16
d03d207
* Mon Feb 03 2020 Ernestas Kulik <ekulik@redhat.com> - 1.3.0-1
d03d207
- new upstream release: 1.3.0
d03d207
9332eab
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-4
9332eab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9332eab
357e0e3
* Thu Oct 10 2019 Rafal Luzynski <digitalfreak@lingonborough.com> - 1.2.9-3
357e0e3
- Apply upstream changes in the spec file
357e0e3
- Fix "gnome-abrt --help" not fully translated
357e0e3
- New translation language: Afrikaans
357e0e3
- Update translations: Czech, Danish, Dutch, French, Friulian, Indonesian,
357e0e3
  Polish, Portuguese (PT), Slovak, Swedish, Ukrainian
357e0e3
50ec825
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.9-2
50ec825
- Rebuilt for Python 3.8.0rc1 (#1748018)
50ec825
2724628
* Thu Aug 29 2019 Rafal Luzynski <digitalfreak@lingonborough.com> - 1.2.9-1
2724628
- Update to 1.2.9
2724628
60d22fe
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-3
60d22fe
- Rebuilt for Python 3.8
60d22fe
7bdf358
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-2
7bdf358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7bdf358
bc63b6b
* Wed May 22 2019 Rafal Luzynski <digitalfreak@lingonborough.com> - 1.2.8-1
bc63b6b
- Update the spec file to 1.2.8 (downstream release)
bc63b6b
0daf03c
* Fri Apr 26 2019 Ernestas Kulik <ekulik@redhat.com> - 1.2.8-1
0daf03c
- Update to 1.2.8
0daf03c
0bdf0f5
* Fri Feb 15 2019 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.7-2
0bdf0f5
- Add upstream patches
0bdf0f5
- Fix build failure
0bdf0f5
- Update translations: Polish, Serbian, Ukrainian
0bdf0f5
- Change the appdata location according to the current guidelines
0bdf0f5
- Bump required pygobject3 version
0bdf0f5
726df4b
* Mon Feb 04 2019 Ernestas Kulik <ekulik@redhat.com> - 1.2.7-1
726df4b
- Update to 1.2.7
726df4b
43db617
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-9
43db617
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
43db617
7ee3f7f
* Thu Oct 18 2018 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.6-8
7ee3f7f
- Translation updates: Danish, Japanese, Portuguese (BR), Chinese (TW), and more
7ee3f7f
7c4830e
* Fri Jul 20 2018 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.6-7
7c4830e
- Fix incorrect parsing of reported_to file (resolves: #1600809)
7c4830e
- Remove explicit object inheritance reported by pylint(R0205)
7c4830e
- Fix python3-libreport dependency (the old name libreport-python3 is obsolete)
7c4830e
- Resolves: #1604140
7c4830e
7da4183
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-6
7da4183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7da4183
b82bd1a
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.6-5
b82bd1a
- Rebuilt for Python 3.7
b82bd1a
b7f8439
* Fri Jun 01 2018 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.6-4
b7f8439
- Remove "Group:" tag according to the current guidelines
b7f8439
- Remove Expert mode
b7f8439
- Mark "--help" text for translation
b7f8439
- Translation updates: Brazilian Portuguese, Czech, French, Turkish, and more
b7f8439
- Fix some pylint warnings
b7f8439
197f7f2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
197f7f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
197f7f2
6e6e095
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.6-2
6e6e095
- Remove obsolete scriptlets
6e6e095
6f7d6a5
* Thu Nov 16 2017 Julius Milan <jmilan@redhat.com> 1.2.6-1
6f7d6a5
- Translation updates
6f7d6a5
- Satisfy pylint v1.7.1 warnings
6f7d6a5
- pylintrc: disable pylint no-else-return warnings
6f7d6a5
- Add fur, kk, nn languages into LINGUAS
6f7d6a5
47c3bd1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-6
47c3bd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
47c3bd1
d0fad00
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5
d0fad00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d0fad00
b536d82
* Wed Jul 12 2017 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.5-4
b536d82
- New translations: Friulian, Kazakh, Norwegian Nynorsk
b536d82
- Translation updates: Dutch, Finnish, Marathi
b536d82
c21d12d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-3
c21d12d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c21d12d
4e86b42
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-2
4e86b42
- Rebuild for Python 3.6
4e86b42
d54664d
* Mon Oct 31 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.5-1
d54664d
- Translation updates
d54664d
- Fix some small issues to please pylint
d54664d
- Fix padding of the list items
d54664d
- Update the project URL
d54664d
88ba6a7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
88ba6a7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
88ba6a7
f1b1ce6
* Tue Jun 28 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.4-2
f1b1ce6
- Translation updates (Albanian)
f1b1ce6
- Resolves: #1347951
f1b1ce6
d8a909c
* Tue Jun 07 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.4-1
d8a909c
- Translation updates (Russian, Slovak)
d8a909c
- Add new translation languages - Albanian
d8a909c
- One more fix for the format of a package version
d8a909c
- Align the header buttons position to the sidebar size
d8a909c
7da6eba
* Wed Apr 13 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.3-3
7da6eba
- Correct format of the package version
7da6eba
- Translation updates
7da6eba
1c9701a
* Fri Apr 08 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.3-2
e8cfd96
- Translation updates
e8cfd96
Jakub Filak eef21be
* Wed Mar 23 2016 Jakub Filak <jfilak@redhat.com> 1.2.3-1
Jakub Filak eef21be
- Translation updates
Jakub Filak eef21be
- Let main title of the crash wrap
Jakub Filak eef21be
- Label all kernel oops problems with "System"
Jakub Filak eef21be
- Disambiguate the word "System"
Jakub Filak eef21be
- Use context gettext
Jakub Filak eef21be
- Reword "Detected" to "First Detected"
Jakub Filak eef21be
- Use "Problem Reporting" as the program name in the About box
Jakub Filak eef21be
- Remove "Report problem with ABRT"
Jakub Filak eef21be
- Fix dim-label being applied to proper app icons
Jakub Filak eef21be
- Make "Select" button unsensitive when list is empty
Jakub Filak eef21be
- Make titlebar blue in selection mode
Jakub Filak eef21be
- Use dim-label style, not hard-coded colours for labels
Jakub Filak eef21be
- Remove "ABRT Configuration" dialogue
Jakub Filak eef21be
- Add search button
Jakub Filak eef21be
- Add more keywords to .desktop
Jakub Filak eef21be
Jakub Filak 1b681e8
* Thu Feb 18 2016 Jakub Filak <jfilak@redhat.com> - 1.2.2-1
Jakub Filak 1b681e8
- Translation updates
Jakub Filak 1b681e8
- Fix the plural/singular translations for fancydate -Rafal Luzynski <digitalfreak@lingonborough.com>
Jakub Filak 1b681e8
- Details pane: new design - Rafal Luzynski <digitalfreak@lingonborough.com>
Jakub Filak 1b681e8
5afc5f2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
5afc5f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5afc5f2
6fa2bdc
* Fri Dec 18 2015 Jan Beran <jberan@redhat.com> - 1.2.1-2
6fa2bdc
- Do not pass None to function expecting str object
6fa2bdc
- Add kudos to the AppData file
6fa2bdc
- Problem type included in the problem list: Rafal Luzynski <digitalfreak@lingonborough.com>
6fa2bdc
- Scroll whole details panel instead of its single widgets: Rafal Luzynski <digitalfreak@lingonborough.com>
6fa2bdc
- Fix broken build caused by pylint warning
6fa2bdc
Jakub Filak a34c8ce
* Thu Nov 19 2015 Jakub Filak <jfilak@redhat.com> - 1.2.1-1
Jakub Filak a34c8ce
- HTMLParseError replaced with generic Exception: Francesco Frassinelli <fraph24@gmail.com>
Jakub Filak a34c8ce
- Fix handling of the singular cases: Rafal Luzynski <digitalfreak@lingonborough.com>
Jakub Filak a34c8ce
- Don't scroll the sidebar horizontally: Rafal Luzynski <digitalfreak@lingonborough.com>
Jakub Filak a34c8ce
- Show HiDPI icons on HiDPI screens: Rafal Luzynski <digitalfreak@lingonborough.com>
Jakub Filak a34c8ce
- Get rid of the Gtk3 module loading warning
Jakub Filak a34c8ce
- Translation updates
Jakub Filak a34c8ce
- Resolves: #1283365
Jakub Filak a34c8ce
Jakub Filak 707571d
* Thu Nov 12 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-9
Jakub Filak 707571d
- Fix build with Python 3.5
Jakub Filak 707571d
Jakub Filak 9f603cc
* Thu Nov 12 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-8
Jakub Filak 9f603cc
- Temporarily stop using pylint and turn off 'make check'
Jakub Filak 9f603cc
- Rebuilt for Python3.5 rebuild
Jakub Filak 9f603cc
d893ed8
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
d893ed8
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d893ed8
Jakub Filak 209e96b
* Fri Nov 6 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-6
Jakub Filak 209e96b
- Rebuilt for Python3.5 rebuild
Jakub Filak 209e96b
76aa439
* Fri Aug 14 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.2.0-5
76aa439
- Correct testing of return values from ABRT D-Bus API wrrapper
76aa439
Jakub Filak e642160
* Mon Jul 13 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-4
Jakub Filak e642160
- Fix loading applicaton icons
Jakub Filak e642160
- Fix an exception when searching for a bug ID
Jakub Filak e642160
- Resolves: #1242080
Jakub Filak e642160
5c150ff
* Thu Jun 18 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.2.0-3
5c150ff
- Use UTF-8 encoding when working with user files
5c150ff
- Remove the Details button from the top bar in non-GNOME desktops
5c150ff
1508b84
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
1508b84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1508b84
Jakub Filak a923e4c
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 1.2.0-1
Jakub Filak a923e4c
- Enabled the Details also for the System problems
Jakub Filak a923e4c
- Do not crash in the testing of availabitlity of XServer
Jakub Filak a923e4c
- Remove a debug print introduced with port to Python3
Jakub Filak a923e4c
- Fix 'Open problem's data directory'
Jakub Filak a923e4c
- Quit Application on Ctrl+Q
Jakub Filak a923e4c
- Translation updates
Jakub Filak a923e4c
- Resolves: #1188002
Jakub Filak a923e4c
91d52bf
* Mon May 11 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.1.2-2
91d52bf
- Translations update
91d52bf
b9b2a8c
* Tue May 05 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.1.2-1
b9b2a8c
- Add symbolic icon
b9b2a8c
- Use own window header also in GNOME Classic
b9b2a8c
- Let the theme handle the colour in the problems list
b9b2a8c
- Remove border's custom style in the problems list
b9b2a8c
- Resolves: #1193656
b9b2a8c
Jakub Filak 75927f1
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> - 1.1.1-1
Jakub Filak 75927f1
- Several bug fixes
Jakub Filak 75927f1
Jakub Filak ccd91ec
* Tue Mar 17 2015 Jakub Filak <jfilak@redhat.com> - 1.1.0-2
Jakub Filak ccd91ec
- Fix a crash caused by i18n
Jakub Filak ccd91ec
- Fix a crash caused by problems without environment file
Jakub Filak ccd91ec
- Resolves: #1204524
Jakub Filak ccd91ec
Jakub Filak f5f4b40
* Tue Mar 17 2015 Jakub Filak <jfilak@redhat.com> - 1.1.0-1
Jakub Filak f5f4b40
- Switch to Python3
Jakub Filak f5f4b40
- Translation updates
Jakub Filak f5f4b40
- Search by Bug Tracker ID
Jakub Filak f5f4b40
- Always show an icon for problems
Jakub Filak f5f4b40
- Try to use environment to find the application
Jakub Filak f5f4b40
- Polished look
Jakub Filak f5f4b40
Jakub Filak 2a3cb40
* Mon Oct 13 2014 Jakub Filak <jfilak@redhat.com> - 1.0.0-1
Jakub Filak 2a3cb40
- New upstream release with updated look & feel