python-meh/python-meh.spec
2019-11-06 19:49:31 +08:00

55 lines
1.3 KiB
RPMSpec

Name: python-meh
Version: 0.47
Release: 3
Summary: A python library for handling exceptions
License: GPLv2+
URL: https://github.com/rhinstaller/%{name}
Source0: https://github.com/rhinstaller/%{name}/archive/%{name}-%{version}.tar.gz
Patch9000: python-meh-hide-report-button.patch
BuildArch: noarch
BuildRequires: gettext intltool libreport-gtk libreport-cli python3-devel
BuildRequires: python3-setuptools python3-dbus python3-libreport
%description
It is a python library for handling, saving, and reporting exceptions.
%package -n python3-meh
Summary: A python 3 library for handling exceptions
%{?python_provide:%python_provide python3-meh}
Provides: python3-meh-gui = %{version}-%{release}
Obsoletes: python-meh < 0.46-1
Obsoletes: python2-meh < 0.46-1
Obsoletes: python-meh-gui python2-meh-gui python3-meh-gui
Requires: python3 python3-dbus python3-rpm libreport-cli python3-libreport
Requires: python3-gobject gtk3 libreport-gtk
%description -n python3-meh
The library for python 3.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
%make_build
%check
make test
%install
%make_install
%find_lang %{name}
%files -n python3-meh -f %{name}.lang
%doc ChangeLog
%license COPYING
%{python3_sitelib}/*
%{_datadir}/python-meh
%changelog
* Sun Oct 20 2019 openEuler Buildteam<buildteam@openeuler.org> - 0.47-3
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package Init