a3fd970
%global pypi_name async-upnp-client
a3fd970
a3fd970
Name:           python-%{pypi_name}
f0444f6
Version:        0.14.15
81891ca
Release:        4%{?dist}
a3fd970
Summary:        Async Python UPnP Client
a3fd970
a3fd970
License:        ASL 2.0
a3fd970
URL:            https://github.com/StevenLooman/async_upnp_client
a3fd970
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
a3fd970
BuildArch:      noarch
a3fd970
a3fd970
%description
a3fd970
Async UPnP Client Asyncio UPnP Client library for Python.
a3fd970
a3fd970
%package -n     python3-%{pypi_name}
a3fd970
Summary:        %{summary}
a3fd970
a3fd970
BuildRequires:  python3-devel
a3fd970
BuildRequires:  python3dist(aiohttp)
a3fd970
BuildRequires:  python3dist(async-timeout)
a3fd970
BuildRequires:  python3dist(defusedxml)
a3fd970
BuildRequires:  python3dist(pytest)
a3fd970
BuildRequires:  python3dist(pytest-asyncio)
a3fd970
BuildRequires:  python3dist(python-didl-lite)
a3fd970
BuildRequires:  python3dist(setuptools)
a3fd970
BuildRequires:  python3dist(voluptuous)
a3fd970
%{?python_provide:%python_provide python3-%{pypi_name}}
a3fd970
a3fd970
%description -n python3-%{pypi_name}
a3fd970
Async UPnP Client Asyncio UPnP Client library for Python.
a3fd970
a3fd970
%prep
a3fd970
%autosetup -n async_upnp_client-%{version}
a3fd970
rm -rf %{pypi_name}.egg-info
a3fd970
a3fd970
%build
a3fd970
%py3_build
a3fd970
a3fd970
%install
a3fd970
%py3_install
a3fd970
a3fd970
%check
a3fd970
%pytest -v tests
a3fd970
a3fd970
%files -n python3-%{pypi_name}
a3fd970
%license LICENSE.md
a3fd970
%doc README.rst
a3fd970
%{_bindir}/upnp-client
a3fd970
%{python3_sitelib}/async_upnp_client/
a3fd970
%{python3_sitelib}/async_upnp_client-%{version}-py%{python3_version}.egg-info/
a3fd970
a3fd970
%changelog
81891ca
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.15-4
81891ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
81891ca
6916476
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.14.15-3
6916476
- Rebuilt for Python 3.10
6916476
3736df3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.15-2
3736df3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3736df3
f0444f6
* Tue Nov 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.14.15-1
f0444f6
- Fix FTI (#1892881)
f0444f6
- Update to latest upstream release 0.14.15
f0444f6
a3fd970
* Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.14.14-1
a3fd970
- Initial package for Fedora