Blame python-dbus-client-gen.spec

69a7812
%{?python_enable_dependency_generator}
1360a2e
%global srcname dbus-client-gen
1360a2e
1360a2e
Name:           python-%{srcname}
5369992
Version:        0.5
1beb494
Release:        3%{?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
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
5369992
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest --verbose tests/test_deterministic.py
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
1beb494
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5-3
1beb494
- Rebuilt for Python 3.10
1beb494
b65196a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
b65196a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b65196a
5369992
* Tue Dec 8 2020 mulhern <amulhern@redhat.com> - 0.5-1
5369992
- Update to 0.5
5369992
c120275
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-8
c120275
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c120275
bca052d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4-7
bca052d
- Rebuilt for Python 3.9
bca052d
bdff1b9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-6
bdff1b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bdff1b9
8829e5b
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-5
8829e5b
- Rebuilt for Python 3.8.0rc1 (#1748018)
8829e5b
a028ee5
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-4
a028ee5
- Rebuilt for Python 3.8
a028ee5
fe7da30
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
fe7da30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fe7da30
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