New version

- Split GUI out into a separate package (vpodzime)
- Create archives in one Makefile target and reuse it (vpodzime)
This commit is contained in:
Vratislav Podzimek 2013-11-20 14:28:35 +01:00
parent 444262a4c1
commit 7e50b300c3
3 changed files with 22 additions and 4 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@ python-meh-0.13.tar.gz
/python-meh-0.26.tar.gz /python-meh-0.26.tar.gz
/python-meh-0.27.tar.gz /python-meh-0.27.tar.gz
/python-meh-0.28.tar.gz /python-meh-0.28.tar.gz
/python-meh-0.29.tar.gz

View File

@ -5,7 +5,7 @@
Summary: A python library for handling exceptions Summary: A python library for handling exceptions
Name: python-meh Name: python-meh
Url: http://git.fedorahosted.org/git/?p=python-meh.git Url: http://git.fedorahosted.org/git/?p=python-meh.git
Version: 0.28 Version: 0.29
Release: 1%{?dist} Release: 1%{?dist}
# This is a Red Hat maintained package which is specific to # This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from # our distribution. Thus the source is only available from
@ -21,14 +21,23 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, gettext, python-setuptools-devel, intltool BuildRequires: python-devel, gettext, python-setuptools-devel, intltool
BuildRequires: dbus-python, libreport-gtk >= %{libreportver}, libreport-cli >= %{libreportver} BuildRequires: dbus-python, libreport-gtk >= %{libreportver}, libreport-cli >= %{libreportver}
Requires: python, dbus-python, pygobject3, gtk3 Requires: python, dbus-python
Requires: openssh-clients, rpm-python, yum Requires: openssh-clients, rpm-python, yum
Requires: libreport-gtk >= %{libreportver}, libreport-cli >= %{libreportver} Requires: libreport-cli >= %{libreportver}
%description %description
The python-meh package is a python library for handling, saving, and reporting The python-meh package is a python library for handling, saving, and reporting
exceptions. exceptions.
%package gui
Summary: Graphical user interface for the python-meh library
Requires: python-meh = %{version}-%{release}
Requires: pygobject3, gtk3
Requires: libreport-gtk >= %{libreportver}
%description gui
The python-meh-gui package provides a GUI for the python-meh library.
%prep %prep
%setup -q %setup -q
@ -50,9 +59,17 @@ rm -rf %{buildroot}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog COPYING %doc ChangeLog COPYING
%{python_sitelib}/* %{python_sitelib}/*
%exclude %{python_sitelib}/meh/ui/gui.py
%files gui
%{python_sitelib}/meh/ui/gui.py
%{_datadir}/python-meh %{_datadir}/python-meh
%changelog %changelog
* Wed Nov 20 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.29-1
- Split GUI out into a separate package (vpodzime)
- Create archives in one Makefile target and reuse it (vpodzime)
* Tue Nov 05 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.28-1 * Tue Nov 05 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.28-1
- Introduce support for Python 3 while keeping Python 2 working (miro) - Introduce support for Python 3 while keeping Python 2 working (miro)
- Sync spec with downstream (vpodzime) - Sync spec with downstream (vpodzime)

View File

@ -1 +1 @@
623def0965710b0d0c4f0a92d0030acf python-meh-0.28.tar.gz 7fb51fd3b6342aef75105dfb4f70ab60 python-meh-0.29.tar.gz