Blame python-dbus-client-gen.spec

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