|
|
8d4433 |
%global srcname pydbus
|
|
|
8d4433 |
|
|
|
8d4433 |
Name: python-%{srcname}
|
|
|
8d4433 |
Version: 0.6.0
|
|
|
8d4433 |
Release: 5%{?dist}
|
|
|
8d4433 |
Summary: Pythonic DBus library
|
|
|
8d4433 |
|
|
|
8d4433 |
License: LGPLv2+
|
|
|
8d4433 |
URL: https://pypi.python.org/pypi/pydbus
|
|
|
8d4433 |
Source0: https://files.pythonhosted.org/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
8d4433 |
|
|
|
8d4433 |
# upstream fix, not yet in release
|
|
|
8d4433 |
# https://github.com/LEW21/pydbus/commit/ff792feb45bbdc0dd6a9ff7453825e34b6554865
|
|
|
8d4433 |
Patch1: 0001-make-direction-attribute-conforming-to-introspect.dt.patch
|
|
|
8d4433 |
|
|
|
8d4433 |
# patch submitted for upstream inclusion, not yet merged
|
|
|
8d4433 |
# https://github.com/LEW21/pydbus/pull/63
|
|
|
8d4433 |
Patch2: 0002-Support-asynchronous-calls-58.patch
|
|
|
8d4433 |
|
|
|
8d4433 |
# patch submitted for upstream inclusion, not yet merged
|
|
|
8d4433 |
# https://github.com/LEW21/pydbus/pull/64
|
|
|
8d4433 |
Patch3: 0003-Support-transformation-between-D-Bus-errors-and-exce.patch
|
|
|
8d4433 |
|
|
|
8d4433 |
BuildArch: noarch
|
|
|
8d4433 |
|
|
|
8d4433 |
%global _description \
|
|
|
8d4433 |
The pydbus module provides pythonic DBUS bindings.\
|
|
|
8d4433 |
It is based on PyGI, the Python GObject Introspection bindings,\
|
|
|
8d4433 |
which is the recommended way to use GLib from Python.
|
|
|
8d4433 |
|
|
|
8d4433 |
%description %{_description}
|
|
|
8d4433 |
|
|
|
8d4433 |
%package -n python3-%{srcname}
|
|
|
8d4433 |
Summary: %{summary}
|
|
|
8d4433 |
BuildRequires: python3-devel
|
|
|
8d4433 |
BuildRequires: python3-setuptools
|
|
|
8d4433 |
Requires: python3-gobject-base
|
|
|
8d4433 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
8d4433 |
|
|
|
8d4433 |
%description -n python3-%{srcname} %{_description}
|
|
|
8d4433 |
|
|
|
8d4433 |
Python 3 version.
|
|
|
8d4433 |
|
|
|
8d4433 |
%prep
|
|
|
8d4433 |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
8d4433 |
|
|
|
8d4433 |
%build
|
|
|
8d4433 |
%py3_build
|
|
|
8d4433 |
|
|
|
8d4433 |
%install
|
|
|
8d4433 |
%py3_install
|
|
|
8d4433 |
|
|
|
8d4433 |
%files -n python3-%{srcname}
|
|
|
8d4433 |
%license LICENSE
|
|
|
8d4433 |
%doc README.rst
|
|
|
8d4433 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
8d4433 |
%{python3_sitelib}/%{srcname}/
|
|
|
8d4433 |
|
|
|
8d4433 |
%changelog
|
|
|
8d4433 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
|
|
8d4433 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8d4433 |
|
|
|
8d4433 |
* Tue Jan 23 2018 Vendula Poncova <vponcova@redhat.com> - 0.6.0-4
|
|
|
8d4433 |
- Drop the python2 support.
|
|
|
8d4433 |
|
|
|
8d4433 |
* Tue Sep 05 2017 Martin Kolman <mkolman@redhat.com> - 0.6.0-3
|
|
|
8d4433 |
- add patch for DTD fix
|
|
|
8d4433 |
- add patch with support for asynchronous calls (vponcova)
|
|
|
8d4433 |
- add patch with support for transformation between D-Bus errors and exceptions (vponcova)
|
|
|
8d4433 |
|
|
|
8d4433 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
8d4433 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8d4433 |
|
|
|
8d4433 |
* Wed Feb 15 2017 Martin Kolman <mkolman@redhat.com> - 0.6.0-1
|
|
|
8d4433 |
- Initial package
|