%global pypi_name python-velbus %global srcname velbus Name: python-%{srcname} Version: 2.1.2 Release: 13%{?dist} Summary: Python Library for the Velbus protocol License: MIT URL: https://github.com/thomasdelaet/python-velbus Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %description A Python library to control the Velbus home automation system. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} A Python library to control the Velbus home automation system. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/velbus/ %{python3_sitelib}/python_velbus-%{version}-py%{python3_version}.egg-info/ %changelog * Fri Jul 19 2024 Fedora Release Engineering - 2.1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.1.2-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.1.2-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.1.2-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 2.1.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.1.2-2 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fabian Affolter - 2.1.2-1 - Update to latest upstream release 2.1.2 * Mon Oct 26 2020 Fabian Affolter - 2.1.0-1 - Update to latest upstream release 2.1.0 * Sun Oct 04 2020 Fabian Affolter - 2.0.46-1 - Initial package for Fedora