f3ef205
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
f3ef205
2d6abc6
%define libreportver 2.0.18-1
7394e64
f3ef205
Summary:  A python library for handling exceptions
f3ef205
Name: python-meh
1511568
Url: http://git.fedorahosted.org/git/?p=python-meh.git
56e3090
Version: 0.24
c16e6b3
Release: 1%{?dist}
f3ef205
# This is a Red Hat maintained package which is specific to
f3ef205
# our distribution.  Thus the source is only available from
f3ef205
# within this srpm.
f3ef205
# This tarball was created from upstream git:
f3ef205
#   git clone git://git.fedoraproject.org/git/python-meh.git
f3ef205
#   cd python-meh && make archive
f3ef205
Source0: %{name}-%{version}.tar.gz
f3ef205
f3ef205
License: GPLv2+
f3ef205
Group: System Environment/Libraries
f3ef205
BuildArch: noarch
f3ef205
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f3ef205
BuildRequires: python-devel, gettext, python-setuptools-devel, intltool
2d6abc6
BuildRequires: dbus-python, libreport-gtk >= %{libreportver}, libreport-cli >= %{libreportver}
2c9997f
Requires: python, dbus-python, pygobject3, gtk3
2d6abc6
Requires: openssh-clients, rpm-python, yum
2d6abc6
Requires: libreport-gtk >= %{libreportver}, libreport-cli >= %{libreportver}
f3ef205
f3ef205
%description
f3ef205
The python-meh package is a python library for handling, saving, and reporting
f3ef205
exceptions.
f3ef205
f3ef205
%prep
f3ef205
%setup -q
f3ef205
f3ef205
%build
f3ef205
make
f3ef205
7394e64
%check
7394e64
make test
7394e64
f3ef205
%install
f3ef205
rm -rf %{buildroot}
f3ef205
make DESTDIR=%{buildroot} install
381c940
%find_lang %{name}
f3ef205
f3ef205
%clean
f3ef205
rm -rf %{buildroot}
f3ef205
381c940
%files -f %{name}.lang
f3ef205
%defattr(-,root,root,-)
f3ef205
%doc ChangeLog COPYING
f3ef205
%{python_sitelib}/*
f3ef205
%{_datadir}/python-meh
f3ef205
f3ef205
%changelog
56e3090
* Thu May 02 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.24-1
56e3090
- Epoch of the package from RPM db can be None (#957789) (vpodzime)
56e3090
dd4a051
* Wed Apr 17 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.23-1
dd4a051
- Use Sphinx syntax for docstrings (vpodzime)
dd4a051
- Allow a change of the I/O functions (vpodzime)
dd4a051
- Reword the 'Debug' button warning (#948256) (vpodzime)
dd4a051
c16e6b3
* Thu Apr 04 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.22-1
c16e6b3
- Some more stuff for ABRT/libreport (#929181) (vpodzime)
c16e6b3
- Tell ABRT we are reporting a Python excetion (vpodzime)
c16e6b3
- Use named tuples instead of our magic tuples (vpodzime)
c16e6b3
2be22be
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
2be22be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2be22be
2d6abc6
* Mon Jan 21 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.21-1
2d6abc6
- New purely textual text interface (vpodzime)
2d6abc6
- Add dumb enableNetwork implementation to GraphicalIntf (vpodzime)
2d6abc6
- Destroy main window after running it (vpodzime)
2d6abc6
- Get rid of the accountManager and use new libreport API (vpodzime)
2d6abc6
- Add a way to override previously registered callback (vpodzime)
2d6abc6
- Allow callbacks marked as attachment only (vpodzime)
2d6abc6
- Add support for callbacks providing additional data (vpodzime)
2d6abc6
e9df55b
* Tue Dec 11 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.20-1
e9df55b
- Handle non-ascii dict keys and values correctly (#883641) (vpodzime)
e9df55b
7394e64
* Wed Nov 14 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.19-1
7394e64
- Add test for handling unicode strings and files (vpodzime)
7394e64
- Read files as UTF-8 and ignore errors (#874250) (vpodzime)
7394e64
- Add %check section to the spec file (vpodzime)
7394e64
- Fix tests (vpodzime)
7394e64
355afd2
* Thu Oct 25 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.18-1
355afd2
- Handle tracebacks with no stack (#866441) (vpodzime)
355afd2
- Parse component name correctly (#866526) (vpodzime)
355afd2
- Spelling corrections (#865993) (vpodzime)
355afd2
82f5ff7
* Tue Oct 09 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.17-1
82f5ff7
- Handle unicode strings correctly (#854959) (vpodzime)
82f5ff7
e9a37eb
* Tue Sep 11 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.16-1
e9a37eb
- Do not overwrite process information with files having the same basename (vpodzime)
e9a37eb
- Encode dump as utf-8 before writing to file (#854959) (vpodzime)
e9a37eb
98f6135
* Mon Aug 20 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.15-1
98f6135
- Add main_window property to the MainExceptionWindow (vpodzime)
98f6135
- Don't try to dump objects without __dict__ (vpodzime)
98f6135
- Change require from rpm to rpm-python (vpodzime)
98f6135
a1a63f7
* Fri Aug 03 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.14-1
a1a63f7
- Use just a basename of the attached file as the item name (vpodzime)
a1a63f7
- Set the type hint for the mainExceptionWindow to Dialog (vpodzime)
a1a63f7
- Store and then write out the string representation of the traceback and object dump (vpodzime)
a1a63f7
2c9997f
* Wed Jul 27 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.13-1
2c9997f
- Add files specified in the Config object as attachments to bugreports (vpodzime)
2c9997f
- Display hint how to quit the debugger (vpodzime)
2c9997f
- Do not kill the process when 'continue' is used in pdb (vpodzime)
2c9997f
- Port to Gtk3 and the new design (vpodzime)
2c9997f
- Remove the rc attribute and getrc methods (vpodzime)
2c9997f
- Fix 'all' and 'install' Makefile targets (vpodzime)
2c9997f
- Migrate l10n to Transifex (vpodzime)
2c9997f
f41a852
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
f41a852
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f41a852
c071e67
* Tue Dec 20 2011 Vratislav Podzimek <vpodzime@redhat.com> 0.12
c071e67
- Use new libreport API to get more information to bugzilla (vpodzime).
c071e67
- Adapt to the new API of libreport (vpodzime).
c071e67
- Move "import rpm" to where it's needed to avoid nameserver problems (clumens).
c071e67
  Resolves: rhbz#749330
c071e67
- Change dependency to libreport-* (mtoman).
c071e67
  Resolves: rhbz#730924
c071e67
- Add abrt-like information to bug reports (vpodzime).
c071e67
  Resolves: rhbz#728871
c071e67
- Propagate the screen attr when using text mode (jmoskovc).
c071e67
59181eb
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
59181eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
59181eb
1511568
* Tue Jan 25 2011 Chris Lumens <clumens@redhat.com> - 0.11-1
1511568
- Update the spec file URL to something valid (#670601). (clumens)
1511568
- Don't use _D for Debug, since that's already used by the expander (#640929). (clumens)
1511568
- Translation updates.
9c1d6c1
2517811
* Tue Jun 22 2010 Chris Lumens <clumens@redhat.com> 0.10-1
2517811
- Treat classes like simple types, too. (clumens)
2517811
56b3c09
* Thu Jun 10 2010 Chris Lumens <clumens@redhat.com> - 0.9-1
56b3c09
- Remove the requirement on python-bugzilla (#602794). (clumens)
56b3c09
- Rename ba.po -> bs.po (#583055). (clumens)
56b3c09
- Translation updates.
56b3c09
6b23dea
* Thu Mar 04 2010 Chris Lumens <clumens@redhat.com> - 0.8-1
6b23dea
- And add a requirement for report as well. (clumens)
6b23dea
- filer.py is now completely taken over by meh. (clumens)
6b23dea
- Everything from savers.py has moved into report. (clumens)
6b23dea
- Remove unused UI code now that report handles all this for me. (clumens)
6b23dea
- Switch ExceptionHandler to use report (#562656). (clumens)
6b23dea
- Don't allow an exception when writing out an attribute stop the whole dump. (clumens)
6b23dea
- Credit where credit is due. (clumens)
6b23dea
38e51b8
* Tue Nov 03 2009 Chris Lumens <clumens@redhat.com> - 0.7-1
38e51b8
- Add a test case framework.
38e51b8
- Move src -> meh for ease of test case writing.
38e51b8
- Another attempt at making the attrSkipList work (#532612, #532737).
38e51b8
c1631dc
* Thu Oct 08 2009 Chris Lumens <clumens@redhat.com> - 0.6-1
c1631dc
- Make idSkipList work again.
c1631dc
- Support dumping objects derived from Python's object.
c1631dc
- Use the right method to set text on a snack.Entry (#526884).
c1631dc
8516f83
* Tue Sep 29 2009 Chris Lumens <clumens@redhat.com> - 0.5-1
8516f83
- Always compare version numbers as strings (#526188).
8516f83
c2681c4
* Fri Sep 25 2009 Chris Lumens <clumens@redhat.com> - 0.4-1
c2681c4
- Add a default description to bug reports.
c2681c4
- Handle the user pressing Escape by continuing to show the dialog.
c2681c4
- Lots more translation updates.
c2681c4
d7ef7ca
* Thu Sep 10 2009 Chris Lumens <clumens@redhat.com> - 0.3-1
d7ef7ca
- Pull in lots of new translations (#522410).
d7ef7ca
381c940
* Wed Aug 19 2009 Chris Lumens <clumens@redhat.com> - 0.2-1
381c940
- Add a title to the main exception dialog so it looks right in anaconda.
381c940
- Don't include an extra '/' in the displayed bug URL (#517515).
381c940
- Now that there's .po files, package them.
381c940
- Use the new exception icon (#517164).
381c940
f3ef205
* Tue Jul 28 2009 Chris Lumens <clumens@redhat.com> - 0.1-1
f3ef205
- Initial package.