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
Jakub Filak 986fa26
Name:       gnome-abrt
Jakub Filak c984170
Version:    0.2.12
Jakub Filak d551285
Release:    2%{?dist}
Jakub Filak 986fa26
Summary:    A utility for viewing problems that have occurred with the system
Jakub Filak 986fa26
Jakub Filak 986fa26
Group:      User Interface/Desktops
Jakub Filak 986fa26
License:    GPLv2+
Jakub Filak 986fa26
URL:        https://fedorahosted.org/abrt/
Jakub Filak 7cfdce6
Source0:    https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
Jakub Filak 986fa26
Jakub Filak d551285
# remove with gnome-abrt-0.2.13
Jakub Filak d551285
Patch0:     gnome-abrt-0.2.12-fix-generated-files-dependencies.patch
Jakub Filak d551285
Jakub Filak 986fa26
BuildRequires: intltool
Jakub Filak 986fa26
BuildRequires: gettext
Jakub Filak 986fa26
BuildRequires: libtool
Jakub Filak 986fa26
BuildRequires: python2-devel
Jakub Filak 986fa26
BuildRequires: desktop-file-utils
Jakub Filak 986fa26
BuildRequires: asciidoc
Jakub Filak 986fa26
BuildRequires: xmlto
Jakub Filak 986fa26
BuildRequires: pygobject3-devel
Jakub Filak 7cfdce6
BuildRequires: libreport-gtk-devel >= 2.0.20
Jakub Filak 986fa26
BuildRequires: gtk3-devel
Jakub Filak aecc293
%if 0%{?fedora}
Jakub Filak 19ef48c
BuildRequires: pylint
Jakub Filak 19ef48c
BuildRequires: python-inotify
Jakub Filak 19ef48c
BuildRequires: pygobject3
Jakub Filak 19ef48c
BuildRequires: dbus-python
Jakub Filak aecc293
%else
Jakub Filak aecc293
%define checkoption --with-nopylint
Jakub Filak aecc293
%endif
Jakub Filak 986fa26
Jakub Filak 986fa26
Requires:   python-inotify
Jakub Filak 986fa26
Requires:   pygobject3
Jakub Filak 986fa26
Requires:   dbus-python
Jakub Filak c77969d
Requires:   xdg-utils
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
Jakub Filak 986fa26
%setup -q
Jakub Filak d551285
%patch0 -p1
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%build
Jakub Filak 986fa26
autoconf
Jakub Filak aecc293
%configure %checkoption
Jakub Filak 986fa26
make
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%install
Jakub Filak 986fa26
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
Jakub Filak 987ec6f
%find_lang %{name}
Jakub Filak 986fa26
Jakub Filak 986fa26
# remove all .la and .a files
Jakub Filak 986fa26
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
Jakub Filak 986fa26
Jakub Filak 986fa26
desktop-file-install \
Jakub Filak 986fa26
    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
Jakub Filak 986fa26
    --delete-original \
Jakub Filak 986fa26
    ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 19ef48c
%check
Jakub Filak 19ef48c
make check
Jakub Filak 19ef48c
Jakub Filak 19ef48c
Jakub Filak 986fa26
%post
Jakub Filak 986fa26
# update icon cache
Jakub Filak 986fa26
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%postun
Jakub Filak 986fa26
if [ $1 -eq 0 ] ; then
Jakub Filak 986fa26
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Jakub Filak 986fa26
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Jakub Filak 986fa26
fi
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%posttrans
Jakub Filak 986fa26
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 987ec6f
%files -f %{name}.lang
Jakub Filak 986fa26
%doc COPYING
Jakub Filak 986fa26
%{python_sitearch}/gnome_abrt
Jakub Filak c984170
%{python_sitearch}/gnome_abrt/url
Jakub Filak 986fa26
%{_datadir}/%{name}
Jakub Filak 986fa26
%{_bindir}/%{name}
Jakub Filak 986fa26
%{_datadir}/applications/*
Jakub Filak aecc293
%{_mandir}/man1/%{name}.1*
Jakub Filak 986fa26
%{_datadir}/icons/hicolor/*/apps/*
Jakub Filak 986fa26
%{_datadir}/icons/hicolor/*/status/*
Jakub Filak 986fa26
Jakub Filak 986fa26
Jakub Filak 986fa26
%changelog
Jakub Filak d551285
* Mon May 06 2013 Jakub Filak <jfilak@redhat.com> 0.2.12-2
Jakub Filak d551285
- Fix a wrong path in contoller.py
Jakub Filak d551285
Jakub Filak c984170
* Fri May 03 2013 Jakub Filak <jfilak@redhat.com> 0.2.12-1
Jakub Filak c984170
- Use 'N/A' instead of ??
Jakub Filak c984170
- Use package name is neither component nor executable items are available
Jakub Filak c984170
- Don't try to select a problem if the list is empty
Jakub Filak c984170
- Catch InvalidProblem exception in sort function
Jakub Filak c984170
- Handle DBus initialization errors gracefully
Jakub Filak c984170
- Show HTML titles of URLs from reported_to element
Jakub Filak c984170
- Updated translation
Jakub Filak c984170
- Continue in handling of SIGCHLD after the first one is handled
Jakub Filak c984170
- Fix two comma splices
Jakub Filak c984170
- Fix wrong dialog flag names
Jakub Filak c984170
- Resolves: #959874
Jakub Filak c984170
Jakub Filak aecc293
* Mon Apr 22 2013 Jakub Filak <jfilak@redhat.com> 0.2.11-1
Jakub Filak aecc293
- Enable pylint check only on Fedora
Jakub Filak aecc293
- Fix bogus dates in chagelog
Jakub Filak aecc293
- Introduce expert mode and show 'Analyze' button in that mode
Jakub Filak aecc293
- Use last occurrence item for problems sorting
Jakub Filak aecc293
- Fix broken keyboard shortcuts
Jakub Filak aecc293
- Fix missing space typo - Martin Milata <mmilata@redhat.com>
Jakub Filak aecc293
- Compare all DesktopEntry.*() return values to None
Jakub Filak aecc293
- Display 'component' name instead of 'executable' if desktop file is missing
Jakub Filak aecc293
- Do not show scrollbar for long links
Jakub Filak aecc293
- Allow to disable pylint check in configure.ac
Jakub Filak aecc293
- Move manpage to volume 1 - Chris Lockfort <clockfort@csh.rit.edu>
Jakub Filak aecc293
- Move gnome_abrt module check to module's Makefile
Jakub Filak aecc293
- Disable 'Interface not implemented' pylint warning
Jakub Filak aecc293
- Configure pylint to produce parseable output
Jakub Filak aecc293
Jakub Filak 87ba1ea
* Thu Mar 28 2013 Jakub Filak <jfilak@redhat.com> 0.2.10-2
Jakub Filak 87ba1ea
- Fix pylint problems
Jakub Filak 87ba1ea
Jakub Filak 19ef48c
* Wed Mar 27 2013 Jakub Filak <jfilak@redhat.com> 0.2.10-1
Jakub Filak 19ef48c
- Add the report dialog to the menu
Jakub Filak 19ef48c
- Add 'Report problem with ABRT' dialog
Jakub Filak 19ef48c
- Add VERSION and PACKAGE attributes to gnome_abrt module
Jakub Filak 19ef48c
- Rename attribute in errors.InvalidProblem
Jakub Filak 19ef48c
- Use IOChannel approach in order to make signal handling synchronous
Jakub Filak 19ef48c
- Add all python Requires to BuildRequires because of pylint
Jakub Filak 19ef48c
- Replace GNU style make pattern rules by implicit rules
Jakub Filak 19ef48c
- Remove left-over RELEASE varible from configure.ac
Jakub Filak 19ef48c
- Recover from DBus errors while sending command line
Jakub Filak 19ef48c
- Catch more exceptions and handle them correctly
Jakub Filak 19ef48c
- Add pylint check and fix problems uncoverend by pylint
Jakub Filak 19ef48c
- Filter out empyt strings from splitted cmdline
Jakub Filak 19ef48c
- Fix sytanx error
Jakub Filak 19ef48c
- Change the label "No oopses" to "No problems detected"
Jakub Filak 19ef48c
- Get rid of scrollbar around the text on the bottom of window in default size
Jakub Filak 19ef48c
- Fix appearance of scrolled widgets to no longer have white background
Jakub Filak 19ef48c
- Remove leftover shebang from non-executable script
Jakub Filak 19ef48c
- Resolves: #928768, #928770, #928771, #928773
Jakub Filak 19ef48c
Jakub Filak c77969d
* Mon Mar 18 2013 Jakub Filak <jfilak@redhat.com> 0.2.9-1
Jakub Filak c77969d
- Truncate long texts with ellipsis instead of auto-adjusting of window width
Jakub Filak c77969d
- Add a popopup menu for list of problems
Jakub Filak c77969d
- Use executable's basename as an application name instead of the full path
Jakub Filak c77969d
- Remove invalid problems from GUI tree view list
Jakub Filak c77969d
- Remove invalid problems from the dbus cache
Jakub Filak c77969d
- Robustize the processing of newly occurred problems
Jakub Filak c77969d
- Remove a left-over usage of the window member in OopsApplication
Jakub Filak c77969d
- Handle reaching inotify max watches better
Jakub Filak c77969d
- Update translation
Jakub Filak c77969d
- Don't allow reporting if the problem is not reportable
Jakub Filak c77969d
- Suggest reporting a bug if it wasn't reported yet
Jakub Filak c77969d
- Simplify the glade file and add a widget for messages
Jakub Filak c77969d
- Refactorize the function rendering a problem data
Jakub Filak c77969d
- A workaround for the bug in remote GtkApplications
Jakub Filak c77969d
- Allow only a single instance of gnome-abrt
Jakub Filak c77969d
- Fix bugs in main window in handler of configuration updates
Jakub Filak c77969d
- Resolves: #922648, #922651, #922654
Jakub Filak c77969d
Jakub Filak 7cfdce6
* Mon Feb 25 2013 Jakub Filak <jfilak@redhat.com> 0.2.8-1
Jakub Filak 7cfdce6
- Try harder when looking for icon and don't cache weak results
Jakub Filak 7cfdce6
- Make controller more robust against invalid arguments
Jakub Filak 7cfdce6
- Check return value of the get selection function
Jakub Filak 7cfdce6
- Require correct version of libreport
Jakub Filak 7cfdce6
- Return an empty list instead of None from OopsWindow.get_selected()
Jakub Filak 7cfdce6
- Return an empty list instead of None from get_problems() in case of DBus error
Jakub Filak 7cfdce6
- Get rid of unnecessary variable from the directory source
Jakub Filak 7cfdce6
- Add a cmd line argument for selected problem id
Jakub Filak 7cfdce6
- Resolves: #915324, #915325
Jakub Filak 7cfdce6
Jakub Filak aecc293
* Tue Jan 08 2013 Jakub Filak <jfilak@redhat.com> - 0.2.6-1
Jakub Filak 04016dc
- Require libreport version 2.0.20 and greater
Jakub Filak 04016dc
- Use DD api correctly
Jakub Filak 04016dc
- Reflect changes in libreport
Jakub Filak 04016dc
- Resolves: #890357
Jakub Filak 04016dc
Jakub Filak 611d364
* Wed Nov 28 2012 Jakub Filak <jfilak@redhat.com> - 0.2.5-1
Jakub Filak 611d364
- Add licenses to all files
Jakub Filak 611d364
- Refresh view's source if InvalidProblem exception is caught during GUI update
Jakub Filak 611d364
- Properly handle removal of the first and the last problem from the list
Jakub Filak 611d364
- Use right tree model in searching for problems
Jakub Filak 611d364
- Use theme backround color as background for the link buttons
Jakub Filak 611d364
- Make the links to servers less moving
Jakub Filak 611d364
- Keep user's selection even if a source has changed
Jakub Filak 611d364
- Destroy abrt-handle-event zombies
Jakub Filak 611d364
Jakub Filak 615d72e
* Mon Nov 12 2012 Jakub Filak <jfilak@redhat.com> - 0.2.4-1
Jakub Filak 615d72e
- Fix label fields size
Jakub Filak 615d72e
- Assure ownership of reported problem
Jakub Filak 615d72e
- Remove unnecessary GtkEventBox
Jakub Filak 615d72e
- Fix appearance of link button widget to no longer have a white background
Jakub Filak 615d72e
- Update translations
Jakub Filak 615d72e
Jakub Filak 8d4cf00
* Fri Oct 05 2012 Jakub Filak <jfilak@redhat.com> - 0.2.3-1
Jakub Filak 8d4cf00
- Generate version
Jakub Filak 8d4cf00
- Add GNOME3 application menu
Jakub Filak 8d4cf00
- Use correct D-Bus path to listen on for Crash signal
Jakub Filak 8d4cf00
- Make path to abrt-handle-event configurable
Jakub Filak 8d4cf00
- Fix a bug in running of subprocesses
Jakub Filak 8d4cf00
- Refactorize directory problems implementation
Jakub Filak 8d4cf00
- Don't print weired debug message
Jakub Filak 8d4cf00
- Don't show the 'reconnecting to dbus' warning
Jakub Filak 8d4cf00
- Don't show new root's crashes by default
Jakub Filak 8d4cf00
- Fix indentation
Jakub Filak 8d4cf00
Jakub Filak 987ec6f
* Fri Sep 21 2012 Jakub Filak <jfilak@redhat.com> - 0.2.2-1
Jakub Filak 987ec6f
- Lazy initialization of directory source
Jakub Filak 987ec6f
- Don't utilize CPU for 99%
Jakub Filak 987ec6f
- Code refactorization
Jakub Filak 987ec6f
- Add translation from the ABRT project
Jakub Filak 987ec6f
- Properly log exceptions
Jakub Filak 987ec6f
- Delete directory problems marked as invalid after refresh in inotify handler
Jakub Filak 987ec6f
- Declare directory problems deleted if its directory doesn't exist
Jakub Filak 987ec6f
- Fix indentation bug in icon look up algorithm
Jakub Filak 987ec6f
- Add --verbose command line argument
Jakub Filak 987ec6f
- Add directory name to error messages
Jakub Filak 987ec6f
Jakub Filak 987ec6f
* Mon Sep 17 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-4
Jakub Filak 987ec6f
- Fix a problem with desktop items without icons
Jakub Filak 987ec6f
- A bit better handling of uncaght exceptions
Jakub Filak 987ec6f
Jakub Filak 987ec6f
* Mon Sep 17 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-3
Jakub Filak 987ec6f
- Add cs and et translations
Jakub Filak 987ec6f
Jakub Filak 987ec6f
* Fri Sep 14 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-2
Jakub Filak 987ec6f
- Fixed problem with selection of problem after start up
Jakub Filak 987ec6f
- Corrected application icon look up algorithm
Jakub Filak 987ec6f
- Fixed problem with missing problems directory
Jakub Filak 987ec6f
Jakub Filak 987ec6f
* Fri Sep 14 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-1
Jakub Filak 987ec6f
- Detail button replaced by list of reported_to links
Jakub Filak 987ec6f
- Improved look (margins, icons, wider window by default)
Jakub Filak 987ec6f
- Implemented multiple delete
Jakub Filak 987ec6f
- Changed window tiple
Jakub Filak 987ec6f
- Double click and keyboard shortcuts
Jakub Filak 987ec6f
Jakub Filak 986fa26
* Thu Sep 06 2012 Jakub Filak <jfilak@redhat.com> - 0.2-9
Jakub Filak 986fa26
- Remove noarch because of binary wrappers
Jakub Filak 986fa26
- Added support for adjusting libreport preferences
Jakub Filak 986fa26
Jakub Filak aecc293
* Tue Aug 28 2012 Jakub Filak <jfilak@redhat.com> - 0.2-8
Jakub Filak 986fa26
- Take ownership of all installed directories
Jakub Filak 986fa26
- Correct paths to translated files
Jakub Filak 986fa26
Jakub Filak 986fa26
* Mon Aug 27 2012 Jakub Filak <jfilak@redhat.com> - 0.2-7
Jakub Filak 986fa26
- Dropped versions from requires
Jakub Filak 986fa26
- Simplified spec
Jakub Filak 986fa26
- Removed pylint check from configure.ac
Jakub Filak 986fa26
- Whitespace cleanup (rmarko@redhat.com)
Jakub Filak 986fa26
Jakub Filak 986fa26
* Fri Aug 24 2012 Jakub Filak <jfilak@redhat.com> - 0.2-6
Jakub Filak 986fa26
- Use own icons set
Jakub Filak 986fa26
Jakub Filak 986fa26
* Fri Aug 24 2012 Jakub Filak <jfilak@redhat.com> - 0.2-5
Jakub Filak 986fa26
- Reorganize source files
Jakub Filak 986fa26
- Get rid of all rpmlint complaints
Jakub Filak 986fa26
Jakub Filak 986fa26
* Thu Aug 23 2012 Jakub Filak <jfilak@redhat.com> - 0.2-4
Jakub Filak 986fa26
- Update GUI on various signals (new problem, problem changed, etc.)
Jakub Filak 986fa26
- Sort problems by time in descending order
Jakub Filak 986fa26
- Correct internationalization in date string generator
Jakub Filak 986fa26
Jakub Filak 986fa26
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-3
Jakub Filak 986fa26
- Reconnect to DBus bus
Jakub Filak 986fa26
- Default values for missing items
Jakub Filak 986fa26
- Correct field for 'is_reported' flag
Jakub Filak 986fa26
Jakub Filak 986fa26
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-2
Jakub Filak 986fa26
- Add missing files
Jakub Filak 986fa26
Jakub Filak 986fa26
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-1
Jakub Filak 986fa26
- Problems filtering
Jakub Filak 986fa26
- Errors handling
Jakub Filak 986fa26
- Localization support
Jakub Filak 986fa26
Jakub Filak 986fa26
* Mon Aug 13 2012 Jakub Filak <jfilak@redhat.com> - 0.1-1
Jakub Filak 986fa26
- Initial version