%{?python_enable_dependency_generator} %global srcname dbus-client-gen Name: python-%{srcname} Version: 0.4 Release: 1%{?dist} Summary: Library for Generating D-Bus Client Code License: MPLv2.0 URL: https://github.com/stratis-storage/dbus-client-gen Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %global _description \ This library contains a few methods that consume an XML specification\ of a D-Bus interface and return classes or functions that may be useful\ in constructing a python D-Bus client. The XML specification has the format\ of the data returned by the Introspect() method\ of the Introspectable interface. %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-hypothesis BuildRequires: python%{python3_pkgversion}-hs-dbus-signature %description -n python%{python3_pkgversion}-%{srcname} %{_description} Python 3 version. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/dbus_client_gen/ %{python3_sitelib}/dbus_client_gen-*.egg-info/ %changelog * Wed Dec 12 2018 Igor Gnatenko - 0.4-1 - Update to 0.4 * Wed Aug 8 2018 Andy Grover - 0.3-4 * Bump version * Fri Jul 13 2018 Fedora Release Engineering - 0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro HronĨok - 0.3-2 - Rebuilt for Python 3.7 * Fri Jun 1 2018 Andy Grover - 0.3-1 - New upstream release * Fri Feb 09 2018 Fedora Release Engineering - 0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.2-1 - Initial package